@charset "UTF-8";

/* ========================================== */
/* トップページ */
/* ========================================== */

.hero {
  position: relative;
  background: url(../img/front/hero-bg.webp) 50% 0% / cover no-repeat;
  overflow: hidden;
  aspect-ratio: 1920 / 1352;

  @media (width <= 640px) {
    aspect-ratio: 750 / 1560;
    background-image: url(../img/front/hero-bg-sp.webp);
  }
}
.hero-img {
  position: absolute;
  left: calc(-90 / 1920 * 100%);
  width: calc(1226 / 1920 * 100%);

  img {
    width: 100%;
  }
  @media (width > 640px) {
    top: calc(83 / 1352 * 100%);
  }
  @media (width <= 640px) {
    width: 100%;
    bottom: 0;
    left: 0;
  }
}
.hero-text01,
.hero-text02 {
  position: absolute;
}
.hero-text01 {
  left: calc(1007 / 1920 * 100%);
  top: calc(366 / 1352 * 100%);
  width: calc(879 / 1920 * 100%);

  @media (width <= 640px) {
    left: calc(86 / 750 * 100%);
    top: calc(192 / 1352 * 100%);
    width: calc(652 / 750 * 100%);
  }
}
.hero-text02 {
  left: calc(1178 / 1920 * 100%);
  top: calc(832 / 1352 * 100%);
  width: calc(619 / 1920 * 100%);

  @media (width <= 640px) {
    left: calc(195 / 750 * 100%);
    top: calc(490 / 1352 * 100%);
    width: calc(440 / 750 * 100%);
  }
}

.hero-news-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-24);
}
.hero-news-more {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.fixed-beginner-btn {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 10;
  transform-origin: 100% 100%;
  transition: transform 0.2s;

  @media (width <= 800px) {
    right: 0.5rem;
    bottom: 5rem;
  }

  &:hover {
    transform: scale(0.9);
  }
  img {
    object-position: 100% 100%;
    aspect-ratio: 269 / 279;

    @media (aspect-ratio < 1) {
      width: 25vw;
      max-height: none;
      height: auto;
      max-width: 269px;
    }
    @media (aspect-ratio >= 1) {
      max-width: none;
      height: 20vh;
      width: auto;
      max-height: 279px;
    }
  }
  &.active {
    transform: scale(0.7);
  }
}

.top-campaign-section {
  position: relative;
  overflow: hidden;
}
.top-campaign-section-before,
.top-campaign-section-after {
  width: 100%;
  height: 49px;
  background: url(../img/front/top-campaign-section-before.svg) 0 50% / auto
    100% repeat-x;
  animation: campaign-section-before-bg-left 40s linear infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;

  + .container,
  ~ #campaign-slider {
    position: relative;
    z-index: 2;
  }
}
@keyframes campaign-section-before-bg-left {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 2275px;
  }
}

#campaign-slider {
  position: relative;
  margin-top: var(--space-72);

  img {
    width: 100%;
    aspect-ratio: 1100 / 540;
    object-fit: cover;
  }
  .splide__track,
  .splide__list,
  .splide__slide {
    overflow: visible;
  }
  .splide__slide {
    img {
      transition: transform 0.2s;
    }
    &.is-active img {
      transform: scale(1.2);
    }
  }

  .splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.8rem;
    height: 7.8rem;
    background: 50% 50% / contain no-repeat;
    border: none;
    z-index: 1;
    cursor: pointer;

    @media (width <= 1280px) {
      width: 5.8rem;
      height: 5.8rem;
    }
    @media (width <= 800px) {
      width: 4.8rem;
      height: 4.8rem;
    }
    @media (width <= 480px) {
      width: 3.8rem;
      height: 3.8rem;
    }

    svg {
      display: none;
    }
  }
  .splide__arrow--prev {
    left: 20vw;
    background-image: url(../img/front/top-facility-slider-arrow-prev.svg);

    @media (width <= 1024px) {
      left: 10vw;
    }
    @media (width <= 800px) {
      left: 5vw;
    }
    @media (width <= 480px) {
      left: 2vw;
    }
  }
  .splide__arrow--next {
    right: 20vw;
    background-image: url(../img/front/top-facility-slider-arrow-next.svg);
    @media (width <= 1024px) {
      right: 10vw;
    }
    @media (width <= 800px) {
      right: 5vw;
    }
    @media (width <= 480px) {
      right: 2vw;
    }
  }
}

