/* ======================================================
//  MARK: layout
// ====================================================== */

.section__heading {
  text-align: center;
}

.section__logo {
  width: 25%;
  max-width: 83px;
}

.section__ttl {
  text-align: center;
  font-family: var(--font-gothic);
  font-size: min(5vw, 24px);
  font-weight: bold;
  line-height: 2.3;
  color: #1D72AE;
}

/* ======================================================
//  MARK: header
// ====================================================== */
.header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: 92%;
  max-width: 1342px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 0 0;
  margin-inline: auto;
}

.header__logo {
  width: min(33vw,132px);
}

.nav {
  display: none;
  align-items: center;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: min(14vw,56px);
  height: auto;
  margin: auto 0 0 0;
}

.hamburger-menu-text {
  font-size: min(3vw,14px);
  font-weight: bold;
  font-family: var(--font-sans);
  letter-spacing: .16em;
  text-indent: .16em;
  margin: 8px 0 0 0;
}

.hamburger-bars {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  width: 100%;
}

.hamburger-bars .bar {
  display: block;
  height: 2px;
  background: #232323;
  border-radius: 2px;
  transform-origin: right center;
}

.nav__list {
  display: flex;
  gap: 32px;
  font-weight: bold;
}

.nav__list a{
  color: #232323;
}

.cta {
  background: var(--orange);
  padding: 12px 48px;
  border-radius: 56px;
  color: #fff;
  font-weight: bold;
}

.cta:hover {
  opacity: 0.8;
}

/* ======================================================
//  MARK: hamburger state
// ====================================================== */

.hamburger-menu {
  position: relative;
  z-index: 20;
}

.hamburger-bars rect {
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform-box: fill-box;
  transform-origin: center;
}

#menu[aria-expanded="true"] .hamburger-bars rect:nth-child(1) {
  transform: translateY(13.5px) rotate(45deg);
}

#menu[aria-expanded="true"] .hamburger-bars rect:nth-child(2) {
  opacity: 0;
}

#menu[aria-expanded="true"] .hamburger-bars rect:nth-child(3) {
  opacity: 0;
}

#menu[aria-expanded="true"] .hamburger-bars rect:nth-child(4) {
  transform: translateY(-13.5px) rotate(-45deg);
}

@media screen and (min-width: 1079px) {
  .hamburger-menu,
  .ripple-bg,
  .overlay {
    display: none;
  }

  .nav {
    display: flex;
    gap: 32px;
  }
}

/* ======================================================
//  MARK: ripple-menu
// ====================================================== */

.overlay {
  position: fixed;
  inset: 0;
  background: #81CDE4;
  clip-path: circle(0% at var(--ox, 95%) var(--oy, 5%));
  z-index: 13;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  padding: 0 min(12vw, 56px);
  gap: 40px;
}

.overlay-nav__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overlay-nav__list a {
  font-size: min(8vw, 30px);
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-weight: 500;
  opacity: 0;
  will-change: transform, opacity;
}

.overlay-nav__list a:hover {
  letter-spacing: 0.06em;
  transition: letter-spacing 0.3s ease;
}

.overlay-cta {
  display: inline-block;
  background: #fff;
  color: #1D72AE;
  font-weight: bold;
  font-size: min(4vw, 18px);
  padding: 14px 40px;
  border-radius: 56px;
  text-decoration: none;
  opacity: 0;
  will-change: transform, opacity;
  align-self: flex-start;
}

.overlay-cta:hover {
  opacity: 0.85;
}

/* ======================================================
//  MARK: main
// ====================================================== */

.main {
  padding: min(17vw,70px) 0 0 0;
}

.main__inner {
  width: 92%;
  max-width: 1342px;
  background: #C4E7F7;
  padding: min(12vw,47px) 0 min(10vw,40px) 0;
  margin: 18px auto 0 auto;
  border-radius: 40px;
}

/* ======================================================
//  MARK: main>hero
// ====================================================== */

.hero__kv {
  max-width: 627px;
  margin: 0 17px 0 14px;
}

.hero__catch {
  text-align: center;
  font-size: min(6vw, 38px);
  line-height: 1.8;
  font-weight: 500;
}

