/* ========================================
   緑ヶ丘女子高等学校 LP — スタイルシート
   スマホファースト設計 → PCはメディアクエリで拡張
======================================== */

/* ----------------------------------------
   Google Fonts インポート
---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=DM+Sans:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');


/* ----------------------------------------
   カラーパレット（CSS カスタムプロパティ）
   ここの値を変更するだけでサイト全体の色が変わります
---------------------------------------- */
:root {
  --color-main:         #4A8C3F;  /* メイングリーン：CTAボタン・見出しアクセント */
  --color-main-light:   #A8D89A;  /* ライトグリーン：タグ・バッジ・背景 */
  --color-accent:       #F4857A;  /* コーラルピンク：イベントCTA・強調ラベル */
  --color-accent-light: #FDE8E6;  /* ペールピンク：カード背景・柔らかいセクション */
  --color-base:         #FFFFFF;  /* ベース白背景 */
  --color-text:         #2C2C2A;  /* チャコール：本文テキスト */
  --color-text-sub:     #6B6B69;  /* サブテキスト */
  --color-border:       #E8E6E0;  /* ボーダー */

  /* トランジション共通値 */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* ナビ高さ（他セクションのオフセット調整に利用） */
  --navbar-height: 64px;
}


/* ----------------------------------------
   リセット & ベーススタイル
---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  background-color: var(--color-base);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ========================================
   ナビゲーションバー
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);

  /* 雑誌風Hero：右パネルが白なので常に白背景 */
  background-color: var(--color-base);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

/* スクロール後に白背景＋影 — JS で .is-scrolled クラスを付与 */
.navbar.is-scrolled {
  background-color: var(--color-base);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- ロゴ ---- */
.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

/* テキストロゴ（画像がない場合の代替） */
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  transition: color var(--transition-base);
}
.navbar__logo-sup {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--color-main);
  letter-spacing: 0.08em;
  line-height: 1;
}
.navbar__logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-main);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ---- PC ナビリンク ---- */
.navbar__nav {
  display: none; /* スマホでは非表示 */
}

.navbar__nav-list {
  display: flex;
  gap: 32px;
}

.navbar__nav-list a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  transition: color var(--transition-base);
  position: relative;
}

/* ホバー下線アニメーション */
.navbar__nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-main-light);
  transition: width var(--transition-base);
}

.navbar__nav-list a:hover::after {
  width: 100%;
}

.navbar.is-scrolled .navbar__nav-list a::after {
  background-color: var(--color-main);
}

/* ---- ナビ CTA ボタン（右端） ---- */
.navbar__cta {
  display: none; /* スマホでは非表示 */
  padding: 10px 20px;
  background: linear-gradient(135deg, #26A69A 0%, #66BB6A 100%);
  color: var(--color-base);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

.navbar__cta:hover {
  background: linear-gradient(135deg, #1A8F83 0%, #4CAF50 100%);
  transform: translateY(-1px);
}

/* ---- ハンバーガーボタン ---- */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 110;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base),
              background-color var(--transition-base);
  transform-origin: center;
}

/* ハンバーガー → ✕ 変形（.is-open 付与時） */
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   ドロワーメニュー（スマホ用）
======================================== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background-color: var(--color-base);
  z-index: 105;
  padding: calc(var(--navbar-height) + 24px) 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer__link {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.03em;
  transition: color var(--transition-base);
}

.drawer__link:hover {
  color: var(--color-main);
}

/* ドロワー内 CTA ボタン */
.drawer__link--cta {
  margin-top: 24px;
  padding: 16px 24px;
  background-color: var(--color-accent);
  color: var(--color-base) !important;
  text-align: center;
  border-radius: 100px;
  border: none;
  font-weight: 700;
}

/* ドロワー背景オーバーレイ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}


/* ========================================
   Hero セクション — 雑誌風2カラムレイアウト（固定）
======================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 58% 42%; /* 全サイズ固定・変更しない */
  overflow: hidden;
  background-color: var(--color-base);
}

/* ---- 左：写真パネル ---- */
.hero__photo-panel {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); /* 全サイズで斜めクリップ維持 */
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
  animation: photoSlideIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes photoSlideIn {
  from { transform: scale(1.08); opacity: 0.6; }
  to   { transform: scale(1);    opacity: 1; }
}

/* 写真上に薄いグリーントーンオーバーレイ */
.hero__photo-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 140, 63, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ---- 写真に重なるバッジ ---- */
.hero__badge {
  position: absolute;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* VOLバッジ：左上 */
.hero__badge--vol {
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-main);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
}


/* 写真右端のアクセントライン */
.hero__photo-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 4px;
  height: 40%;
  background-color: var(--color-accent);
}

/* ---- 右：テキストパネル ---- */
.hero__text-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* スマホ：padding小さめ・横は最小限 */
  padding: calc(var(--navbar-height) + 12px) 4% 24px 3%;
  overflow: hidden;
  background-color: var(--color-base);
}

@media (min-width: 768px) {
  .hero__text-panel {
    padding: calc(var(--navbar-height) + 60px) 8% 60px;
  }
}

/* 背景装飾テキスト */
.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 14vw, 180px); /* vwで画面幅に連動 */
  font-weight: 700;
  color: var(--color-main-light);
  opacity: 0.18;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ---- 雑誌ラベル（罫線＋タグ）スマホでは非表示 ---- */