.top-facility-section {
  position: relative;

  &::before {
    content: "";
    display: block;
    width: 100svw;
    height: 100svw;
    background-color: var(--color-base);
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, -50%);
    border-radius: 9999px;
  }
  .container {
    position: relative;
    z-index: 2;
  }
}
.top-facility-tab {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  gap: var(--space-20);
  margin-top: var(--space-52);

  @media (width <= 1280px) {
    gap: var(--space-8);
  }
  @media (width <= 1024px) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
.top-facility-tab-btn {
  position: relative;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverted);
  text-decoration: none;
  width: 14.1rem;
  padding: var(--space-16) 0;
  border-radius: 9999px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  opacity: 0.5;
  transition: opacity 0.3s;

  @media (width <= 800px) {
    width: 13rem;
    padding: var(--space-12) 0;
  }
  @media (width <= 480px) {
    width: 10.5rem;
  }

  &.is-active {
    opacity: 1;

    @media (width > 1024px) {
      &::after {
        content: "";
        display: block;
        width: 1.3rem;
        height: 1.3rem;
        background-color: var(--color-primary);
        position: absolute;
        left: 50%;
        top: calc(100% + var(--space-8));
        border-radius: 9999px;
        transform: translateX(-50%);
      }
    }
  }
}
.top-facility-tab-btn-ja {
  font-size: var(--font-size-20);

  @media (width <= 800px) {
    font-size: var(--font-size-16);
  }
}
.top-facility-tab-btn-en {
  font-size: var(--font-size-12);

  @media (width <= 480px) {
    font-size: 10px;
  }
}
#facility-slider {
  position: relative;
  margin-top: var(--space-52);

  .splide__arrow {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.8rem;
    height: 7.8rem;
    background: 50% 50% / contain no-repeat;
    border: none;
    z-index: 1;
    cursor: pointer;

    @media (width <= 1280px) {
      width: 5.8rem;
      height: 5.8rem;
    }
    @media (width <= 800px) {
      width: 4.8rem;
      height: 4.8rem;
    }
    @media (width <= 480px) {
      top: 40%;
      width: 3.8rem;
      height: 3.8rem;
    }

    svg {
      display: none;
    }
  }
  .splide__arrow--prev {
    left: 3vw;
    background-image: url(../img/front/top-facility-slider-arrow-prev.svg);
  }
  .splide__arrow--next {
    right: 3vw;
    background-image: url(../img/front/top-facility-slider-arrow-next.svg);
  }
}
.top-facility-slider-img {
  width: 100%;
}
.top-facility-slider-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-40);
  max-width: var(--container-inner-width-sm);
  margin-inline: auto;
  transform: translateX(5%);

  @media (width <= 1440px) {
    transform: translateX(0);
  }
  @media (width <= 1280px) {
    gap: var(--space-28);
  }
  @media (width <= 480px) {
    grid-template-columns: 1fr;
    gap: var(--space-16);
    padding-inline: var(--space-48);
  }
}

.top-facility-slider-title {
  background: url(../img/front/top-facility-slider-title-bg.svg) 50% 50% /
    contain no-repeat;
  width: clamp(16rem, 13.353rem + 11.29vw, 23.8rem);
  height: clamp(16rem, 13.353rem + 11.29vw, 23.8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  color: var(--color-text-inverted);
  margin-top: -5vw;

  @media (width <= 1280px) {
    gap: var(--space-4);
    width: clamp(12rem, 9.896rem + 8.98vw, 18.2rem);
    height: clamp(12rem, 9.896rem + 8.98vw, 18.2rem);
  }
  @media (width <= 480px) {
    background: var(--color-primary);
    border-radius: 9999px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
  }
}
.top-facility-slider-title-ja {
  font-size: var(--font-size-32);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;

  @media (width <= 1280px) {
    font-size: var(--font-size-24);
  }
}
.top-facility-slider-title-en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: var(--font-size-16);
  line-height: 1.4;
  letter-spacing: 0.2em;
}
.top-facility-slider-description {
  font-size: var(--font-size-16);
  font-weight: medium;
  line-height: 2;
  letter-spacing: 0;

  @media (width <= 1280px) {
    font-size: var(--font-size-16);
    line-height: 1.8;
  }
  @media (width <= 480px) {
    padding-top: 5rem;
  }
}

