@charset "utf-8";

html {
  scroll-behavior: smooth;
}
button {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 768px) {
  body {
    padding-bottom: 99px;
  }
}

.w-1236 {
  width: 94%;
  max-width: 1236px;
  margin-inline: auto;
}
.w-1440 {
  width: 94%;
  max-width: 1440px;
  margin-inline: auto;
}
.c-blue {
  color: #0071bb;
}
[class$="-br"] {
  display: none;
}
@media (min-width: 769px) {
  .pc-w-1236 {
    width: 94%;
    max-width: 1236px;
    margin-inline: auto;
  }
  .pc-w-1440 {
    width: 94%;
    max-width: 1440px;
    margin-inline: auto;
  }
}

.gakusei-mv {
  position: relative;
  display: grid;
  overflow: hidden;
  place-content: center;
  height: 700px;
  place-items: center;
  gap: 40px;
}
.mv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 127%;
  z-index: -1;
  background: url(../images/_mv-bg.webp) no-repeat center center / cover;
  will-change: transform;
}
.main-title {
  position: relative;
  z-index: 10;
  display: grid;
  color: #3ebdcb;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  font-size: 120px;
  text-align: center;
  line-height: 1.2;

  -webkit-text-stroke: 3px #ffffff;
  paint-order: stroke;

  opacity: 0;
  will-change: transform, opacity;
  animation: title-sharp-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
.main-title-row1 {
  font-size: 0.8em;
  span {
    font-size: 0.9em;
  }
}
.mv-parts {
  position: absolute;
  z-index: 1;
  width: calc(250 / 1920 * 100vw);
  height: auto;
  border-radius: 15px;
  will-change: transform, opacity;
  opacity: 0;
  box-shadow: 0px 20px 20px -10px rgba(0, 0, 0, 0.2);
}

/* JSでクラスが付与されたらアニメーション開始 */
.gakusei-mv.is-loaded {
  .mv-parts {
    /* 【ポイント】スライド移動と初期フェードイン（1秒）をカンマ区切りで同時適用 */
    animation:
      mv-parts-slide-down var(--duration, 12s) linear var(--delay, 0s) infinite,
      mv-parts-first-fade 1s ease-out forwards;

    &.is-reverse {
      animation:
        mv-parts-slide-up var(--duration, 12s) linear var(--delay, 0s) infinite,
        mv-parts-first-fade 1s ease-out forwards;
    }
  }
}

/* --- 位置とタイミング調整 --- */
.mv-parts[data-part="1"] {
  left: -2%;
  top: 0;
  --duration: 15s;
  --delay: 0s;
}
.mv-parts[data-part="6"] {
  left: 2%;
  top: 0;
  --duration: 14s;
  --delay: -6s;
}

.mv-parts[data-part="2"] {
  left: 22%;
  top: 0;
  --duration: 12s;
  --delay: -2s;
}
.mv-parts[data-part="7"] {
  left: 13%;
  top: 0;
  --duration: 13s;
  --delay: -8.5s;
}

.mv-parts[data-part="9"] {
  left: 45%;
  top: 0;
  --duration: 11s;
  --delay: -4s;
}

.mv-parts[data-part="3"] {
  left: 61%;
  top: 0;
  --duration: 14s;
  --delay: -1s;
}
.mv-parts[data-part="8"] {
  left: 70%;
  top: 0;
  --duration: 13s;
  --delay: -7.5s;
}

.mv-parts[data-part="4"] {
  left: 85%;
  top: 0;
  --duration: 14s;
  --delay: -3s;
}
.mv-parts[data-part="5"] {
  left: 88%;
  top: 0;
  --duration: 15s;
  --delay: -9s;
}

/* タイトルのカットイン */
@keyframes title-sharp-in {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
  }
}

/* 初回出現専用のフェードイン */
@keyframes mv-parts-first-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 1. 上から下へ移動 */
@keyframes mv-parts-slide-down {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(700px);
  }
}

/* 2. 下から上へ移動 */
@keyframes mv-parts-slide-up {
  0% {
    transform: translateY(700px);
  }
  100% {
    transform: translateY(-100%);
  }
}