.hero__magazine-label {
  display: none; /* スマホでは非表示にして高さを節約 */
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.7s ease 0.4s both;
}

@media (min-width: 480px) {
  .hero__magazine-label {
    display: flex;
  }
}

.hero__magazine-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-main);
  opacity: 0.5;
}

.hero__magazine-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-main);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- キャッチコピーエリア ---- */
.hero__copy-wrap {
  display: flex;
  align-items: flex-end;
  gap: 4px; /* スマホで間隔を詰める */
  margin-bottom: 12px;
  flex-wrap: nowrap; /* 絶対に折り返さない */
  overflow: hidden;
  animation: fadeSlideUp 0.7s ease 0.6s both;
}

@media (min-width: 768px) {
  .hero__copy-wrap {
    gap: 8px;
    margin-bottom: 20px;
  }
}

/* 縦書きの「未来を」 */
.hero__copy-vertical {
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 2.8vw, 22px); /* vwで連動・最小10px */
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  line-height: 1.2;
  border-right: 2px solid var(--color-accent);
  padding-right: 6px;
  margin-right: 2px;
  height: fit-content;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero__copy-vertical {
    font-size: clamp(14px, 2.5vw, 22px);
    border-right-width: 3px;
    padding-right: 10px;
    margin-right: 4px;
    letter-spacing: 0.15em;
  }
}

/* 横書きの「私が選ぶ。」 */
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7.5vw, 88px); /* vwで連動・最小28px */
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap; /* 絶対に折り返さない */
  overflow: hidden;
}

.hero__title em {
  font-style: italic;
  display: inline-block;
  padding-right: 0.12em;
  background: linear-gradient(90deg, #6B6FCA 0%, #3EC97D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- サブコピー ---- */
.hero__sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 2.2vw, 18px); /* vwで連動 */
  font-weight: 400;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 12px;
  animation: fadeSlideUp 0.7s ease 0.8s both;
}

@media (min-width: 768px) {
  .hero__sub {
    letter-spacing: 0.06em;
    line-height: 1.8;
    margin-bottom: 0;
  }
}

/* ---- 区切り罫線 ---- */
.hero__divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(to right, var(--color-main), var(--color-accent));
  margin-bottom: 14px;
  animation: fadeSlideUp 0.7s ease 0.9s both;
}

@media (min-width: 768px) {
  .hero__divider {
    width: 48px;
    margin-bottom: 28px;
  }
}

/* ---- CTAボタン ---- */
.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  animation: fadeSlideUp 0.7s ease 1.0s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(10px, 2vw, 16px) clamp(14px, 3.5vw, 32px);
  background: linear-gradient(135deg, #26A69A 0%, #66BB6A 100%) !important;
  white-space: nowrap;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 2vw, 15px);
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 3px 3px 0 var(--color-main-light);
}

.hero__cta:hover {
  background: linear-gradient(135deg, #1A8F83 0%, #4CAF50 100%) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(107, 111, 202, 0.3);
}

.hero__cta-note {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(9px, 1.8vw, 13px);
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

/* ---- スクロール誘導（進化を読む） ---- */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hero__scroll:hover {
  transform: translateY(4px);
}

.hero__scroll-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero__scroll-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #26A69A 0%, #66BB6A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: scrollBounce 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ---- アニメーション定義 ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ---- アクセシビリティ：動き軽減 ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__photo,
  .hero__scroll-icon,
  .hero__magazine-label,
  .hero__copy-wrap,
  .hero__sub,
  .hero__divider,
  .hero__cta-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ========================================
   アニメーション — staggered フェードイン
   data-delay 属性で各要素の遅延を制御
======================================== */
.animate-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* JS で .is-visible を付与するとアニメーション発火 */
.animate-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* JS 無効化環境へのフォールバック */
@media (prefers-reduced-motion: reduce) {
  .animate-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ========================================
   レスポンシブ — タブレット（768px〜）
======================================== */
@media (min-width: 768px) {

  /* ナビ：PC レイアウトへ切り替え */
  .navbar__nav {
    display: flex;
  }

  /* タブレット幅では文字サイズ・間隔を縮小して折り返しを防ぐ */
  .navbar__nav-list {
    gap: 16px;
  }

  .navbar__nav-list a {
    font-size: 12px;
    white-space: nowrap;
  }

  .navbar__cta {
    display: inline-flex;
    font-size: 12px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  .navbar__hamburger {
    display: none;
  }
}

@media (min-width: 1024px) {

  /* 広い画面では通常サイズに戻す */
  .navbar__nav-list {
    gap: 28px;
  }

  .navbar__nav-list a {
    font-size: 14px;
  }

  .navbar__cta {
    font-size: 13px;
    padding: 10px 20px;
  }
}


/* ========================================
   Section 2：なぜ生まれ変わるのか
======================================== */
.why {
  position: relative;
  background-color: #FAFAF8;
  padding: 80px 0;
  overflow: hidden;
}

.why__deco-circle {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background-color: var(--color-main);
  opacity: 0.05;
  pointer-events: none;
}

.why__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

/* ---- セクションラベル（共通パーツ）---- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label__line {
  width: 32px;
  height: 2px;
  background-color: var(--color-main);
  flex-shrink: 0;
}

.section-label__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-main);
  text-transform: uppercase;
}

/* ---- キャッチフレーズ ---- */
.why__catch {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.why__catch em {
  display: inline-block;
  font-style: italic;
  color: var(--color-main);
  position: relative;
}

/* 「見えてくる学校。」の下にグラデーション下線 */
.why__catch em::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--color-main), var(--color-accent));
  border-radius: 2px;
}

/* ---- 本文 ---- */
.why__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.why__body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-sub);
  line-height: 2;
  letter-spacing: 0.04em;
}

