/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* SP / TB */
}

@media (min-width: 1025px) {
  html { font-size: 18px; }
}

@media (min-width: 1400px) {
  html { font-size: 20px; }
}

@media (min-width: 1800px) {
  html { font-size: 22px; }
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.disp-sp { display: block; }
.disp-pc { display: none; }
@media (min-width: 1025px) {
  .disp-sp { display: none; }
  .disp-pc { display: block; }
}

/* ===========================
   共通
=========================== */
.inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 汎用フェードイン */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease var(--fade-delay, 0s),
              transform 0.6s ease var(--fade-delay, 0s);
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  text-align: left;
  margin: 0 0 2rem;
}

.section-head__en {
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  font-size: clamp(1rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  color: #00BCB3;
  margin: 0 0 1rem;
}

.section-head__title {
  font-size: clamp(1rem, 5vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.section-head__title-line--1 {
  margin: 0 0 0.5rem;
}
.section-head__title-line--2 img {
  height: clamp(2rem, 10vw, 4rem);
}

.section-head__text {
  font-size: 1rem;
  color: #666;
}


@media (min-width: 1025px) {
  .section-head__en {
    margin: 0 0 1.5rem;
  }
  .section-head__title {
    margin: 0 0 2rem;
  }
}


.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}


.btn--primary {
  background: #4f7dff;
  color: #fff;
}

/* ===========================
   Header
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .header__inner {
    height: 4.375rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1025px) {
  .header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
  }
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: #4f7dff;
  letter-spacing: 0.1em;
}

.header__nav {
  display: none;
}

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

.header__nav-list {
  display: flex;
  gap: 2rem;
}

.header__nav-list a {
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}


.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .header__menu-btn {
    display: none;
  }
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SP ドロワーメニュー */
.header__nav.is-open {
  display: block;
  position: fixed;
  top: 3.75rem;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.header__nav.is-open .header__nav-list {
  flex-direction: column;
  gap: 0;
}

.header__nav.is-open .header__nav-list li {
  border-bottom: 1px solid #f0f0f0;
}

.header__nav.is-open .header__nav-list a {
  display: block;
  padding: 1rem 0;
  font-size: 0.9375rem;
}

/* ===========================
   FV
=========================== */
.fv {
  min-height: 80svh;
  background: #fff;
  overflow: hidden;
}


.fv__inner {
  position: relative;
  min-height: calc(100svh - 3.75rem);
  overflow: hidden;
}

@media (min-width: 768px) {
  .fv__inner {
    min-height: calc(100svh - 4.375rem);
  }
}

/* フレーム */
.fv__frame-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vw;
  height: 150vw;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.fv__frame {
  position: absolute;
  width: 99%;
  height: 99%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* SVGフレームオーバーレイ */
.fv__frame-img {
  position: absolute;
  width: auto;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.fv-deco-l {
  position: absolute;
  z-index: 1;
  width: 1.5rem;
  height: 100%;
  top: 50%;
  left: 1.5rem;
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url(../../images/school/shijokarasuma/fv-deco-w-l.svg);
  transform: translate(0%, -50%);
}
.fv-deco-r {
  position: absolute;
  z-index: 1;
  width: 1.5rem;
  height: 100%;
  top: 50%;
  right: 1.5rem;
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url(../../images/school/shijokarasuma/fv-deco-w-r.svg);
  transform: translate(0%, -50%);
}

@media (min-width: 768px) {

  .fv__frame-wrap {
    width: 120vw;
    height: 120vw;
  }

  .fv-deco-l {
    width: 2rem;
    left: 2rem;
  }
  .fv-deco-r {
    width: 2rem;
    right: 2rem;
  }

}
@media (min-width: 1025px) {

  .fv__frame-wrap {
    width: 80vw;
    height: 45vw;
  }
  .fv-deco-l {
    width: 1.5rem;
    left: 8%;
    background-image: url(../../images/school/shijokarasuma/fv-deco-b-l.svg);
  }
  .fv-deco-r {
    width: 1.5rem;
    right: 8%;
    background-image: url(../../images/school/shijokarasuma/fv-deco-b-r.svg);
  }

  .fv__frame-svg {
    width: min(44vw, 76vh);
    height: min(44vw, 76vh);
    top: 50%;
    left: auto;
    right: 5%;
    transform: translateY(-50%);
  }
}

/* スライドショー */
.fv__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fv__slide.is-active {
  opacity: 1;
}

.fv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト */
.fv__body,
.fv__desc {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fv__body.is-show,
.fv__desc.is-show {
  opacity: 1;
}

.fv__body {
  position: absolute;
  z-index: 2;
  top: 2rem;
  left: 0;
}

@media (min-width: 768px) {


}

@media (min-width: 1025px) {
  .fv__body {
    left: 5vw;
  }
}

.fv__title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.fv__title-line {
  display: inline-block;

  font-weight: 900;
  line-height: 1.3;
  color: #fff;

}

.fv__title-line--1 {
  font-size: clamp(1rem, 5vw, 1.8rem);
  padding: 0.3rem 1rem;
  background: #333333;
}

.fv__title-line--2 {
  padding: 0.6rem 1rem;
  background: #00bcb3;
}
.fv__title-line--2 img {
  height: clamp(2rem, 10vw, 4.2rem);
}

/* 説明文（右寄せチップ） */
.fv__desc {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .fv__title {
    gap: 0.5rem;
  }

}

@media (min-width: 1025px) {
  .fv__desc {
    bottom: 3rem;
    right: 5vw;
  }
}

.fv__desc span {
  display: inline-block;
  color: #fff;
  background: #333333;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  padding: 0.2em 0.5em;
  line-height: 1.6;
}

/* パンくず */
.fv__breadcrumb {
  position: absolute;
  top: 2rem;
  right: 1rem;
  z-index: 2;
}

.fv__breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0;
}

.fv__breadcrumb li {
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  color: #666;
}

.fv__breadcrumb li + li::before {
  content: "/";
  margin: 0 0.3em;
  color: #aaa;
}

.fv__breadcrumb a {
  color: #666;
}
@media (min-width: 768px) {

}

@media (min-width: 1025px) {
  .fv__breadcrumb {
    right: 2.5rem;
    top: 1.25rem;
  }
}

/* ===========================
   Courses
=========================== */
.courses {
  position: relative;
  z-index: 0;
  padding: 0 0 15vw 0;
  background: #E8EAED;
  overflow-x: hidden;
  background-position: center center;
  background-size: 400px auto;
  background-repeat: repeat;
  background-image: url(../../images/school/pattern01.svg);
}
.courses::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(20vw + 2px);
  top: -1px;
  left: 0;

  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url(../../images/school/courses-top-sp.svg);
}

.courses::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 20vw;
  bottom: 0;
  left: 0;

  background-position: bottom center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url(../../images/school/courses-bottom-sp.svg);
}
.courses__inner {
  position: relative;
  z-index: 2;
  padding-top: 10vw;
}

@media (min-width: 1025px) {
  .courses__inner {
    padding-top: 0;
  }
}

.courses__list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .courses__list {
    margin-right: -5vw;
  }
}

@media (min-width: 768px) {
  .courses {
    background-size: 600px auto;
  }

  .courses__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .courses {
    padding: 0 0 10vw 0;
  }

  .courses::before {
    height: calc(20vw + 2px);
    background-image: url(../../images/school/courses-top-pc.svg);
  }

  .courses::after {
    height: 20vw;
    background-image: url(../../images/school/courses-bottom-pc.svg);
  }


}



.courses__item {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20px 0 0 20px;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease var(--anim-delay, 0s),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--anim-delay, 0s);
}

.courses__item::before {
  content: "";
  position: absolute;
  width: 2.5rem;
  height: 100%;
  top: 0;
  left: 0;

  background-position: center center;
  background-size: 1.2rem auto;
  background-repeat: repeat-y;
}
.courses__item.mc::before {
  background-color: #00a83c;
  background-image: url(../../images/school/courses-en-mc-v.svg);
}
.courses__item.ga::before {
  background-color: #0a80d5;
  background-image: url(../../images/school/courses-en-ga-v.svg);
}
.courses__item.sc::before {
  background-color: #ffa300;
  background-image: url(../../images/school/courses-en-sc-v.svg);
}
.courses__item.rb::before {
  background-color: #e93c6e;
  background-image: url(../../images/school/courses-en-rb-v.svg);
}


@media (min-width: 768px) {
  .courses__item {
    border-radius: 20px;
    padding: 4rem 1.5rem 1.5rem 1.5rem;
    transform: translateY(24px);
    transition: opacity 0.6s ease var(--anim-delay, 0s),
                transform 0.6s ease var(--anim-delay, 0s);
  }

  .courses__item::before {
    width: 100%;
    height: 2.5rem;

    background-size: auto 1.2rem;
    background-repeat: repeat-x;

  }


  .courses__item.mc::before { background-image: url(../../images/school/courses-en-mc-h.svg); } 
  .courses__item.ga::before { background-image: url(../../images/school/courses-en-ga-h.svg); }
  .courses__item.sc::before { background-image: url(../../images/school/courses-en-sc-h.svg); }
  .courses__item.rb::before { background-image: url(../../images/school/courses-en-rb-h.svg); }

}

.courses__item.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}


