@charset "utf-8";
/* ================================================================================
/* root
================================================================================ */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #d8d8d8;
  --color-dark-navy: #000028;
  --color-theme: #00a9c9;
}

/* ======================================================================
/* html
====================================================================== */
html {
  scroll-behavior: smooth;
}

/* ======================================================================
/* a
====================================================================== */
a {
  text-decoration: none;
}

/* ======================================================================
/* ul ol
====================================================================== */
ul,
ol {
  list-style: none;
}

/* ======================================================================
/* br
====================================================================== */
.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (width <=768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* ================================================================================
/* img
================================================================================ */
img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  margin: 0 auto;
  vertical-align: bottom;
}

/* ================================================================================
/* fluidImg
================================================================================ */
@media screen and (width <= 768px) {
  .fluidImg {
    inline-size: 100%;
    block-size: auto;
  }
}

/* ======================================================================
/* Menu
====================================================================== */
.hamburger-fade {
  position: fixed;
  inset-block-start: 0;
  inset-inline-end: calc(50% - 250px);
  z-index: 9999;
  inline-size: 50px;
  block-size: 50px;
  border: none;
  background: var(--color-black);
  cursor: pointer;

  & .wrapper {
    position: relative;
    width: 30px;
    height: 20px;
    margin: 10px auto;

    & .line {
      position: absolute;
      inset-inline-start: 0;
      inline-size: 100%;
      block-size: 1px;
      background-color: var(--color-white);
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

      &:nth-child(1) {
        top: 0;
      }

      &:nth-child(2) {
        top: 9px;
      }

      &:nth-child(3) {
        top: 18px;
      }
    }
  }

  &.active .line {
    background-color: var(--color-white);

    &:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }

    &:nth-child(2) {
      opacity: 0;
      transform: translateX(0);
    }

    &:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  }
}

.nav-fade {
  position: fixed;
  top: 0;
  left: 0;
  inline-size: 100%;
  block-size: 100vh;
  visibility: hidden;
  z-index: 9998;

  &.active {
    visibility: visible;

    & .nav-fade__bg {
      opacity: 1;
    }

    & .item {
      opacity: 1;
      transform: translateY(0);

      &:nth-child(1) {
        transition-delay: 0.2s;
      }

      &:nth-child(2) {
        transition-delay: 0.3s;
      }

      &:nth-child(3) {
        transition-delay: 0.4s;
      }

      &:nth-child(4) {
        transition-delay: 0.5s;
      }

      &:nth-child(5) {
        transition-delay: 0.6s;
      }

      &:nth-child(6) {
        transition-delay: 0.7s;
      }

      &:nth-child(7) {
        transition-delay: 0.8s;
      }

      &:nth-child(8) {
        transition-delay: 0.9s;
      }

      &:nth-child(9) {
        transition-delay: 1s;
      }

      &:nth-child(10) {
        transition-delay: 1.1s;
      }

      &:nth-child(11) {
        transition-delay: 1.2s;
      }
    }
  }
}

.nav-fade__bg {
  position: absolute;
  top: 0;
  left: 0;
  inline-size: 100%;
  block-size: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-fade__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 5vh 36vw;
}

.nav-fadeList {
  margin: 0;
  padding: 0;
  list-style: none;

  & .item {
    position: relative;
    margin-block: 3vh;
    padding-inline-start: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
  }
}

.nav-fade__number {
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1;
}

.nav-fade__link {
  display: inline-block;
  color: var(--color-white);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1;
}

.nav-fade__link:hover {
  color: var(--color-theme);
}

@media screen and (width <= 768px) {
  .hamburger-fade {
    inset-inline-end: 0;
  }

  .nav-fade__wrapper {
    padding: 5vh 10vw;
  }

  .nav-fade__link {
    font-size: 20px;
  }

  .nav-fade__item {
    padding-left: 40px;
    margin-bottom: 1.5vh;
  }

  .nav-fade__info {
    padding-left: 40px;
  }
}

/* ================================================================================
/* target_nav
================================================================================ */
.target_nav {
  display: none;
  position: fixed;
  z-index: 100;
  top: 50%;
  right: 50%;
  transform: translate(calc(-50% + 300px), -50%);
  z-index: 49;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;

  &.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}

