/* ========== wrapper ======================================== */

div.top-content {
  margin-inline: auto;
}

@media (min-width: 981px) {
  div.top-content {
    
  }
}

/* ========== 01:top-hero ======================================== */

.top-hero {
  padding: 4rem clamp(1rem, -0.929rem + 5.71vw, 3rem);
  background-image: url('/images/bg_hero.webp');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.wf-loading {
    opacity: 0;
}

h2.top-hero__title {
  font-family: var(--font-SicHandicH);
  font-weight: 400;
  font-size: clamp(32px, -0.29rem + 6.79vw, 70px);
  line-height: 1.3;
  max-width: 1000px;
  margin: 3rem auto;
}

.top-hero__movie-track,
.top-hero__movie-track .slick-list,
.top-hero__movie-track .slick-track {
  overflow: visible;
}

.top-hero__movie-track li.slick-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background-color: #C3E2F3;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  margin: 0 10px;
  transition: transform 0.4s ease;
}

.top-hero__movie-track li.slick-slide.active-slide {
  transform: scale(1.05);
  z-index: 2;
}

.top-hero__movie-track video {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.top-hero__movie-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.top-hero__movie-track.show-image img {
  opacity: 1;
  pointer-events: auto;
}

.top-hero__movie-track.show-image video {
  opacity: 0 !important;
  pointer-events: none;
}



/* ========== content ======================================== */
/* ---------- 02:私達について - about --------------------------------------------- */

.about {
  position: relative;
  z-index: 0;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("/images/bg_about-fluid.svg");
  background-repeat: no-repeat;
  background-position: top center;
  z-index: -1;
}

@media (min-width: 1300px) {
  .about::before {
    background-size: contain;
    aspect-ratio: 1920 / 1080;
    height: auto;
  }
}

@media (min-width: 1920px) {
  .about::before {
    background-position: center top;
    background-position-y: calc(0px - ((100vw - 1920px) / 3));
  }
}

@media (max-width: 1299px) {
  .about::before {
    background-size: cover;
    height: 650px;
  }
}


.about__inner *, .about__subtitle {
  color: #fff;
  text-shadow: 0px 0px 4px rgba(var(--Blue_rgb) / 1);
}


p.about__paragraph:has(+ div) {
  margin-bottom: 30px;
}

@media (min-width: 600px) {
  p.about__paragraph {
    text-align: center;
  }
}

.about div:has(.fa-circle) {
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.fa-circle {
  font-size: 8px;
  color: #fff;
  text-shadow: 0px 0px 4px rgba(var(--Blue_rgb) / 1);
}

.about__list {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(1200px + 2rem);
  margin-bottom: 50px;
  margin-inline: auto;
  padding: 0 1rem;
}

.about__item {
  flex: 1 1 calc((100% - 3.9rem) / 4);
  border-radius: 40px;
  border-width: 8px;
  border-style: solid;
  background-color: #fff;
  text-align: center;
  padding: 1.3rem 1.05rem;
}

@media (max-width: 1099px) {
  .about__item {
    flex: 1 1 calc(50% - 0.65rem);
    max-width: clamp(300px, 80%, 380px);
  }
}

@media (max-width: 599px) {
  .about__item {
    flex: 1 1 100%;
  }
}

.about__item h4 {
  font-size: var(--fontsize-xl);
  font-weight: 600;
  line-height: 1.1em;
}

.about__item h4::first-letter {
  font-size: var(--fontsize-2xl);
}

.about__item span {
  font-size: var(--fontsize-m);
  font-weight: normal;
}

.about__item img {
  border-radius: 100vh;
  width: 80%;
  margin: 10px 0;
}

.about__item p {
  text-align: left;
  margin-bottom: 0;
  display: inline-flex;
}

.about__item:first-of-type {
  border-color: var(--Yellow);
}

.about__item:nth-of-type(2) {
  border-color: var(--Blue);
}

.about__item:nth-of-type(3) {
  border-color: var(--lBlue);
}

.about__item:nth-of-type(4) {
  border-color: var(--Pink);
}

.about__item:first-of-type h4 {
  color: var(--Yellow);
}

.about__item:nth-of-type(2) h4 {
  color: var(--Blue);
}

.about__item:nth-of-type(3) h4 {
  color: var(--lBlue);
}

.about__item:nth-of-type(4) h4 {
  color: var(--Pink);
}

.about__content {
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  padding: 0 0.5rem;
}

@media (min-width: 768px) and (max-width: 811px) {
  .about__content {
    font-size: clamp(15.8px, -0.24rem + 2.56vw, 16.9px);
  }
}

@media (max-width: 767px) {
  .about__content {
    flex-direction: column;
    gap: 1.1rem;
  }
}

.about__content dt {
  display: flex;
  justify-content: center;
  align-items: stretch;
  color: var(--dBlue);
  background-color: rgb(var(--lBlue_rgb) / .15);
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  position: relative;
}

.about__content dt::after {
  content: "";
  border-style: solid;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 14px solid rgb(var(--lBlue_rgb) / .15);
  border-right: 0;
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .about__content dt {
    width: 90%;
    max-width: 400px;
  }

  .about__content dt::after {
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 14px solid rgb(var(--lBlue_rgb) / .15);
    border-bottom: 0;
    top: auto;
    right: auto;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 499px) {
  .about__content dd {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }
}

.about__content dd span:last-child {
  font-weight: 600;
}

.about__arrow {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0da\f0da\f0da";
  font-size: 0.9rem;
  color: var(--dBlue);
}

.about__arrow::before {
  content: "\f0da\f0da\f0da";
}

@media (max-width: 499px) {
  .about__content dd {
    flex-direction: column;
    align-items: center;
  }

  .about__arrow::before {
    content: "\f0d7\A\f0d7\A\f0d7";
    white-space: pre;
    display: block;
    text-align: center;
    line-height: 0.6;
  }
}

.about__content-group .border-line {
  border-top: 1px dotted var(--lBlue);
  margin: 10px auto;
  max-width: 90%;
}

@media (min-width: 768px) {
  .about__content-group .border-line {
    max-width: 760px;
  }
}

.material-symbols-rounded.counter {
  font-size: clamp(22px, 1.134rem + 0.71vw, 24px)!important;
  padding-right: 0.2rem;
}

/* ---------- 03:特徴 - features --------------------------------------------- */

.features {
  background-color: rgb(var(--Yellow_rgb) / .15);
  padding: 2rem 0;
}

.features__inner {
  max-width: calc(1200px + 2.4rem);
  padding: 0 1.2rem;
  margin-inline: auto;
}

.features__content-group {
  gap: 1.2rem;
}

@media (max-width: 1099px) {
  .features__content-group {
    flex-direction: column;
  }
}

.features__content {
  width: calc(100% / 3);
  background-color: #fff;
  border-radius: 0.85rem;
  flex-direction: column;
  padding: 0 1.3rem;
  gap: 0.85rem;
  flex: 1;
}

.features__content:hover {
  opacity: 1;
}

.features__content.lab:hover {
  box-shadow: inset 0 0 0 6px #758FC0;
}

.features__content.rakuto:hover {
  box-shadow: inset 0 0 0 6px #F5AA00;
}

.features__content.amelia:hover {
  box-shadow: inset 0 0 0 6px #69C2B9;
}

@media (max-width: 1099px) {
  .features__content {
    width: 100%;
    flex: 0 1 auto;
  }
}

.features__content .logo {
  height: 4.4rem;
  padding: 0.85rem 0.85rem 0;
  text-align: center;
}

.features__content .logo img {
  max-width: 340px;
  max-height: 64px;
  height: 100%;
}

.features__detail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 600px) and (max-width: 1099px) {
  .features__detail {
    flex-direction: row;
  }
}

.features__detail > img {
  border-radius: 0.45rem;
}

.features__detail > div {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 600px) and (max-width: 1099px) {
  .features__detail > img {
    object-fit: cover;
    flex: 2;
  }

  .features__detail > div {
    width: 60%;
    flex: 3;
  }
}

.features__target span {
  display: inline-block;
  padding: 0.35rem 1.35rem;
  background-color: var(--Blue);
  border-radius: 100vh;
  color: #fff;
}

.features__detail div p {
  margin-bottom: 0;
}

.features__content > div:last-of-type {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding: 0 0 1.75rem;
  text-align: center;
  color: var(--Blue);
  font-weight: 600;
}

.features__content > div:last-of-type span {
  display: inline-block;
  vertical-align: baseline;
  font-size: var(--fontsize-m);
}

.features__content > div:last-of-type span::after {
  content: "expand_circle_right";
  font-family: "Material Symbols Rounded";
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: var(--fontsize-l);
  margin-left: 0.3rem;
  line-height: 1;
  display: inline-block;
  transform: translateY(0.22rem);
}

.features__image {
  margin: 50px 0;
  max-width: 980px;
}

.features__carousel li {
  height: clamp(130px, 2.098rem + 17.86vw, 230px);
  margin-right: clamp(4px, 0.009rem + 0.71vw, 8px);
}

.features__carousel li img {
  width: auto;
  height: clamp(130px, 2.098rem + 17.86vw, 230px);
}


/* ---------- 04:よくある質問 - faq --------------------------------------------- */

.faq__inner {
  padding: 0 2rem;
}

.faq__list {
  max-width: 1000px;
  margin-inline: auto;
  border-top: 1px solid #000;
}

.faq__list details {
  border-bottom: 1px solid #000;
}

.faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.faq__list summary span {
  display: flex;
  align-items: center;
}

.faq__list summary i.fa-angle-down {
  transition: transform 0.4s;
}

.faq__list details .faq_icon {
  flex-shrink: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: white;
  margin-right: 0.6rem;
}

.faq__list details .fa-q {
  background-color: #EA616F;
}

.faq__list details .fa-a {
  background-color: #448BC1;
}

.faq__list details[open] i.fa-angle-down {
  transform: rotate(180deg);
}

.faq__list > div {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  margin: 0;
  line-height: 1.6;
}

.faq__list details ul {
  list-style: disc;
  padding: 0 1rem 0.4rem 3.4rem;
}

.faq__list details > div > p {
  margin-bottom: 0.4rem;
}

.faq__list details > div > p:first-child {
  display: flex;
}

.faq__list details > div > *:nth-child(n+2):not(ul) {
  padding-left: 2.4rem;
}

.faq__list details > div > *:last-child {
  margin-bottom: 1.5rem;
}

.faq__list details a {
  color: var(--Blue);
}


/* ---------- 05:お知らせ - news --------------------------------------------- */

.news {
  background-color: rgb(var(--Blue_rgb) / .1);
  padding: 3rem 0 4rem;
}

.news__inner {
  padding: 0 2rem;
}

.news__note {
  max-width: 1200px;
  text-align: center;
  color: #000;
  font-size: var(--fontsize-m);
  font-weight: 400;
  margin-inline: auto;
  padding-top: 0.5em;
}

.news__note img {
  display: inline;
  width: auto;
  height: 0.9em;
  position: relative;
  top: -0.3em;
  margin: 0 0.25em;
}

.news__list {
  max-width: 1000px;
  margin-inline: auto;
  background-color: #fff;
  border-radius: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.news__list .news__item .news__date {
  color: rgba(var(--dBlue_rgb) / 0.5);
}

.news__list .news__item a {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  color: var(--dBlue);
}

.news__inner > a {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  background-color: var(--dBlue);
  color: #fff;
  border-radius: 100vh;
  padding: 1rem 2rem;
  text-align: center;
}


/* ---------- 06:CTA - cta --------------------------------------------- */

.cta__button-wrapper {
  padding: 0 1.2rem;
}

.cta__button-item {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta__button-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-inline: auto;
  }

  .cta__button-item {
    width: 50%;
    max-width: 27rem;
  }

  .cta__button {
    max-width: 27rem;
  }
}

.cta__button-text {
  margin-bottom: 0.8rem;
}

.cta__button-item:first-of-type .cta__button-text {
  color: var(--Blue);
}

.cta__button-item:last-of-type .cta__button-text {
  color: var(--Yellow);
}

.cta__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  padding: 2rem 0;
  font-size: var(--fontsize-xl);
  color: #fff;
  border-radius: 1.3rem;
}

.cta__button-item:first-of-type .cta__button {
  background-color: var(--Blue);
}

.cta__button-item:last-of-type .cta__button {
  background-color: var(--Yellow);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}


/* ---------- 07:アクセス - access --------------------------------------------- */

.access {
  background-color: #f5f5f5;
}

.access__wrapper {
  width: 100%;
  padding: 0 1.2rem;
}

.access__inner {
  width: 100%;
  justify-content: center;
  margin-inline: auto;
  border-radius: 1.5rem;
  background-color: #fff;
}

.access__map iframe {
  width: 100%;
  height: 20rem;
  border-radius: 1.5rem 1.5rem 0 0;
}

.access__details {
  width: 100%;
  padding: 1rem 2rem;
}

@media (min-width: 768px) {
  .access__inner {
    display: flex;
    max-width: 1200px;
  }

  .access__map {
    width: 50%;
  }

  .access__map iframe {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem 0 0 1.5rem;
  }

  .access__details {
    width: 50%;
  }
}

.access__school-links {
  background-color: rgba(var(--lBlue_rgb) / 0.2);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  margin: 0.6rem 0 1.8rem;
}

.access__school-links li {
  color: var(--Blue);
  font-weight: 600;
}

.access__school-links li::before {
    content: "expand_circle_right";
    font-family: "Material Symbols Rounded";
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    font-size: var(--fontsize-l);
    margin-right: 0.1rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(0.2rem);
}

.access__tel p {
  margin-bottom: 0;
}

.access__tel-number {
  font-size: var(--fontsize-2xl);
  font-weight: 600;
}

.access__tel-number::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f3cd";
  margin-right: 0.1rem;
}