.courses__image {
  margin-bottom: 1rem;
}
.courses__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.625rem;
}
.courses__item.mc .courses__name { color: #00a83c; }
.courses__item.ga .courses__name { color: #0a80d5; }
.courses__item.sc .courses__name { color: #ffa300; }
.courses__item.rb .courses__name { color: #e93c6e; }


.courses__desc {
  font-size: 0.8rem;
  color: #666;
}

/* desc + ボタン のラッパー */
.courses__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* 500〜767px：横並び */
@media (min-width: 500px) and (max-width: 767px) {
  .courses__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* 1025px〜：横並び */
@media (min-width: 1025px) {
  .courses__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.courses__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.8em 1.6em;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}


.courses__item.mc .courses__btn {
  background-color: #00a83c;
}
.courses__item.ga .courses__btn {
  background-color: #0a80d5;
}
.courses__item.sc .courses__btn {
  background-color: #ffa300;
}
.courses__item.rb .courses__btn {
  background-color: #e93c6e;
}



/* ===========================
   Features
=========================== */
.features {
  background: #fff;
}

.features__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.features__item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0 0 4rem;
}
.features__item:last-child {
  margin: 0;
}
/* ピンクの装飾枠 */
.features__item::after {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  border: 15px solid #f2f5f7;
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 1025px) {
  .features__item::after {
    width: 60%;
  }
}





.features__item:nth-child(even) {
  align-items: flex-end;
  text-align: right;
}

@media (min-width: 1025px) {
  .features__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 10rem 0 0;
  }

  .features__item:nth-child(even) {
    flex-direction: row-reverse;
    align-items: flex-start;
    padding: 0 0 0 10rem;
  }
}

.features__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1025px) {
  .features__body {
    flex: 1;
  }
}

.features__image {
  width: 100%;
}

@media (min-width: 1025px) {
  .features__image {
    flex-shrink: 0;
    width: 50%;
  }
}

.features__image img {
  width: 100%;
  height: auto;
}

.features__head {
  flex-shrink: 0;
}

.features__num {
  font-size: 2.25rem;
  font-weight: 900;
  color: #eef3ff;
  line-height: 1;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .features__num {
    font-size: 3rem;
  }
}

@media (min-width: 1025px) {
  .features__num {
    font-size: 3.5rem;
    width: 80px;
  }
}

.features__title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0 0 4rem;
}
.features__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.7rem;
  height: 100%;

  background: #00b5ac;
}

