@charset "utf-8";

:root {
  --rental-red: #a92d1c;
  --rental-red-dark: #942818;
  --rental-cream: #fff9e3;
  --rental-gold: #bba044;
  --rental-gray: #e3e3e3;
  --rental-text: #4b4b4b;
  --rental-dark: #292929;
}

body {
  background: #fff;
  color: var(--rental-text);
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
}

body.is-drawer-open .sp-cta {
  opacity: 0;
  pointer-events: none;
}

body.is-terms-modal-open {
  overflow: hidden;
}

header {
  background: rgba(255, 250, 232, 0.97);
  color: var(--rental-text);
}

.gnav-toggle {
  display: none;
}

.insta-image,
.top-btn,
.promax-logo-black,
.nav-promax-image,
.nav-jimny-image,
.jimny-logo-black,
.sns-icon {
  height: auto;
}

.pc-menu {
  color: var(--rental-text);
  font-size: 15px;
  font-weight: 500;
}

.lang-switch a {
  color: var(--rental-text);
}

.header-cta .is-primary {
  background: #d65a5a;
  box-shadow: none;
}

.rental-fv {
  position: relative;
  height: calc(var(--header-h) + min(51.93vw, 997px));
  min-height: 700px;
  overflow: hidden;
  color: #fff;
}

.rental-fv::after {
  position: absolute;
  inset: var(--header-h) 0 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0.05) 48%, transparent 70%);
}

.rental-fv picture {
  position: absolute;
  inset: var(--header-h) 0 0;
  display: block;
}

.rental-fv__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rental-fv__content {
  position: absolute;
  z-index: 2;
  top: 34%;
  left: clamp(64px, 8.1vw, 156px);
  max-width: min(900px, calc(100% - 128px));
  color: #fff;
}

.rental-fv__content h1 {
  font-size: clamp(44px, 5.6vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.rental-fv__content > p {
  margin-top: 18px;
  font-size: clamp(16px, 1.45vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.3);
}

.rental-fv__nav {
  margin-top: 26px;
}

.rental-fv__nav li + li {
  margin-top: 12px;
}

.rental-fv__nav a {
  display: inline-flex;
  align-items: center;
  min-width: 230px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rental-text);
  font-weight: 700;
  line-height: 1.2;
}

.rental-fv__nav a::before {
  content: "▶";
  margin-right: 8px;
  color: var(--rental-gold);
}

.rental-fv__nav a:hover {
  background: rgba(187, 160, 68, 0.9);
  color: #fff;
}

.rental-section-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  color: var(--rental-red);
  text-align: center;
}

.rental-section-title__en {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
}

.rental-section-title__ja {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.rental-section-title--gold {
  color: var(--rental-gold);
}

.rental-plan {
  padding: 132px 32px 120px;
  background: var(--rental-cream);
}

.rental-plan__inner {
  width: min(1628px, 100%);
  margin: 0 auto;
}

.rental-plan__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 42px;
  margin-top: 62px;
}

