/* =========================================================
   SOPRA ACADEMY — Components
   ========================================================= */

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #1c1407; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--surface); }
.btn--ghost {
  background: transparent; color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--primary-l); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; background: var(--surface-2);
  background-image:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--primary) 9%, transparent) 0 2px,
      transparent 2px 11px);
  display: grid; place-content: center; text-align: center;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: .08em; color: var(--ink-mute);
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  padding: 6px 12px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: color-mix(in oklab, var(--bg) 92%, transparent); }
.header-inner {
  height: 74px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { height: 46px; width: auto; display: block; }
.brand-word { display: flex; align-items: baseline; gap: 12px; }
.brand .mark {
  font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 600; font-size: 23px; letter-spacing: .13em;
  color: var(--primary); white-space: nowrap;
}
.brand .mark b { color: var(--ink); font-weight: 600; letter-spacing: .13em; }
.brand .sub { font-size: 10px; letter-spacing: .26em; color: var(--ink-mute); font-weight: 700; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-soft); position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* ---- hamburger toggle (mobile only) ---- */
.menu-toggle {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle-bar {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- mobile drawer ---- */
.mobile-menu {
  position: fixed; left: 0; right: 0; top: 74px; z-index: 55;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px var(--gutter) 26px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-link {
  display: block; font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 15px 4px; border-bottom: 1px solid var(--line);
}
.mobile-menu-link:active { color: var(--primary); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero-kicker { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 68px); line-height: 1.32; letter-spacing: .01em;
}
.hero h1 .hl {
  position: relative; white-space: nowrap; color: var(--primary);
}
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .26em; z-index: -1;
  background: color-mix(in oklab, var(--accent) 42%, transparent); border-radius: 4px;
}
.hero-lead {
  margin-top: 26px; font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-soft);
  max-width: 46ch; line-height: 2.05;
}
.hero-actions { margin-top: 34px; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
.hero-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; }
@media (max-width: 480px) {
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding-left: 14px; padding-right: 14px; font-size: 14px; }
  .hero-actions .btn .arrow { display: none; }
}
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- hero 3-circle badges (overlay on key visual bottom) ---- */
.hero-circles {
  position: absolute; left: 0; right: 0; bottom: clamp(10px, 2.5vw, 20px); z-index: 3;
  display: flex; justify-content: center; gap: clamp(8px, 2vw, 16px); padding: 0 10px;
  pointer-events: none;
}
.hero-circle {
  width: clamp(78px, 21vw, 110px); aspect-ratio: 1; border-radius: 50%; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; color: var(--primary);
  background: var(--surface-2);
  box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--primary) 32%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--primary) 12%, transparent);
}
.hero-circle .hc-ico { display: inline-flex; }
.hero-circle .hc-ico svg { width: clamp(24px, 6vw, 30px); height: auto; display: block; }
.hero-circle .hc-txt { font-size: clamp(10px, 2.5vw, 12px); font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: .02em; }

.hero-media { position: relative; }
.hero-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; background: var(--surface); border-radius: var(--radius-m);
  box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-family: var(--font-accent); font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1; white-space: nowrap; }
