/* ============================================================
   〇〇進学塾  Modern Editorial Demo  v2
   大型写真 × 大きなタイポ × たっぷり余白
   ============================================================ */

:root {
  --bg: #f7f8fb;          /* cool off-white base */
  --bg-soft: #eef2f8;     /* deeper soft blue-gray */
  --ink: #1d2433;         /* near-black navy */
  --ink-soft: #5d6679;    /* muted body text */
  --line: #e1e7f0;        /* hairline */
  --accent: #2f6df0;      /* fresh blue */
  --accent-deep: #1d51c4;
  --gold: #e7a534;        /* warm accent for stars/badges */
  --white: #ffffff;
  --radius: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --sans: "Zen Kaku Gothic New", system-ui, sans-serif;
  --en: "Outfit", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px clamp(20px, 5vw, 60px);
  display: flex; align-items: center;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 13px clamp(20px, 5vw, 60px);
  background: rgba(247, 248, 251, .9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.hdr-inner { width: 100%; display: flex; align-items: center; gap: 24px; }

/* default (over hero): light text */
.brand-jp, .hdr-nav a { color: #fff; }
.brand-en { color: rgba(255,255,255,.82); }
.burger span { background: #fff; }
/* scrolled: dark text */
.site-header.scrolled .brand-jp, .site-header.scrolled .hdr-nav a { color: var(--ink); }
.site-header.scrolled .brand-en { color: var(--accent); }
.site-header.scrolled .burger span { background: var(--ink); }

.brand { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.brand-jp { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .06em; transition: color .4s; }
.brand-en { font-family: var(--en); font-size: .68rem; letter-spacing: .3em; font-weight: 600; transition: color .4s; }

.hdr-nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.hdr-nav a {
  font-size: .86rem; position: relative; padding: 4px 0; letter-spacing: .04em;
  transition: color .3s;
}
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .35s var(--ease); border-radius: 2px;
}
.hdr-nav a:hover { color: var(--accent); }
.hdr-nav a:hover::after { width: 100%; }

.hdr-cta {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1;
  font-weight: 700; color: #fff; background: var(--accent);
  padding: 10px 24px; border-radius: 999px; letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(47,109,240,.32);
  transition: background .3s, transform .3s var(--ease);
}
.hdr-cta .en { font-family: var(--en); font-size: .6rem; letter-spacing: .2em; opacity: .85; }
.hdr-cta .ja { font-size: .82rem; }
.hdr-cta:hover { background: var(--accent-deep); transform: translateY(-2px); }

.burger { display: none; width: 34px; height: 26px; background: none; border: 0; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 3px; } .burger span:nth-child(2) { top: 12px; } .burger span:nth-child(3) { top: 21px; }
.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.drawer {
  position: fixed; top: 0; right: 0; width: min(82vw, 340px); height: 100vh; z-index: 99;
  background: var(--bg); padding: 110px 36px 40px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,.1);
}
.drawer.open { transform: translateX(0); }
.drawer a { font-family: var(--serif); font-size: 1.06rem; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer .drawer-cta { margin-top: 22px; border: 0; text-align: center; background: var(--accent); color: #fff; border-radius: 999px; padding: 16px; font-family: var(--sans); font-size: .95rem; font-weight: 700; }

/* ============================================================
   HERO — full-bleed cinematic
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,26,46,.32) 0%, rgba(18,26,46,0) 18%),
    linear-gradient(105deg, rgba(18,26,46,.7) 0%, rgba(18,26,46,.4) 46%, rgba(18,26,46,.12) 80%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 0 clamp(24px, 7vw, 110px); max-width: 940px; }
.hero-eyebrow {
  font-size: .82rem; letter-spacing: .24em; margin-bottom: 26px; opacity: .94;
  padding-left: 52px; position: relative; font-weight: 500;
}
.hero-eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; }
.hero-title {
  font-family: var(--serif); font-weight: 700; line-height: 1.28; letter-spacing: .02em;
  font-size: clamp(1.9rem, 8vw, 4.5rem);
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title em { font-style: normal; color: #ffd56b; }
.hero-lead {
  margin-top: 30px; font-size: clamp(.95rem, 1.5vw, 1.12rem); line-height: 2.1; font-weight: 400;
  text-shadow: 0 1px 16px rgba(0,0,0,.32);
}
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; padding: 17px 40px; border-radius: 999px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 12px 34px rgba(47,109,240,.38); transition: transform .35s var(--ease), box-shadow .35s, background .3s;
}
.btn-pill:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(47,109,240,.46); background: var(--accent-deep); }
.btn-line {
  display: inline-flex; align-items: center; padding: 17px 34px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.65); color: #fff; font-size: .92rem; font-weight: 500; letter-spacing: .04em;
  transition: background .3s, border-color .3s;
}
.btn-line:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.scroll-cue { position: absolute; z-index: 2; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
.scroll-cue span { font-family: var(--en); font-size: .64rem; letter-spacing: .3em; font-weight: 600; }
.scroll-cue i { width: 2px; height: 46px; background: rgba(255,255,255,.45); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-cue i::after { content: ""; position: absolute; top: -46px; left: 0; width: 2px; height: 46px; background: #fff; animation: cueRun 2.2s var(--ease) infinite; }
@keyframes cueRun { 0% { top: -46px; } 60%,100% { top: 46px; } }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  text-align: center; padding: clamp(90px, 13vw, 180px) clamp(24px, 6vw, 60px);
  max-width: 840px; margin: 0 auto;
}
.st-en { font-family: var(--en); font-weight: 600; font-style: italic; font-size: 1.05rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 30px; }
.st-jp { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.9; letter-spacing: .04em; }
.st-jp em { font-style: normal; color: var(--accent); }
.st-desc { margin-top: 34px; color: var(--ink-soft); font-size: 1rem; line-height: 2.2; }

/* ===== Stats strip ===== */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(24px, 6vw, 60px) clamp(40px, 7vw, 90px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat { text-align: center; padding: 30px 14px; background: var(--white); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(40,60,110,.06); }
.stat-num { font-family: var(--en); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--accent); line-height: 1; letter-spacing: -.01em; }
.stat-num small { font-size: .9rem; font-weight: 600; margin-left: 2px; }
.stat-label { display: block; margin-top: 12px; font-size: .86rem; color: var(--ink-soft); }
.stats-note { max-width: var(--maxw); margin: -40px auto 0; padding: 0 clamp(24px, 6vw, 60px) clamp(30px, 5vw, 50px); font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* ============================================================
   SECTION shell + vertical heading edge
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) clamp(24px, 6vw, 90px); position: relative; }
.sec-edge { position: relative; max-width: var(--maxw); margin: 0 auto clamp(48px, 6vw, 80px); }
.v-head {
  position: absolute; top: -10px; right: -2px;
  font-family: var(--en); font-size: clamp(3.2rem, 8vw, 6.5rem); font-weight: 700;
  color: rgba(47,109,240,.07); letter-spacing: -.01em; line-height: 1; pointer-events: none; user-select: none;
  white-space: nowrap;
}
.sec-head { position: relative; }
.sec-en { display: block; font-family: var(--en); font-size: .95rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.sec-jp { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.5; letter-spacing: .03em; }
.sec-lead { margin-top: 20px; color: var(--ink-soft); font-size: 1rem; line-height: 2; max-width: 640px; }

/* ===== 塾長メッセージ ===== */
.message { background: var(--bg-soft); }
.message-wrap { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.message-photo { position: relative; }
.message-photo img { width: 100%; border-radius: 240px 240px 20px 20px; object-fit: cover; box-shadow: 0 30px 70px rgba(40,60,110,.16); }
.message-cert { position: absolute; bottom: 26px; right: -10px; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .04em; padding: 12px 22px; border-radius: 999px; box-shadow: 0 12px 30px rgba(47,109,240,.3); }
.message-info .sec-en { margin-bottom: 14px; }
.message-catch { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.55; letter-spacing: .03em; margin-bottom: 24px; }
.message-catch em { font-style: normal; color: var(--accent); }
.message-msg { color: var(--ink-soft); line-height: 2.2; margin-bottom: 18px; font-size: 1rem; }
.message-name { margin: 30px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.message-name small { font-size: .8rem; color: var(--ink-soft); font-weight: 400; margin-left: 10px; }
.message-career { margin-top: 18px; border-top: 1px solid var(--line); }
.message-career li { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.message-career li span { font-family: var(--en); color: var(--accent); width: 64px; flex-shrink: 0; font-weight: 600; }

/* ===== お悩み ===== */
.concern-list { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.concern { display: flex; gap: 24px; padding: 38px 30px; border-bottom: 1px solid var(--line); transition: background .4s; }
.concern:nth-child(odd) { border-right: 1px solid var(--line); }
.concern:hover { background: var(--bg-soft); }
.c-no { font-family: var(--en); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; flex-shrink: 0; opacity: .85; }
.concern h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; line-height: 1.6; }
.concern p { color: var(--ink-soft); font-size: .92rem; line-height: 1.9; }
.concern-bridge { max-width: var(--maxw); margin: 40px auto 0; text-align: center; font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 500; line-height: 1.9; }
.concern-bridge strong { color: var(--accent); }

/* ===== コース — asymmetric photo blocks ===== */
.courses { background: var(--bg-soft); }
.course-block {
  max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.course-block.reverse { grid-template-columns: .85fr 1.15fr; }
.course-block.reverse .cb-img { order: 2; }
.course-block.reverse .cb-text { order: 1; }
.cb-img { position: relative; }
.cb-img img {
  width: 100%; aspect-ratio: 4/3.1; object-fit: cover; border-radius: 18px 18px 220px 18px;
  box-shadow: 0 30px 70px rgba(40,60,110,.16);
}
.course-block.reverse .cb-img img { border-radius: 18px 18px 18px 220px; }
.cb-no {
  position: absolute; top: -28px; left: -14px; font-family: var(--en); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700; color: var(--accent); opacity: .24; line-height: 1;
}
.cb-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--gold); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.cb-text h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; margin-bottom: 8px; }
.cb-sub { color: var(--accent); font-weight: 500; font-size: .98rem; margin-bottom: 20px; }
.cb-feats { display: grid; gap: 10px; margin-bottom: 22px; }
.cb-feats li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: .96rem; line-height: 1.8; }
.cb-feats li::before { content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 16px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cb-price { font-family: var(--serif); font-weight: 700; color: var(--accent-deep); }
.cb-price small { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-soft); margin-bottom: 2px; }
.cb-price strong { font-size: 1.9rem; }
.cb-price span { font-size: .9rem; font-weight: 400; }

/* ===== 選ばれる理由 ===== */
.reasons-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; box-shadow: 0 16px 44px rgba(40,60,110,.07); transition: transform .4s var(--ease), box-shadow .4s; }
.reason-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(40,60,110,.12); }
.reason-num { display: inline-block; font-family: var(--en); font-weight: 700; font-size: 2.2rem; color: var(--accent); opacity: .85; line-height: 1; margin-bottom: 16px; }
.reason-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; line-height: 1.6; margin-bottom: 12px; }
.reason-card p { color: var(--ink-soft); font-size: .94rem; line-height: 2; }

/* ===== 合格実績 ===== */
.results { background: var(--ink); color: rgba(255,255,255,.92); }
.results .sec-en { color: #ffd56b; }
.results .sec-jp { color: #fff; }
.results .v-head { color: rgba(255,255,255,.05); }
.results-hl { max-width: var(--maxw); margin: 0 auto clamp(40px,5vw,64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hl-card { text-align: center; padding: 36px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.hl-num { font-family: var(--en); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: #ffd56b; line-height: 1; }
.hl-num small { font-size: 1rem; font-weight: 600; }
.hl-label { display: block; margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,.72); }
.results-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.result-card { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; background: rgba(255,255,255,.05); border-radius: 14px; transition: background .35s; }
.result-card:hover { background: rgba(255,255,255,.1); }
.result-school { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; color: #fff; }
.result-count { font-family: var(--en); font-weight: 700; font-size: 1.5rem; color: #ffd56b; }
.result-count small { font-size: .8rem; font-weight: 600; margin-left: 2px; }
.results-note { max-width: var(--maxw); margin: 26px auto 0; font-size: .8rem; color: rgba(255,255,255,.55); }

/* ===== 料金 ===== */
.price-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-card { background: var(--white); border-radius: var(--radius); padding: 38px 34px; box-shadow: 0 16px 44px rgba(40,60,110,.07); }
.price-head { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; padding-bottom: 18px; border-bottom: 2px solid var(--accent); margin-bottom: 8px; }
.price-head small { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.price-list dt, .price-list dd { font-size: .95rem; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list dt { color: var(--ink-soft); }
.price-list dd { font-family: var(--serif); font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.price-notice { max-width: 960px; margin: 28px auto 0; font-size: .82rem; color: var(--ink-soft); line-height: 2; }

/* ===== 保護者の声 ===== */
.voice-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.v-card { background: var(--white); border-radius: var(--radius); padding: 38px 30px; box-shadow: 0 16px 44px rgba(40,60,110,.07); display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s; }
.v-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(40,60,110,.12); }
.v-stars { color: var(--gold); letter-spacing: .14em; font-size: 1.05rem; }
.v-card blockquote { font-family: var(--serif); font-size: 1.02rem; line-height: 2; color: var(--ink); }
.v-card figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.v-card .who { font-weight: 700; }
.v-card .meta { font-size: .82rem; color: var(--ink-soft); }

/* ===== 年間スケジュール ===== */
.schedule { background: var(--bg-soft); }
.schedule-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sch-card { background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: 0 14px 40px rgba(40,60,110,.06); }
.sch-season { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--accent-deep); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sch-season small { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-soft); margin-top: 5px; }
.sch-card ul { display: grid; gap: 9px; }
.sch-card li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .92rem; line-height: 1.8; }
.sch-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* ===== FAQ ===== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; padding: 26px 50px 26px 0; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.faq-item summary::before { transform: translateY(-50%); }
.faq-item summary::after  { transform: translateY(-50%) rotate(90deg); }
.faq-item.is-open summary::after { transform: translateY(-50%) rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::before, .faq-item summary::after { transition: none; }
}
.faq-item .faq-a { height: 0; overflow: hidden; transition: height .45s cubic-bezier(.4,0,.2,1); }
.faq-item p { color: var(--ink-soft); line-height: 2.1; padding: 0 40px 28px 0; font-size: .96rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item .faq-a { transition: none; } }

/* ===== アクセス ===== */
.access-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); }
.info-list { border-top: 1px solid var(--line); }
.info-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.info-list .lb { font-family: var(--serif); font-weight: 700; color: var(--accent); width: 72px; flex-shrink: 0; }
.access-map .map-ph { width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); background: var(--bg-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink-soft); }
.access-map .map-ph svg { width: 46px; height: 46px; fill: var(--accent); opacity: .55; }
.access-map .map-ph span { font-size: .88rem; }
.access-map .map-ph small { font-size: .78rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; padding: clamp(90px, 13vw, 160px) clamp(24px, 6vw, 60px); overflow: hidden; text-align: center; color: #fff; }
.cta-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, var(--accent-deep), var(--accent) 60%, #5a8cf5); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 50%); }
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.sec-en.light { color: rgba(255,255,255,.85); }
.cta h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.6; margin: 16px 0 22px; letter-spacing: .04em; }
.cta-lead { color: rgba(255,255,255,.92); line-height: 2; margin-bottom: 44px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta .btn-pill { background: #fff; color: var(--accent-deep); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.cta .btn-pill:hover { background: #fff; transform: translateY(-3px); }
.cta-tel { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.cta-tel .lb { font-size: .8rem; letter-spacing: .08em; opacity: .85; }
.cta-tel .nm { font-family: var(--en); font-weight: 700; font-size: 1.7rem; letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(56px, 8vw, 80px) clamp(24px, 6vw, 60px) 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 50px; }
.fb-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: .06em; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; line-height: 2; max-width: 360px; }
.footer-col h4 { font-family: var(--en); font-weight: 600; font-size: .78rem; letter-spacing: .18em; color: #ffd56b; margin-bottom: 18px; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a { font-size: .9rem; transition: color .3s; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { font-size: .88rem; line-height: 1.9; margin-bottom: 10px; }
.footer-tel { font-family: var(--en); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 18px; }
.footer-contact .btn-pill { font-size: .85rem; padding: 13px 26px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.5); }

/* ============================================================
   FLOAT CTA
   ============================================================ */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff; padding: 15px 26px; border-radius: 999px;
  font-size: .92rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 14px 34px rgba(47,109,240,.42);
  opacity: 0; transform: translateY(20px) scale(.95); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--accent-deep); }
.float-cta svg { width: 19px; height: 19px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .course-block, .course-block.reverse { grid-template-columns: 1fr; gap: 28px; }
  .course-block.reverse .cb-img { order: 0; }
  .course-block.reverse .cb-text { order: 0; }
  .cb-img img, .course-block.reverse .cb-img img { aspect-ratio: 16/10; border-radius: 16px 16px 120px 16px; }
  .message-wrap { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .reasons-grid { grid-template-columns: 1fr; max-width: 520px; }
  .voice-grid { grid-template-columns: 1fr; max-width: 560px; }
  .schedule-grid { grid-template-columns: 1fr; max-width: 520px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .access-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hdr-nav, .hdr-cta { display: none; }
  .burger { display: block; }
  .concern-list { grid-template-columns: 1fr; }
  .concern:nth-child(odd) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .results-hl { grid-template-columns: 1fr; }
  .footer-inner { gap: 30px; }
}

@media (max-width: 480px) {
  body { line-height: 1.85; }
  .hero { min-height: 560px; }
  .hero-content { padding: 0 22px; }
  .hero-eyebrow { padding-left: 0; }
  .hero-eyebrow::before { display: none; }
  /* ヒーロー見出し：各行が375px幅でも1行に綺麗に収まるよう vw 連動でサイズを抑える */
  .hero-title { font-size: clamp(1.5rem, 7.4vw, 2.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-pill, .btn-line { width: 100%; }
  .section { padding-left: 20px; padding-right: 20px; }
  .v-head { font-size: 2.6rem; top: -4px; }
  .concern { padding: 26px 6px; gap: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 10px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .price-card { padding: 30px 22px; }
  .message-cert { right: 0; }
  .float-cta { right: 14px; bottom: 14px; padding: 13px 20px; font-size: .85rem; }
  .footer-inner { flex-direction: column; }
}