.rental-plan__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 20px 44px;
  border-radius: 999px;
  background: #fff;
  color: #565656;
  font-size: clamp(18px, 1.42vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.rental-plan__course {
  margin-right: 1.25em;
}

.rental-plan__notes {
  margin-top: 48px;
  padding-left: 25px;
  color: #555;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.rental-terms-button {
  appearance: none;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rental-terms-button:hover {
  color: var(--rental-red);
}

.rental-flow {
  padding: 112px 32px 94px;
  background: var(--rental-gray);
}

.rental-flow__inner {
  width: min(790px, 100%);
  margin: 0 auto;
}

.rental-flow__list {
  display: grid;
  gap: 21px;
  margin-top: 54px;
}

.rental-flow__list li {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 108px;
  padding: 18px 30px;
  background: #fff;
  color: #3f3f3f;
  text-align: left;
}

.rental-flow__list li:not(:last-child)::after {
  position: absolute;
  z-index: -1;
  bottom: -21px;
  left: 50%;
  width: 21px;
  height: 21px;
  content: "";
  background: var(--rental-gold);
  transform: translateX(-50%);
}

.rental-flow__step {
  font-family: "Noto Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.rental-flow__list p {
  margin-top: 7px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.rental-flow__list p span {
  margin-left: 0.5em;
  font-size: inherit;
}

.rental-flow__notes {
  margin-top: 34px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.rental-payment {
  padding: 110px 0 148px;
  background: #fff;
}

.rental-payment__inner {
  width: 100%;
  margin: 0 auto;
}

.rental-payment__text {
  margin-top: 48px;
  color: #5b5b5b;
  font-size: clamp(18px, 1.45vw, 27px);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.rental-payment__button {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
  background: var(--rental-red);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    background-color 0.2s ease;
}

.rental-payment__button:hover {
  background: var(--rental-red-dark);
}

.rental-payment__gallery,
.rental-payment__gallery img {
  display: block;
}

.rental-payment__gallery {
  width: min(1623px, 84.53vw);
  margin: 126px auto 0;
}

.rental-payment__gallery img {
  width: 100%;
  height: auto;
}

footer {
  display: grid;
  gap: 28px;
  padding: 66px 0 48px;
  background: var(--rental-dark);
}

footer .footer-logo {
  padding: 12px 0;
  background: #fff;
}

footer .footer-logo img {
  width: 220px;
  height: auto;
}

footer .footer-cta {
  display: flex;
  justify-content: center;
  gap: 24px;
}

footer .footer-contact-btn {
  background: var(--rental-red-dark);
}

footer .footer-information {
  gap: 18px;
}

footer .information {
  font-size: 13px;
}

.rental-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: 32px;
}

.rental-terms-modal.is-open {
  display: grid;
}

.rental-terms-modal__overlay {
  appearance: none;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.rental-terms-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(760px, calc(100dvh - 64px));
  overflow: auto;
  background: #fff;
  color: var(--rental-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.rental-terms-modal__close {
  appearance: none;
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-left: auto;
  border: 0;
  background: var(--rental-red);
  cursor: pointer;
}

.rental-terms-modal__close::before,
.rental-terms-modal__close::after {
  position: absolute;
  width: 25px;
  height: 2px;
  content: "";
  background: #fff;
}

.rental-terms-modal__close::before {
  transform: rotate(45deg);
}

.rental-terms-modal__close::after {
  transform: rotate(-45deg);
}

.rental-terms-modal__header {
  padding: 4px 54px 28px;
  text-align: center;
}

.rental-terms-modal__title {
  color: var(--rental-red);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.rental-terms-modal__body {
  display: grid;
  gap: 24px;
  padding: 0 54px 58px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.rental-terms-modal__body section {
  display: grid;
  gap: 8px;
}

.rental-terms-modal__body h3 {
  color: var(--rental-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 1200px) {
  header {
    background: rgba(255, 250, 232, 0.97);
  }

  .sp-lang a {
    color: var(--rental-text);
  }

  .gnav-toggle {
    display: inline-flex;
    background-color: var(--rental-dark);
  }
}

@media screen and (max-width: 768px) {
  .rental-fv {
    height: 556px;
    min-height: 0;
  }

  .rental-fv::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 88%);
  }

  .rental-fv__image {
    object-position: center top;
  }

  .rental-fv__content {
    top: 143px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .rental-fv__content h1 {
    font-size: 40px;
    letter-spacing: -0.05em;
    line-height: 1.1;
  }

  .rental-fv__content > p {
    max-width: 270px;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.6;
  }

  .rental-fv__nav {
    margin-top: 18px;
  }

  .rental-fv__nav li + li {
    margin-top: 12px;
  }

  .rental-fv__nav a {
    min-width: 185px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .rental-section-title {
    gap: 3px;
  }

  .rental-section-title__ja {
    font-size: 14px;
  }

  .rental-plan {
    padding: 47px 17px 54px;
  }

  .rental-plan__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: min(338px, 100%);
    margin: 38px auto 0;
  }

  .rental-plan__list li {
    flex-direction: column;
    min-height: 52px;
    padding: 7px 20px;
    font-size: 12px;
    line-height: 1.45;
  }

  .rental-plan__course {
    margin-right: 0;
  }

  .rental-plan__price {
    font-size: 11px;
  }

  .rental-plan__notes {
    width: min(338px, 100%);
    margin: 15px auto 0;
    padding-left: 0;
    font-size: 11px;
    line-height: 1.55;
  }

  .rental-terms-button {
    font-size: 10px;
  }

  .rental-flow {
    padding: 60px 17px 52px;
  }

  .rental-flow__list {
    gap: 18px;
    margin-top: 41px;
  }

  .rental-flow__list li {
    align-items: center;
    min-height: 90px;
    padding: 14px 12px;
    text-align: center;
  }

  .rental-flow__list li:not(:last-child)::after {
    bottom: -18px;
    width: 18px;
    height: 18px;
  }

  .rental-flow__step {
    font-size: 18px;
  }

  .rental-flow__list p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.75;
  }

  .rental-flow__list p span {
    display: block;
    margin-left: 0;
    font-size: inherit;
  }

  .rental-flow__notes {
    margin-top: 26px;
    font-size: 11px;
    line-height: 1.55;
  }

  .rental-payment {
    padding: 60px 0 52px;
  }

  .rental-payment__text {
    max-width: 300px;
    margin: 39px auto 0;
    font-size: 14px;
    line-height: 1.8;
  }

  .rental-payment__button {
    margin-top: 24px;
  }

  .rental-payment__gallery {
    width: min(357px, calc(100% - 24px));
    margin-top: 39px;
  }

  footer {
    gap: 16px;
    padding: 29px 0 112px;
    font-size: 14px;
  }

  footer .footer-logo {
    padding: 6px 0;
  }

  footer .footer-logo img {
    width: 180px;
  }

  footer .footer-cta {
    display: grid;
    gap: 8px;
  }

  footer .footer-information {
    display: grid;
    gap: 0;
  }

  footer .information {
    font-size: 12px;
  }

  .rental-terms-modal {
    padding: 18px;
  }

  .rental-terms-modal__panel {
    max-height: calc(100dvh - 36px);
  }

  .rental-terms-modal__close {
    width: 48px;
    height: 48px;
  }

  .rental-terms-modal__header {
    padding: 4px 24px 22px;
  }

  .rental-terms-modal__title {
    font-size: 22px;
  }

  .rental-terms-modal__body {
    gap: 20px;
    padding: 0 24px 36px;
    font-size: 12px;
    line-height: 1.9;
  }

  .rental-terms-modal__body h3 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rental-payment__button {
    transition: none;
  }
}