.why__body-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 4px 0;
}

/* ---- テキストリンク ---- */
.why__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.why__link:hover {
  gap: 14px;
}

.why__link-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.why__link:hover .why__link-arrow {
  transform: translateX(4px);
}

/* ---- 数字カード ---- */
.why__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 0;
  padding: 28px 0 28px 24px;
  border-left: 4px solid var(--color-main-light);
  border-bottom: 1px solid var(--color-border);
  transition: border-left-color 0.3s ease;
}

.why__stat:last-child {
  border-bottom: none;
}

.why__stat:hover {
  border-left-color: var(--color-main);
}

.why__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 600;
  color: var(--color-main);
  line-height: 1;
  letter-spacing: -0.02em;
}

.why__stat-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-main);
  padding-left: 4px;
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 8px;
}

.why__stat-label {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ---- スクロールアニメーション ---- */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal--left {
  transform: translateX(-32px);
}

.scroll-reveal--right {
  transform: translateX(32px);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- PCレイアウト（768px〜）---- */
@media (min-width: 768px) {
  .why {
    padding: 120px 0;
  }

  .why__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .why__inner {
    grid-template-columns: 55% 40%;
    gap: 5%;
  }
}


/* ========================================
   Section 3：進化の4つのポイント
======================================== */
.points {
  background-color: var(--color-base);
  padding: 80px 0;
}

.points__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- セクションヘッダー ---- */
.points__header {
  margin-bottom: 56px;
}

.points__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.points__title em {
  font-style: italic;
  color: var(--color-main);
}

.points__subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ---- カードグリッド ---- */
.points__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ---- 個別カード ---- */
.point-card {
  position: relative;
  background-color: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 36px 32px 32px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}

.point-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(74, 140, 63, 0.12);
}

/* カード上部のグリーンアクセントライン */
.point-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-main), var(--color-main-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.point-card:hover .point-card__accent {
  transform: scaleX(1);
}

/* 透かし番号 */
.point-card__num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px;
  font-weight: 700;
  color: var(--color-main);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* アイコン */
.point-card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* カードタイトル */
.point-card__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

/* カード本文 */
.point-card__body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* scroll-reveal の stagger delay 対応 */
.point-card.scroll-reveal {
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

/* ---- PCレイアウト（768px〜）---- */
@media (min-width: 768px) {
  .points {
    padding: 120px 0;
  }

  .points__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .points__header {
    max-width: 600px;
  }
}


/* ========================================
   Section 4：クラス編成の仕組み（フロー図）
======================================== */
.system {
  position: relative;
  background-color: #FAFAF8;
  padding: 80px 0;
  overflow: hidden;
}

.system__deco-circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-main);
  opacity: 0.05;
  pointer-events: none;
}
.system__deco-circle--1 { width: 520px; height: 520px; top: -180px; right: -160px; }
.system__deco-circle--2 { width: 320px; height: 320px; bottom: -100px; left: -80px; }
.system__deco-circle--3 { width: 200px; height: 200px; top: 40%; right: 12%; opacity: 0.035; }

.system__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.system__header {
  margin-bottom: 56px;
}

.system__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.system__title em {
  font-style: italic;
  color: var(--color-main);
}

.system__subtitle {
  font-size: 14px;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ---- フロー全体 ---- */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow__step {
  width: 100%;
}

/* ---- ステップラベル ---- */
.flow__step-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.09);
}

.flow__year {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: 0.06em;
  background: none;
  padding: 0;
  border-radius: 0;
  position: relative;
  display: inline-block;
}

.flow__year::after {
  content: '';
  display: block;
  height: 3px;
  width: 28px;
  background: var(--color-main);
  margin-top: 5px;
  border-radius: 2px;
}

.flow__year-sub {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
}

/* ---- 1年次クラス ---- */
.flow__classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.flow__class {
  --card-gradient: linear-gradient(90deg, #4DB6AC, #4FC3F7);
  --card-accent: #009688;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-top: none;
  border-radius: 4px;
  padding: clamp(16px, 3vw, 24px);
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.flow__class::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--card-gradient);
}

