@charset "UTF-8";

main {
  section {
    line-height: 1.5;

    h2 {
      display: block;
      text-align: center;
      line-height: 1;
      margin-bottom: 1em !important;
      &.free {
        font-size: clamp(26px, 3.2vw, 32px) !important;
        color: #00a7d8;
      }
      .en {
        display: block;
        font-size: clamp(50px, 6.7vw, 67px);
      }
      small {
        display: block;
        font-size: 18px;
        margin-top: 0.5em;
      }
    }
    h3 {
      display: block;
      text-align: center;
      font-size: 22px;
      margin-bottom: 1.5em !important;
    }
    .ttlTxt {
      font-size: clamp(14px, 1.4vw, 20px);
      text-align: center;
      margin-bottom: 2em;
    }
    .ttlTxt-big {
      font-size: clamp(20px, 2.8vw, 28px);
      margin-bottom: 2em;
    }
  }
}

/* 共通パーツ調整 ---------------------------------------- */
@media (max-width: 767px) {
  .container,
  .container_min {
    width: 90%;
  }
}
/* mv ---------------------------------------- */
.mv {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/525/mv.png) center / cover no-repeat;
  padding: 200px 0;

  h1 {
    color: #fff;
    font-size: clamp(22px, 3vw, 40px);
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
  }
}
@media (max-width: 767px) {
  .mv {
    padding: 145px 0;
  }
}

/* about ---------------------------------------- */
section#about {
  text-align: center;
  padding: 100px 0 0 !important;
  @media (max-width: 767px) {
    padding: 60px 0 0 !important;
  }
  .catchTxt {
    font-size: clamp(14px, 1.4vw, 20px);
    margin-bottom: 2em;
  }
  .exIllust {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 64px;
    margin: 0;
    padding: 0;
    list-style: none;
    @media (max-width: 767px) {
      gap: 13px;
    }
  }
  .exIllust_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .exIllust_icon {
    display: block;
    width: 120px;
    height: auto;
    @media (max-width: 767px) {
      width: auto;
      height: 70px;
    }
  }
  .exIllust_text {
    margin-top: 1.5em;
    font-size: clamp(10px, 1.6vw, 14px);
    letter-spacing: 1px;
    font-weight: 700;
    color: #01b3de;
  }
}

/* facility ---------------------------------------- */
section#facility {
  /*galleryBox*/
  .galleryBox {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
    .gallery__main {
      flex: 0 0 48%;
      height: 470px;
      @media (max-width: 767px) {
        flex: auto;
        width: 100%;
        height: auto;
      }
    }
    .gallery__main-image {
      display: block;
      width: auto;
      height: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }
    .gallery__caption {
      margin-top: 16px;
      text-align: center;
      font-size: 14px;
      /* 高さ固定のご指示のため */
      height: 46px;
    }
    .gallery__thumbs {
      flex: 1;
      @media (max-width: 767px) {
        /* flex: 0; */
      }
    }
    .gallery__list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .gallery__item {
      width: calc((100% - 36px) / 4);
    }
    .gallery__button {
      display: block;
      width: 100%;
      padding: 0;
      border: none;
      background: none;
      cursor: pointer;
    }
    .gallery__button img {
      display: block;
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
    }
    .gallery__button.is-active {
      outline: 3px solid #009fe8;
      outline-offset: 2px;
    }
  }
}
@media (max-width: 767px) {
  .facility {
    flex-direction: column;
    gap: 32px;
  }
}

/* access ---------------------------------------- */
section#access {
  .access__wrap {
    flex-direction: initial !important;
    align-items: flex-start !important;
    margin-bottom: 80px;
    .access__wrap-info {
      dt {
        margin-bottom: 0.5em !important;
      }
    }
  }
  .optionList {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    li {
      width: 12%;
      font-size: 14px;
      letter-spacing: 0.4px;
      text-align: center;
      list-style: none;
      margin: 0 2.3%;
      &:nth-child(n + 7) {
        margin-top: 20px;
      }
      img {
        width: 100%;
        margin-bottom: 0.5em;
      }
    }
  }
}
@media (max-width: 767px) {
  section#access {
    .access__wrap {
      .access__wrap-info {
        dt {
          font-size: 24px;
        }
      }
    }
    .optionList {
      li {
        width: 20%;
        p {
          font-size: 10px;
        }
      }
    }
  }
}

/* plan ---------------------------------------- */
section#plan {
  .planBlock {
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    margin: 40px auto 0;
    position: relative;
    @media (max-width: 767px) {
      width: 100%;
      text-align: center;
    }
    &:before {
      content: "";
      width: 90%;
      height: 2px;
      background-color: #bababa;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      margin: 0 auto;
    }
    &:first-of-type:before {
      content: none;
    }
    .plan_title {
      width: 50%;
      color: #01b3de;
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
      @media (max-width: 767px) {
        width: 100%;
      }
    }
    .plan_price {
      width: 50%;
      font-size: 20px;
      margin-bottom: 5px;
      @media (max-width: 767px) {
        width: 100%;
      }
      strong {
        font-size: 30px;
      }
      .note {
        display: block;
        font-size: 14px;
        color: #666;
      }
    }
  }
  .plan_btn {
    width: 35%;
    display: block;
    background-color: #01b3de;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 24px);
    border-radius: 50px;
    padding: 0.8em 1em;
    margin: 80px auto 0;
    text-align: center;
    @media (max-width: 767px) {
      width: auto;
      margin: 60px auto 0;
    }
    &:hover {
      opacity: 0.8;
      text-decoration: none;
    }
  }
}

/* future ---------------------------------------- */
section#future {
  h2:nth-child(n + 2) {
    margin-top: 80px;
  }
  .appbtn {
    display: flex;
    justify-content: center;
    align-items: center;
    li {
      width: 224px;
      margin: 0 10px;
      list-style: none;
    }
  }
  .note {
    font-size: clamp(12px, 1.8vw, 18px);
    text-align: center;
    margin-top: 1em;
    a {
      color: #dc2114;
      text-decoration: underline;
    }
  }
}
/*打ち消し*/
section#future ol > li {
  margin-top: 0;
}
section#future ol li div.future__article {
  padding-top: 0;
}