.hero__about {
  text-align: center;
  font-size: min(3.4vw, 16px);
  line-height: 2.1; 
  font-weight: 700;
  margin: 50px 0 0 0;
}

.section__border {
  width: 55%;
  max-width: 199px;
  margin: 73px auto 0 auto;
}

@media screen and (min-width: 767px) {
  .hero__catch {
    text-align: left;
    margin: 0 0 0 64px;
  }

  .hero__kv-wrap {
    text-align: center;
    margin: -100px 0 0 0;
  }

  .hero__about {
    text-align: right;
    margin: -16px 40px 0 0;
  }
}

/* ======================================================
//  MARK: main>about
// ====================================================== */

.about {
  width: 86%;
  max-width: 527px;
  text-align: center;
  font-size: min(4vw, 16px);
  font-family: var(--font-gothic);
  line-height: 2.3;
  font-weight: 500;
  margin: 64px auto 0 auto;
}

/* ======================================================
//  MARK: main>features
// ====================================================== */

.features {
  box-sizing: border-box;
  width: 90%;
  max-width: 1182px;
  background: #fff;
  margin: 64px auto 0 auto;
  border-radius: 40px;
}

.features__inner {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}

.features__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0 0;
}

.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border-radius: 32px;
  padding: min(4vw,16px);
  text-align: center;
}