.flow__class:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.flow__class--s {
  --card-gradient: linear-gradient(90deg, #4DB6AC, #4FC3F7);
  --card-accent: #009688;
}

.flow__class--a {
  --card-gradient: linear-gradient(90deg, #66BB6A, #A5D6A7);
  --card-accent: #388E3C;
}

.flow__class-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 600;
  color: var(--card-accent);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
  white-space: nowrap;
}

.flow__class-desc {
  font-size: clamp(11px, 2vw, 13px);
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* 情報バー */
.flow__info-bar {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #00695C;
  background: linear-gradient(90deg, #D4F0EC, #DCF0E2);
  border-radius: 4px;
  padding: 10px 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 12px;
}

/* ---- 矢印 ---- */
.flow__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  width: 100%;
}

/* 三角形矢印 */
.flow__arrow--tri {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  width: 100%;
}

.flow__arrow--tri svg {
  width: 48px;
  height: 29px;
}

.flow__arrow-label {
  display: none;
}

/* ---- 6プログラムカード ---- */
.flow__programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.flow__program {
  --card-accent: #888888; /* fallback — 各カードで上書き */
  cursor: pointer;
  border-radius: 2px;
  padding: 20px 12px 18px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 5px solid var(--card-accent);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  color: #2A2A2A;
}

.flow__program:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.14);
}

.flow__program-en {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--card-accent);
  opacity: 0.65;
  margin-bottom: 5px;
}

.flow__program-ja {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  color: var(--card-accent);
}

.flow__program-desc {
  font-size: 10.5px;
  line-height: 1.55;
  color: #555555;
  margin: 0;
}

.flow__program-cond {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 2px;
  line-height: 1.6;
}

.flow__program-cond--s {
  background-color: rgba(74, 140, 63, 0.12);
  color: #2E5E27;
}

.flow__program-cond--a {
  background-color: rgba(180, 140, 60, 0.12);
  color: #7A5214;
}