.header__link {
  display: block;
  width: 6px;
  height: 32px;
  background-color: transparent;
  border: 1px solid #d0c1c1;
  margin-top: 20px;
}
.header__link.is-active {
  background-color: #626262;
}
li.header__item {
  position: relative;
}

.t_nav_tex {
  display: block;
  width: 28px;
  text-align: center;
  position: absolute;
  top: 50%;
  color: #d0c1c1;
  transform: translate(15%, -50%);
}

@media screen and (max-width: 768px) {
  .target_nav {
    right: 5%;
    transform: translate(0, -50%);
  }
  .header__link {
    width: 4px;
    height: 24px;
    margin-top: 15px;
    border: 1px solid #c8c8c8;
  }
  .header__link.is-active {
    background-color: #c8c8c8;
  }

  .t_nav_tex {
    width: 20px;
  }
}

@media screen and (max-width: 599px) {
  .target_nav {
    display: none !important;
  }
}

/* ================================================================================
/* Swiper
================================================================================ */
.swiper {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  margin-block-start: 50px;

  & .swiper-slide {
    position: relative;
    inline-size: 100%;
    block-size: auto;
  }

  & .swiper-button-prev {
    position: absolute;
    top: 45%;
    left: 1%;
    content: "";
    display: block;
    inline-size: 40px;
    block-size: 40px;
    background: url(../img/common/slidePrev.svg) center center / cover no-repeat;
  }

  & .swiper-button-next {
    top: 45%;
    right: 1%;
    content: "";
    display: block;
    inline-size: 40px;
    block-size: 40px;
    background: url(../img/common/slideNext.svg) center center / cover no-repeat;
  }
}

@media screen and (width <= 768px) {
  .swiper {
    & .swiper-slide {
      inline-size: 100%;
    }

    & .swiper-button-next,
    & .swiper-button-prev {
      inline-size: 30px;
      block-size: 30px;
    }
  }
}

#selectPlan-1-1 {
  position: absolute;
  bottom: 46%;
  right: 17%;
  transform: translate(-17%, -46%);
  cursor: pointer;
}

#selectPlan-1-2 {
  position: absolute;
  bottom: 46%;
  left: 29%;
  transform: translate(-29%, -46%);
  cursor: pointer;
}

#selectPlan-1-3 {
  position: absolute;
  bottom: 36%;
  left: 29%;
  transform: translate(-29%, -36%);
  cursor: pointer;
}

#selectPlan-2-1 {
  position: absolute;
  bottom: 30%;
  left: 35%;
  transform: translate(-35%, -30%);
  cursor: pointer;
}

#selectPlan-2-2 {
  position: absolute;
  bottom: 44%;
  left: 55%;
  transform: translate(-55%, -44%);
  cursor: pointer;
}

#selectPlan-2-3 {
  position: absolute;
  bottom: 36%;
  right: 18%;
  transform: translate(-18%, -36%);
  cursor: pointer;
}

#selectPlan-3-1 {
  position: absolute;
  bottom: 44.5%;
  left: 31%;
  transform: translate(-31%, -44.5%);
  cursor: pointer;
}

#selectPlan-3-2 {
  position: absolute;
  bottom: 39%;
  left: 45%;
  transform: translate(-45%, -39%);
  cursor: pointer;
}

#selectPlan-3-3 {
  position: absolute;
  bottom: 32%;
  left: 38%;
  transform: translate(-38%, -32%);
  cursor: pointer;
}

/* ================================================================================
/* Modal
================================================================================ */
.modal {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;

  &.is-active {
    opacity: 1;
    visibility: visible;
  }

  &:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    block-size: 100%;
    margin-left: -0.2em;
  }
}

.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  inline-size: 90%;
}

.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  inset-block-start: -15px;
  inset-inline-end: -15px;
  inline-size: 30px;
  block-size: 30px;
  color: var(--color-white);
  background: var(--color-black);
  border-radius: 50%;
  cursor: pointer;
}

.modal-content {
  border: solid 1px var(--color-white);
  border-radius: 3px;
  padding: 10px;
}