.gakutabi-logo {
  position: relative;
  z-index: 2;
  margin-top: -80px;
}
@media (max-width: 768px) {
  .gakusei-mv {
    height: auto;
    aspect-ratio: 750 / 555;
    gap: 20px;
  }
  .mv-bg {
    height: 130%;
  }
  .main-title {
    font-size: calc(100 / 750 * 100vw);
  }
  .mv-parts {
    width: calc(200 / 750 * 100vw);
    border-radius: 10px;
  }
  .gakutabi-logo {
    margin-top: 0;
    width: 60%;
  }
}

.base {
  display: flex;
  min-height: 100vh;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: #393933;
  background-color:#3ebdcb;
}
@media (max-width: 768px) {
  .base {
    font-size: 15px;
  }
}

.gakusei-sidebar {
  background: #98dae1;
  background: linear-gradient(#98dae1 0%, #98dae1 10%, rgba(152, 218, 225, 0.5) 100%);
}
.gakusei-nav {
  position: sticky;
  top: 0;

  width: 306px;
  height: 100vh;
  padding: 50px 30px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 21px;
  line-height: 1.4;
}
a.gakusei-nav-link {
  position: relative;
  color: #393933;
  font-weight: bold;
}
a.gakusei-nav-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-content: center;
  text-align: center;
  width: 100%;
  height: auto;
  aspect-ratio: 23 / 11;
  background-color: #ffffff;
  color: #393933;
  border: 3px solid #393933;
  font-weight: bold;
  line-height: 1.3;
}
.button-pagetop {
  background: rgba(152, 218, 225, 0.8);
}
.button-pagetop span {
  color: #393933;
}
@media (min-width: 769px) {
  .gakusei-nav-list {
    width: fit-content;
    margin-inline: auto;
    position: relative;
    left: -6px;
    gap: 25px;
  }
  a.gakusei-nav-link {
    &::before {
      content: "";
      position: relative;
      z-index: 2;
      display: inline-block;
      width: 16px;
      height: auto;
      aspect-ratio: 1 / 1;
      margin-right: 10px;
      background: url(../images/arrow.svg) no-repeat center / cover;
    }
    &::after {
      content: "";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: -3px;
      width: 22px;
      height: auto;
      aspect-ratio: 1 / 1;
      background-color: #ffffff;
      border-radius: 6px;
    }
  }
  a.gakusei-nav-link:hover {
    color: #ffffff;
    &::before {
      animation: nav-link-arrow-sway 0.3s ease-in-out infinite alternate;
    }
  }
  a.gakusei-nav-btn:hover {
    color: #ffffff;
    background-color: #393933;
  }
}
@keyframes nav-link-arrow-sway {
  from {
    transform: translateX(-2px);
  }
  to {
    transform: translateX(2px);
  }
}
@media (max-width: 768px) {
  .gakusei-sidebar {
    position: fixed;
    bottom: 0;
    z-index: 10;
    width: 100%;
    padding: 3px;
    background: rgba(152, 218, 225, 0.8);
  }
  .gakusei-nav {
    width: 100%;
    height: auto;
    padding: 0;
    font-size: 15px;
  }
  .gakusei-nav-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
  }
  .gakusei-nav-item {
    width: 100%;
    height: 100%;
  }
  .gakusei-nav-link {
    display: grid;
    place-content: center;
    width: 100%;
    height: 45px;
    line-height: 1.2;
    text-align: center;
  }
  .gakusei-nav-btns {
    gap: 3px;
    margin-top: 3px;
  }
  a.gakusei-nav-btn {
    height: 45px;
    aspect-ratio: auto;
    padding-block: 3px;
    line-height: 1.2;
    font-size: 14px;
    border-width: 2.5px;
  }
  a.gakusei-nav-btn:nth-child(2) {
    letter-spacing: -0.7px;
    white-space: nowrap;
  }
  .button-pagetop {
    bottom: 105px;
    right: 3px;
  }
}

.gakusei-main {
  flex: 1;
}
@media (min-width: 769px) {
  .gakusei-main {
    min-width: 930px;
  }
}