/* プログラム色分け — アクセントカラーのみ定義 */
.flow__program--academics { --card-accent: #5590D9; } /* 青   */
.flow__program--nursing   { --card-accent: #E0608A; } /* ピンク */
.flow__program--child     { --card-accent: #E89040; } /* オレンジ */
.flow__program--future    { --card-accent: #44B070; } /* 緑   */
.flow__program--career    { --card-accent: #C9A800; } /* 黄色  */
.flow__program--sports    { --card-accent: #3AACCF; } /* 水色  */

/* ---- 進路実績ノート ---- */
.flow__career-note {
  margin-top: 16px;
  background: linear-gradient(135deg, #4DB6AC, #4FC3F7);
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.flow__career-note__stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 80px;
}

.flow__career-note__pct {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 7vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.flow__career-note__pct small {
  font-size: 0.6em;
  vertical-align: 0.1em;
}

.flow__career-note__label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.flow__career-note__body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 18px;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---- 卒業後の進路タグ ---- */
.flow__destinations {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 狭い画面では2列 */
  gap: 10px;
  width: 100%;
}

.flow__dest {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  background-color: #fff;
  border: 1px solid #D8EFEC;
  border-left: 4px solid #4DB6AC;
  border-radius: 4px;
  padding: 12px 16px;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow__dest:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,0.11);
}

@media (min-width: 440px) {
  .flow__destinations {
    grid-template-columns: repeat(3, 1fr); /* 中間幅では3列 */
  }
}

@media (min-width: 640px) {
  .flow__destinations {
    grid-template-columns: repeat(5, 1fr); /* タブレット以上で5列 */
  }
}

/* ---- PCレイアウト（768px〜）---- */
@media (min-width: 768px) {
  .system {
    padding: 120px 0;
  }

  .flow__programs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .flow__programs {
    grid-template-columns: repeat(6, 1fr);
  }

  .flow__program-ja {
    font-size: 13px;
  }
}


/* ========================================
   Section 6：系属校化メリット（誌面風）
======================================== */

.merits {
  background-color: var(--color-base);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.merits__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- ページヘッダー ---- */
.merits__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.merits__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

/* ---- 罫線 ---- */
.merits__rule {
  height: 1px;
  background-color: var(--color-border);
  margin: 40px 0;
}

/* ---- ブロック A ---- */
.merits__block-a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.merits__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.merits__title em {
  font-style: italic;
  color: var(--color-main);
}

.merits__title-sub {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.merits__photo-pair {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* ---- figure 共通 ---- */
.merits__fig {
  margin: 0;
  flex-shrink: 0;
}

.merits__fig img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.merits__fig figcaption {
  margin-top: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.merits__fig-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-main);
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 1px;
  margin-bottom: 3px;
}

.merits__fig--sm {
  width: calc(50% - 8px);
}

.merits__fig--sm img {
  aspect-ratio: 1 / 1; /* 全サイズで正方形 */
  height: auto;
}

.merits__fig--offset {
  margin-top: 28px;
}

.merits__fig--tall {
  width: 100%; /* モバイルは全幅 */
}

.merits__fig--tall img {
  aspect-ratio: 1 / 1; /* モバイルは正方形 */
  height: auto;
}

.merits__fig--md {
  width: 100%; /* モバイルは全幅 */
}

.merits__fig--md img {
  aspect-ratio: 1 / 1; /* モバイルは正方形 */
  height: auto;
}

.merits__fig--wide {
  width: 100%;
}

.merits__fig--wide img {
  aspect-ratio: 1 / 1; /* モバイルは正方形 */
  height: auto;
  width: 100%;
}

/* ---- メリット番号・テキスト共通 ---- */
.merits__item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-main);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.35;
  margin-bottom: 8px;
}

.merits__item-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.merits__item-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0;
}

.merits__item-badge {
  display: inline-block;
  margin-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ---- ブロック B ---- */
.merits__block-b {
  display: flex;
  flex-direction: column; /* モバイルは縦積み */
  gap: 24px;
  align-items: flex-start;
}

.merits__block-b .merits__item {
  flex: 1; /* 写真の残りスペースをすべてテキストに */
}

/* ---- ブロック C ---- */
.merits__block-c {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.merits__item-with-photo {
  display: flex;
  flex-direction: column; /* モバイルは縦積み */
  gap: 16px;
  align-items: flex-start;
}

.merits__col-divider {
  display: none;
  width: 1px;
  background-color: var(--color-border);
}

/* ---- ブロック D ---- */
.merits__block-d {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.merits__block-d-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* CTAボタン */
.merits__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background-color: var(--color-main);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.06em;
  width: fit-content;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 3px 3px 0 var(--color-main-light);
}

.merits__cta:hover {
  background-color: #3a7030;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--color-main-light);
}

/* ---- マガジン風フッター ---- */
.merits__mag-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.merits__mag-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  white-space: nowrap;
}

.merits__mag-footer-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

/* ---- scroll-reveal stagger ---- */
.merits__block-c .scroll-reveal,
.merits__block-d.scroll-reveal {
  transition-delay: var(--delay, 0s);
}

/* ---- PC（768px〜）---- */
@media (min-width: 768px) {
  .merits {
    padding: 120px 0;
  }

  .merits__block-a {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  .merits__fig--sm img {
    height: 180px;
  }

  .merits__block-b {
    flex-direction: row; /* PC以上で横並びに戻す */
    gap: 40px;
    align-items: flex-start;
  }

.merits__item-with-photo {
    flex-direction: row; /* PC以上で横並びに戻す */
    gap: 20px;
    align-items: flex-start;
  }

  .merits__block-c {
    grid-template-columns: 1fr 2px 1fr;
    gap: 0;
    column-gap: 40px;
  }

  .merits__col-divider {
    display: block;
    align-self: stretch;
  }

  .merits__block-d {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .merits__fig--wide {
    width: 50%;
    flex-shrink: 0;
  }

  .merits__fig--wide img {
    height: 280px;
  }

  .merits__block-d-text {
    flex: 1;
    padding-top: 8px;
  }

  .merits__fig--tall {
    width: 220px; /* PC時は固定幅に戻す */
    flex-shrink: 0;
  }

  .merits__fig--md {
    width: 160px; /* PC時は固定幅に戻す */
    flex-shrink: 0;
  }

  .merits__fig--md img {
    height: 160px;
    aspect-ratio: unset; /* PC時は正方形解除 */
  }

  .merits__fig--tall img {
    height: 300px;
    aspect-ratio: unset; /* PC時は正方形解除 */
  }

  .merits__fig--wide img {
    height: 280px;
    aspect-ratio: unset; /* PC時は正方形解除 */
  }
}

@media (min-width: 1024px) {
  .merits__fig--sm img {
    height: 200px;
    aspect-ratio: unset; /* PC時は正方形解除 */
  }
}


/* ========================================
   ユーティリティ
======================================== */

/* 視覚的に隠す（スクリーンリーダーには読まれる） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


/* ========================================
   Section 5：6つの専門プログラム詳細（雑誌風）
======================================== */
.programs {
  background-color: var(--color-base);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.programs__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ページヘッダー */
.programs__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.programs__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

/* 罫線 */
.programs__rule {
  height: 1px;
  background-color: var(--color-border);
  margin: 32px 0;
}

/* 見出し */
.programs__headline {
  margin-bottom: 0;
}

.programs__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.programs__title em {
  font-style: italic;
  color: var(--color-main);
}

.programs__subtitle {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ---- 目次バー（タブボタン） ---- */
.prog-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  touch-action: pan-x;
}

.prog-tabs::-webkit-scrollbar { display: none; }

.prog-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 20px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease;
  position: relative;
}

.prog-tab:hover {
  border-bottom-color: var(--color-main-light);
}

.prog-tab.is-active {
  border-bottom-color: var(--color-main);
}

.prog-tab__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  transition: color 0.25s ease;
}

.prog-tab.is-active .prog-tab__num {
  color: var(--color-main);
}

.prog-tab__name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.25s ease, font-weight 0.25s ease;
}

.prog-tab.is-active .prog-tab__name {
  color: var(--color-text);
  font-weight: 700;
}

/* ---- パネル共通 ---- */
.prog-panels {
  position: relative;
  min-height: 400px;
}

.prog-panel {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
}

.prog-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  visibility: visible;
}

/* 背景の透かし番号 */
.prog-panel__bg-num {
  position: absolute;
  top: -20px;
  right: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 18vw, 180px);
  font-weight: 700;
  color: var(--color-main);
  opacity: 0.05;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

/* ---- パネル内レイアウト ---- */
.prog-panel__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* ---- 写真エリア ---- */
.prog-panel__fig {
  margin: 0;
  overflow: hidden;
}

.prog-panel__fig img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.prog-panel__fig:hover img {
  transform: scale(1.03);
}

.prog-panel__fig figcaption {
  margin-top: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.prog-panel__fig-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-main);
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 2px;
  margin-bottom: 4px;
  width: fit-content;
}

/* ---- テキストエリア ---- */
.prog-panel__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prog-panel__en {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
  text-transform: uppercase;
}

.prog-panel__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.prog-panel__for {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  width: fit-content;
}

/* ---- 特徴3ブロック（罫線区切り） ---- */
.prog-panel__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}

.prog-panel__feature {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.prog-panel__feature-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.prog-panel__feature-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background-color: var(--color-main);
  border-radius: 2px;
}

.prog-panel__feature p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.85;
  letter-spacing: 0.04em;
  padding-left: 14px;
}

/* ---- プログラム詳細テキスト ---- */
.prog-panel__detail {
  margin-top: 28px;
}

.prog-panel__detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.prog-panel__detail-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.prog-panel__detail-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-text-sub);
  white-space: nowrap;
}

.prog-panel__detail-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prog-panel__detail-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---- プログラム前後ナビ ---- */
.prog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.prog-nav__spacer {
  flex: 1;
}

.prog-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-main);
  background-color: var(--color-base);
  border: 1.5px solid var(--color-main);
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.prog-nav__btn:hover {
  background-color: var(--color-main);
  color: #fff;
  transform: translateY(-2px);
}