.top-woman-section {
  background: var(--color-pink) url(../img/front/top-woman-bg.png) 50% 0 / cover
    no-repeat;
  position: relative;

  &::before {
    content: "";
    background: url(../img/front/top-woman-header-before.svg) 50% 0 / contain
      no-repeat;
    display: block;
    width: 30.5rem;
    height: 9.07rem;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -97%);
    z-index: 2;

    @media (width <= 480px) {
      width: 18.5rem;
      height: 5.6rem;
    }
  }
}
.top-woman-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-woman-point {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-36);
  padding: var(--space-16) var(--space-32);
  border: 2px dashed;
  border-radius: 2.3rem;

  &::after {
    content: "POINT!";
    position: absolute;
    right: 1rem;
    top: 2rem;
    transform: rotate(30deg);
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  @media (width <= 1280px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: var(--space-4);
  }
}
.top-woman-point-thumb {
  @media (width <= 1280px) {
    width: 140px;
    margin-inline: auto;
  }
}
.top-woman-point-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-24);

  @media (width <= 1280px) {
    justify-content: flex-start;
    text-align: center;
  }
}

.top-beginner-section {
  position: relative;
  overflow: hidden;

  .section-heading::after {
    background-color: #15b28d;
  }
}
.top-beginner-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  height: 100%;
  max-width: none;
}
.top-beginner-body {
  position: relative;
  margin-top: var(--space-40);
}
.top-beginner-contents {
  position: absolute;
  right: 0;
  top: 0;
  width: calc(722 / 1640 * 100%);
  padding-top: var(--space-40);
  z-index: 1;

  @media (width <= 1680px) {
    padding-top: 0;
  }
  @media (width <= 1280px) {
    position: relative;
    width: auto;
    padding-top: var(--space-40);
    text-align: center;
  }

  h3 {
    br {
      @media (width <= 1680px) {
        display: none;
      }
    }
  }
}
.top-beginner-graph {
  width: calc(1156 / 1640 * 100%);

  @media (width <= 1280px) {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: var(--space-40);
    padding-right: 5%;
    padding-left: 10%;
    text-align: center;
  }
  @media (width <= 800px) {
    padding-right: 0;
    padding-left: 5%;
  }
}
.top-beginner-arrow {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);

  @media (width <= 1024px) {
    margin-top: var(--space-40);
  }
  img {
    @media (width <= 800px) {
      width: 160px;
    }
  }
}
.top-beginner-btn {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: var(--space-40);
  padding-bottom: var(--space-64);

  &::before {
    content: "";
    background: url(../img/front/top-beginner-mark.png) 50% 50% / contain
      no-repeat;
    display: block;
    width: 25vw;
    height: 25vw;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    transform: translate(10%, -70%);

    @media (width <= 1280px) {
      display: none;
    }
  }
  a {
    position: relative;
    z-index: 2;
    transition: transform 0.3s;

    &:hover {
      transform: scale(1.05);
    }
  }
}

.top-voice-section {
  position: relative;

  &::before {
    content: "";
    display: block;
    background: url(../img/front/top-voice-before.svg) 0 0 / cover repeat-x;
    animation: scroll-wave 40s linear infinite;

    width: 100%;
    height: 83px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transform: translateY(-90%);

    @media (width <= 800px) {
      height: 40px;
    }
  }
}

@keyframes scroll-wave {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -2000px;
  }
}