section {
  padding-block: 100px;
  scroll-margin-top: -50px;
}
.section-title {
  position: relative;
  left: 7px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 730px;
  height: auto;
  aspect-ratio: 730 / 131;
  margin-inline: auto;
  margin-bottom: 60px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.2;
}
.section-title-row1 {
  padding-top: 20px;
}
.section-title-row2 {
  font-size: 0.5em;
}
.section-title-row3 {
  margin-top: -10px;
  font-size: 0.45em;
  font-weight: normal;
}
.caption {
  text-align: left;
  font-size: 14px;
  font-weight: normal;
}
@media (max-width: 768px) {
  section {
    padding-block: 50px;
    scroll-margin-top: -25px;
  }
  .section-title {
    left: 3.25px;
    gap: 9px;
    width: 330px;
    margin-bottom: 30px;
    background-size: 100%;
    font-size: 24px;
  }
  .section-title-row1 {
    padding-top: 9px;
  }
  .section-title-row2 {
    font-size: 0.7em;
  }
  .section-title-row3 {
    margin-top: -7px;
    font-size: 0.6em;
  }
  .caption {
    font-size: 12px;
  }
}

/* ---------------------------------------
	point
--------------------------------------- */
.point {
  background: url(../images/point-bg.webp) no-repeat center center / cover;
}
.point-title {
  background-image: url(../images/point-title-bg.webp);
}
.point-item {
  box-sizing: border-box;
  padding-inline: 10px;
  font-weight: bold;
  color: #22727a;
}
.point-item-text-highlight {
  color: #ef4057;
  font-size: 1.11em;
}
.point-item-title {
  margin-bottom: 6px;
  padding-bottom: 10px;
  background: url(../images/point-item-title-bg.webp) repeat-x left bottom / auto;
  font-size: 40px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
}
.point-item-image {
  width: calc(100% + 20px) !important;
  height: auto;
  aspect-ratio: 660 / 364;
  margin-left: -10px;
  margin-bottom: 10px;
  border: 10px solid #ffffff;
  border-radius: 25px;
}
@media (max-width: 768px) {
  .point-item {
    padding-inline: 6px;
  }
  .point-item-image {
    border-width: 7px;
    border-radius: 20px;
    display: block;
    box-sizing: border-box;
  }
  .point-item-title {
    font-size: 21px;
  }
  .splide {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  .point-splide .splide__slide {
    width: 70vw !important;
  }
}

/* ---------------------------------------
	model-plan
--------------------------------------- */
.plan {
  background: url(../images/plan-bg.webp) no-repeat center center / cover;
}
.plan-content {
  display: grid;
  gap: 50px;
  width: 100%;
  max-width: 690px;
  margin-inline: auto;
  margin-top: 130px;
}
.plan-section-inner {
  padding: 70px;
  background-color: #ffffff;
  border-radius: 30px;
}
.plan-title {
  background-image: url(../images/plan-title-bg.webp);
}
.plan-item {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: bold;
  padding-left: 120px;
  mark {
    background: linear-gradient(transparent 65%, #fff100 0%);
  }
}
.plan-item-label {
  position: absolute;
  left: -17px;
  top: -30px;
  display: grid;
  place-content: center;
  width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #98dae1;
  color: #6961ae;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  .em {
    font-size: 1.8em;
  }
}
.plan-item-title {
  font-weight: bold;
}
.plan-item-tags {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 10px;
}
.plan-item-tag {
  padding: 1px 15px 3px;
  background-color: #0071bb;
  color: #ffffff;
  font-size: 0.85em;
  border-radius: 9999px;
}

.plan-item-image-wrap {
  max-width: 450px;
  width: 90%;
  /* margin-inline: auto; */
  margin-top: 30px;
}
.plan-item-callout {
  position: absolute;
  display: grid;
  place-content: center;
  width: 225px;
  height: auto;
  aspect-ratio: 277 / 216;
  background: url(../images/plan-item-callout-bg.webp) no-repeat center center / 100%;
  font-size: 16px;
  text-align: center;
  span {
    transform: rotate(16deg);
    padding-left: 8px;
  }
}
.plan-item-list {
  width: 100%;
  max-width: 463px;
  li {
    display: flex;
    align-items: baseline;
  }
  li::before {
    content: "";
    flex: 0 0 20px;
    display: inline-block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-right: 5px;
    background: url(../images/icon-heart.webp) no-repeat center center / 100%;
    position: relative;
    top: 2px;
  }
  li + li {
    margin-top: 5px;
  }
}
.day1 {
  .plan-item-callout {
    right: -65px;
    top: -94px;
  }
  .plan-item-image {
    aspect-ratio: 702 / 354;
    width: calc(100% + 30px);
    max-width: none;
  }
}
.day3-4 {
  .plan-item-title {
    font-size: 24px;
  }
  .plan-item-callout {
    position: relative;
    top: 1px;
    background: transparent;
    width: auto;
    aspect-ratio: auto;
    span {
      padding-left: 0;
      transform: rotate(0);
      &::before {
        content: "";
        position: relative;
        top: 4px;
        display: inline-block;
        width: 20px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-right: 5px;
        background: url(../images/icon-check.webp) no-repeat center center / 100%;
      }
    }
  }
  .plan-item-image {
    aspect-ratio: 690 / 460;
  }
}
.day5 {
  .plan-item-callout {
    right: -34px;
    top: -50px;
  }
  .plan-item-image {
    aspect-ratio: 690 / 316;
  }
}
.day6 {
  .plan-item-image {
    aspect-ratio: 690 / 460;
  }
}
@media (max-width: 768px) {
  .plan {
    .section-title-row2 {
      margin-top: 20px;
    }
  }
  .plan-section-inner {
    position: relative;
    padding: 30px 20px;
  }
  .plan-content {
    gap: 30px;
    margin-top: 0;
  }
  .plan-item-title {
    line-height: 1.4;
  }
  .plan-item-label {
    position: static;
    margin-left: -12px;
    width: 75px;
    font-size: 16px;
  }
  .plan-item {
    padding-left: 0;
    font-size: 16px;
  }
  .plan-item-callout {
    width: 190px;
    font-size: 14px;
  }
  .plan-item-image-wrap {
    margin-inline: auto;
    margin-top: 20px;
  }
  .plan-item-list {
    li::before {
      flex: 0 0 18px;
      top: 3px;
    }
  }
  .day1 {
    .plan-item-callout {
      right: -13px;
      top: -20px;
    }
    .plan-item-image {
      width: calc(100% + 20px);
    }
  }
  .day2,
  .day3-4,
  .day6 {
    display: grid;
    grid-template-columns: 75px 1fr;
    .plan-item-label {
      grid-column: 1;
      grid-row: 1 / span 2;
    }
    .plan-item-image-wrap {
      grid-column: 1 / -1;
    }
    &::after {
      content: "";
      display: none;
    }
  }
  .day2 {
    .plan-item-title {
      align-self: end;
    }
  }
  .day6 {
    .plan-item-label,
    .plan-item-title {
      grid-row: 1;
      align-self: center;
    }
  }
  .day3-4 {
    .plan-item-title {
      font-size: 18px;
    }
    .plan-item-label,
    .plan-item-header {
      grid-row: 1;
      align-self: center;
    }
    .plan-item-callout {
      place-content: start;
    }
    .plan-item-list {
      grid-column: 1 / -1;
    }
    & span {
      &::before {
        width: 18px;
      }
    }
  }
  .day5 {
    .plan-item-callout {
      right: -13px;
    }
  }
}
@media (max-width: 404px) {
  .plan-section-inner {
    padding-top: 190px;
  }
  .plan-title {
    position: absolute;
    top: 30px;
    left: 7px;
    right: 0;
  }
}

/* ---------------------------------------
	product
--------------------------------------- */
.product {
  background: url(../images/product-bg.webp) no-repeat center center / cover;
}
.product-title {
  background-image: url(../images/product-title-bg.webp);
}
.product-item {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  font-weight: bold;
}
.product-item-title {
  display: grid;
      align-items: center;
  margin-bottom: 18px;
  font-size: 28px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}
.product-item-image {
  aspect-ratio: 583 / 360;
  margin-bottom: 10px;
}
.product-item-highlight {
  color: #f07585;
}
.product-item-btns {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.product-item-btn {
  display: grid;
  place-content: center;
  width: 100%;
  height: 75px;
  border-radius: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
}
a.product-item-btn {
  color: #ffffff;
}
.product-item-btn.-reservation {
  background-color: #f07585;
}
.product-item-btn.-brochure {
  background-color: #96ad3c;
}
@media (min-width: 769px) {
  .product-list {
    width: fit-content;
    min-width: 818px;
    margin-inline: auto;
    padding-inline: calc(40 / 1920 * 100vw);
  }
  .product-item {
    width: 100%;
    max-width: 567px;
    font-size: 20px;
  }
  .product-item-btn {
    font-size: 28px;
  }
}
@media (min-width: 1751px) {
  .product-list {
    gap: 80px 100px;
  }
}
@media (min-width: 769px) and (max-width: 1750px) {
  .product-list {
    gap: 35px calc(40 / 1920 * 100vw);
  }
}
@media (min-width: 769px) and (max-width: 1450px) {
  .product-item {
    padding-inline: calc(30 / 1450 * 100vw);
    font-size: calc(20 / 1450 * 100vw);
  }
  .product-item-title {
    font-size: calc(26 / 1450 * 100vw);
  }
  .product-item-btn {
    font-size: calc(28 / 1450 * 100vw);
  }
}
@media (min-width: 769px) and (max-width: 1251px) {
  .product-list {
    column-gap: 26px;
  }
  .product-item {
    padding-inline: 26px;
    font-size: 17px;
  }
  .product-item-title {
    font-size: 22px;
  }
  .product-item-btn {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .product-item-title {
    font-size: 17px;
    text-align: left;
    line-height: 1.4;
  }
  .product-item-title {
    margin-bottom: 13px;
  }
  .product-item-btn {
    height: 40px;
    font-size: 18px;
  }
  .splide__pagination {
    position: static;
    margin-top: 15px;
  }
  .splide__arrow {
    width: 50px;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #ff7a59;
    border-radius: 10px;
    opacity: 1;
    &::after {
      content: "";
      position: relative;
      z-index: 2;
      display: inline-block;
      width: 22px;
      height: auto;
      aspect-ratio: 1 / 1;
      background: url(../images/arrow-white.svg) no-repeat center / cover;
    }
  }
  .splide__arrow--prev {
    left: 8px;
    &::after {
      transform: scaleX(-1);
    }
  }
  .splide__arrow--next {
    right: 8px;
  }
  .splide__arrow svg {
    display: none;
  }
  .splide__pagination__page {
    width: 15px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 6px;
    background: #ff7a59;
    border-radius: 5px;
    opacity: 1;
  }
  .splide__pagination__page.is-active {
    background: #ff7a59;
    transform: scale(1);
    width: 22px;
  }
}

/* ---------------------------------------
	faq
--------------------------------------- */
.faq {
  padding-bottom: 150px;
  background: #faf6e8 url(../images/faq-bg.webp) no-repeat bottom center / contain;
}
.faq-title {
  background-image: url(../images/faq-title-bg.webp);
}
.faq-list {
  display: grid;
  grid-template-columns: 325px 1fr;
  gap: 10px 35px;

  [class*="_text-"] {
    flex: 0 0 60px;
    line-height: 60px;
    text-align: center;
    color: #ffffff;
    font-size: 2em;
    font-weight: 900;
    border-radius: 9999px;
    font-family: "M PLUS Rounded 1c", sans-serif;
  }
}
.faq-term {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 325px;
  padding: 25px 20px;
  background-color: #c1e5fb;
  color: #007bc6;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 20px;
  text-align: left;
  &::after {
    content: "";
    position: absolute;
    right: -20px;
    width: 22px;
    height: 30px;
    background: #c1e5fb;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
  }
}
.faq-desc {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: justify;
}
._text-q {
  background-color: #0089dc;
}
._text-a {
  background-color: #ff5394;
}
@media (max-width: 768px) {
  .faq {
    padding-bottom: 50px;
    background-image: url(../images/faq-bg-sp.webp);
  }
  .faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    [class*="_text-"] {
      flex: 0 0 50px;
      line-height: 50px;
    }
  }
  .faq-term {
    flex: 0 0 auto;
    width: 70%;
    margin-right: auto;
    padding: 20px;
    font-size: 16px;
    &::after {
      right: auto;
      left: 50%;
      transform: translateX(-50%);
      bottom: -18px;
      width: 30px;
      height: 20px;
      clip-path: polygon(0 0, 50% 100%, 100% 0);
    }
  }
  .faq-desc {
    width: 90%;
    margin-left: auto;
  }
}