.prog-nav__next-name {
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: var(--color-main-light);
  color: #2E5E27;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 4px;
}

.prog-nav__btn:hover .prog-nav__next-name {
  background-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* ---- マガジン風フッター ---- */
.programs__mag-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.programs__mag-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  white-space: nowrap;
}

.programs__mag-footer-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

/* ---- PCレイアウト（768px〜）---- */
@media (min-width: 768px) {
  .programs {
    padding: 120px 0;
  }

  .prog-panel__layout {
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: flex-start;
  }

  .prog-panel__fig img {
    height: 420px;
  }

  .prog-panels {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .prog-panel__layout {
    grid-template-columns: 380px 1fr;
    gap: 72px;
  }

  .prog-panel__fig img {
    height: 480px;
  }
}


/* ========================================
   Section 7：在校生の声（縦長写真4列・雑誌風）
======================================== */
.voices {
  position: relative;
  background: linear-gradient(90deg, rgba(107, 111, 202, 0.06) 0%, rgba(62, 201, 125, 0.06) 100%);
  padding: 80px 0 0;
  border-top: 1px solid rgba(107, 111, 202, 0.15);
  overflow: hidden;
}

.voices__deco-circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-main);
  opacity: 0.05;
  pointer-events: none;
}
.voices__deco-circle--1 { width: 460px; height: 460px; top: -140px; left: -140px; }
.voices__deco-circle--2 { width: 280px; height: 280px; bottom: 60px; right: -80px; }
.voices__deco-circle--3 { width: 160px; height: 160px; top: 30%; left: 55%; opacity: 0.03; }

.voices__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ページヘッダー */
.voices__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.voices__page-header .section-label__line {
  background-color: var(--color-main);
}

.voices__page-header .section-label__tag {
  color: var(--color-main);
}

.voices__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

/* 見出し */
.voices__headline {
  margin-bottom: 0;
}

.voices__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.voices__subtitle {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* 罫線 */
.voices__rule {
  height: 1px;
  background-color: #D8E8D4;
  margin: 32px 0;
}

/* ---- 4列グリッド ---- */
.voices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #D8E8D4;
  border-left: 1px solid #D8E8D4;
  margin: 0 -24px;
}

/* ---- 個別カード ---- */
.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #D8E8D4;
  border-bottom: 1px solid #D8E8D4;
  background-color: #F2F7F0;
  overflow: hidden;
}

.voice-card__border-r {
  display: none;
}

/* ---- 写真エリア ---- */
.voice-card__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.voice-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.voice-card:hover .voice-card__photo {
  transform: scale(1.05);
}

/* 写真下部グラデーション */
.voice-card__photo-grad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    to top,
    rgba(242, 247, 240, 0.7) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* ---- テキストエリア ---- */
.voice-card__text {
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* 名前ブロック */
.voice-card__name-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}

.voice-card__program {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-main);
  margin-bottom: 2px;
}

.voice-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-top: 4px;
}

.voice-card__san {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  align-self: flex-end;
  padding-bottom: 2px;
}

/* カード内の細い罫線 */
.voice-card__rule {
  height: 1px;
  background-color: #D8E8D4;
  margin: 0 0 2px;
}

/* キャッチコピー */
.voice-card__catch {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* コメント */
.voice-card__comment {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* ---- マガジン風フッター ---- */
.voices__mag-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #D8E8D4;
}

.voices__mag-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  white-space: nowrap;
}

.voices__mag-footer-line {
  flex: 1;
  height: 1px;
  background-color: #D8E8D4;
}

/* scroll-reveal stagger */
.voice-card.scroll-reveal {
  transition-delay: var(--delay, 0s);
}

