@charset "utf-8";

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  padding-bottom: 72px;
}
/* 固定バー（.sticky-bar）に隠れないための下余白。バー側と同じsafe-area分を必ず足す */
@media (max-width: 768px) { body { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===========================
   VARIABLES
=========================== */
:root {
  --primary:       #004176;
  --primary-dark:  #003060;
  --primary-mid:   #5f81ba;
  --primary-light: #708cb2;
  --accent:        #861c3c;
  --accent-light:  #c26080;
  --purple:        #583264;
  --grad-blue:     linear-gradient(90deg, #708cb2, #004176);
  --grad-deep:     linear-gradient(135deg, #004176 0%, #583264 100%);
  --grad-accent:   linear-gradient(135deg, #861c3c 0%, #b94060 100%);
  --white:         #ffffff;
  --off-white:     #f7f7f7;
  --gray-bg:       #eee6e9;
  --gray-text:     #666;
  --shadow-card:   4px 4px 3px 0px rgba(0,0,0,0.4);
  --shadow-soft:   0 8px 32px rgba(0,65,118,0.14);
  --radius-lg:     80px 80px 0 0;
  --radius-card:   10px;
  --radius-pill:   100vmax;
}

/* ===========================
   STICKY HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: linear-gradient(90deg, #708cb2, #004176);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
/* ロゴはブランドマニュアルの和欧シグネチュア（白1色版）画像を使用。
   文字組み・字間はロゴデータ側で確定しているため、CSSで再現・改変しないこと */
.header-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}
.header-logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .header-logo .logo-img { height: 26px; }
}
@media (max-width: 380px) {
  .header-logo .logo-img { height: 23px; }
}
/* 設計意図: ヘッダーCTAはページ内#applyへスクロール。
   最終CTAから外部フォームへ遷移する2段設計 */
.header-cta {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.25s;
}
.header-cta:hover { background: rgba(255,255,255,0.3); }

/* ===========================
   HERO  (HP準拠: 斜め写真 + テキスト)
=========================== */
.hero {
  margin-top: 64px;
  min-height: 560px;
  background: linear-gradient(90deg, #708cb2, #004176);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* 右側：斜め写真エリア（HP準拠 clip-path） */
.hero-photo-area {
  position: absolute;
  right: 0; top: 0;
  width: 52%;
  height: 100%;
}
.hero-photo-inner {
  width: 100%; height: 100%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  position: relative;
}
.hero-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* 左側：テキスト */
.hero-content {
  position: relative;
  z-index: 2;
  /* 左寄せは維持しつつ、狭い画面では左余白を緩やかに増やす（最大100px） */
  padding: 56px 48px;
  padding-left: clamp(48px, 5vw, 100px);
  max-width: min(55%, 720px);
}
@media (max-width: 768px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-photo-area { position: relative; width: 100%; height: 280px; }
  .hero-photo-inner { clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
  /* スマホは縦積みになるため中央寄せでバランスを取る */
  .hero-content { max-width: 100%; padding: 36px 20px; text-align: center; }
  .hero-dates, .hero-tags { justify-content: center; }
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 4.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  color: #f5d87a;
  border-bottom: 3px solid rgba(245,216,122,0.5);
  padding-bottom: 2px;
}
.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.8;
}
/* 日程バッジ */
.hero-dates {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.date-badge {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
}
.date-badge .db-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.date-badge .db-date {
  font-family: "Marcellus", serif;
  font-size: 28px;
  color: #f5d87a;
  line-height: 1;
}
.date-badge .db-day {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-tag {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.btn-cta {
  display: inline-block;
  background: var(--grad-accent);
  color: #fff;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(134,28,60,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(134,28,60,0.55);
}
.btn-cta .btn-note {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

/* ===========================
   SECTION COMMON
=========================== */
.section { padding: 80px 24px; }
.container { max-width: 980px; margin: 0 auto; }
.sec-en {
  font-family: "Marcellus", serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--primary-mid);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.sec-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.sec-title .ac { color: var(--accent); }
.divider-bar {
  width: 48px; height: 4px;
  background: var(--grad-accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

/* セクション遷移：HP準拠の丸みトップ */
.rounded-top {
  border-radius: var(--radius-lg); /* 80px 80px 0 0 */
}
/* 斜め区切りライン（上向き） */
.diagonal-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(4vw + 80px);
}
/* 斜め区切りライン（下向き） */
.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
  padding-bottom: calc(4vw + 80px);
  margin-bottom: -4vw;
}

/* ===========================
   MERIT SECTION
=========================== */
.merit-section {
  background: #f0f4f9;
}
.merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .merit-grid { grid-template-columns: 1fr; }
}
.merit-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}
.merit-card:hover { transform: translateY(-4px); }
/* カード上部：斜め写真帯（HP準拠） */
.merit-photo {
  height: 120px;
  position: relative;
  overflow: hidden;
}
.merit-photo .mphoto-inner {
  width: 100%; height: 140%;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  overflow: hidden;
}
.merit-photo .mphoto-inner .ph-sm {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.merit-photo .merit-num {
  position: absolute;
  bottom: -2px; left: 16px;
  font-family: "Marcellus", serif;
  font-size: 52px;
  color: var(--primary); /* KV（ネービー）の紺色 */
  line-height: 1;
  font-weight: 400;
}
/* 2枚目・4枚目は写真の背景が明るく番号が紛れやすいため、白＋影で視認性を確保 */
.merit-card:nth-child(2) .merit-num,
.merit-card:nth-child(4) .merit-num {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.merit-body {
  padding: 20px 20px 24px;
}
.merit-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.merit-body p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.75;
}
.merit-point {
  display: inline-block;
  margin-top: 10px;
  background: #f0f4f9;
  border-left: 3px solid var(--accent);
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 0 4px 4px 0;
}

/* ===========================
   OUTLINE SECTION
=========================== */
.outline-section {
  background: linear-gradient(90deg, #708cb2, #004176);
}
.outline-section .sec-en { color: rgba(255,255,255,0.6); }
.outline-section .sec-title { color: #fff; }
.outline-section .divider-bar { background: rgba(255,255,255,0.45); }

.outline-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .outline-wrap { grid-template-columns: 1fr; }
}
.outline-card {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.oc-head {
  background: rgba(255,255,255,0.15);
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.oc-body {
  padding: 20px;
}
.oc-table { width: 100%; border-collapse: collapse; }
.oc-table tr { border-bottom: 1px solid rgba(255,255,255,0.1); }
.oc-table tr:last-child { border-bottom: none; }
.oc-table th {
  text-align: left;
  padding: 9px 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  width: 38%;
  white-space: nowrap;
}
.oc-table td {
  padding: 9px 8px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.free-badge {
  display: inline-block;
  background: var(--grad-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}
/* 時間割 */
.timetable {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.tt-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.tt-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.tt-row:last-child { border-bottom: none; }
.tt-period {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 64px;
  text-align: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.tt-subj {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex: 1;
}
.tt-time {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
/* スマホ：tt-timeがnowrapで長いため.tt-subjが1文字幅まで圧縮され「解説授業」が縦積みに崩れていた。
   科目名を縮まないよう固定し、収まらない時間だけ次行へ落とす */
@media (max-width: 768px) {
  .tt-row { flex-wrap: wrap; row-gap: 2px; }
  .tt-subj { flex: 1 0 auto; white-space: nowrap; }
  .tt-time { margin-left: auto; white-space: normal; text-align: right; }
}
.answer-box {
  margin-top: 20px;
  background: rgba(255,255,255,0.12);
  border-left: 4px solid #f5d87a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.answer-box .ab-icon { font-size: 22px; flex-shrink: 0; }
.answer-box .ab-title { font-weight: 700; color: #f5d87a; font-size: 14px; margin-bottom: 4px; }
.answer-box .ab-text { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.7; }
/* 答案返却会ボックスの注記（*1 / *2）。合格実績側の .ab-note とは別物なので .answer-box でスコープ */
.answer-box .ab-footnotes {
  list-style: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.answer-box .ab-footnotes li {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  text-indent: -2.2em;
  padding-left: 2.2em;
}

/* ===========================
   6-YEAR PROGRAM SECTION（写真＋テキスト分割）
=========================== */
.program-section {
  background: #fff;
}
.program-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .program-split { grid-template-columns: 1fr; gap: 28px; }
}
/* 左側：斜め写真（HP準拠 clip-path） */
.program-photo {
  position: relative;
}
.program-photo-inner {
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 12px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
  box-shadow: var(--shadow-card);
  position: relative;
}
.program-photo-inner .ph-rect {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85);
}
/* 右上にアクセントボックス */
.program-photo-accent {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.program-photo-accent .ppa-num {
  font-family: "Marcellus", serif;
  font-size: 40px;
  color: #f5d87a;
  line-height: 1;
}
.program-photo-accent .ppa-label {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}
.program-vision {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.program-vision em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(transparent 60%, rgba(134,28,60,0.1) 60%);
}
.program-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 24px;
}

/* フェーズ3段 */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ddd;
  border-radius: var(--radius-card);
  overflow: hidden;
}
@media (max-width: 580px) {
  .phase-grid { grid-template-columns: 1fr; }
}
.phase-item {
  background: #fff;
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.phase-item::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--grad-blue);
  position: absolute;
  top: 0; left: 0; right: 0;
}
.phase-period {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--primary-mid);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.phase-name {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.phase-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.7;
}
.phase-badge {
  display: inline-block;
  margin-top: 10px;
  background: #f0f4f9;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

/* 4特色 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-item {
  background: #f0f4f9;
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
}
.feature-icon {
  width: 44px; height: 44px;
  background: #fff; /* 絵文字が沈まないよう明るい背景色 */
  border: 1px solid #dce4ee;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}
.feature-item h4 {
  font-size: 13px; font-weight: 700; color: var(--primary);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 11px; color: var(--gray-text); line-height: 1.6;
}

/* ===========================
   ASTEM SECTION（斜め写真 右）
=========================== */
.astem-section {
  background: #f0f4f9;
}
.astem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .astem-split { grid-template-columns: 1fr; }
}
.astem-logo-area {
  margin-bottom: 16px;
}
.astem-wordmark {
  font-family: "Marcellus", serif;
  font-size: 56px;
  font-weight: 400;
  background: var(--grad-deep);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.astem-tagline {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 20px;
}
.astem-tagline span { color: var(--accent); }
.astem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.astem-item {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.08);
}
.ai-icon {
  width: 36px; height: 36px;
  background: var(--grad-blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.ai-body h3 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.ai-body p { font-size: 12px; color: var(--gray-text); line-height: 1.6; }

/* 右側：斜め写真スタック（HP準拠） */
.astem-photos {
  position: relative;
  height: 420px;
}
@media (max-width: 768px) {
  /* スマホでは斜め写真スタック（2枚重ね）を隠すと非表示による空箱・余白が残らない */
  .astem-photos { display: none; }
}
.ap-main {
  position: absolute;
  top: 0; left: 0;
  width: 85%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.ap-main .ph-rect {
  width: 100%; height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}
.ap-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 3px solid #fff;
}
.ap-sub .ph-rect {
  width: 100%; height: 100%;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}

/* ===========================
   ACHIEVEMENTS SECTION
=========================== */
.achieve-section {
  background: linear-gradient(135deg, #004176 0%, #583264 100%);
}
.achieve-section .sec-en { color: rgba(255,255,255,0.55); }
.achieve-section .sec-title { color: #fff; }
.achieve-section .sec-title .ac { color: #f5d87a; }
.achieve-section .divider-bar { background: rgba(255,255,255,0.4); }

.achieve-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) {
  .achieve-split { grid-template-columns: 1fr; gap: 32px; }
}

/* 数字群 */
.achieve-nums {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 160px;
}
.an-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
}
.an-num {
  font-family: "Marcellus", serif;
  font-size: 48px;
  color: #f5d87a;
  line-height: 1;
}
.an-suf { font-size: 18px; color: #f5d87a; }
.an-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}
.an-note {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

/* 実績テーブル */
.achieve-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 580px) {
  .achieve-tables { grid-template-columns: 1fr; }
}
.achieve-block {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px;
}
.ab-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ab-list { list-style: none; }
.ab-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 13px;
}
.ab-list li:last-child { border-bottom: none; }
.ab-list .sn { color: #fff; }
.ab-list .sc {
  font-family: "Marcellus", serif;
  font-size: 22px;
  color: #f5d87a;
}
.ab-list .sc span { font-size: 12px; color: rgba(255,255,255,0.55); }
.ab-note { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.45); }

/* ===========================
   STUDENT VOICE
=========================== */
.voice-section {
  background: #fff;
}
.voice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .voice-cards { grid-template-columns: 1fr; }
}
.voice-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
/* 2026-07-31 学校指示で在校生写真を削除（.voice-photo / .vph は廃止）。
   写真の代わりにカード上端のブランドカラーバーで視覚的なアンカーを作る */
.voice-card::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--grad-deep);
}
.voice-body {
  padding: 28px 26px;
  background: #fff;
}
.voice-body .vb-grade {
  font-size: 12px;
  color: var(--primary-mid);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.voice-body .vb-quote {
  font-size: 15px;
  color: #333;
  line-height: 1.9;
  font-style: italic;
  position: relative;
  padding-left: 16px;
}
.voice-body .vb-quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -4px;
  font-family: "Marcellus", serif;
  font-size: 32px;
  color: var(--primary-light);
  line-height: 1;
}

/* ===========================
   FAQ SECTION
=========================== */
.faq-section {
  background: #f0f4f9;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.06);
}
/* 設計意図: FAQは静的表示（常時展開）。
   開閉アコーディオンが必要な場合はエンジニア側でJS実装を追加してください */
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
}
.q-label {
  width: 26px; height: 26px;
  background: var(--grad-blue);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.q-text {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  flex: 1; line-height: 1.5;
}
.faq-a {
  padding: 0 22px 18px 62px;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.85;
}
.faq-a strong { color: var(--primary); }

/* ===========================
   ACCESS SECTION
=========================== */
.access-section { background: #fff; }
.access-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 640px) {
  .access-split { grid-template-columns: 1fr; }
}
.access-card {
  background: #f0f4f9;
  border-radius: var(--radius-card);
  padding: 24px;
}
.access-card h3 {
  font-size: 16px; font-weight: 700; color: var(--primary);
  margin-bottom: 14px;
}
.access-address {
  font-size: 14px; color: #444; line-height: 1.9;
  border-bottom: 1px solid #dce6f0;
  padding-bottom: 14px; margin-bottom: 14px;
}
.access-routes { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.access-routes li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rl { display: inline-block; min-width: 48px; text-align: center; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.rl.keihan { background: #008b57; }
.rl.jr     { background: #e5560e; }
.rl.kintetsu { background: #7b3f9e; }
/* 右カラムの写真：左の本文カードで行の高さが決まるため、画像は絶対配置にして
   高さを継承。写真はカードの高さに合わせて cover で埋める（引き伸ばしは防ぐ） */
.access-photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.access-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* スマホ（縦積み時）は写真を非表示にし住所カードのみ表示 */
@media (max-width: 640px) {
  .access-photo { display: none; }
}
/* TODO for エンジニア: ここにGoogleマップ埋め込みコードを挿入
   <iframe src="https://www.google.com/maps/embed?pb=..." width="100%" height="100%">
   住所: 〒612-8026 京都市伏見区桃山町伊賀50 */
.access-map {
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, #d6e4f0 0%, #c8d8e8 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: var(--primary); font-size: 13px;
}
.access-map .map-label {
  text-align: center; line-height: 1.6;
}

/* ===========================
   FINAL CTA SECTION
=========================== */
.final-cta {
  background: var(--grad-accent);
  padding: 80px 24px;
  text-align: center;
}
.final-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 3.5vw, 32px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 32px;
}
.final-dates {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.final-dates span {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 18px 56px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.final-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #001e3c;
  padding: 32px 24px;
  text-align: center;
}
.footer-school {
  font-family: "Noto Serif JP", serif;
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.85); margin-bottom: 8px;
}
.footer-addr { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 12px; }

/* ===========================
   STICKY FOOTER BAR
=========================== */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(0, 30, 60, 0.97);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  gap: 12px;
  flex-wrap: wrap;
}
.sb-text { color: rgba(255,255,255,0.9); font-size: 13px; }
.sb-text strong { color: #f5d87a; }
.sb-btn {
  background: var(--grad-accent);
  color: #fff;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(134,28,60,0.45);
  transition: transform 0.2s;
  white-space: nowrap;
}
.sb-btn:hover { transform: translateY(-2px); }
/* スマホ：日程1行＋全幅ボタンの2段コンパクト固定バー（高さ約80px）。
   flex-wrapによる折り返しで122pxまで肥大していたのを是正し、
   申込ボタンを常に画面最下部で1タップ可能な状態にする */
@media (max-width: 768px) {
  .sticky-bar {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  /* 極小幅（〜340px）でも溢れないようviewport連動。360px以上なら1行に収まる */
  .sb-text {
    width: 100%;
    text-align: center;
    font-size: clamp(10.5px, 2.9vw, 12px);
    line-height: 1.4;
  }
  .sb-omit { display: none; }
  .sb-btn {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.35;
  }
}