#voice-slider {
  position: relative;
  margin-top: var(--space-80);

  .splide__arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    background-color: #bbb;
    border: none;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;

    svg {
      fill: #fff;
    }
  }
  .splide__arrow--prev {
    left: 0;
    transform: translateX(-150%) rotate(180deg);

    @media (width <= 1680px) {
      transform: translateX(-50%) rotate(180deg);
    }
  }
  .splide__arrow--next {
    right: 0;
    transform: translateX(150%);

    @media (width <= 1680px) {
      transform: translateX(50%);
    }
  }
}
.voice-slider-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.voice-slider-box {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-12);
  position: relative;
  background-color: var(--color-base);
  padding: var(--space-20);
  border-radius: 4px;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  flex: 1 0 0%;

  &::before {
    content: "“";
    margin-top: -0.15em;
    color: #aaa;
    font-size: var(--font-size-64);
    line-height: 1;
  }
  &::after {
    position: absolute;
    left: 36px;
    bottom: 0;
    transform: translateY(100%);
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: var(--space-16) var(--space-16) 0px 0px;
    border-color: var(--color-base) transparent transparent transparent;
  }
}
.voice-slider-message {
  color: var(--color-muted);
  font-weight: bold;
  line-height: 1.4;
}
.voice-slider-author {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding-left: var(--space-20);
}
.voice-stars {
  display: flex;
  align-items: center;
  float: left;
  margin-right: 0.25em;
  margin-bottom: 0.25em;
}
.voice-star {
  font-size: var(--font-size-16);
  color: var(--color-accent);
  line-height: 1;
}

.top-trial-section {
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    display: block;
    background-color: #fff;
    width: 100%;
    height: 274px;
    border-bottom-left-radius: 50% 80%;
    border-bottom-right-radius: 50% 80%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    transform: scale(2);

    @media (width <= 1024px) {
      height: 220px;
    }
    @media (width <= 800px) {
      height: 200px;
    }
    @media (width <= 640px) {
      height: 220px;
    }
    @media (width <= 480px) {
      height: 200px;
    }
  }
}
.top-trial-section-bg01,
.top-trial-section-bg02,
.top-trial-section-bg03 {
  position: absolute;
  z-index: 1;
  object-fit: contain;
}
.top-trial-section-bg01 {
  right: -15%;
  top: calc(252 / 1886 * 100%);
  width: calc(1261 / 1920 * 100%);
  max-width: 1261px;
}
.top-trial-section-bg02 {
  left: -5%;
  top: calc(624 / 1886 * 100%);
  width: calc(918 / 1920 * 100%);
  max-width: 918px;
}
.top-trial-section-bg03 {
  right: 0;
  top: calc(1434 / 1886 * 100%);
  width: calc(1102 / 1920 * 100%);
  max-width: 1102px;
}
.top-trial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;

  &::after {
    position: relative;
    content: "";
    display: block;
    width: 8.2rem;
    height: 5rem;
    margin-top: var(--space-32);
    background: url(../img/front/top-trial-header-after.svg) 50% 50% / contain
      no-repeat;
    z-index: 3;
  }
}
.top-trial-section-title-en {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: var(--font-size-24);
  line-height: 1;
  letter-spacing: 0.2em;
  z-index: 3;
}
.top-trial-section-title-ja {
  position: relative;
  margin-top: var(--space-24);
  font-size: var(--font-size-64);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  z-index: 3;
}
.top-trial-section-header-balloon {
  position: absolute;
  right: -5%;
  top: 0;
  z-index: 4;

  @media (width <= 1440px) {
    width: 240px;
    right: 3%;
    top: 65%;
  }
  @media (width <= 1280px) {
    width: 190px;
    right: 0;
  }
  @media (width <= 1024px) {
    width: 160px;
    right: -2%;
  }
  @media (width <= 800px) {
    width: 120px;
    right: -5%;
    top: 67%;
  }
  @media (width <= 640px) {
    top: 60%;
  }
  @media (width <= 480px) {
    width: 100px;
    top: 66%;
    right: -8%;
  }
}
.top-trial-contents {
  position: relative;
  z-index: 3;
}
.top-trial-points {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-20);
  margin-top: var(--space-32);

  @media (width <= 800px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  img {
    @media (width <= 1024px) {
      width: 300px;
    }
    @media (width <= 800px) {
      width: 100%;
    }
  }
}