.features__item:nth-child(1) .features__title::before {
  background-size: 3rem auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../../images/school/features-title01.svg);
}
.features__item:nth-child(2) .features__title::before {
  background-size: 3rem auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../../images/school/features-title02.svg);
}
.features__item:nth-child(3) .features__title::before {
  background-size: 3rem auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../../images/school/features-title03.svg);
}
.features__item:nth-child(4) .features__title::before {
  background-size: 3rem auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../../images/school/features-title04.svg);
}
.features__item:nth-child(5) .features__title::before {
  background-size: 3rem auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../../images/school/features-title05.svg);
}



.features__item:nth-child(even) .features__title {
  padding: 0 4rem 0 0;
}
.features__item:nth-child(even) .features__title::before {
  left: auto;
  right: 0;
}






.features__title span {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 0.2em 0.5em;
  line-height: 1.3;
}

.features__item:nth-child(even) .features__title {
  align-items: flex-end;
}

@media (min-width: 1025px) {
  .features__title {
    font-size: 1.2rem;
  }
}

.features__text {
  color: #666;
  flex: 1;
  text-align: left;
}


/* ===========================
   Concept
=========================== */
.concept {
  position: relative;
  z-index: 0;
  padding: 20vw 0 5rem;
  background: #00b5ac;
}

