/* 2027年度 Class2・Class3 募集ページ 追加スタイル
   exam-seminar.css（現行class2のデザインシステム）の後に読み込む。
   変数・ボタン・.section などは exam-seminar.css を継承する。 */

/* ---- 募集要項サマリー（ヒーロー直下の帯） ---- */
.facts-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts-grid > div { padding: 22px 16px; text-align: center; }
.facts-grid > div + div { border-left: 1px solid var(--line); }
.facts-grid dt { margin-bottom: 6px; color: var(--muted); font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.facts-grid dd { margin: 0; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.5; }
.facts-grid dd small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; font-weight: 400; }
@media (max-width: 860px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div { padding: 16px 12px; border-top: 1px solid var(--line); }
  .facts-grid > div + div { border-left: 0; }
  .facts-grid > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .facts-grid > div:nth-child(5) { grid-column: 1 / -1; }
  .facts-grid dd { font-size: 15.5px; }
}

/* ---- 「予定」バッジ ---- */
.plan-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border: 1px solid #cdd9e3; border-radius: 999px; color: var(--muted); background: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }
.section--navy .plan-badge { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.82); background: transparent; }

/* ---- 説明動画 ---- */
.movie { margin: 34px 0 0; }
.movie-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--navy); box-shadow: var(--shadow); }
.movie-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); }
.movie-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin: 12px 2px 0; color: var(--muted); font-size: 12.5px; }

/* ---- 時間割の表 ---- */
.timetable { width: 100%; margin: 6px 0 0; border: 1px solid var(--line); border-collapse: collapse; background: var(--white); font-size: 15px; }
.timetable caption { margin-bottom: 10px; color: var(--muted); font-size: 12.5px; text-align: left; }
.timetable th, .timetable td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.timetable thead th { color: var(--navy); background: var(--paper); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.timetable tbody tr:last-child th, .timetable tbody tr:last-child td { border-bottom: 0; }
.timetable tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; }
.timetable .time { color: var(--navy); font-weight: 700; white-space: nowrap; }
.timetable .mine { background: var(--mint); }
.timetable small { color: var(--muted); font-size: 12px; font-weight: 400; }
@media (max-width: 600px) {
  .timetable, .timetable tbody, .timetable tr, .timetable td, .timetable th { display: block; }
  .timetable caption { display: block; width: 100%; }
  .timetable thead { display: none; }
  .timetable td[data-label]::before { content: attr(data-label) "："; color: var(--muted); font-size: 12.5px; font-weight: 400; }
  .timetable tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .timetable tbody tr:last-child { border-bottom: 0; }
  .timetable th, .timetable td { padding: 2px 0; border: 0; }
  .timetable .mine { background: var(--mint); }
}