/* ---- PC（768px〜）：4列に展開 ---- */
@media (min-width: 768px) {
  .voices {
    padding-top: 120px;
  }

  .voices__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice-card__text {
    padding: 20px 20px 28px;
    gap: 12px;
  }

  .voice-card__comment {
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .voices__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .voice-card__text {
    padding: 24px 24px 32px;
  }

  .voice-card__catch {
    font-size: 13px;
  }
}


/* ========================================
   Section 8：イベント情報（正方形カード＋人物はみ出し）
======================================== */
.events {
  background-color: var(--color-base);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.events__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.events__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.events__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

.events__rule {
  height: 1px;
  background-color: var(--color-border);
  margin: 32px 0;
}

.events__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.events__subtitle {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* ---- グリッド ---- */
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

/* ---- ラッパー（人物はみ出し分の上余白） ---- */
.event-wrap {
  padding-top: 20px;
  position: relative;
}

.event-wrap.scroll-reveal {
  transition-delay: var(--delay, 0s);
}

/* ---- カード（スマホは最小高さで、PCは正方形） ---- */
.event-card {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  display: flex;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.10), 0 18px 40px rgba(0,0,0,0.07);
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
  /* スマホでは正方形を解除して最小高さで対応 */
  min-height: 170px;
}

@media (min-width: 768px) {
  .event-card {
    aspect-ratio: 1 / 1;
    min-height: unset;
  }
}

/* カード下半分にグラデーション（全幅・境目なし） */
.event-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.70) 35%,
    rgba(255, 255, 255, 0.25) 60%,
    transparent 85%
  );
  z-index: 1;
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 36px rgba(0,0,0,0.13), 0 32px 56px rgba(0,0,0,0.09);
}

/* ---- 人物写真（右側・上にはみ出す） ---- */
.event-card__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 108%; /* スマホ：少しだけはみ出す */
  z-index: 2;
  pointer-events: none;
}

.event-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ---- テキストエリア（左側） ---- */
.event-card__content {
  position: relative;
  z-index: 3;
  width: 65%;
  padding: clamp(10px, 2vw, 24px) 0 clamp(10px, 2vw, 20px) clamp(10px, 2vw, 16px);
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 1vw, 6px);
  height: 100%;
  justify-content: flex-end;
  color: var(--color-text);
  text-shadow: none;
}

/* サブラベル */
.event-card__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  display: block;
}

/* イベント名 */
.event-card__name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 2.8vw, 20px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* with20のイタリック数字 */
.event-card__name em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3em;
  letter-spacing: -0.02em;
}

/* 日程・定員 */
.event-card__meta {
  margin-top: 4px;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-card__date {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(8px, 1.8vw, 11px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.event-card__cap {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(7px, 1.4vw, 10px);
  opacity: 0.7;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* 予約ボタン */
.event-card__btn {
  display: inline-block;
  margin-top: clamp(4px, 1vw, 8px);
  padding: clamp(5px, 1.2vw, 7px) clamp(8px, 2vw, 14px);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(8px, 1.8vw, 11px);
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: background-color 0.25s, border-color 0.25s;
  width: fit-content;
}

.event-card__btn:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,1);
}

/* ---- カード個別の背景色・テキスト色 ---- */
.event-card--01 {
  background-color: #4A8C3F;
  color: #ffffff;
}

.event-card--02 {
  background-color: #EDF7EB;
  color: #2E5E27;
}

.event-card--03 {
  background-color: #F4857A;
  color: #ffffff;
}

.event-card--04 {
  background-color: #FDE8E6;
  color: #A0352A;
}

.event-card--05 {
  background-color: #4A7BB5;
  color: #ffffff;
}

.event-card--06 {
  background-color: #A8D89A;
  color: #2E5E27;
}

/* イベント詳細ボタン */
.events__detail-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.events__detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background-color: var(--color-base);
  color: var(--color-main);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 2px solid var(--color-main);
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 3px 3px 0 var(--color-main-light);
}

.events__detail-btn:hover {
  background-color: var(--color-main);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--color-main-light);
}

/* ---- マガジン風フッター ---- */
.events__mag-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.events__mag-footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  white-space: nowrap;
}

.events__mag-footer-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

/* ========================================
   共通：マガジン風セクションフッター
======================================== */
.section-mag-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.section-mag-footer__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  white-space: nowrap;
}

.section-mag-footer__line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

/* ---- タブレット（768px〜）：3列に ---- */
@media (min-width: 768px) {
  .events {
    padding: 120px 0;
  }

  .events__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }

  .event-wrap {
    padding-top: 25px;
  }

  .event-card__figure {
    width: 50%;
    height: 110%; /* タブレット：少しだけはみ出す */
  }
}

/* ---- PC（1024px〜） ---- */
@media (min-width: 1024px) {
  .events__grid {
    gap: 32px 24px;
  }

  .event-wrap {
    padding-top: 30px;
  }

  .event-card__figure {
    width: 52%;
    height: 112%; /* PC：少しだけはみ出す */
  }
}


/* ========================================
   Section 9上段：最終CTA
======================================== */
.final-cta {
  position: relative;
  background: linear-gradient(90deg, #6B6FCA 0%, #3EC97D 100%);
  padding: 100px 0;
  overflow: hidden;
}

.final-cta__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 900;
  color: #ffffff;
  opacity: 0.04;
  white-space: nowrap;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}

.final-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.final-cta__label .section-label__line {
  background-color: rgba(255, 255, 255, 0.7);
}
.final-cta__label .section-label__tag {
  color: #fff;
}
.final-cta__label {
  justify-content: center;
  margin-bottom: 28px;
}

.final-cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 4vw, 48px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  max-width: 100%;
}

.final-cta__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  display: block;
}

.final-cta__title-line1 {
  display: block;
}