.concept::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(20vw + 2px);
  top: -1px;
  left: 0;
  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url(../../images/school/concept-top-sp.svg);
}

.concept .section-head__en,
.concept .section-head__title {
  color: #fff;
}
.concept .section-head__text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.5;
  padding: 2rem 0 1rem;
}

/* リスト */
.concept__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin: 0 0 4rem;
}

/* アイテム：SP は縦積み */
.concept__item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* PC は横並び、偶数行は反転 */
@media (min-width: 1025px) {
  .concept__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .concept__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* テキストエリア */
.concept__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1025px) {
  .concept__body {
    flex: 1;
  }
}

/* タイトル */
.concept__head {
  flex-shrink: 0;
}

.concept__title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
}

.concept__title span {
  display: inline-block;
  background: #171819;
  color: #fff;
  padding: 0.1em 0.3em;
  line-height: 1.4;
}

@media (min-width: 1025px) {
  .concept__title {
    font-size: 1.125rem;
  }
}

/* テキスト */
.concept__text {
  color: #fff;
  line-height: 1.5;
}

.concept__desc {
  font-size: 0.8rem;
  color: #fff;
  margin: 1rem 0 0;
}

.concept__text--closing {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* 画像 */
.concept__image {
  width: 100%;
}

@media (min-width: 1025px) {
  .concept__image {
    flex-shrink: 0;
    width: 50%;
  }

  /* 奇数行：画像は右 → 左（中央）側にパディング */
  .concept__item:nth-child(odd) .concept__image {
    padding-left: 1rem;
  }

  /* 偶数行：画像は左 → 右（中央）側にパディング */
  .concept__item:nth-child(even) .concept__image {
    padding-right: 1rem;
  }
}

.concept__image img {
  width: 100%;
  height: auto;
}




/* AIセクション */
.concept__ai {
  position: relative;
  background-color: #0d2b2b;

  background-position: center center;
  background-size: 400px auto;
  background-repeat: repeat;
  background-image: url(../../images/school/pattern02.svg);
  padding: 2.5rem 1.5rem;
  overflow: hidden;
}

.concept__ai-title {
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.concept__ai-text {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.concept__ai-text:last-child {
  margin-bottom: 0;
}

/* 2カラム比較 */
.concept__ai-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.concept__ai-col-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.75rem;
}

.concept__ai-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.concept__ai-card img {
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) {
  .concept__ai {
    padding: 2.5rem 2rem;
  }
  .concept__ai-compare {
    gap: 1.5rem;
  }
}

/* 学習の流れ */
.concept__flow-wrap {
  text-align: center;
  background-color: #fff;
  margin-bottom: 2rem;
  padding: 1rem 2rem 2rem;
}

.concept__flow-title {
  display: inline-block;
  background: #171819;
  color: #fff;
  line-height: 1;
  text-align: center;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.concept__flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0 4rem;

  background-position: center center;
  background-size: 3rem auto;
  background-repeat: repeat-y;
  background-image: url(../../images/school/concept-flow-back.webp);
}
.concept__flow::after  {
  content: "";
  position: absolute;
  z-index: 2;
  width: 7rem;
  height: 2.8rem;
  bottom: -2px;
  left: 50%;
  transform: translate(-50%, 0%);
  background-position: center center;
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-image: url(../../images/school/concept-flow-backarrow.svg);
}


.concept__flow-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #00b5ac;
  padding: 0.5rem 0.8rem 0.5rem 0.5rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 900;
  text-align: left;
  border-radius: 0.6rem;
}

.concept__flow-item::before {
  content: "";
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.concept__flow-item:nth-child(1)::before {
  background-image: url(../../images/school/concept-flow-icon01.svg);
}
.concept__flow-item:nth-child(2)::before {
  background-image: url(../../images/school/concept-flow-icon02.svg);
}
.concept__flow-item:nth-child(3)::before {
  background-image: url(../../images/school/concept-flow-icon03.svg);
}
.concept__flow-item:nth-child(4)::before {
  background-image: url(../../images/school/concept-flow-icon04.svg);
}
.concept__flow-item:nth-child(5)::before {
  background-image: url(../../images/school/concept-flow-icon05.svg);
}
.concept__flow-item:nth-child(6)::before {
  background-image: url(../../images/school/concept-flow-icon06.svg);
}


.concept__flow-goal {
  background: #fff;
  color: #00b5ac;
  text-align: center;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 8px;
  line-height: 1.5;
}
@media (min-width: 1025px) {
  .concept__flow-item::before {
    width: 80px;
    height: 80px;
  }
}
/* ===========================
   Output
=========================== */
.output {
  padding: 0 0 5rem;
  background: #00b5ac;
}

.output .section-head__en,
.output .section-head__title {
  color: #fff;
}
.output .section-head__text {
  color: #fff;
}

.output__carousel {
  overflow: hidden;
}

.output__track {
  display: flex;
  list-style: none;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.output__item {
  flex-shrink: 0;
  width: 100%;
  padding: 0 0.5rem;
  transition: transform 0.2s;
  display: flex; /* 高さをitem-innerに伝播させる */
}

@media (min-width: 1025px) {
  .output__item {
    width: calc(100% / 3);
  }
}

.output__item-inner {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.output__dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 1.75rem;
}

.output__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.output__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}

.output__thumb {
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.output__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.output__info {
  padding: 1rem;
  flex: 1; /* 動画エリア以外の余白をすべて埋める */
}

/* メタ情報（年齢・教材・プログラミング言語） */
.output__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.output__meta-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.output__meta-label {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #00b5ac;
  padding: 0.1em 0.5em;
  line-height: 1.6;
}

.output__meta-value {
  color: #333;
  font-size: 0.8125rem;
}

/* ===========================
   Interview
=========================== */
.interview {
  padding: 5rem 0;
  background: #00b5ac;
}

.interview .section-head__en,
.interview .section-head__title {
  color: #fff;
}

.interview__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1025px) {
  .interview__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.interview__item {
  background: #fff;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 768px) {
  .interview__item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 1025px) {
  .interview__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.interview__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3ff;
  margin: 0 auto 1.25rem;
}

@media (min-width: 768px) {
  .interview__photo {
    flex-shrink: 0;
    margin: 0;
  }
}

@media (min-width: 1025px) {
  .interview__photo {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.25rem;
  }
}

.interview__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview__quote {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.25rem;
  position: relative;
  padding: 0 8px;
}

.interview__quote::before {
  content: "\201C";
  font-size: 3rem;
  color: #eef3ff;
  position: absolute;
  top: -12px;
  left: -8px;
  line-height: 1;
}

@media (min-width: 768px) {
  .interview__quote::before {
    left: -4px;
  }
}

@media (min-width: 1025px) {
  .interview__quote::before {
    left: -8px;
  }
}

.interview__name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.interview__meta {
  font-size: 0.75rem;
  color: #999;
}

/* ===========================
   Tuition
=========================== */
.tuition {
  padding: 5rem 0;
  background: #fff;
}

.tuition__main-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #333;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.tuition__block {
  margin-bottom: 3rem;
}
.tuition__block:last-child {
  margin-bottom: 0;
}

.tuition__block-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #333;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #333;
  margin-bottom: 1.25rem;
}

/* 料金テーブル */
.tuition__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.tuition__table th,
.tuition__table td {
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
}

.tuition__table tbody th {
  background: #171819;
  color: #fff;
  font-weight: 700;
  width: 38%;
}

@media (min-width: 768px) {
  .tuition__table tbody th {
    width: 30%;
  }
}

.tuition__table td {
  background: #fff;
  color: #333;
}

.tuition__table th span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2em;
}