.feature_img-wrap {
  aspect-ratio: 262/139;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature_img-wrap img {
  width: 46%;
}

.feature__item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature__item-ttl {
  font-size: min(4vw, 20px);;
  color: #fff;
  font-weight: bold;
  line-height: 1.3;
}

.feature__item-desc {
  background: #fff;
  border-radius: 16px;
  font-size: min(3vw, 14px);
  text-align: left;
  line-height: 1.6;
  margin: 15px 0 0 0;
  padding: 12px 15px;
  font-weight: 500;
  font-family: var(--font-sans);
}

@media (min-width: 767px) {
  .features__list {
    gap: 18px;
  }

  .features__item {
    width: calc(50% - 18px);
  }

  .feature_img-wrap img {
  width: 46%;
    max-width: 123px;
  }
}

@media (min-width: 1080px) {
  .features__item {
    width: calc((100% - 18px * 2) / 3);
  }
}

@media (min-width: 1380px) {
  .features__item {
    width: calc((100% - 18px * 3) / 4);
  }
}

/* ======================================================
//  MARK: main>dailiy-flow
// ====================================================== */

.dailiy-flow {
  box-sizing: border-box;
  width: 90%;
  max-width: 1182px;
  background: #FAF5EA;
  border-radius: 40px;
  font-family: var(--font-sans);
  margin: 56px auto 0 auto;
  padding: 40px 0;
}

.dailiy-flow__list {
  width: 90%;
  max-width: 636px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 32px auto 0 auto;
}

.dailiy-flow__item {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 48px 0 32px 0;
  text-align: center;
}

.dailiy-flow__list li p {
  font-size: min(5vw, 20px);
  line-height: 1.6;
  font-weight: 500;
}

.dailiy-flow__time {
  position: absolute;
  top: -8px;
  left: 23px;
  padding: min(2vw,8px) min(20vw,80px) min(2vw,8px) min(3vw,14px);
  color: #fff;
  font-weight: bold;
  font-size: min(6vw,24px);
  font-family: var(--font-gothic);
}

/* ======================================================
//  MARK: main>introduction
// ====================================================== */

.introduction {
  box-sizing: border-box;
  width: 90%;
  border-radius: 40px;
  margin: 56px auto 0 auto;
  padding: 40px 0;
}

.introduction__swiper-outer {
  overflow: hidden;
  margin: 32px 0 0 0;
}

.introduction__swiper {
  position: relative;
}

.introduction__swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.introduction__swiper .swiper-wrapper {
  flex-direction: column;
  gap: 8px;
}

.swiper-deco-left,
.swiper-deco-right {
  display: none;
}

@media (min-width: 767px) {
  .introduction {
    width: 100%;
  }

  .introduction__swiper .swiper-wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .introduction__swiper .swiper-slide {
    max-width: 364px;
  }

  .swiper-deco-left,
  .swiper-deco-right {
    display: block;
  }

  .swiper-deco-left {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 15;
  }

  .swiper-deco-right {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 15;
  }
}

/* ======================================================
//  MARK: main>access
// ====================================================== */

.access {
  box-sizing: border-box;
  background: #fff;
  width: 90%;
  max-width: 1182px;
  border-radius: 40px;
  margin: 45px auto 0 auto;
  padding: 80px 0 0 0;
}

.access iframe {
  border-radius: 0 0 40px 40px;
  margin: 40px 0 0 0;
  aspect-ratio: 1/1;
}

.access__address {
  margin: 16px 0 0 0;
  text-align: center;
}

.access__address p {
  font-family: var(--font-gothic);
  font-size: min(4vw, 18px);
  line-height: 1.6;
  font-weight: 700;
  color: #2E94DD;
}

.access__directions {
  margin: 16px 0 0 0;
  display: flex;
  justify-content: space-evenly;
}

.acc_icon {
  width: 35px;
  height: 50px;
  margin-right: 20px;
}

.access__box {
  text-align: start;
  display: flex;
}

.access__address span {
  font-size: min(4vw, 18px);
  line-height: 1.6;
  color: #2E94DD;
}

@media screen and (min-width: 767px) {
  .access iframe {
    aspect-ratio: 1108 / 409;
  }
}

@media screen and (max-width: 1024px) {
  .access__box {
    text-align: start;
    width: 60%;
    display: flex;
    justify-content: flex-start;
    margin: 10px auto;
  }
  .access__directions {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .access__box {
    width: 90%;
    margin: 10px auto;
    display: block;
    text-align: center;
  }
  .acc_icon {
    width: 30px;
    height: 43px;
    margin: 5px 0;
  }
}

/* ======================================================
//  MARK: main>usage-flow
// ====================================================== */

.usage-flow {
  box-sizing: border-box;
  background: #FAF5EA;
  width: 90%;
  max-width: 1182px;
  border-radius: 40px;
  margin: 40px auto 0 auto;
  padding: min(20vw, 80px) 0;
}

.usage-flow__list {
  width: 90%;
  max-width: 997px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 40px auto 0 auto;
}

.usage-flow__item {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: min(15vw, 60px) 0;
  text-align: center;
  font-size: min(5vw,16px);
  font-weight: 500;
}

.usage-flow__item p{
  margin: 16px 0 0 0;
}

.usage-flow__item:nth-child(1) { --item-color: #F0908A; }
.usage-flow__item:nth-child(2) { --item-color: #F0A868; }
.usage-flow__item:nth-child(3) { --item-color: #F0C840; }
.usage-flow__item:nth-child(4) { --item-color: #6BBF6A; }
.usage-flow__item:nth-child(5) { --item-color: #5AAAD4; }
.usage-flow__item:nth-child(6) { --item-color: #8A7EC8; }

.usage-flow__list li::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: min(12vw, 50px);
  height: min(12vw, 50px);
  background: var(--item-color);;
  border-radius: 50%;
}

@media screen and (min-width: 767px) {
  .usage-flow__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1080px) {
  .usage-flow__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ======================================================
//  MARK: main>faq
// ====================================================== */

.faq {
  width: 90%;
  max-width: 875px;
  margin: 80px auto 0 auto;
  font-family: var(--font-sans);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0 0 0;
}

.faq__item {
  width: 100%;
}

.faq__item-q {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #FAF5EA;
  border-radius: 32px;
  padding: 16px 21px 16px 32px;
}

.faq__item-a {
  margin-top: max(-7vw,-30px);
  display: flex;
  gap: 32px;
  background: #fff;
  border-radius: 0 0 40px 40px;
  padding: 56px 21px 32px 32px;
}

.faq__item-a span,
.faq__item-q span {
  font-family: var(--font-sans);
  font-size: min(7vw,28px);
  color: #2E94DD;
  font-weight: 700;
  line-height: 1.7;
}

.faq__item-a p {
  font-size: min(4vw,18px);
  color: #2E94DD;
  line-height: 1.6;
}
.faq__item-q p {
  font-size: min(5vw,20px);
  color: #2E94DD;
  line-height: 1.6;
  font-weight: 500;
}

@media screen and (min-width: 767px) {
  .faq__item-a {
    align-items: center;
  }
}


/* ======================================================
//  MARK: main>contact
// ====================================================== */

.contact {
  width: 90%;
  max-width: 1182px;
  margin: 60px auto 0 auto;
  background: #fff;
  border-radius: 40px;
  padding: min(10vw,40px) 0;
}

.contact__inner {
  width: 85%;
  max-width: 565px;
  margin: 0 auto;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: min(12vw,50px) 0 0 0;
}

.form__group label {
  display: flex;
  align-items: center;
  gap: min(2vw,8px);
  font-family: var(--font-sans);
  font-size: min(4vw,16px);
  line-height: 1.6;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.form__group label span{
  background: #E1442F;
  color: #fff;
  font-size: min(3vw,12px);
  line-height: 1;
  padding: min(1vw,4px) min(2vw,8px);
  white-space: nowrap;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  border: 1px solid #1D72AE;
  color: #222;
}

.form__group input,
.form__group select {
  box-sizing: border-box;
  height: min(13vw,54px);
  font-size: min(4vw,16px);
  padding: 0 0 0 10px;
}

.form__group textarea {
  height: min(41vw,160px);
}

.address label {
  margin: 0;
}

.address select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("../img/check.svg");
  background-repeat: no-repeat;
  background-size: 21px auto;
  background-position: right 21px center;
  margin: min(2vw,8px) 0 0 0;
  padding: 0 10px;
}

.note{
  font-size: min(3vw,12px);
}

.age {
  display: flex;
  gap: min(1vw,6px);
}

.form__group .age input {
  width: min(40vw,157px);
}

.form__group .age span {
  display: inline-block;
  font-size: min(6vw,24px);
  margin: auto 0 0 0;
}

.gender {
  display: flex;
  flex-wrap: wrap;
  column-gap: min(6vw,24px);
  row-gap: min(2vw,8px);
}

.gender__group {
  display: flex;
}

.gender__group label{
  white-space: nowrap;
  margin: auto 0;
}

.gender__group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  height: min(7vw, 30px);
  width: min(7vw, 30px);
  border: 1px solid #1D72AE;
  border-radius: 0;
  cursor: pointer;
}
.gender__group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 35%;
  height: 60%;
  border-right: 2px solid #1D72AE;
  border-bottom: 2px solid #1D72AE;
}

.submit {
  background: var(--orange);
  border: none;
  cursor: pointer;
  border-radius: 64px;
  font-family: var(--font-sans);
  color: #fff;
  font-weight: 700;
  font-size: min(4vw,18px);
  padding: 19px 0;
  margin: 40px 0 0 0;
}

.submit:hover {
  opacity: 0.8;
}

.submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact__success {
  text-align: center;
  font-size: min(4vw, 18px);
  line-height: 2;
  padding: 40px 0;
  color: var(--orange);
  font-weight: 700;
}

@media screen and (min-width: 767px) {
  .address select {
    display: block;
    max-width: 357px;
  }
}

/* ======================================================
//  MARK: footer
// ====================================================== */

.footer {
  width: 90%;
  max-width: 1342px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-size: min(4vw,16px);
  margin: 50px auto 0 auto;
  padding: 0 0 40px 0;
}

.footer__policy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer__policy a {
  color: #232323;
}

.external-link {
  width: min(4vw,16px);
  margin: auto 0;
}

.footer__logo img{
  width: min(57vw,267px);
  height: auto;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(2vw,8px);
  width: 100%;
  background: #F0908A;
  padding: min(5vw,21px) 0;
  color: #fff;
}

.page-top img{
  width: min(5vw,21px);
}

.page-top:hover {
  opacity: 0.8;
}

@media screen and (min-width: 767px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin: 20px auto 0 auto  ;
  }

  .footer__info {
    text-align: right;
  }

  .footer__policy {
    justify-content: flex-end;
  }

  .page-top {
    display: none;
  }
}