.hero-badge .lbl { font-size: 12px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.hero-badge--tl { top: 22px; left: -26px; }
.hero-badge--br { top: 50%; right: -22px; transform: translateY(-50%); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-badge--tl { left: 8px; }
  .hero-badge--br { right: 8px; }
}
/* =========================================================
   HONTEN（ソプラ銀座本店紹介）
   ========================================================= */
.honten-grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.honten-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-l); box-shadow: var(--shadow-lg); display: block;
}
.honten-copy .section-title { text-align: left; margin-top: 14px; }
.honten-lead { margin-top: 18px; color: var(--ink-soft); line-height: 2; font-size: clamp(14px, 1.4vw, 16px); }
.honten-stats {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 30px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.honten-stats div { display: flex; flex-direction: column; gap: 2px; }
.honten-stats b { font-family: var(--font-accent); font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.honten-stats small { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
.honten-access {
  margin-top: 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.8;
}
.honten-access b { display: block; color: var(--ink); font-size: 14px; }

@media (max-width: 820px) {
  .honten-grid { grid-template-columns: 1fr; }
  .honten-media { max-width: 520px; margin-inline: auto; }
}

/* =========================================================
   QUIZ
   ========================================================= */
.quiz-section { position: relative; }
.quiz-shell {
  background: var(--surface); border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: grid; grid-template-columns: 340px 1fr;
}
.quiz-aside {
  background: linear-gradient(165deg, var(--primary), var(--primary-d));
  color: #fff; padding: clamp(28px, 4vw, 44px); position: relative;
}
.quiz-aside .en { color: color-mix(in oklab, var(--accent) 70%, #fff); font-size: 15px; }
.quiz-aside h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-top: 12px; line-height: 1.5; }
.quiz-aside p { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.95; }
.quiz-aside .clock {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.14); padding: 8px 15px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
}
.quiz-progress { margin-top: 30px; }
.quiz-progress .track { height: 6px; background: rgba(255,255,255,.2); border-radius: 99px; overflow: hidden; }
.quiz-progress .fill { height: 100%; width: 20%; background: var(--accent); border-radius: 99px; transition: width .4s var(--ease); }
.quiz-progress .meta { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.78); display: flex; justify-content: space-between; }

.quiz-main { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; min-height: 420px; }
.quiz-step { display: none; animation: fadeUp .45s var(--ease) both; }
.quiz-step.active { display: flex; flex-direction: column; flex: 1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz-qno { font-size: 13px; font-weight: 700; color: var(--accent-d); letter-spacing: .1em; }
.quiz-q { font-size: clamp(20px, 2.4vw, 26px); margin-top: 10px; line-height: 1.5; }
.quiz-options { margin-top: 26px; display: grid; gap: 12px; }
.quiz-opt {
  display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer;
  padding: 18px 20px; border-radius: var(--radius-m); background: var(--surface-2);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: all .2s var(--ease);
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.quiz-opt:hover { box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--primary-l); transform: translateX(4px); }
.quiz-opt .ico {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius-s); display: grid; place-content: center;
  background: var(--surface); box-shadow: var(--shadow-sm); font-size: 20px;
}
.quiz-opt .txt small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.quiz-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.quiz-back { background: none; border: none; cursor: pointer; color: var(--ink-mute); font-weight: 600; font-size: 14px; }
.quiz-back:hover { color: var(--ink); }
.quiz-back[disabled] { opacity: 0; pointer-events: none; }

/* result */
.quiz-result { display: none; animation: fadeUp .5s var(--ease) both; }
.quiz-result.active { display: block; }
.result-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.result-card .ph { aspect-ratio: 1; border-radius: var(--radius-m); }
.result-tag { font-size: 13px; font-weight: 700; color: var(--accent-d); letter-spacing: .08em; }
.result-name { font-size: clamp(22px, 2.8vw, 30px); margin-top: 6px; }
.result-desc { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }
.result-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; }
.result-meta div { font-size: 13px; }
.result-meta b { display: block; font-family: var(--font-accent); font-size: 18px; color: var(--primary); }
.result-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 800px) {
  .quiz-shell { grid-template-columns: 1fr; }
  .quiz-aside { display: flex; flex-direction: column; }
  .result-card { grid-template-columns: 1fr; }
}

