/* 受験指導 泉巌会 */

:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #5c626d;
  --line: #e5e2dc;
  --accent: #b3262d;        /* 朱 */
  --accent-dark: #8f1d23;
  --accent-soft: #fbeeed;
  --dark: #14161a;
  --dark-2: #1e2127;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Outfit", "Noto Sans JP", sans-serif;
  --header-h: 68px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 28, 0.04), 0 8px 24px rgba(20, 22, 28, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: 0.03em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.sp { display: none; }
.pc { display: inline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; letter-spacing: 0.04em;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(179, 38, 45, 0.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); font-family: var(--latin); font-size: 1.08rem; }
.btn-light:hover { color: var(--accent); }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 242, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.9); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--serif); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.14em;
}
.brand-text small { font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.site-nav a:hover { background: rgba(20, 22, 28, 0.05); }
.site-nav .nav-cta { margin-left: 10px; background: var(--ink); color: #fff; padding: 9px 20px; font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav-toggle .bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -220px;
  background: radial-gradient(circle, rgba(179, 38, 45, 0.10), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center;
}
.hero-place {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  font-size: 0.85rem; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.hero-place .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.22; letter-spacing: 0.02em;
}
.hero-lead { margin: 0 0 32px; font-size: 1.05rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 40px 40px 34px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.hero-card::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 16px; pointer-events: none;
}
.hero-emblem { width: 72%; max-width: 300px; }
.hero-logo { width: 74%; max-width: 300px; }

.hero-points {
  position: relative;
  max-width: 1120px; margin: 56px auto 0; padding: 0 32px; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-points li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 2px;
}
.pt-num { font-size: 1.05rem; font-weight: 700; }
.pt-num b { font-family: var(--latin); font-size: 2rem; color: var(--accent); margin: 0 2px; line-height: 1.2; }
.pt-num b:only-child, .pt-num b:first-child { margin-left: 0; }
.pt-label { font-size: 0.88rem; color: var(--muted); }

/* ---------- セクション共通 ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); color: #eceae6; }

.section-head { margin-bottom: 56px; max-width: 760px; }
.eyebrow {
  margin: 0 0 10px; font-family: var(--latin); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; }
.section-desc { margin: 18px 0 0; color: var(--muted); }
.section-dark .section-desc { color: #a9adb5; }
.section-dark .eyebrow { color: #f07a7f; }

.eyebrow-sm { margin: 0 0 6px; font-size: 0.85rem; font-weight: 700; color: var(--accent); }

.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose-lead { font-size: 1.6rem; font-weight: 900; line-height: 1.5; }

/* ---------- 強み ---------- */
.strength-grid {
  list-style: none; margin: 0; padding: 0; counter-reset: str;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.strength { grid-column: span 2; }
.strength:nth-child(5), .strength:nth-child(6) { grid-column: span 3; }
.strength {
  counter-increment: str; position: relative;
  background: var(--bg); border-radius: var(--radius-lg); padding: 30px 28px 28px;
}
.strength::before {
  content: counter(str, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-family: var(--latin); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; color: var(--accent);
}
.strength h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 900; }
.strength p { margin: 0; font-size: 0.93rem; color: var(--muted); line-height: 1.85; }
.strength strong { color: var(--ink); }
.strength-wide {
  grid-column: 1 / -1; background: var(--dark); color: #eceae6; padding: 36px 40px;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 8px 40px; align-items: start;
}
.strength-wide::before { grid-column: 1 / -1; color: #f07a7f; margin-bottom: 4px; }
.strength-wide h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.strength-wide p { color: #b5b9c0; font-size: 0.98rem; }
.strength-wide strong { color: #fff; }

/* ---------- 泉巌会とは ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.stat-card {
  background: var(--dark); color: #eceae6; border-radius: var(--radius-lg); padding: 36px 34px;
}
.stat-eyebrow { margin: 0; font-size: 0.85rem; font-weight: 700; color: #f07a7f; letter-spacing: 0.08em; }
.stat-num { margin: 4px 0 0; font-family: var(--latin); font-weight: 700; font-size: 6.5rem; line-height: 1; color: #fff; }
.stat-num span { font-size: 2.8rem; margin-left: 4px; color: #f07a7f; }
.stat-caption { margin: 10px 0 18px; font-weight: 700; line-height: 1.6; }
.stat-text { margin: 0; font-size: 0.92rem; color: #b5b9c0; line-height: 1.85; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }

.column-link {
  margin-top: 48px;
  display: flex; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.column-link:hover { color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.column-tag {
  flex: none; font-size: 0.78rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 12px;
}
.column-body { flex: 1; display: flex; flex-direction: column; }
.column-title { font-weight: 700; font-size: 1.05rem; }
.column-desc { font-size: 0.88rem; color: var(--muted); }
.column-arrow { flex: none; font-size: 1.3rem; transition: transform .2s; }
.column-link:hover .column-arrow { transform: translateX(4px); }

/* ---------- 指導方針 ---------- */
.policy-hero {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 28px; margin: 64px 0 40px; max-width: 880px;
}
.policy-hero h3 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 900; }
.policy-hero p { margin: 0; color: var(--muted); }

.cycle-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center;
  background: var(--surface); border-radius: var(--radius-lg); padding: 36px 40px; margin-bottom: 24px;
}
.cycle-text h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; }
.cycle-text p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cycle {
  list-style: none; margin: 0; padding: 0; counter-reset: cyc;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
}
.cycle li {
  counter-increment: cyc; position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 8px; font-weight: 700; font-size: 0.92rem; margin-right: 28px;
}
.cycle li::before {
  content: counter(cyc); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-family: var(--latin); font-size: 0.8rem;
}
.cycle li::after {
  content: "→"; position: absolute; right: -24px; width: 20px; text-align: center; color: var(--accent);
}
.cycle li:last-child::after { content: "↻"; }

.feature-grid {
  list-style: none; margin: 0; padding: 0; counter-reset: feat;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-grid li {
  counter-increment: feat;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.feature-grid li:hover { border-color: #cfcac2; transform: translateY(-2px); }
.feature-grid li::before {
  content: counter(feat, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  font-family: var(--latin); font-weight: 700; font-size: 0.95rem; color: var(--accent); letter-spacing: 0.08em;
}
.feature-grid h4 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.feature-grid p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* ---------- コース ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.course-card { display: flex; flex-direction: column; }
.course-target { margin: 0 0 2px; font-size: 0.82rem; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.course-note strong { color: var(--ink); }

.nanzan-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: center;
  background: var(--accent-soft); border: 1px solid #f2d3d1; border-radius: var(--radius-lg);
  padding: 34px 36px; margin-bottom: 72px;
}
.nanzan-head h3 { margin: 0 0 10px; font-size: 1.45rem; font-weight: 900; }
.nanzan-head p:last-child { margin: 0; font-size: 0.93rem; color: var(--muted); }
.nanzan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nanzan-list li {
  background: #fff; border-radius: var(--radius); padding: 14px 18px;
  display: flex; flex-direction: column;
}
.nanzan-list b { font-size: 0.98rem; }
.nanzan-list span { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }
.course-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow);
}
.course-label { margin: 0 0 16px; font-size: 1.35rem; font-weight: 900; }
.course-card .course-note { margin-top: auto; padding-top: 18px; }
.course-label small { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-left: 6px; }
.course-note { margin: 18px 0 0; font-size: 0.92rem; color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 0.95rem; font-weight: 700; padding: 6px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
}
.chips-dark li { background: rgba(255,255,255,.07); color: #eceae6; font-weight: 500; border: 1px solid rgba(255,255,255,.1); }

.subject-block {
  background: var(--surface); border-radius: var(--radius-lg); padding: 44px; margin-bottom: 20px;
}
.section-alt .subject-block { background: var(--bg); }
.section-alt .process li { background: var(--surface); }
.section-alt .method { background: var(--surface); }
.section-alt .course-card { border: 1px solid var(--line); box-shadow: none; }
.subject-intro { max-width: 820px; }
.subject-intro h3 { margin: 0 0 14px; font-size: 1.7rem; font-weight: 900; }
.subject-intro p { margin: 0; color: var(--muted); }

.process {
  list-style: none; margin: 36px 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.process li { position: relative; background: var(--bg); border-radius: var(--radius); padding: 22px 24px; }
.process li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; z-index: 1;
  width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.process-step { font-family: var(--latin); font-weight: 700; font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.process h4 { margin: 4px 0 6px; font-size: 1.1rem; font-weight: 900; }
.process p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.method { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.method h4 { margin: 0 0 14px; font-size: 1.08rem; font-weight: 900; }
.method dl { margin: 0; }
.method dt { font-weight: 700; font-size: 0.95rem; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.method dt:first-child { margin-top: 0; }
.method dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.method dd { margin: 2px 0 0 14px; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* ---------- 合格実績 ---------- */
.results { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.results-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.results-row h3 { margin: 4px 0 0; font-size: 1.15rem; font-weight: 900; color: #fff; }
.results-groups { display: grid; gap: 18px; }
.results-sub { margin: 0 0 8px; font-size: 0.8rem; font-weight: 700; color: #f07a7f; letter-spacing: 0.08em; }
.results-foot { margin: 32px 0 0; color: #a9adb5; font-size: 0.95rem; }

/* ---------- 料金 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card.price-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 24px; align-items: start; }
.price-card-wide .price-top { margin-bottom: 0; min-height: 0; }
.price-card-wide .price-meta { grid-column: 1; grid-row: 2; margin: 0; padding-top: 8px; align-self: end; }
.price-groups { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-groups .price-group + .price-group { margin-top: 0; }
.price-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 26px 24px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.price-letter {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-family: var(--latin); font-weight: 700; font-size: 1.3rem;
}
.price-target { margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--muted); line-height: 1.5; }
.price-subject { margin: 0; font-weight: 900; font-size: 1.02rem; line-height: 1.5; }
.price-rows { margin: 0; display: grid; gap: 10px; }
.price-rows > div { flex-wrap: wrap;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg);
}
.price-rows > div:last-child { background: transparent; border: 1px dashed var(--line); }
.price-rows dt { font-size: 0.8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.price-rows dd { margin: 0; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.price-rows dd b { font-family: var(--latin); font-size: 1.5rem; font-weight: 700; margin-right: 1px; }
.price-rows dd small { color: var(--muted); font-weight: 500; margin-left: 1px; }
.price-rows dd { text-align: right; line-height: 1.35; }
.price-rows .unit { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.price-group + .price-group { margin-top: 16px; }
.price-group-label { margin: 0 0 8px; font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.price-group-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.price-meta { margin: auto 0 0; padding-top: 16px; font-size: 0.82rem; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.info-card h3 { margin: 0 0 16px; font-size: 1.08rem; font-weight: 900; }
.kv { margin: 0; display: grid; gap: 12px; }
.kv > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.kv dd small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.note { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }

.fine-print { margin: 28px 0 0; padding-left: 1.2em; font-size: 0.88rem; color: var(--muted); line-height: 2; }

/* ---------- 入会の流れ ---------- */
.flow { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow li { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--bg); }
.flow-num { font-family: var(--latin); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.flow h3 { margin: 14px 0 6px; font-size: 1.08rem; font-weight: 900; }
.flow p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

.calendar-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 20px;
}
.calendar-head { margin-bottom: 20px; }
.calendar-head h3 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 900; }
.calendar-head p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.calendar-frame { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.calendar-frame iframe { display: block; width: 100%; border: 0; }
.calendar-month iframe { height: 600px; }
.calendar-agenda { display: none; }
.calendar-agenda iframe { height: 460px; }

.contact-panel {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #7d1a20 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px 48px;
}
.contact-panel h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 900; }
.contact-panel p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,.82); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.contact-actions .btn { min-height: 58px; font-family: var(--sans); font-size: 1rem; }
.contact-note { margin: 0; text-align: center; font-size: 0.8rem !important; }

/* ---------- よくある質問 ---------- */
.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; font-family: var(--latin); color: var(--accent); margin-right: 12px; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { margin: 0; padding: 0 24px 22px 50px; color: var(--muted); font-size: 0.95rem; line-height: 1.9; }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: stretch; }
.access-list { margin: 0; background: var(--surface); border-radius: var(--radius-lg); padding: 12px 32px; box-shadow: var(--shadow); }
.access-list > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.access-list > div:last-child { border-bottom: 0; }
.access-list dt { font-size: 0.88rem; font-weight: 700; color: var(--muted); padding-top: 2px; }
.access-list dd { margin: 0; line-height: 1.85; }
.access-list dd small { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.map { min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- フッター ---------- */
.site-footer { background: var(--dark); color: #a9adb5; padding: 64px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { width: 150px; filter: invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-brand p { margin: 0; font-size: 0.85rem; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; align-content: start; }
.footer-nav a { color: #d6d8dc; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.copyright { max-width: 1120px; margin: 48px auto 0; padding: 24px 32px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.78rem; font-family: var(--latin); }

/* スマホ用のお問い合わせボタン */
.float-cta { display: none; }

/* ---------- コラムページ ---------- */
.column-page { padding: 56px 0 112px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 40px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.column-heading { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.column-intro { margin: 0 0 48px; font-size: 1.1rem; color: var(--muted); }

.poem-figure {
  margin: 0 0 56px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 56px 24px; display: flex; justify-content: center;
}
.poem {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 700; font-size: 1.9rem; letter-spacing: 0.22em; line-height: 2.1;
  height: 14em;
  display: flex; flex-wrap: wrap; align-content: center; gap: 0 0.3em;
}
.poem p { margin: 0; }
.poem em { font-style: normal; color: var(--accent); }
.poem-title { color: var(--accent); font-size: 1.1rem; letter-spacing: 0.4em; margin-left: 0.6em !important; }
.poem-author { font-size: 1rem; align-self: flex-end; letter-spacing: 0.3em; margin-right: 0.6em !important; }

.column-section { margin-bottom: 48px; }
.column-section h2 {
  margin: 0 0 18px; font-size: 1.35rem; font-weight: 900;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.column-section p { margin: 0 0 1.1em; }
.back-link {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.92rem;
}
.back-link:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: 0 16px 40px rgba(20,22,28,.12);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 1rem; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card { flex-direction: row; justify-content: center; padding: 28px; gap: 24px; }
  .hero-emblem { width: 120px; }
  .hero-logo { width: 220px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .strength-grid { grid-template-columns: 1fr 1fr; }
  .strength, .strength:nth-child(5), .strength:nth-child(6) { grid-column: auto; }
  .strength-wide, .strength:last-child { grid-column: 1 / -1; }
  .strength-wide { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .nanzan-card { grid-template-columns: 1fr; gap: 20px; }
  .cycle-card { grid-template-columns: 1fr; gap: 20px; }
  .price-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .price-card.price-card-wide { grid-template-columns: 1fr; }
  .price-card-wide .price-top { margin-bottom: 20px; }
  .price-groups { grid-column: 1; grid-row: auto; }
  .price-card-wide .price-meta { grid-row: auto; padding-top: 16px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container, .hero-inner, .hero-points { padding-left: 16px; padding-right: 16px; }
  .header-inner { padding: 0 8px 0 16px; }
  .sp { display: inline; }
  .pc { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }

  .hero { padding: 24px 0 48px; }
  .hero-card { padding: 22px 18px; gap: 16px; }
  .hero-emblem { width: 84px; }
  .hero-logo { width: 170px; }
  .hero-title { font-size: 2.35rem; }
  .hero-lead { font-size: 0.98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .hero-points li { padding: 14px 18px; }
  .pt-num b { font-size: 1.6rem; }

  .prose-lead { font-size: 1.35rem; }
  .stat-card { padding: 28px 24px; }
  .stat-num { font-size: 5rem; }
  .column-link { flex-wrap: wrap; gap: 10px 14px; padding: 18px 20px; }
  .column-body { flex-basis: calc(100% - 40px); order: 2; }
  .column-arrow { order: 3; }

  .policy-hero { padding-left: 18px; }
  .policy-hero h3 { font-size: 1.25rem; }
  .cycle-card { padding: 26px 20px; }
  .cycle { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cycle li { margin-right: 0; }
  .cycle li::after { content: "↓"; right: auto; left: 10px; top: 100%; width: 20px; height: 22px; line-height: 22px; }
  .cycle li:last-child::after { content: "↻ 1へ戻る"; width: auto; white-space: nowrap; font-size: 0.8rem; font-weight: 500; }

  .course-grid, .method-grid, .info-grid { grid-template-columns: 1fr; }
  .strength-grid, .feature-grid { grid-template-columns: 1fr; }
  .strength { padding: 24px 22px; }
  .strength-wide { padding: 28px 22px; }
  .strength-wide h3 { font-size: 1.3rem; }
  .nanzan-card { padding: 26px 20px; margin-bottom: 48px; }
  .nanzan-head h3 { font-size: 1.25rem; }
  .course-grid { margin-bottom: 16px; }
  .course-card { padding: 26px 22px; }
  .subject-block { padding: 28px 20px; }
  .subject-intro h3 { font-size: 1.4rem; }
  .process { grid-template-columns: 1fr; gap: 22px; margin: 28px 0; }
  .process li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); }
  .method { padding: 22px 20px; }

  .results-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .price-grid { grid-template-columns: 1fr; }
  .price-groups { grid-template-columns: 1fr; }
  .price-groups .price-group + .price-group { margin-top: 0; }
  .info-card { padding: 24px 20px; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 20px; }
  .flow-num { grid-row: span 2; font-size: 1.8rem; }
  .flow h3 { margin: 0 0 2px; }
  .calendar-card { padding: 22px 16px; }
  .calendar-month { display: none; }
  .calendar-agenda { display: block; }
  .contact-panel { padding: 32px 22px; }
  .contact-panel h3 { font-size: 1.25rem; }
  .contact-actions { min-width: 0; }
  .access-list { padding: 4px 20px; }
  .faq-item summary { padding: 18px 48px 18px 18px; font-size: 0.95rem; }
  .faq-item p { padding: 0 18px 20px 18px; }
  .access-list > div { grid-template-columns: 1fr; gap: 2px; }
  .map, .map iframe { min-height: 300px; }
  .site-footer { padding-bottom: 100px; }
  .footer-nav { gap: 6px 28px; }

  .column-page { padding-top: 32px; }
  .breadcrumb { margin-bottom: 28px; }
  .poem-figure { padding: 40px 12px; }
  .poem { font-size: 1.45rem; }

  .float-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
    min-height: 54px; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: 0.06em;
    box-shadow: 0 10px 24px rgba(179, 38, 45, .35);
  }
  .float-cta:hover { color: #fff; }
  .float-cta svg { width: 18px; height: 18px; fill: currentColor; }
}