.tuition__table td span {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2em;
}

/* コースサブセクション */
.tuition__course-section {
  margin-bottom: 1.5rem;
}

.tuition__course-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #333;
  padding: 0.4rem 0 0.4rem 0.75rem;
  border-left: 4px solid #333;
  margin-bottom: 0.75rem;
}

/* 時間割 */
.tuition__schedule-note {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tuition__timetable-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.tuition__timetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  min-width: 500px;
}

.tuition__timetable thead th {
  background: #171819;
  color: #fff;
  text-align: center;
  padding: 0.6rem 0.5rem;
  border: 1px solid #555;
  font-weight: 700;
}

.tuition__timetable tbody th {
  background: #171819;
  color: #fff;
  text-align: center;
  padding: 0.75rem 0.75rem;
  border: 1px solid #555;
  font-weight: 500;
  font-size: 0.75rem;
  white-space: nowrap;
}

.tuition__timetable tbody td {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border: 1px solid #ddd;
  font-size: 1rem;
  background: #fff;
}

.tuition__cell--o {
  color: #333;
}

.tuition__cell--x {
  color: #ccc;
}

/* 年間スケジュールボタン */
.tuition__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.tuition__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  background: #171819;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s;
}

.tuition__btn:hover {
  background: #333;
}

/* ===========================
   Gallery
=========================== */
.gallery {
  padding: 0 0 5rem;
  background: #fff;
}