/* ---- 料金カード ---- */
.price-card { margin: 28px 0 0; padding: 30px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.price-card .price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-card .amount { color: var(--navy); font-family: var(--label); font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.price-card .amount em { font-style: normal; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.price-card .per { color: var(--muted); font-size: 13.5px; }
.price-card dl { display: grid; gap: 0; margin: 4px 0 0; }
.price-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-card dl > div:last-child { border-bottom: 0; }
.price-card dt { color: var(--muted); font-size: 13.5px; }
.price-card dd { margin: 0; color: var(--navy); font-size: 15px; font-weight: 700; text-align: right; }
.price-card dd small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.price-note-small { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.85; }

/* ---- 申込・相談の2択カード ---- */
.cta-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 0; }
.cta-card { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.section--navy .cta-card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); box-shadow: none; }
.cta-card .cta-tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: #14833a; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.section--navy .cta-card .cta-tag { background: rgba(25,178,75,.25); color: #d8f3e1; }
.cta-card h3 { margin: 0 0 10px; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.55; }
.section--navy .cta-card h3 { color: var(--white); }
.cta-card p { flex: 1; margin: 0 0 18px; color: var(--ink); font-size: 14px; line-height: 1.9; }
.section--navy .cta-card p { color: rgba(255,255,255,.84); }
.cta-card .button { width: 100%; }
.cta-card .cta-foot { margin: 10px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.section--navy .cta-card .cta-foot { color: rgba(255,255,255,.6); }
@media (max-width: 720px) { .cta-cards { grid-template-columns: 1fr; gap: 14px; } }

/* ---- 説明会・個別相談の日程カード ---- */
.schedule-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0 0; }
.schedule-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.schedule-card .when { margin: 0 0 8px; color: #14833a; font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; }
.schedule-card h3 { margin: 0 0 10px; color: var(--navy); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.schedule-card p { margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.9; }
.schedule-card .pill { display: inline-block; margin: 12px 6px 0 0; padding: 3px 11px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11.5px; }
@media (max-width: 720px) { .schedule-cards { grid-template-columns: 1fr; gap: 14px; } }

/* ---- 在籍生・既存コースへのお知らせ ---- */
.notice-box { margin: 30px 0 0; padding: 22px 26px; border: 1px solid #cfe0ee; border-radius: 14px; background: #f1f7fb; }
.notice-box h3 { margin: 0 0 8px; color: var(--navy); font-family: var(--sans); font-size: 15px; font-weight: 700; }
.notice-box p { margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 1.9; }
.notice-box p:last-child { margin-bottom: 0; }

/* ---- 学習の流れ（4ステップ） ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 0; }
.step { padding: 22px 20px 24px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 12px 12px; background: var(--white); }
.step:first-child { border-top-color: var(--green); }
.step b { display: block; margin-bottom: 8px; color: var(--muted); font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.step strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 15.5px; line-height: 1.6; }
.step p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.85; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---- ヒーローの補助 ---- */
.hero-actions .button + .button { margin-left: 12px; }
@media (max-width: 640px) {
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .button + .button { margin-left: 0; }
}
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }

/* ---- 本文中の注記 ---- */
.inline-note { margin: 18px 0 0 !important; padding: 14px 18px; border-left: 3px solid var(--steel); background: var(--paper); color: var(--muted); font-size: 13px !important; line-height: 1.85; }
.section--cream .inline-note { background: #f4f7fa; }

/* ---- アンカー移動時に、固定ヘッダーの下に見出しが隠れないように ---- */
html { scroll-padding-top: 86px; }

/* ---- 3点の帯（01 02 03） ---- */
.points3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 0; }
.points3 > div { padding: 22px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: center; }
.points3 span { display: block; margin-bottom: 8px; color: var(--green); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.points3 strong { color: var(--navy); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.6; }
@media (max-width: 640px) { .points3 { grid-template-columns: 1fr; gap: 10px; } .points3 > div { padding: 16px; } }

/* ---- 教科カード（英語／数学） ---- */
.subject-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 0; }
.subject-card { padding: 28px 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.subject-card .sub-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; color: var(--muted); font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; }
.subject-card h3 { margin: 0 0 12px; color: var(--navy); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.subject-card > p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.9; }
.subject-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.subject-card li { position: relative; padding-left: 20px; color: var(--ink); font-size: 14px; line-height: 1.8; }
.subject-card li::before { content: ""; position: absolute; top: .7em; left: 0; width: 10px; height: 2px; background: var(--green); }
@media (max-width: 760px) { .subject-duo { grid-template-columns: 1fr; gap: 14px; } .subject-card { padding: 22px 20px; } }

/* ---- 向き・不向き ---- */
.fit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin: 30px 0 0; }
.fit-col { padding: 28px 28px 26px; border-radius: 16px; }
.fit-col--good { border: 2px solid var(--green); background: var(--mint); }
.fit-col--other { border: 1px solid var(--line); background: var(--white); }
.fit-col .fit-label { margin: 0 0 10px; color: var(--muted); font-family: var(--label); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.fit-col--good .fit-label { color: var(--green-dark, #14833a); }
.fit-col h3 { margin: 0 0 14px; color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.55; }
.fit-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fit-col li { position: relative; padding-left: 22px; color: var(--ink); font-size: 14.5px; line-height: 1.8; }
.fit-col li::before { content: ""; position: absolute; top: .62em; left: 0; width: 11px; height: 2px; background: #14833a; }
.fit-col--other p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; }
.fit-col--other a { color: #14833a; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(20,131,58,.35); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; gap: 14px; } .fit-col { padding: 22px 20px; } }

/* 先行トライアル */
.trial-card { margin: 26px 0 0; padding: 30px 32px; border: 2px solid var(--green); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.trial-card .trial-label { display: inline-block; margin: 0 0 10px; padding: 3px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.trial-card .price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.trial-card .amount { color: var(--green-dark, #14833a); font-family: var(--label); font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.trial-card .amount em { font-style: normal; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.trial-card .per { color: var(--muted); font-size: 13.5px; }
.trial-card dl { display: grid; margin: 4px 0 0; }
.trial-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trial-card dl > div:last-child { border-bottom: 0; }
.trial-card dt { color: var(--muted); font-size: 13.5px; flex-shrink: 0; }
.trial-card dd { margin: 0; color: var(--navy); font-size: 15px; font-weight: 700; text-align: right; }
.trial-card dd small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.section .trial-point { margin: 22px 0 0; padding: 18px 22px; border-radius: 12px; background: var(--mint, #e6f6ec); color: var(--ink); font-size: 15px; line-height: 1.9; }
.trial-point strong { color: #14833a; }
.trial-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trial { margin: 14px 0 0; font-size: 14px; }
.hero-trial a { color: #14833a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .trial-card { padding: 24px 20px; }
  .trial-card .amount { font-size: 38px; }
}

/* 写真1枚 */
.photo-single { margin: 26px 0 0; padding: 0; }
.photo-single img { display: block; width: 100%; height: auto; border-radius: 14px; }
.photo-single figcaption { margin: 10px 0 0; font-size: 12.5px; color: #6f7d8b; line-height: 1.8; }
.section .photo-note { margin: 8px 0 0; font-size: 11px; color: #8da0b1; }

/* ゼミ＋塾長1on1 のおすすめ */
.combo { margin: 34px 0 0; padding: 32px 32px 28px; border: 2px solid var(--green); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.combo .combo-label { margin: 0 0 8px; color: #14833a; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.combo h3 { margin: 0 0 12px; color: var(--navy); font-size: 22px; line-height: 1.6; }
.section .combo .combo-lead { margin: 0 0 18px; font-size: 15px; }
.combo-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.combo-points li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--mint, #e6f6ec); }
.combo-points span { flex-shrink: 0; color: #14833a; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding-top: 3px; }
.section .combo-points p { margin: 0; font-size: 14.5px; line-height: 1.85; }
.combo-price { margin: 0 0 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
.section .combo-price .combo-price-title { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.combo-price dl { margin: 0; display: grid; }
.combo-price dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.combo-price dt { color: var(--ink); font-size: 14px; }
.combo-price dt small { display: block; color: var(--muted); font-size: 12px; }
.combo-price dd { margin: 0; color: var(--navy); font-size: 15px; font-weight: 700; white-space: nowrap; }
.combo-price .combo-total { border-bottom: 0; }
.combo-price .combo-total dt { font-weight: 700; color: var(--navy); }
.combo-price .combo-total dd { color: #14833a; font-size: 22px; }
.section .combo-price .combo-note { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.combo-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.combo-link { color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .combo { padding: 24px 18px 22px; } .combo h3 { font-size: 19px; } .combo-actions .button { white-space: normal; text-align: center; } }

.section--navy .notice-box { margin: 24px 0 28px; }
.section--navy .notice-box a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.section--navy .notice-box p { color: var(--ink); }
.section--navy .notice-box strong { color: var(--navy); }
.section--navy .narrow .notice-box p strong { color: var(--navy); }

/* 個別説明会セクション（2026-10-18） */
.setsu-talk { margin: 22px 0; padding: 20px 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.06); }
.setsu-talk h3 { margin: 0 0 10px; color: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 700; }
.setsu-talk ul { margin: 0; padding-left: 1.3em; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.95; }
.setsu-host { display: flex; gap: 18px; align-items: center; margin: 22px 0 6px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.08); }
.setsu-host img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; object-position: top; border-radius: 50%; background: #fff; }
.setsu-host p { margin: 0; }
.setsu-host .setsu-host-lead { color: var(--white); font-weight: 700; font-size: 15px; line-height: 1.7; }
.setsu-host .setsu-host-bio { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.85; }
@media (max-width: 720px) { .setsu-host { align-items: flex-start; padding: 14px 16px; } .setsu-host img { flex-basis: 56px; width: 56px; height: 56px; } }

/* 第2段（2026-10-19）事実の帯・決まっていること・3段の料金表・自習室 */
.fact-band { display: grid; gap: 6px; max-width: 640px; margin: 22px 0 0; padding: 14px 18px; list-style: none; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(45,69,93,.08); }
.fact-band li { position: relative; padding-left: 1.2em; color: var(--navy); font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.fact-band li::before { content: ""; position: absolute; top: .72em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.open-note { margin: 12px 0 0 !important; color: var(--navy); font-size: 14px !important; font-weight: 700; }
.decided-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 22px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #f7fafc; }
.decided-box h4 { margin: 0 0 8px; color: var(--navy); font-size: 14px; font-weight: 700; }
.decided-box ul { margin: 0 !important; }
.decided-box li { font-size: 13.5px !important; line-height: 1.85 !important; }
.decided-box > p { grid-column: 1 / -1; margin: 4px 0 0 !important; color: var(--muted); font-size: 13px !important; line-height: 1.8 !important; }
.tier-lead { margin: 30px 0 10px !important; color: var(--navy); font-size: 14.5px !important; font-weight: 700; }
.tier-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.tier-table th, .tier-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tier-table tr:last-child th, .tier-table tr:last-child td { border-bottom: 0; }
.tier-table th { color: var(--navy); font-weight: 700; }
.tier-table th span { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 11px; vertical-align: 1px; }
.tier-table td.num { color: var(--navy); font-weight: 700; white-space: nowrap; }
.tier-table td:last-child { color: var(--muted); font-size: 13px; }
.tier-table .is-reco { background: var(--mint); }
.tier-note { margin: 8px 0 0 !important; color: var(--muted); font-size: 12px !important; line-height: 1.8 !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.combo-total dt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }
#jishu .text-arrow { color: var(--green-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 720px) {
  .decided-box { grid-template-columns: 1fr; padding: 16px 16px; }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table th, .tier-table td { display: block; width: 100%; }
  .tier-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tier-table tr:last-child { border-bottom: 0; }
  .tier-table th, .tier-table td { padding: 2px 0; border: 0; }
  .fact-band li { font-size: 13.5px; }
}