/* =========================================================
   REASONS
   ========================================================= */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.reason {
  background: var(--surface); border-radius: var(--radius-l); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reason .rno { font-family: var(--font-accent); font-size: 14px; color: var(--accent-d); font-weight: 700; letter-spacing: .1em; }
.reason .ricon {
  width: 56px; height: 56px; border-radius: var(--radius-m); margin: 14px 0 18px;
  background: var(--primary-l); color: var(--primary); display: grid; place-content: center;
}
.reason h3 { font-size: 19px; line-height: 1.6; }
.reason p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.95; }
.reason .proof {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px;
}
.reason .proof b { color: var(--primary); font-family: var(--font-accent); font-size: 16px; }
@media (max-width: 880px) { .reasons-grid { grid-template-columns: 1fr; } }

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap-section { background: var(--surface-2); }
.roadmap { margin-top: 56px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.roadmap::before {
  content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); z-index: 0;
}
.rstep { position: relative; z-index: 1; text-align: center; }
.rstep .rbubble {
  width: 76px; height: 76px; margin: 0 auto; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-md); display: grid; place-content: center;
  font-family: var(--font-accent); font-size: 26px; font-weight: 700; color: var(--primary);
  border: 2px solid var(--primary-l); position: relative;
}
.rstep .rphase { margin-top: 18px; font-size: 12px; letter-spacing: .12em; color: var(--accent-d); font-weight: 700; }
.rstep h3 { font-size: 18px; margin-top: 6px; }
.rstep p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); padding-inline: 6px; }
.rstep .rdur { margin-top: 12px; display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink-mute); background: var(--surface); padding: 5px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
@media (max-width: 880px) {
  .roadmap { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .roadmap::before { display: none; }
}

/* =========================================================
   COURSES
   ========================================================= */
.courses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.course-card {
  background: var(--surface); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card .cc-photo { aspect-ratio: 16/9; }
.course-card .cc-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.cc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cc-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--radius-pill); }
.cc-tag.pop { background: var(--accent); color: #1c1407; }
.cc-tag.lvl { background: var(--primary-l); color: var(--primary-d); }
.course-card h3 { font-size: 22px; line-height: 1.45; }
.course-card .cc-for { margin-top: 8px; font-size: 13px; color: var(--accent-d); font-weight: 700; }
.course-card p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.cc-meta { margin-top: 18px; display: flex; gap: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cc-meta div { font-size: 12px; color: var(--ink-mute); }
.cc-meta b { display: block; font-family: var(--font-accent); font-size: 17px; color: var(--ink); margin-top: 2px; font-weight: 700; }
.cc-meta b small { font-size: 11px; color: var(--ink-mute); font-weight: 500; }
.cc-foot { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.cc-foot .price { margin-right: auto; }
.cc-foot .price .yen { font-family: var(--font-accent); font-size: 26px; font-weight: 700; color: var(--primary); }
.cc-foot .price small { font-size: 12px; color: var(--ink-mute); }
@media (max-width: 760px) { .courses-grid { grid-template-columns: 1fr; } }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.compare-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-md); }
.compare {
  width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0;
  background: var(--surface); font-size: 14px;
}
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-2); font-family: var(--font-head); font-weight: var(--head-weight); font-size: 15px; position: sticky; top: 0; }
.compare thead th.feat { background: var(--primary); color: #fff; position: relative; }
.compare thead th .ribbon {
  position: absolute; top: -1px; right: 14px; background: var(--accent); color: #1c1407;
  font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 0 0 8px 8px;
}
.compare tbody th { font-weight: 700; color: var(--ink-soft); background: var(--surface-2); white-space: nowrap; }
.compare td.feat-col { background: color-mix(in oklab, var(--primary) 5%, var(--surface)); }
.compare .yes { color: var(--primary); font-weight: 700; }
.compare .no { color: var(--ink-mute); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .c-price { font-family: var(--font-accent); font-size: 18px; font-weight: 700; color: var(--ink); }

/* =========================================================
   PRICING TRANSPARENCY
   ========================================================= */
.transparency { background: var(--surface-2); }
.trans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.trans-list { margin-top: 28px; display: grid; gap: 14px; }
.trans-item { display: flex; gap: 14px; align-items: flex-start; }
.trans-item .ck { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-content: center; font-size: 14px; }
.trans-item b { font-size: 15px; }
.trans-item p { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.fee-card { background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: 30px; border: 1px solid var(--line); }
.fee-card h3 { font-size: 18px; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.fee-row:last-of-type { border-bottom: none; }
.fee-row .fl { font-size: 14px; color: var(--ink-soft); }
.fee-row .fl small { display: block; font-size: 12px; color: var(--ink-mute); }
.fee-row .fv { font-family: var(--font-accent); font-weight: 700; font-size: 17px; }
.fee-total { margin-top: 12px; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.fee-total .fv { font-size: 28px; color: var(--primary); }
.fee-note { margin-top: 14px; font-size: 12px; color: var(--ink-mute); line-height: 1.8; }
@media (max-width: 820px) { .trans-grid { grid-template-columns: 1fr; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.voice { background: var(--surface); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.voice .stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.voice .quote { margin-top: 14px; font-family: var(--font-accent); font-size: 16px; line-height: 1.9; color: var(--ink); flex: 1; }
.voice .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice .who .av { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.voice .who b { font-size: 14px; display: block; }
.voice .who small { font-size: 12px; color: var(--ink-mute); }
@media (max-width: 880px) { .voices-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 820px; margin: 48px auto 0; }
.faq-item { background: var(--surface); border-radius: var(--radius-m); box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.faq-q .qm { font-family: var(--font-accent); color: var(--accent-d); font-size: 18px; flex: none; }
.faq-q .tgl { margin-left: auto; width: 26px; height: 26px; flex: none; position: relative; transition: transform .3s var(--ease); }
.faq-q .tgl::before, .faq-q .tgl::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--primary); border-radius: 2px; }
.faq-q .tgl::before { width: 14px; height: 2px; }
.faq-q .tgl::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .tgl::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a .inner { padding: 0 24px 24px 56px; font-size: 14px; color: var(--ink-soft); line-height: 1.95; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { background: linear-gradient(160deg, var(--primary), var(--primary-d)); color: #fff; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 16px); }
.final-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.final-cta .eyebrow { color: color-mix(in oklab, var(--accent) 75%, #fff); }
.final-cta .eyebrow::before { background: var(--accent); }
.final-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.4; }
.final-cta .lead { margin-top: 18px; color: rgba(255,255,255,.85); font-size: 16px; max-width: 42ch; }
.final-cta .mini-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 22px; }
.final-cta .mini-trust div b { font-family: var(--font-accent); font-size: 26px; display: block; color: #fff; }
.final-cta .mini-trust div small { font-size: 12px; color: rgba(255,255,255,.7); }

.lead-form { background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-lg); padding: 32px; color: var(--ink); }
.lead-form h3 { font-size: 20px; }
.lead-form .sub { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.field { margin-top: 16px; }
.field label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 7px; }
.field label .req { color: var(--accent-d); font-size: 11px; margin-left: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-s);
  background: var(--surface-2); border: 1.5px solid var(--line); font-size: 14.5px; transition: border-color .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px; border-radius: var(--radius-s); background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13.5px; font-weight: 600; transition: all .2s; }
.seg input:checked + span { background: var(--primary-l); box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary-d); }
.form-note { margin-top: 14px; font-size: 11.5px; color: var(--ink-mute); line-height: 1.7; }
@media (max-width: 860px) { .final-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 64px 120px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid .mark { font-family: "Montserrat", "Noto Sans JP", sans-serif; font-size: 21px; font-weight: 600; color: #fff; letter-spacing: .13em; display: flex; align-items: center; gap: 10px; }
.footer-mark { height: 38px; width: auto; display: block; }
.footer-grid p { font-size: 13px; margin-top: 14px; line-height: 1.9; max-width: 30ch; }
.fcol h4 { color: #fff; font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; font-family: var(--font-body); }
.fcol a { display: block; font-size: 13.5px; padding: 5px 0; transition: color .2s; }
.fcol a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   STICKY CTA BAR (常時表示)
   ========================================================= */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(20,30,28,.08);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.cta-bar.show { transform: translateY(0); }
.cta-bar-inner { display: flex; align-items: center; gap: 18px; padding: 14px var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.cta-bar .cb-text { display: flex; flex-direction: column; line-height: 1.4; }
.cta-bar .cb-text b { font-size: 14.5px; }
.cta-bar .cb-text small { font-size: 12px; color: var(--ink-mute); }
.cta-bar .cb-actions { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 640px) {
  .cta-bar .cb-text { display: none; }
  .cta-bar .cb-actions { width: 100%; }
  .cta-bar .cb-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  .brand-mark { height: 36px; }
  .brand .mark { font-size: 20px; }
  .brand .sub { display: none; }
  .header-inner { gap: 16px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ 資料請求フォーム / 完了ページ ============ */
.doc-page { padding-block: clamp(40px,6vw,84px); }
.doc-wrap { max-width: 1040px; }
.doc-wrap--narrow { max-width: 720px; }
.doc-head { margin-bottom: clamp(26px,4vw,40px); }
.doc-head--center { text-align: center; }
.doc-head h1 { font-size: clamp(28px,4vw,44px); line-height: 1.32; margin-top: 12px; }
.doc-head .lead { margin-top: 16px; color: var(--ink-soft); line-height: 2; max-width: 64ch; }
.doc-head--center .lead { margin-inline: auto; }

.doc-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px,3vw,44px); align-items: start; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; } }

/* form */
.doc-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px,3vw,34px); box-shadow: var(--shadow-sm); }
.doc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.doc-field { margin-bottom: 20px; }
.doc-field > label, .doc-courses legend { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.doc-field .req { display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--accent); border-radius: var(--radius-pill); padding: 2px 8px; margin-left: 6px; letter-spacing: .04em; vertical-align: middle; }
.doc-field input[type="text"], .doc-field input[type="email"], .doc-field input[type="tel"] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 12px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.doc-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-l); }
.doc-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-mute); line-height: 1.7; }

.doc-courses { border: none; padding: 0; margin: 0 0 22px; }
.doc-courses-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 14px; }
@media (max-width: 540px) { .doc-courses-grid { grid-template-columns: 1fr; } }
.doc-check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-soft); cursor: pointer; line-height: 1.55; padding: 5px 0; }
.doc-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.doc-privacy { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; }
.doc-privacy a { color: var(--primary); text-decoration: underline; }

.doc-error { background: color-mix(in oklab, var(--accent) 14%, var(--surface)); border: 1px solid var(--accent); color: var(--accent-d); border-radius: var(--radius-m); padding: 12px 16px; margin-bottom: 18px; font-size: 13.5px; line-height: 1.7; }
.doc-form .form-note { margin-top: 14px; font-size: 12px; color: var(--ink-mute); line-height: 1.8; }

/* aside */
.doc-aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px,2.5vw,28px); box-shadow: var(--shadow-sm); }
.doc-aside-card h2 { font-size: 17px; margin-bottom: 14px; }
.doc-aside-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.doc-aside-card li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.doc-aside-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.doc-aside-trust { display: flex; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.doc-aside-trust div { display: flex; flex-direction: column; gap: 2px; }
.doc-aside-trust b { font-family: var(--font-accent); font-size: 22px; color: var(--primary); font-weight: 700; }
.doc-aside-trust small { font-size: 11px; color: var(--ink-mute); }

/* thanks / downloads */
.doc-thanks { text-align: center; }
.doc-thanks-mark { width: 64px; height: 64px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 30px; font-weight: 700; box-shadow: var(--shadow-md); }
.doc-downloads { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px,3vw,30px); box-shadow: var(--shadow-sm); margin-top: 8px; }
.doc-dl-lead { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.doc-dl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.doc-dl-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.doc-dl-item:last-child { border-bottom: none; }
.doc-dl-label { font-weight: 700; font-size: 15px; color: var(--ink); }
.doc-dl-label em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--ink-mute); }
.doc-dl-note { font-size: 13px; color: var(--ink-mute); }
.doc-dl-note a, .doc-dl-allnote a { color: var(--primary); text-decoration: underline; }
.doc-dl-allnote { margin-top: 18px; font-size: 13px; color: var(--ink-mute); line-height: 1.8; }
.doc-thanks-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* 完了ページ：資料DL直後の「お申し込み（お支払い）」導線 */
.doc-apply { margin-top: 32px; text-align: center; }
.doc-apply-head h2 { font-size: clamp(18px,2.4vw,22px); }
.doc-apply-head p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.8; }
.doc-apply-grid { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.doc-apply-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-sm); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.doc-apply-card h3 { font-size: 15px; line-height: 1.5; }
.doc-apply-price { display: flex; flex-direction: column; gap: 2px; }
.doc-apply-price small { font-size: 11px; color: var(--ink-mute); }
.doc-apply-price b { font-family: var(--font-accent); font-size: 22px; color: var(--primary); }
.doc-apply-card .btn { margin-top: auto; }
.doc-apply-note { font-size: 12.5px; color: var(--ink-mute); margin-top: 16px; line-height: 1.8; }
.doc-apply-cta { margin-top: 18px; }