.final-cta__title-line2 {
  display: block;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(18px, 3.2vw, 40px);
  white-space: nowrap;
  width: max-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.cta-break {
  display: none;
}

@media (max-width: 460px) {
  .final-cta__title-line2 {
    white-space: normal;
    width: auto;
    left: 0;
    transform: none;
  }
  .cta-break {
    display: block;
  }
}

.final-cta__sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.final-cta__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.final-cta__btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background-color: #ffffff;
  color: #2E5E27;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.06em;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 4px 4px 0 rgba(255,255,255,0.2);
}

.final-cta__btn--primary:hover {
  background-color: var(--color-main-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255,255,255,0.2);
}

.final-cta__btn--secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  letter-spacing: 0.06em;
  transition: background-color 0.3s, border-color 0.3s;
}

.final-cta__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .final-cta__btns {
    flex-direction: row;
    justify-content: center;
  }
}

/* ========================================
   Section 9下段：アクセス
======================================== */
.access {
  background-color: var(--color-base);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.access__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.access__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.access__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

.access__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.access__map {
  width: 100%;
  height: 300px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.access__school-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.access__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 16px;
  align-items: start;
}

.access__item-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-main);
  padding-top: 2px;
}

.access__item-val {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.access__item-val a {
  color: var(--color-main);
  font-weight: 700;
  transition: opacity 0.2s;
}

.access__item-val a:hover {
  opacity: 0.7;
}

.access__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.access__map-link:hover {
  color: var(--color-main);
  border-color: var(--color-main);
}

@media (min-width: 768px) {
  .access {
    padding: 120px 0;
  }

  .access__body {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .access__map {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .access__body {
    grid-template-columns: 55% 40%;
    gap: 5%;
  }
}

/* ========================================
   フッター
======================================== */
.site-footer {
  background: linear-gradient(90deg, #6B6FCA 0%, #3EC97D 100%);
  padding: 40px 0;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer__logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.site-footer__nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
}


/* ========================================
   Section Classes：1年次クラスの特徴
======================================== */
.classes {
  background-color: var(--color-base);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.classes__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ページヘッダー */
.classes__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.classes__page-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.2em;
}

/* 罫線 */
.classes__rule {
  height: 1px;
  background-color: var(--color-border);
  margin: 40px 0;
}

/* Cormorant Garamond の数字グリフ補正 — 和文との視覚的な高さを揃える */
.title-num {
  font-size: 1.18em;
  font-variant-numeric: lining-nums;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.05em;
}

/* 見出し */
.classes__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.classes__title em {
  font-style: italic;
  color: var(--color-main);
}

.classes__subtitle {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  line-height: 1.9;
}

.classes__headline {
  margin-bottom: 0;
}

/* ---- クラスブロック共通 ---- */
.class-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* scroll-reveal stagger */
.class-block.scroll-reveal {
  transition-delay: var(--delay, 0s);
}

/* ---- ヘッダー部分 ---- */
.class-block__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.class-block__label-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
  padding-top: 4px;
}

.class-block__section-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-sub);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.class-block__type {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

/* クラス名（S / A の大文字） */
.class-block__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.class-block__letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.class-block__letter span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(18px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Sクラス：ブルー */
.class-block__letter--s {
  color: #5590D9;
}

/* Aクラス：グリーン */
.class-block__letter--a {
  color: var(--color-main);
}

.class-block__en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
}

.class-block__catch {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 2.2vw, 18px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ---- ボディ（写真＋テキスト） ---- */
.class-block__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* PC：2カラム（写真左・テキスト右） */
@media (min-width: 768px) {
  .class-block__body {
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    align-items: start;
  }

  /* reverseはテキスト左・写真右 */
  .class-block__body--reverse {
    grid-template-columns: 3fr 2fr;
  }

  .class-block__body--reverse .class-block__fig {
    order: 2;
  }

  .class-block__body--reverse .class-block__text {
    order: 1;
  }
}

/* ---- 写真 ---- */
.class-block__fig {
  margin: 0;
}

.class-block__fig img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.class-block__fig:hover img {
  transform: scale(1.03);
}

.class-block__fig figcaption {
  margin-top: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.class-block__fig-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-main);
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 2px;
  margin-bottom: 4px;
  width: fit-content;
}

/* Sクラスのfigラベルはブルー */
.class-block--s .class-block__fig-label {
  color: #5590D9;
  border-bottom-color: #5590D9;
}

/* ---- テキストエリア ---- */
.class-block__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.class-block__desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.95;
  letter-spacing: 0.04em;
}

/* 特徴ブロック（Section 5と同じ罫線スタイル） */
.class-block__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.class-block__feature {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.class-block__feature-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-main);
}

.class-block--s .class-block__feature-num {
  color: #5590D9;
}

.class-block__feature-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.03em;
  padding-left: 14px;
  position: relative;
}

/* 特徴ラベルの左縦線 */
.class-block__feature-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background-color: var(--color-main);
  border-radius: 2px;
}

.class-block--s .class-block__feature-label::before {
  background-color: #5590D9;
}

.class-block__feature p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.85;
  letter-spacing: 0.04em;
  padding-left: 14px;
}

/* ---- PCレイアウト ---- */
@media (min-width: 768px) {
  .classes {
    padding: 120px 0;
  }

  .class-block {
    gap: 32px;
  }
}