.gallery__main-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #333;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.gallery__img {
  overflow: hidden;
  background: #eee;
}

.gallery__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__img:hover img {
  transform: scale(1.03);
}

.gallery__caption {
  font-size: 0.8125rem;
  color: #666;
  margin-top: 0.625rem;
  line-height: 1.6;
}

/* ===========================
   Access
=========================== */
.access {
  padding: 5rem 0;
  background: #f7f8fa;
}

.access__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1025px) {
  .access__layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.access__main-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #333;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* 詳細リスト */
.access__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.access__detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
}

@media (max-width: 479px) {
  .access__detail-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.access__detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #999;
  white-space: nowrap;
}

.access__detail-value {
  font-size: 0.8125rem;
  color: #333;
  line-height: 1.7;
}

.access__detail-value span {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2em;
}

/* 周辺写真 */
.access__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.access__photo-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.access__photo-item p {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.375rem;
  text-align: center;
}

/* 地図 */
.access__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ddd;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .access__map {
    aspect-ratio: unset;
    height: 100%;
    min-height: 420px;
  }
}

.access__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================
   Schools CTA
=========================== */
.schools-cta {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.schools-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.schools-cta__en {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #999;
}

.schools-cta__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  transition: opacity 0.2s;
}

.schools-cta__link:hover {
  opacity: 0.6;
}

.schools-cta__text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding-bottom: 0.25rem;
}

.schools-cta__arrow {
  font-size: 1.25rem;
  line-height: 1;
}

/* ===========================
   CTA Band
=========================== */
.cta-band {
  position: relative;
  padding: 6rem 1.5rem;
  background-color: #e34e80;
  background-image: url(../../images/school/cta-bg.svg);
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

/* 暗いオーバーレイ */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-band__heading {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
  font-style: italic;
  width: 100%;
}

.cta-band__sub {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
}

.cta-band__btn_trial {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  transition: background 0.25s, color 0.25s;
}

.cta-band__btn_trial:hover {
  background: #fff;
  color: #e34e80;
}
.cta-band__btn_contact {
  display: inline-block;
  margin-top: 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #fff;
  padding: 0 0 0.1rem;
}

@media (min-width: 1025px) {
  .cta-band {
    background-size: 100%;
  }

  .cta-band__heading {
    width: 60%;
  }

  .cta-band__btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
  }



}

/* ===========================
   Page Nav
=========================== */
.page-nav {
  position: fixed;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
}

.page-nav__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-nav__dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  transition: background 0.25s, transform 0.25s;
}

.page-nav__dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.6875rem;
  white-space: nowrap;
  padding: 4px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}


.page-nav__dot.is-active {
  background: #171819;
  transform: scale(1.5);
}

@media (min-width: 768px) {
  .page-nav {
    right: 1rem;
  }
}
@media (min-width: 1025px) {
  .page-nav {
    right: 1.5rem;
  }
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1025px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.footer__logo {
  font-size: 1.375rem;
  font-weight: 900;
  color: #4f7dff;
  letter-spacing: 0.1em;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.footer__nav-list a {
  font-size: 0.75rem;
  color: #aaa;
  transition: color 0.2s;
}


.footer__copy {
  font-size: 0.6875rem;
  color: #666;
  text-align: center;
}

@media (min-width: 1025px) {
  .footer__copy {
    width: 100%;
    text-align: right;
  }
}