/* 料金の共通注意書き（トップ料金セクション・各講座ページ共通） */
.pricing-notes { max-width: 880px; margin: clamp(24px,4vw,40px) auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-sm); padding: clamp(20px,3vw,30px); text-align: left; }
.pricing-notes-title { font-size: 15px; margin-bottom: 12px; }
.pricing-notes-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.pricing-notes-list li { display: inline-flex; align-items: center; gap: 6px; background: var(--bg, #fff); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pricing-notes-list li::before { content: "✓"; color: var(--primary); font-weight: 700; }
.pricing-notes-line { font-size: 13px; color: var(--ink-soft); line-height: 1.9; margin-top: 8px; }
.pricing-notes-line--lead { font-weight: 700; color: var(--ink); }

/* =========================================================
   IMAGES — アイキャッチ/ヒーロー/アバターの表示比率を固定
   the_post_thumbnail が width/height 属性付きで出力されても
   コンテナにフィットさせる（縦横比崩れ防止）
   ========================================================= */

/* 講座カード（資格一覧・トップのおすすめ）: 16:9 で切り抜き */
.course-card .cc-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 講座詳細ヒーローの2カラムレイアウト＋メイン写真 4:5 */
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.ch-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ch-media img,
.ch-media .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* トップ HERO 写真 4:5 */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 適性診断の結果イメージ 1:1 */
.result-card .result-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-m);
}

/* 卒業生の声 アバター 1:1（円形） */
.voice .who .av { object-fit: cover; }

/* 監修者（JPLCロゴ）の行レイアウト */
.instructor { display: flex; align-items: center; gap: 24px; }
.instructor .supervisor-logo { flex: none; }

@media (max-width: 860px) {
  .course-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ch-media { max-width: 420px; margin-inline: auto; order: -1; }
}
@media (max-width: 560px) {
  .instructor { flex-direction: column; text-align: center; gap: 16px; }
}