.top-trial-course {
  position: relative;
  margin-top: var(--space-72);
}
.top-trial-course-heading-before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 107px;
  background: url(../img/front/top-trial-bg04.svg) 0 50% / cover repeat-x;
  animation: scroll-bg-left 40s linear infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;

  + .container-inner {
    position: relative;
    z-index: 2;
  }
}

@keyframes scroll-bg-left {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 200%;
  }
}

.top-trial-course-heading {
  padding-top: 5rem;
  color: var(--color-text-inverted);
  font-size: var(--font-size-64);
  line-height: 1.4;
  text-align: center;
}
.top-trial-course-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32) var(--space-28);
  margin-top: var(--space-40);

  @media (width <= 800px) {
    grid-template-columns: repeat(1, 1fr);
  }
  @media (width <= 800px) {
    gap: var(--space-20);
  }
}
.top-trial-course-list-item {
  position: relative;
  background-color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-24);
  padding: var(--space-28) var(--space-36) var(--space-28) var(--space-28);
  border-radius: 30px 0 30px 0;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s;

  @media (width <= 800px) {
  }
  @media (width <= 640px) {
    padding-top: var(--space-32);
    padding: var(--space-32) var(--space-24) var(--space-20) var(--space-24);
    border-radius: 0 30px 0 30px;
    gap: var(--space-20);
    grid-template-columns: auto 1fr;
  }

  &::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: block;
    width: 8.2rem;
    height: 100%;
    background-color: var(--course-color);

    @media (width <= 1024px) {
      width: 5rem;
    }
    @media (width <= 800px) {
      width: 100%;
      height: 1rem;
    }
  }
  &:hover {
    transform: scale(1.05);
  }
}
.top-trial-course-thumb {
  position: relative;
  z-index: 1;

  @media (width <= 1280px) {
    width: 100px;
  }
  @media (width <= 800px) {
    width: 80px;
  }
  @media (width <= 480px) {
    width: 60px;
  }
}
.top-trial-course-body {
  position: relative;
  padding-top: var(--space-20);
  z-index: 1;

  @media (width <= 1280px) {
    padding-top: 0;
  }
}
.top-trial-course-label {
  display: flex;
  align-items: center;
  background-color: var(--course-color);
  padding: var(--space-8) var(--space-16);
  font-weight: 700;
  font-size: var(--font-size-16);
  border-radius: 0 9999px 9999px 0;
  color: var(--color-text-inverted);
  line-height: 1.4;
}
.top-trial-course-title {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-16);
  color: var(--course-color);
  font-size: var(--font-size-28);
  font-weight: 700;
  line-height: 1.4;

  @media (width <= 1024px) {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
  }
  @media (width <= 800px) {
    flex-direction: row;
    align-items: center;
  }
  @media (width <= 480px) {
    font-size: var(--font-size-24);
  }

  .top-trial-course-title-inner {
    flex: 1 0 0%;
  }

  &::after {
    content: "";
    background: var(--course-color) url(../img/front/top-trial-course-arrow.svg)
      50% 50% / 1rem 1rem no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;

    @media (width <= 480px) {
      width: 3rem;
      height: 3rem;
    }
  }
}

.top-blog-section .container {
  position: relative;
  z-index: 2;
}

/* ========================================== */
/* お知らせ */
/* ========================================== */

.news-list {
  border-top: 1px solid var(--color-border);
}
.news-block,
.news-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-20);
  padding-block: var(--space-28);

  @media (width <= 640px) {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}
.news-list-item {
  border-bottom: 1px solid var(--color-border);
}
.news-list-header,
.news-block-header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.news-list-header time,
.news-block-header time {
  font-size: var(--font-size-18);
}
.news-list-header .news-category,
.news-block-header .news-category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 12.1rem;
  font-size: var(--font-size-14);
  padding: var(--space-4) var(--space-12);
  border-radius: 9999px;
  color: var(--color-text-inverted);
}
.news-list-body,
.news-block-body {
  a {
    font-size: var(--font-size-18);
  }
}