/* ========== page ======================================== */

.page-sub {
  padding-top: calc(46px + 1.6rem);
}

@media (min-width: 1100px) {
  .page-sub {
    padding-top: calc(66px + 1.6rem);
  }
}

.page-hero {
  background: #F5F5F5;
  padding: 1rem;
}

.page-hero__content h2 {
  margin-bottom: 0;
  padding: 1.8rem 0;
}

/* ========== form ======================================== */

.required-label::after {
  content: '必須';
  display: inline-block;
  background-color: #FDF2F2;
  color: #C4312B;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 5px 3px;
  margin-left: 0.6rem;
  border-radius: 4px;
  line-height: 1;
  vertical-align: text-bottom;
}

.form-consent-note {
  font-size: 0.7rem;
  color: #4c5767;
}

.form-consent-note a {
  color: var(--Blue);
}

form {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

form input,
form select,
form textarea,
form label,
form button {
  display: block;
  width: 100%;
  margin-bottom: 1em;
}

form input[type="radio"],
form input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 0.5em;
}

form label {
  margin-bottom: 0.5em;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
  background: #fff !important;
  border: 2px solid #D8DDE3 !important;
  border-radius: 0.3rem;
  color: #000 !important;
  padding: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

form input::placeholder,
form textarea::placeholder {
  color: #D8DDE3;
}

form button {
  text-align: center;
  background-color: #5FB6E0;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.3rem;
  transition: 0.3s;
}

form button:hover {
  transition: 0.3s;
  background-color: #2B496B;
}

/* ========== privacy ======================================== */

.privacy-content__section div {
  max-width: 900px;
  margin-inline: auto;
  padding: 0 1rem;
}

.privacy-content ul {
  margin-bottom: 1.2rem;
  list-style: disc;
  padding-left: 1.4rem;
}

.privacy-content a {
  color: var(--Blue);
}

/* ========== thanks ======================================== */

.thanks-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thanks-content__section {
  padding: 4rem 1rem;
}

.thanks-content__section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
}

.thanks-content_text {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.thanks-content_text ul {
  list-style: disc;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.thanks-content_btn-top a {
  display: flex;
  align-items: center;
  max-width: 500px;
  border: 1px solid var(--Blue);
  border-radius: 100vh;
  padding: 1rem 2rem;
  margin: 0 auto;
  text-align: center;
  color: var(--Blue);
}

.thanks-content_btn-top span {
  flex-grow: 1;
}

.thanks-content_btn-top i {
  flex-shrink: 0;
}