/* ========================================== */
/* ブログ */
/* ========================================== */

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24) var(--space-44);

  @media (width <= 640px) {
    grid-template-columns: repeat(1, 1fr);
  }
}
.blog-list-item {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.2rem;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.3s;

  &:hover {
    opacity: 0.8;
  }
}
.blog-list-img img {
  width: 100%;
  aspect-ratio: 420 / 296;
  object-fit: cover;
}
.blog-list-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--space-40);
  padding-inline: var(--space-24);
  padding-bottom: var(--space-32);
}
.blog-list-body .blog-category {
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--blog-category-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: var(--space-8) var(--space-12);
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: var(--font-size-14);
  border-radius: 0 1rem 1rem 0;
  color: var(--color-text-inverted);
  line-height: 1;
  transform: translateY(-50%);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.blog-list-title {
  font-size: var(--font-size-18);
  font-weight: bold;
  line-height: 1.4;
}
.blog-list-description {
  margin-top: var(--space-16);
  font-size: var(--font-size-12);
}
.blog-list-date {
  display: flex;
  align-items: center;
  margin-top: var(--space-28);
  flex: 1 0 0%;
  font-size: var(--font-size-14);
  color: var(--color-muted);
  font-weight: bold;
  line-height: 1;
}

/* ========================================== */
/* 料金 */
/* ========================================== */

.price-section-bg {
  background: url(../img/price/price-section-bg.png) 50% 0 / 100% auto no-repeat;
  background-attachment: fixed;
}

.price-point {
    img {
        aspect-ratio: 848 / 717;
        max-height: calc(100svh - 100px);
        
        @media (width <= 870px) {
            aspect-ratio: 683 / 700;
        }
    }
}

.price-support-item {
  position: relative;

  img {
    width: 100%;
  }

  &::after {
    content: "";
    display: block;
    width: 11.2rem;
    aspect-ratio: 1 / 1;
    max-width: 30%;
    background: url(../img/price/price-support-balloon.svg) 50% 50% / contain
      no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(10%, -50%);

    @media (width <= 640px) {
      width: 8.2rem;
      transform: translate(10%, -20%);
    }
  }
}

.price-tab-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26.9rem;
  padding-block: var(--space-20);
  border-radius: 9999px;
  border: 1px solid var(--color-text-inverted);
  color: var(--color-text-inverted);
  font-size: var(--font-size-20);
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.3s;

  @media (width <= 640px) {
    width: 20rem;
  }
  @media (width <= 480px) {
    width: 12rem;
    font-size: var(--font-size-18);
  }

  &:hover {
    transform: scale(1.05);
  }
  &.active {
    background-color: var(--color-text-inverted);
    color: var(--color-primary);
  }
}
.price-tab-content {
  display: none;

  &.active {
    display: block;
  }
}
:root {
  --price-box-width: 279.6809;
}
.price-box {
  background-color: #fff;
  --price-box-cq: var(--price-box-width) * 100cqw;
  container-type: inline-size;
  border-radius: 20px;
}
#price-slider,
#price-slider2 {
  position: relative;
  margin-top: var(--space-52);

  .splide__arrow {
    position: absolute;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: 50% 50% / contain no-repeat;
    border: none;
    z-index: 1;
    cursor: pointer;

    @media (width <= 800px) {
      width: 4rem;
      height: 4rem;
    }
    @media (width <= 480px) {
      width: 3rem;
      height: 3rem;
    }

    svg {
      display: none;
    }
  }
  .splide__arrow--prev {
    background-image: url(../img/front/top-facility-slider-arrow-prev.svg);
  }
  .splide__arrow--next {
    background-image: url(../img/front/top-facility-slider-arrow-next.svg);
  }
}
#price-slider,
#price-slider2 {
  .splide__arrow--prev {
    left: 0;
    transform: translate(-110%, -50%);
  }
  .splide__arrow--next {
    right: 0;
    transform: translate(110%, -50%);
  }
}
.splide__slide {
  padding-top: 1.5em;
}
.price-box-inner {
  padding: 0 calc(15 / var(--price-box-cq)) calc(16 / var(--price-box-cq));
}
.price-box-label {
  background-color: var(--color-highlight);
  width: calc(198 / var(--price-box-cq));
  height: calc(55 / var(--price-box-cq));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-inline: auto;
  margin-top: calc(-20 / var(--price-box-cq));
  font-size: calc(16 / var(--price-box-cq));
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-radius: calc(20 / var(--price-box-cq));
}
.price-box-heading {
  margin-top: calc(20 / var(--price-box-cq));
  font-size: calc(24 / var(--price-box-cq));
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.price-box-price {
  position: relative;
  margin-top: calc(10 / var(--price-box-cq));

  .price-box-price-label {
    position: absolute;
    left: 50%;
    bottom: 0;
    color: var(--color-muted);
    font-size: calc(12 / var(--price-box-cq));
    line-height: 1;
    text-align: center;
    transform: translate(-50%, 105%);
    width: 100%;
  }
}
.price-box-point {
  margin-top: calc(18 / var(--price-box-cq));
  color: var(--color-primary);
  font-weight: 700;
  font-size: calc(18 / var(--price-box-cq));
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.05em;
}
.price-box-table {
  display: grid;
  grid-template-columns: 116fr 132fr;
  gap: 0;
  margin-top: calc(16 / var(--price-box-cq));
  border: calc(1 / var(--price-box-cq)) solid var(--color-border);
  border-bottom: 0;

  tbody,
  tr {
    display: contents;
  }
  th,
  td {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(40 / var(--price-box-cq));
    font-size: calc(13 / var(--price-box-cq));
    line-height: 1;
  }
  th {
    width: calc(116 / var(--price-box-cq));
    border-bottom: calc(1 / var(--price-box-cq)) solid var(--color-border);
  }
  td {
    border-bottom: calc(1 / var(--price-box-cq)) solid var(--color-border);
    border-left: calc(1 / var(--price-box-cq)) solid var(--color-border);
    width: calc(132 / var(--price-box-cq));
  }
}
.price-box-heading-sub {
  margin-top: calc(20 / var(--price-box-cq));
  font-size: calc(17 / var(--price-box-cq));
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.price-box-facility-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(14 / var(--price-box-cq)) calc(6 / var(--price-box-cq));
  margin-top: calc(14 / var(--price-box-cq));
}
.price-box-facility-icon {
  background-color: #ebebf2;
  border-radius: 50%;
  aspect-ratio: 1 / 1;

  &.bg-highlight {
    background-color: var(--color-highlight);
  }

  img {
    width: 100%;
    height: 100%;
  }
}
.price-box-facility-label {
  margin-top: calc(4 / var(--price-box-cq));
  font-size: calc(12 / var(--price-box-cq));
  line-height: 1.4;
  text-align: center;
  letter-spacing: -0.05em;
}

.price-admissions {
  display: flex;
  justify-content: center;
  gap: var(--space-28);
  margin-top: var(--space-72);

  @media (width <= 640px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-admission {
  padding: var(--space-28);
  border: 2px dashed;
  border-radius: 20px;
  color: var(--color-text-inverted);

  @media (width > 640px) {
    width: 27.8rem;
  }
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: var(--space-40);
  margin-top: var(--space-100);
  
  @media (width <= 640px) {
      row-gap: var(--space-32);
    .grid {
        order: 2;
    }
  }
}
.flow-list-item {
  position: relative;

  .flow-list-balloon {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-10%, -10%);
    background-color: var(--color-primary);
    width: 8.6rem;
    height: 8.6rem;
    border-radius: 9999px;
    color: var(--color-text-inverted);
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;

    @media (width <= 640px) {
      width: 7.8rem;
      height: 7.8rem;
    }
    @media (width <= 480px) {
      width: 7rem;
      height: 7rem;
    }
  }
  .flow-list-balloon-label {
    font-size: var(--font-size-16);
  }
  .flow-list-balloon-num {
    font-size: var(--font-size-32);
  }
  img {
    width: 100%;
  }
}
.flow-list-arrow {
    @media (width <= 640px) {
        order: 1;
    }
  /* @media (width <= 640px) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    order: 1;

    &::before {
      background-color: #6f48dd;
      content: "";
      display: block;
      width: 100%;
      flex: 1 0 0%;
    }
    picture {
      display: block;
      margin-top: -10px;
    }
  } */

  img {
    width: 100%;
  }
}

.flow-section {
  .container {
    position: relative;
    z-index: 3;
  }
}