/* =====================================================================
   転塾コンシェルジュ — style.css
   Layout: 左揃えのエディトリアル構成。PCは「見出し4列 / 本文8列」の2段組、
           スマホは1カラム。強い要素はヒーロー内の相性診断と「3つの答え」の分岐だけ。
   ===================================================================== */
:root{
  /* 温かみテーマ(くすみローズ×生成り)。ピンクは面に塗らずCTA・タグ・ホバーの差し色だけに使う。
     本文・補足・ボタン文字はすべてWCAG 4.5:1以上 */
  --white:#FFFCFA;         /* ほんのり桜色がかった白 */
  --mist:#F9F0EC;          /* 面の区切り。生成り(ごく薄いローズベージュ) */
  --navy:#4A3F4C;          /* 見出し・構造(墨色がかったプラムグレー。白文字で10:1) */
  --navy-2:#5C4F5E;
  --ink:#2E2628;           /* 本文 */
  --muted:#6E6064;         /* 補足(白地で5.8:1・生成り地で5.3:1) */
  --line:#EBDDD9;
  --accent:#B5485F;        /* CTA・アクセント(くすみローズ。白文字で5.2:1) */
  --accent-hover:#9D3A4F;
  --accent-tint:#FBECEF;
  --accent-line:#E8B4BE;
  --leaf:#2F6B4F;          /* 特典・完了などのポジティブ表示。CTAや注意表示と区別するため緑のまま */
  --leaf-tint:#E6F0E6;
  --caution:#8C5320;
  --line-green:#06C755;    /* LINE公式のブランド色 */
  --radius-s:10px;
  --radius:16px;
  --radius-l:24px;
  /* 書体はサイト全体で1つ。Mac/iPhone はヒラギノ角ゴ、それ以外は Noto Sans JP(Webフォント)。見出しも同じ書体の太字 */
  --font:'Hiragino Kaku Gothic ProN','Hiragino Sans','Noto Sans JP','Yu Gothic',Meiryo,sans-serif;
  --font-head:'Hiragino Kaku Gothic ProN','Hiragino Sans','Noto Sans JP','Yu Gothic',Meiryo,sans-serif;
  --gutter:20px;
  --maxw:1120px;
  color-scheme: light;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-padding-top:84px}
@media (prefers-reduced-motion: no-preference){ html{scroll-behavior:smooth} }
body{margin:0; background:var(--white); color:var(--ink); font-family:var(--font); font-size:16px; line-height:1.9; letter-spacing:.03em; -webkit-font-smoothing:antialiased; font-feature-settings:"palt" 0}
body.has-sticky .site-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom, 0px))}
img,svg{max-width:100%}
p{margin:0}
h1,h2,h3,h4{margin:0; color:var(--navy); font-family:var(--font-head); font-weight:700; line-height:1.5; letter-spacing:.03em; text-wrap:balance; font-feature-settings:"palt" 1}
a{color:var(--navy); text-decoration-thickness:1px; text-underline-offset:3px}
a:hover{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent); outline-offset:2px; border-radius:4px}
.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter)}
.narrow{max-width:760px; margin-inline:auto}
.skip{position:absolute; left:-9999px; top:0; background:var(--navy); color:#fff; padding:10px 16px; z-index:100}
.skip:focus{left:12px; top:12px}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.todo{background:#FFF1C9; color:#6B4E00; border-radius:4px; padding:1px 6px; font-weight:700; font-size:.92em}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:12px 28px; border-radius:999px; border:1.5px solid transparent; font:inherit; font-weight:700; font-size:16px; line-height:1.4; letter-spacing:.04em; text-decoration:none; cursor:pointer; background:var(--accent); color:#fff; box-shadow:0 10px 22px -14px rgba(181,72,95,.55); transition:background-color .15s}
.btn:hover{background:var(--accent-hover); color:#fff}
.btn-outline,.btn-onnavy,.btn-line{box-shadow:none}
.btn-outline{background:#fff; color:var(--navy); border-color:var(--navy)}
.btn-outline:hover{background:var(--mist); color:var(--navy)}
.btn-onnavy{background:transparent; color:#fff; border-color:rgba(255,255,255,.7)}
.btn-onnavy:hover{background:rgba(255,255,255,.1); color:#fff}
.btn-line{background:var(--line-green); color:#fff}
.btn-line:hover{background:#05A648; color:#fff}
.btn-block{width:100%}
.btn-small{min-height:44px; padding:8px 18px; font-size:13.5px}
.textlink{font-size:14px; color:var(--muted); text-decoration:underline; text-underline-offset:4px; background:none; border:0; padding:6px 0; font-family:inherit; cursor:pointer}
.textlink:hover{color:var(--navy)}

/* ---------- header ---------- */
.site-header{position:sticky; top:env(safe-area-inset-top, 0px); z-index:40; background:rgba(255,252,250,.94); backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line)}
.site-header .bar{display:flex; align-items:center; gap:12px; min-height:64px}
/* ロゴ: ワードマークSVG(static/assets/logo/)。タグラインはテキストで添える */
.logo{display:flex; align-items:center; gap:10px; text-decoration:none; white-space:nowrap}
.logo-img{display:block; height:26px; width:auto}
.logo .tag{display:block; font-size:10px; font-weight:700; color:var(--accent); letter-spacing:.12em; padding-top:4px}
.gnav{display:none}
.site-header .btn{margin-left:auto; white-space:nowrap}
@media (max-width:400px){ .logo .tag{display:none} }
@media (min-width:960px){
  .site-header .bar{min-height:72px}
  .gnav{display:flex; gap:26px; margin-left:auto; font-size:13.5px; font-weight:500}
  .gnav a{color:var(--ink); text-decoration:none}
  .gnav a:hover, .gnav a[aria-current="page"]{color:var(--accent)}
  .site-header .btn{margin-left:8px}
}

/* ---------- hero ---------- */
.hero{position:relative; background:linear-gradient(160deg,#FFFBF8 0%,#FBF1EC 55%,#F8E9E6 100%); border-bottom:1px solid var(--line); overflow:hidden}
/* 背景写真。スマホは一様な生成りのスクリーンで薄く、PCは左を濃く右を薄くして文字とカードの読みやすさを保つ */
.hero .bg{position:absolute; inset:0; z-index:0}
.hero .bg img{display:block; width:100%; height:100%; object-fit:cover; object-position:60% 38%}
.hero .bg::after{content:""; position:absolute; inset:0; background:rgba(255,251,248,.9)}
.hero .wrap{position:relative; z-index:1; display:grid; gap:22px; padding-block:28px 36px; grid-template-areas:"top" "card" "under"}
.hero-top{grid-area:top}
.hero-card{grid-area:card}
.hero-under{grid-area:under}
.hero-bottom{grid-area:bottom; display:none}
.hero h1{font-size:clamp(28px, 7.6vw, 50px); line-height:1.36; letter-spacing:.01em}
.hero .sub{margin-top:14px; font-size:clamp(15px, 4vw, 17px); color:var(--ink); max-width:30em}
.assure{display:flex; flex-wrap:wrap; gap:6px 18px; margin:18px 0 0; padding:0; list-style:none; font-size:13.5px; font-weight:700; color:var(--navy)}
.assure li{display:flex; align-items:center; gap:6px}
.assure svg{color:var(--leaf); flex:none}
.hero-alt{margin-top:16px; font-size:13.5px}
.hero-alt a{color:var(--muted); text-decoration:underline; text-underline-offset:4px; display:inline-flex; align-items:center; min-height:44px}
.hero-alt a:hover{color:var(--navy)}
.hero-fork{display:none}
@media (min-width:960px){
  .hero .bg::after{background:linear-gradient(90deg, rgba(255,251,248,.98) 0%, rgba(255,251,248,.96) 36%, rgba(255,251,248,.55) 58%, rgba(255,251,248,.35) 100%)}
  .hero .wrap{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); grid-template-areas:"top card" "under card" "bottom card"; column-gap:56px; row-gap:0; align-items:end; padding-block:60px 68px}
  .hero-under{align-self:start; margin-top:18px}
  .hero-bottom{display:block; align-self:start}
  .hero-card{align-self:center; justify-self:end; width:min(100%, 500px)}
  .hero-fork{display:block; margin-top:34px; max-width:420px}
}

/* ---------- FVの診断カード(Q1だけ。残りは shindan.html) ---------- */
.dx-hero{box-shadow:0 2px 4px rgba(120,60,80,.06), 0 28px 56px -24px rgba(120,60,80,.35)}
.dx-lead{text-align:center; font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--accent)}
.dx-sub{text-align:center; font-size:13px; color:var(--muted); margin-top:2px}
.dx-hero .dx-q{margin-top:16px; min-height:0}
.dx-note{margin-top:12px; font-size:12px; color:var(--muted); text-align:center}
@media (min-width:480px){ .dx-hero .dx-opts{grid-template-columns:repeat(auto-fit, minmax(202px, 1fr))} }
/* スマホ: 1問目の4択がファーストビューに収まるように詰める */
@media (max-width:959px){
  .hero .wrap{padding-block:20px 32px; gap:16px}
  .hero .sub{font-size:15px; line-height:1.7; margin-top:10px}
  .dx-hero .dx-lead,.dx-hero .dx-sub,.dx-hero .dx-note{line-height:1.5}
  .dx-hero .dx-opts button{min-height:48px; padding-block:10px}
  .dx-hero .dx-body{padding:16px 16px 18px}
}

.dx{background:#fff; border:1px solid var(--line); border-radius:var(--radius-l); box-shadow:0 1px 2px rgba(120,60,80,.06), 0 18px 40px -18px rgba(120,60,80,.24); overflow:hidden; scroll-margin-top:84px}
.dx-head{display:flex; align-items:center; gap:10px; padding:14px 20px; background:linear-gradient(120deg, var(--accent) 0%, var(--accent-hover) 100%); color:#fff}  /* ロゴ・CTAと同じワインローズ(暗いプラムグレーは重く見えた) */
.dx-head .t{font-weight:900; font-size:15px; letter-spacing:.04em}
.dx-head .meta{margin-left:auto; font-size:12px; opacity:.92}
.dx-body{padding:20px 20px 22px}
@media (min-width:600px){ .dx-body{padding:26px 28px 28px} }
.dx-q{font-size:17.5px; font-weight:700; line-height:1.6; color:var(--ink); margin-bottom:16px}
.dx-q .qn{display:block; font-size:12.5px; color:var(--accent); font-weight:700; margin-bottom:2px}
.dx-opts{display:grid; gap:8px; margin:0; padding:0; border:0}
.dx-opts button{display:flex; align-items:center; gap:12px; width:100%; min-height:52px; padding:12px 16px; text-align:left; font:inherit; font-size:15px; font-weight:500; color:var(--ink); background:#fff; border:1.5px solid var(--line); border-radius:var(--radius); cursor:pointer; transition:border-color .12s, background-color .12s}
.dx-opts button:hover{border-color:var(--accent-line); background:var(--accent-tint)}
.dx-opts button .dot{width:20px; height:20px; border-radius:50%; border:2px solid #D9C8CC; flex:none; transition:border .12s}
.dx-opts button:hover .dot{border-color:var(--accent)}
.dx-opts button.is-picked{border-color:var(--accent); background:var(--accent-tint)}
.dx-opts button.is-picked .dot{border:6px solid var(--accent)}

/* ---------- section scaffolding ---------- */
.section{padding-block:64px}
.section + .section{border-top:1px solid var(--line)}
.section.tint{background:var(--mist); border-top:0}
.section.tint + .section{border-top:0}
@media (min-width:960px){ .section{padding-block:104px} }
.sec{display:grid; gap:28px}
.sec-h h2{font-size:clamp(23px, 5.6vw, 34px); letter-spacing:.035em}
.sec-h p{margin-top:14px; color:var(--muted); font-size:15px; max-width:34em}
.sec-h .more{display:inline-block; margin-top:18px; font-size:14px; font-weight:700}
.sec-h.center{text-align:center; max-width:640px; margin-inline:auto}
.sec-h.center p{margin-inline:auto}
@media (min-width:960px){
  .sec{grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:56px; align-items:start}
  .sec-h{position:sticky; top:104px}
  .sec.stack{grid-template-columns:1fr; gap:44px}
  .sec.stack .sec-h{position:static; max-width:760px}
  .sec-h.center{position:static}
}

/* ---------- 3つの答え ---------- */
.answers{display:grid; gap:0; margin:0; padding:0; list-style:none; position:relative}
.answers li{position:relative; padding:0 0 26px 40px}
.answers li::before{content:""; position:absolute; left:11px; top:28px; bottom:0; width:2px; background:var(--line)}
.answers li:last-child{padding-bottom:0}
.answers li:last-child::before{display:none}
.answers .node{position:absolute; left:0; top:2px; width:24px; height:24px; border-radius:50%; border:2px solid var(--navy); background:#fff}
.answers .k{font-size:13px; font-weight:700; color:var(--muted)}
.answers h3{font-size:20px; margin-top:2px}
.answers p{margin-top:6px; font-size:14.5px}
@media (min-width:960px){
  .answers{grid-template-columns:repeat(3,1fr); gap:32px}
  .answers li{padding:22px 0 0; border-top:2px solid var(--navy)}
  .answers li::before, .answers .node{display:none}
}
.answers-note{margin-top:28px; padding-top:20px; border-top:1px solid var(--line); font-size:14px; color:var(--muted)}

/* ---------- 選ばれる理由(4カード) ---------- */
.reasons{list-style:none; margin:28px 0 0; padding:0; display:grid; gap:14px}
.reasons li{background:#fff; border:1px solid var(--line); border-radius:var(--radius-l); padding:24px 22px 26px}
.reasons .ic{width:54px; height:54px; border-radius:50%; background:var(--accent-tint); color:var(--accent); display:grid; place-items:center; margin-bottom:14px}
.reasons .ic svg{width:26px; height:26px}
.reasons h3{font-size:17px; line-height:1.5}
.reasons p{margin-top:8px; font-size:14px; color:var(--muted)}
@media (min-width:720px){ .reasons{grid-template-columns:1fr 1fr; gap:16px} }
@media (min-width:960px){ .reasons{grid-template-columns:repeat(4,1fr); margin-top:40px} }

/* 中立の3つの約束(選ばれる理由の冒頭) */
.promises{margin:28px 0 0; background:#fff; border:1px solid var(--line); border-radius:var(--radius-l); padding:24px 22px 26px; box-shadow:0 1px 2px rgba(120,60,80,.05)}
.promises-t{font-family:var(--font-head); font-weight:700; font-size:13px; letter-spacing:.14em; color:var(--accent); text-align:center}
.promises ol{list-style:none; margin:18px 0 0; padding:0; display:grid; gap:22px}
.promises li{position:relative; padding-left:46px}
.promises .n{position:absolute; left:0; top:-2px; width:34px; height:34px; border-radius:50%; background:var(--accent); color:#fff; font-family:var(--font-head); font-weight:700; font-size:16px; display:grid; place-items:center}
.promises h3{font-family:var(--font-head); font-weight:700; font-size:17px; line-height:1.5; color:var(--navy)}
.promises p{margin-top:8px; font-size:14px; color:var(--muted)}
.promises p.vow{margin-top:12px; padding:12px 14px; background:var(--accent-tint); border-left:3px solid var(--accent); border-radius:0 var(--radius-s) var(--radius-s) 0; color:var(--ink); font-weight:700; font-size:14.5px; line-height:1.8}
.promises .more{display:inline-flex; align-items:center; min-height:44px; margin-top:4px; font-size:14px; font-weight:700}
@media (min-width:720px){ .promises{padding:30px 28px 32px} .promises ol{margin-top:22px} }
@media (min-width:960px){ .promises{margin-top:40px; padding:36px 40px 40px} .promises ol{grid-template-columns:repeat(3,1fr); gap:32px} .promises h3{font-size:18px} }

/* ---------- 悩み ---------- */
.worries{margin:0; padding:0; list-style:none; border-top:1px solid var(--line)}
.worries li{padding:18px 0; border-bottom:1px solid var(--line)}
.worries strong{display:block; font-size:18px; font-weight:900; color:var(--navy); line-height:1.5}
.worries span{display:block; margin-top:4px; font-size:14.5px; color:var(--muted)}
@media (min-width:720px){ .worries{display:grid; grid-template-columns:1fr 1fr; column-gap:40px} }

/* ---------- 流れ(タイムライン) ---------- */
.timeline{margin:0; padding:0; list-style:none; counter-reset:step}
.timeline li{position:relative; padding:0 0 32px 60px; counter-increment:step}
.timeline li::before{content:counter(step); position:absolute; left:0; top:0; width:42px; height:42px; border-radius:50%; background:var(--navy); color:#fff; display:grid; place-items:center; font-weight:900; font-size:16px; font-variant-numeric:tabular-nums}
.timeline li::after{content:""; position:absolute; left:20px; top:46px; bottom:4px; width:2px; background:var(--line)}
.timeline li:last-child{padding-bottom:0}
.timeline li:last-child::after{display:none}
.timeline h2,.timeline h3{font-size:18px; padding-top:7px}
.timeline .meta{display:inline-block; margin-top:6px; font-size:12.5px; font-weight:700; color:var(--leaf); background:var(--leaf-tint); border-radius:6px; padding:2px 10px}
.timeline p{margin-top:8px; font-size:14.5px}

/* ---------- 提案書(書類) ---------- */
.sheet{background:#fff; border:1px solid var(--line); border-radius:var(--radius-s); box-shadow:0 1px 1px rgba(120,60,80,.05), 0 24px 48px -28px rgba(120,60,80,.28)}
.sheet-head{padding:18px 22px 14px; border-bottom:2px solid var(--navy)}
.sheet-head .doc{font-size:12px; font-weight:700; color:var(--muted)}
.sheet-head .case{margin-top:2px; font-size:15px; font-weight:900; color:var(--navy); line-height:1.6}
.sheet-head .sample{float:right; font-size:11px; font-weight:700; color:var(--muted); border:1px solid var(--line); border-radius:4px; padding:1px 8px; margin-left:10px}
.sheet .scroll{overflow-x:auto}
.sheet table{width:100%; min-width:560px; border-collapse:collapse; font-size:13.5px; line-height:1.75}
.sheet th,.sheet td{text-align:left; vertical-align:top; padding:12px 16px; border-bottom:1px solid var(--line)}
.sheet thead th{font-size:14px; color:var(--navy); background:#fff}
.sheet tbody th{width:8.5em; font-size:12.5px; color:var(--muted); font-weight:700}
.sheet .caution{color:var(--caution)}
.sheet-foot{padding:16px 22px 20px; font-size:14px; line-height:1.85}
.sheet-foot b{color:var(--navy)}
.cap{margin-top:12px; font-size:12.5px; color:var(--muted)}

/* ---------- 比較表(転塾コンシェルジュ vs 口コミ・比較サイト) ----------
   自社列をアクセント色で強調し、各セル先頭の記号(◎○△×)で差を一目で示す。
   PC: ラベル列+2列。スマホ: ラベルを上に、2列を横並び(trをgridにする)。 */
.vs-wrap{border:1px solid var(--line); border-radius:var(--radius); background:#fff; overflow:hidden}
.vs{width:100%; border-collapse:collapse; font-size:14px; line-height:1.6}
.vs th,.vs td{padding:16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top}
.vs tr:last-child th,.vs tr:last-child td{border-bottom:0}
.vs thead th{font-size:13.5px; font-weight:700; color:var(--muted); background:var(--mist); vertical-align:middle}
.vs thead th.us{background:var(--navy); color:#fff; font-size:15.5px; width:40%}
.vs thead th.them{width:34%}
.vs thead th .cap{display:block; font-size:11px; font-weight:500; letter-spacing:.02em; color:var(--muted); margin-top:3px}
.vs thead th.us .cap{color:var(--accent-line)}
.vs tbody th{font-size:13.5px; font-weight:700; color:var(--ink); background:#fff}
.vs td .cell{display:flex; align-items:flex-start; gap:10px}
.vs td .mk{flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; font-size:16px; font-weight:700; line-height:1; margin-top:-3px}
.vs td.us{background:var(--accent-tint); color:var(--navy); font-weight:700}
.vs td.us .mk{background:var(--accent); color:#fff; box-shadow:0 4px 10px -6px rgba(181,72,95,.6)}
.vs td.them{color:var(--muted)}
.vs td.them .mk{background:#fff; color:var(--muted); border:1.5px solid var(--line)}
.vs td .sub{display:block; margin-top:2px; font-size:11.5px; font-weight:400; color:var(--muted); line-height:1.6}
.vs-legend{display:flex; flex-wrap:wrap; gap:6px 18px; margin:0 0 12px; font-size:12.5px; color:var(--muted)}
.vs-legend span{display:inline-flex; align-items:center; gap:7px}
.vs-legend .mk{display:grid; place-items:center; width:22px; height:22px; border-radius:50%; font-size:12px; font-weight:700; line-height:1; background:#fff; border:1.5px solid var(--line); color:var(--muted)}
.vs-legend .mk.us{background:var(--accent); border-color:var(--accent); color:#fff}
.vs-note{margin-top:12px; font-size:12.5px; line-height:1.8; color:var(--muted)}
@media (max-width:719px){
  .vs,.vs thead,.vs tbody{display:block}
  .vs thead tr,.vs tbody tr{display:grid; grid-template-columns:1fr 1fr}
  .vs thead th.blank{display:none}
  .vs thead th{padding:12px 14px; font-size:13px}
  .vs thead th.us{font-size:14px; width:auto}
  .vs thead th.them{width:auto}
  .vs tbody tr{border-bottom:1px solid var(--line)}
  .vs tbody tr:last-child{border-bottom:0}
  .vs tbody th{grid-column:1/-1; padding:14px 14px 4px; border-bottom:0; background:var(--white)}
  .vs td{border-bottom:0; padding:8px 14px 16px; font-size:13.5px}
  .vs td .cell{flex-direction:column; gap:6px}
  .vs td .mk{width:28px; height:28px; font-size:15px; margin-top:0}
}

/* ---------- 勧めないケース ---------- */
.nocase{margin:0; display:grid; gap:0; border-top:1px solid var(--line)}
.nocase > div{padding:20px 0; border-bottom:1px solid var(--line)}
.nocase dt{font-size:17.5px; font-weight:900; color:var(--navy); line-height:1.5}
.nocase dd{margin:6px 0 0; font-size:14.5px}
.nocase dd.instead{margin-top:10px; color:var(--leaf); font-weight:700}
.nocase dd.instead::before{content:"代わりに："; color:var(--leaf)}
@media (min-width:720px){ .nocase{grid-template-columns:1fr 1fr; column-gap:40px} }

/* ---------- 代表 ---------- */
.founder{display:grid; gap:24px; align-items:start}
.portrait{width:100%; max-width:300px; margin:0}
.portrait img{display:block; width:100%; height:auto}
.founder .story p + p{margin-top:16px}
.founder .story p{font-size:15px; line-height:2}
.founder blockquote{margin:26px 0 0; padding:0; font-size:clamp(18px,4.6vw,22px); font-weight:900; color:var(--navy); line-height:1.6}
@media (min-width:720px){ .founder{grid-template-columns:280px 1fr; gap:40px} .portrait{width:280px} }

/* ---------- 実例 ---------- */
/* ---------- 相談前→相談後の変化(架空の例)。参考: 転職エージェントの「転職前/転職後」カード ---------- */
.changes{list-style:none; margin:0; padding:0; display:grid; gap:16px}
.change{position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius-l); padding:22px 20px 22px}
.ch-head{display:flex; gap:14px; align-items:flex-start; margin-bottom:16px}
.ch-av{flex:none; width:54px; height:54px; border-radius:50%; background:var(--accent-tint); color:var(--accent); display:grid; place-items:center}
.ch-av svg{width:32px; height:32px}
.ch-quote{font-weight:700; font-size:16px; line-height:1.5; color:var(--accent); margin:2px 0 0}
.ch-who{margin-top:4px; font-size:13px; color:var(--muted)}
.change .badge{float:none; margin-left:8px; vertical-align:1px}
.ch-step{display:grid; grid-template-columns:74px 1fr; align-items:stretch; border-radius:14px; overflow:hidden; border:1px solid var(--line); background:#fff}
.ch-step.after{background:var(--accent-tint); border-color:var(--accent-tint)}
.ch-label{display:grid; place-items:center; font-weight:700; font-size:14px; letter-spacing:.04em; background:#F6E3E7; color:var(--accent-hover); border-radius:0 999px 999px 0; padding:14px 8px 14px 4px}
.ch-step.after .ch-label{background:var(--accent); color:#fff}
.ch-body{padding:13px 16px 14px}
.ch-juku{font-weight:700; font-size:14.5px; color:var(--navy); line-height:1.6}
.ch-state{margin-top:4px; font-size:13.5px; color:var(--muted); line-height:1.7}
.ch-step.after .ch-state{color:var(--ink)}
.ch-result{display:inline-block; margin-bottom:6px; font-size:11.5px; font-weight:700; border-radius:999px; padding:2px 10px; background:var(--accent); color:#fff; line-height:1.6}
.ch-arrow{width:0; height:0; margin:8px auto; border-left:9px solid transparent; border-right:9px solid transparent; border-top:10px solid var(--accent)}
.ch-comment{margin-top:16px; font-size:14px; line-height:1.8}
.sample-note{margin:14px 0 0; font-size:12.5px; color:var(--muted)}
@media (min-width:720px){ .changes{grid-template-columns:1fr 1fr; gap:18px} }
@media (min-width:960px){ .changes{grid-template-columns:repeat(3,1fr); gap:20px} .change{padding:26px 24px 26px} }

/* ---------- 保護者さまの声(仮置き。実際の声に差し替える) ---------- */
.voices{list-style:none; margin:0; padding:0; display:grid; gap:14px}
.voice{position:relative; background:var(--mist); border-radius:var(--radius-l); padding:30px 22px 22px}
.voice::before{content:"\201C"; position:absolute; left:18px; top:4px; font-family:var(--font-head); font-size:52px; line-height:1; color:var(--accent-line)}
.voice .quote{font-size:14.5px; line-height:1.9}
.voice .meta{margin-top:12px; font-size:12.5px; color:var(--muted)}
.voice .meta b{color:var(--navy)}
@media (min-width:960px){ .voices{grid-template-columns:repeat(3,1fr); gap:20px} }

/* ---------- ガイド一覧 ---------- */
.guide-list{margin:0; padding:0; list-style:none; border-top:1px solid var(--line)}
.guide-list li{border-bottom:1px solid var(--line)}
.guide-list a{display:grid; gap:4px; padding:18px 0; text-decoration:none; color:var(--ink)}
.guide-list a:hover .gt{color:var(--accent)}
.guide-list .gm{font-size:12.5px; font-weight:700; color:var(--muted)}
.guide-list .gt{font-size:16.5px; font-weight:900; color:var(--navy); line-height:1.55}
.guide-list .gd{font-size:13.5px; color:var(--muted)}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none; cursor:pointer; display:flex; gap:14px; align-items:flex-start; padding:18px 0; font-weight:700; font-size:15.5px; color:var(--navy); line-height:1.6}
.faq summary::-webkit-details-marker{display:none}
.faq summary .q{flex:none; width:26px; height:26px; border-radius:50%; background:var(--navy); color:#fff; display:grid; place-items:center; font-size:12px; margin-top:1px}
.faq summary .pm{margin-left:auto; flex:none; width:20px; height:20px; position:relative; margin-top:3px}
.faq summary .pm::before,.faq summary .pm::after{content:""; position:absolute; left:3px; right:3px; top:9px; height:2px; background:var(--muted); transition:transform .2s}
.faq summary .pm::after{transform:rotate(90deg)}
.faq details[open] summary .pm::after{transform:rotate(0)}
.faq .a{padding:0 0 20px 40px; font-size:14.5px}
.faq .a p + p{margin-top:10px}
.faq-group + .faq-group{margin-top:44px}
.faq-group h2{font-size:19px; margin-bottom:12px}

/* ---------- 最終CTA ---------- */
.final{background:var(--navy); color:#fff}
.final .wrap{padding-block:64px; display:grid; gap:24px}
.final h2{color:#fff; font-size:clamp(23px,5.8vw,34px)}
.final p{color:#EFE6E7; font-size:15px}
.final .acts{display:grid; gap:12px; max-width:420px}
.final .acts .textlink{color:#EFE6E7; text-align:center}
@media (min-width:960px){ .final .wrap{grid-template-columns:1.2fr 1fr; align-items:center; padding-block:96px} .final .acts{justify-self:end; width:100%} }

/* ---------- footer ---------- */
.site-footer{background:#3B323D; color:#DCD2D4; font-size:13px}
.site-footer .wrap{padding-block:44px 32px; display:grid; gap:28px}
.site-footer .fname{margin:0}
.site-footer .flogo{display:block; height:22px; width:auto}
.site-footer .fop{margin-top:4px; font-size:12px}
.site-footer nav ul{margin:0; padding:0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:10px 20px}
.site-footer a{color:#F3ECEE; text-decoration:none}
.site-footer a:hover{color:#fff; text-decoration:underline}
.site-footer .fsns{margin-top:12px; display:flex; gap:18px; flex-wrap:wrap}
.site-footer .fsns a{display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#fff; text-decoration:none; min-height:44px}
.site-footer .fsns a:hover{text-decoration:underline}
.site-footer .forjuku{border-top:1px solid rgba(255,255,255,.16); padding-top:20px}
.site-footer .forjuku b{display:block; color:#fff; font-size:14px}
.site-footer .copy{font-size:11.5px; color:#ADA0A4}
@media (min-width:960px){ .site-footer .wrap{grid-template-columns:1fr 1fr 1fr; align-items:start} .site-footer .forjuku{border-top:0; padding-top:0} .site-footer .copy{grid-column:1 / -1} }

/* ---------- スマホ追従CTA ---------- */
.sticky-cta{position:fixed; left:0; right:0; bottom:0; z-index:50; padding:10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background:rgba(255,252,250,.96); border-top:1px solid var(--line); box-shadow:0 -8px 24px -12px rgba(120,60,80,.22); transform:translateY(110%); transition:transform .25s ease}
.sticky-cta.is-visible{transform:none}
.sticky-cta .btn{width:100%}
@media (prefers-reduced-motion: reduce){ .sticky-cta{transition:none} }
@media (min-width:960px){ .sticky-cta{display:none} body.has-sticky .site-footer{padding-bottom:0} }

/* ---------- 下層ページ ---------- */
.page-head{background:linear-gradient(160deg,#FFFBF8 0%,#F9EFEA 100%); border-bottom:1px solid var(--line)}
.page-head .wrap{padding-block:28px 36px}
@media (min-width:960px){ .page-head .wrap{padding-block:44px 56px} }
.crumbs{margin:0 0 14px; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:4px 8px; font-size:12.5px; color:var(--muted)}
.crumbs li + li::before{content:"/"; margin-right:8px; color:#C4B0B4}
.crumbs a{color:var(--muted)}
.page-head h1{font-size:clamp(24px,6vw,38px); line-height:1.4}
.page-head .lead{margin-top:14px; max-width:38em; color:var(--ink); font-size:15px}

.prose{font-size:15px; line-height:2}
.prose h2{font-size:19px; margin-top:44px; padding-top:22px; border-top:1px solid var(--line)}
.prose h2:first-child{margin-top:0; padding-top:0; border-top:0}
.prose h3{font-size:16px; margin-top:26px; color:var(--ink)}
.prose p{margin-top:14px}
.prose ul,.prose ol{margin:14px 0 0; padding-left:1.4em}
.prose li + li{margin-top:6px}
.prose strong{color:var(--navy)}
.prose .table-scroll{margin-top:16px; overflow-x:auto}
.prose table{width:100%; min-width:520px; border-collapse:collapse; font-size:14px; line-height:1.7}
.prose th,.prose td{border-bottom:1px solid var(--line); padding:11px 12px; text-align:left; vertical-align:top}
.prose thead th{background:var(--mist); color:var(--navy); font-size:13px}
.prose tbody th{color:var(--navy); font-weight:700}
.prose table.info{min-width:0}
.prose table.info th{white-space:nowrap}
.info th{width:7em}

/* ---------- 記事 ---------- */
.article-meta{margin-top:12px; font-size:13px; color:var(--muted); display:flex; flex-wrap:wrap; gap:4px 16px}
.toc{margin-top:30px; padding:18px 20px; background:var(--mist); border-radius:var(--radius)}
.toc p{font-size:13px; font-weight:700; color:var(--navy)}
.toc ol{margin:8px 0 0; padding-left:1.4em; font-size:14px; line-height:1.8; display:grid; gap:4px}
.toc a{color:var(--ink)}
.article-body{margin-top:36px}
.article-body aside.point{margin:22px 0 0; padding:18px 20px; background:var(--mist); border-radius:var(--radius)}
.article-body aside.point .point-t{margin:0; font-size:13.5px; font-weight:900; color:var(--navy)}
.article-body aside.point p + p{margin-top:8px}
.article-body .checklist{margin-top:18px; padding:16px 20px; border:1px solid var(--line); border-radius:var(--radius)}
.article-body .checklist ul{list-style:none; margin:0; padding:0; display:grid; gap:8px}
.article-body .checklist li{position:relative; padding-left:30px; margin:0}
.article-body .checklist li::before{content:""; position:absolute; left:4px; top:7px; width:7px; height:13px; border:solid var(--leaf); border-width:0 3px 3px 0; transform:rotate(45deg)}
.article-cta{margin-top:48px; padding:24px 22px; border-radius:var(--radius-l); background:var(--navy); color:#fff}
.article-cta h2{color:#fff; font-size:19px; margin:0; padding:0; border:0}
.article-cta p{margin-top:10px; color:#EFE6E7; font-size:14.5px}
.article-cta .btn{margin-top:18px}
.related{margin-top:48px}
.ig-follow{margin-top:40px; padding:22px 20px; background:var(--mist); border-radius:var(--radius); display:grid; gap:12px; justify-items:start}
.ig-follow p{font-size:14px; color:var(--muted); margin:0}
.ig-follow .btn{gap:8px}
.ig-follow.side{margin-top:24px; padding:0; background:none; border-top:1px solid var(--line); padding-top:18px; border-radius:0}
.ig-follow.side .btn{width:100%}
.related h2{font-size:17px; margin-bottom:8px}

/* ---------- フォーム ---------- */
.form-panel{background:#fff; border:1px solid var(--line); border-radius:var(--radius-l); padding:24px 20px 28px}
@media (min-width:600px){ .form-panel{padding:36px 40px 40px} }
.field{display:grid; gap:8px; margin-bottom:22px}
.field > label, .field > .label{font-size:14px; font-weight:700; color:var(--ink)}
.req,.opt{display:inline-block; margin-left:8px; font-size:11px; font-weight:700; border-radius:4px; padding:0 6px; vertical-align:1px}
.req{background:#F6EAC8; color:#6B4A0E}
.opt{background:var(--mist); color:var(--muted)}
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=url],.field select,.field textarea{font:inherit; font-size:16px; color:var(--ink); background:#fff; border:1.5px solid #DCCACC; border-radius:var(--radius-s); padding:12px 14px; min-height:52px; width:100%}
.field textarea{min-height:132px; resize:vertical; line-height:1.8}
.field input:focus,.field select:focus,.field textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-tint)}
.field .hint{font-size:12.5px; color:var(--muted)}
.choices{display:flex; flex-wrap:wrap; gap:8px}
.choices label{display:flex; align-items:center; gap:10px; min-height:48px; padding:8px 16px; border:1.5px solid #DCCACC; border-radius:var(--radius-s); font-size:14.5px; cursor:pointer; background:#fff}
.choices label:has(input:checked){border-color:var(--accent); background:var(--accent-tint)}
.choices input{accent-color:var(--accent); width:18px; height:18px; margin:0}
.cols2{display:grid; gap:0 18px}
@media (min-width:600px){ .cols2{grid-template-columns:1fr 1fr} }
.consent{display:flex; gap:12px; align-items:flex-start; margin:6px 0 22px; font-size:14px; cursor:pointer}
.consent input{accent-color:var(--accent); width:22px; height:22px; margin:3px 0 0; flex:none}
.form-msg{margin-top:14px; padding:12px 14px; border-radius:var(--radius-s); font-size:14px; background:#F6EAC8; color:#6B4A0E}
.prefill{margin:0 0 22px; padding:12px 14px; border-radius:var(--radius-s); background:var(--leaf-tint); color:var(--leaf); font-size:13.5px; font-weight:700}
.form-aside{margin-top:20px; font-size:13px; color:var(--muted)}
.contact-grid{display:grid; gap:32px}
@media (min-width:960px){ .contact-grid{grid-template-columns:minmax(0,7fr) minmax(0,4fr); gap:48px; align-items:start} .contact-side{position:sticky; top:104px} }
.contact-side h2{font-size:17px}
.contact-side ol{margin:12px 0 0; padding-left:1.4em; font-size:14px; display:grid; gap:8px}
.contact-side .promise{margin-top:24px; padding-top:18px; border-top:1px solid var(--line); font-size:13.5px}
.contact-side .line-alt{margin-top:24px; padding-top:18px; border-top:1px solid var(--line)}
.contact-side .line-alt p{font-size:13.5px; color:var(--muted); margin-top:6px}
.contact-side .line-alt .btn{margin-top:14px; width:100%; gap:8px}

/* ---------- サンクス ---------- */
.done{max-width:640px}
.done .mark{width:56px; height:56px; border-radius:50%; background:var(--leaf); color:#fff; display:grid; place-items:center; margin-bottom:18px}
.done h1{font-size:clamp(23px,5.6vw,32px)}
.done .lead{margin-top:12px}
.done .timeline{margin-top:32px}
.done .acts{margin-top:32px; display:grid; gap:10px; max-width:380px}

/* ---------- 塾向け ---------- */
.merit-list{margin:0; padding:0; list-style:none; display:grid; gap:0; border-top:1px solid var(--line)}
.merit-list li{padding:20px 0; border-bottom:1px solid var(--line)}
.merit-list h3{font-size:17.5px}
.merit-list p{margin-top:6px; font-size:14.5px}
@media (min-width:720px){ .merit-list{grid-template-columns:1fr 1fr; column-gap:40px} }
.price{border:1px solid var(--line); border-radius:var(--radius); background:#fff; overflow:hidden; max-width:560px}
.price .head{padding:24px 24px 20px; border-bottom:1px solid var(--line)}
.price .head .l{font-size:13px; font-weight:700; color:var(--muted)}
.price .head .n{margin-top:4px; font-size:40px; font-weight:900; color:var(--navy); line-height:1.2; font-variant-numeric:tabular-nums}
.price .head .n small{font-size:15px; margin-left:4px}
.price .head .n .tax{font-size:14px; font-weight:700; color:var(--muted); margin-left:6px}
.price table{width:100%; border-collapse:collapse; font-size:14.5px}
.price td{padding:13px 24px; border-bottom:1px solid var(--line)}
.price tr:last-child td{border-bottom:0}
.price td + td{text-align:right; font-weight:700; font-variant-numeric:tabular-nums}

/* ---------- 404 ---------- */
.nf{padding-block:80px}
.nf h1{font-size:clamp(24px,6vw,34px)}
.nf p{margin-top:12px; color:var(--muted)}
.nf .acts{margin-top:28px; display:flex; flex-wrap:wrap; gap:12px}

/* ---------- スマホのメニュー ---------- */
.site-header .bar{position:relative}
.mnav summary{list-style:none; width:44px; height:44px; display:grid; place-items:center; cursor:pointer; border-radius:10px; margin-right:-8px}
.mnav summary::-webkit-details-marker{display:none}
.mnav summary span{position:relative; display:block; width:20px; height:2px; background:var(--navy); transition:background .15s}
.mnav summary span::before,.mnav summary span::after{content:""; position:absolute; left:0; width:20px; height:2px; background:var(--navy); transition:transform .2s}
.mnav summary span::before{top:-6px}
.mnav summary span::after{top:6px}
.mnav[open] summary span{background:transparent}
.mnav[open] summary span::before{transform:translateY(6px) rotate(45deg)}
.mnav[open] summary span::after{transform:translateY(-6px) rotate(-45deg)}
.mnav nav{position:absolute; right:12px; top:calc(100% + 6px); width:min(300px, calc(100vw - 24px)); background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 20px 40px -16px rgba(120,60,80,.26); padding:6px}
.mnav ul{list-style:none; margin:0; padding:0}
.mnav a{display:flex; align-items:center; min-height:48px; padding:10px 14px; text-decoration:none; color:var(--ink); font-weight:700; font-size:15px; border-radius:10px}
.mnav a:hover{background:var(--mist); color:var(--navy)}
@media (min-width:960px){ .mnav{display:none} }
@media (prefers-reduced-motion: reduce){ .mnav summary span, .mnav summary span::before, .mnav summary span::after{transition:none} }

/* ---------- 修正: グリッド内の横長要素がページを広げないように ---------- */
.sec > *, .hero .wrap > *, .contact-grid > *, .founder > *{min-width:0}
.hero h1{word-break:keep-all; overflow-wrap:anywhere}


/* ===================== レビュー反映 ===================== */
/* 見出し扱いの太字(900)は丸ゴシック700に揃える */
.worries strong,.nocase dt,.guide-list .gt,.ch-quote,.sheet-head .case,.founder blockquote,.price .head .n,.dx-head .t,.site-footer .fname,.article-body aside.point .point-t,.timeline li::before,.answers h3,.merit-list h3,.reasons h3,.voice .meta b{font-family:var(--font-head); font-weight:700}

/* 日本語の改行: 見出しは文節で折り返す(ビルド時にBudouXで<wbr>を挿入) */
h1,h2,h3,.guide-list .gt,.worries strong,.nocase dt,.dx-q,.cta-q,.ch-quote{word-break:keep-all; overflow-wrap:anywhere}
p,li,dd{text-wrap:pretty}

/* 360px以下でヘッダーがはみ出さないように */
@media (max-width:380px){
  .site-header .bar{gap:6px}
  .logo{gap:8px}
  .logo-img{height:22px}
  .site-header .btn-small{padding:8px 12px; font-size:13px}
}

/* タップ領域48px */
.crumbs a,.sec-h .more,.textlink,.site-footer nav a,.related a{display:inline-flex; align-items:center; min-height:48px}
.sec-h .more{margin-top:8px}

/* 比較表・提案書: スマホでは項目ごとに縦積み */
@media (max-width:719px){
  .stack-table table{min-width:0}
  .stack-table thead{display:none}
  .stack-table tr{display:block; padding:14px 0; border-bottom:1px solid var(--line)}
  .stack-table tbody th{display:block; width:auto; padding:0 16px 6px; position:static; background:none; font-size:13px; color:var(--navy)}
  .stack-table td{display:grid; grid-template-columns:9.6em 1fr; gap:10px; padding:4px 16px; border:0}
  .sheet .stack-table td{grid-template-columns:3.5em 1fr}
  .stack-table td::before{content:attr(data-label); font-size:12px; font-weight:700; color:var(--muted); line-height:1.7; white-space:nowrap}
  .stack-table td.us{color:var(--navy)}
  .stack-table td.us::before{color:var(--accent)}
  .sheet .scroll.stack-table{overflow:visible}
}

/* 代表写真の枠 */

/* 記事 */
.section.article-section{padding-top:28px}
.crumbs li[aria-current]{max-width:13em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.article-meta time{font-variant-numeric:tabular-nums}

/* 事例のサンプル表示 */
.change .badge,.voice .badge{float:right; font-size:11px; font-weight:700; color:var(--muted); border:1px dashed #CDB8BC; border-radius:4px; padding:1px 8px; margin-left:8px; position:relative; z-index:1}
.sample-lead{margin:0 0 8px; padding:10px 14px; border-radius:var(--radius-s); background:#fff; border:1px dashed #CDB8BC; font-size:13px; color:var(--muted)}

/* フォーム: 項目ごとのエラー、迷惑送信よけ */
.field.is-invalid input,.field.is-invalid select,.field.is-invalid textarea{border-color:#B07A1E}
.field .err{font-size:12.5px; font-weight:700; color:#6B4A0E}
.hp{position:absolute !important; left:-10000px !important; width:1px; height:1px; overflow:hidden}
.near-submit{margin:0 0 14px; font-size:13px; color:var(--muted)}

/* ヒーローの安心材料(スマホは診断カードの下、PCは本文の下) */
.hero-under .assure{margin-top:0}

/* ---------- 写真(イメージ写真。差し替えは static/assets/photos/、alt は build.py の PHOTOS) ---------- */
.photo{margin:0; border-radius:var(--radius); overflow:hidden; background:var(--mist)}
.photo img{display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover}
.photo.wide img{aspect-ratio:3/2}
/* 見出し列(PCは左4列・スマホは見出しの直下)に置く */
.sec-h .photo{margin-top:22px}
@media (min-width:960px){ .sec-h .photo{margin-top:28px} }
/* 下層ページの見出し: PCは右に写真、スマホは見出しの下 */
.page-head.with-photo .wrap{display:grid; gap:24px}
.page-head.with-photo .wrap > *{min-width:0}
.page-head.with-photo .photo img{aspect-ratio:16/9}
@media (min-width:960px){
  .page-head.with-photo .wrap{grid-template-columns:minmax(0,7fr) minmax(0,5fr); column-gap:56px; align-items:center}
  .page-head.with-photo .photo img{aspect-ratio:3/2}
}
/* 相談フォームの横(PC)・上(スマホ) */
.contact-side .photo{margin-bottom:20px}
/* 最終CTAの背景写真。紺のオーバーレイで白文字の読みやすさを保つ */
.final{position:relative; overflow:hidden}
.final .bg{position:absolute; inset:0; z-index:0}
.final .bg img{display:block; width:100%; height:100%; object-fit:cover; object-position:50% 45%; opacity:.45}
.final .bg::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(74,63,76,.76) 0%, rgba(58,48,60,.9) 100%)}
.final .wrap{position:relative; z-index:1}

/* ---------- 相性診断(チャット形式: shindan.html) ----------
   コンシェルジュの吹き出し(左・白)と、お母様の答え(右・アクセント色)。選択肢は吹き出しの下にボタンで並べる。 */
.chat-page{background:var(--mist); padding-block:8px 56px; min-height:calc(100vh - 60px)}
.chat{max-width:640px; margin-inline:auto}
.chat-top{position:sticky; top:var(--hh, 60px); z-index:5; background:var(--mist); padding:12px 0 10px}
.chat-title{display:flex; align-items:baseline; gap:10px}
.chat-title .t{font-size:17px; color:var(--navy); margin:0}
.chat-title .meta{margin-left:auto; font-size:12px; color:var(--muted); white-space:nowrap}
.chat-progress{display:flex; align-items:center; gap:12px; margin-top:8px}
.chat-progress .track{flex:1; height:6px; border-radius:999px; background:#fff; border:1px solid var(--line); overflow:hidden}
.chat-progress .fill{height:100%; width:0; background:var(--accent); border-radius:999px; transition:width .35s ease}
.chat-progress .count{font-size:12.5px; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums; min-width:5.5em; text-align:right}
.chat-log{display:grid; gap:12px; padding-top:10px}
.msg{display:grid; grid-template-columns:36px minmax(0,1fr); gap:10px; align-items:start; max-width:94%}
.msg .av{width:36px; height:36px; border-radius:10px; display:grid; place-items:center; overflow:hidden}
.msg .av img{width:36px; height:36px; display:block}
.msg .name{font-size:11.5px; color:var(--muted); margin:0 0 4px 2px}
.msg .bub{background:#fff; border:1px solid var(--line); border-radius:4px 18px 18px 18px; padding:12px 16px; font-size:15px; line-height:1.75; box-shadow:0 1px 2px rgba(120,60,80,.05)}
.msg .bub .qn{display:block; font-size:12.5px; color:var(--accent); font-weight:700}
.msg.q .bub{font-weight:700; font-size:16px}
.msg.user{grid-template-columns:minmax(0,1fr); justify-self:end; max-width:84%}
.msg.user .bub{background:var(--accent); color:#fff; border:0; border-radius:18px 4px 18px 18px; font-weight:700; white-space:pre-wrap; overflow-wrap:anywhere}
.msg.typing .bub{display:inline-flex; gap:5px; padding:16px 18px; min-height:0}
.msg.typing .bub i{width:7px; height:7px; border-radius:50%; background:var(--accent-line); animation:chat-dot 1s infinite ease-in-out}
.msg.typing .bub i:nth-child(2){animation-delay:.15s}
.msg.typing .bub i:nth-child(3){animation-delay:.3s}
@keyframes chat-dot{0%,80%,100%{transform:translateY(0); opacity:.6} 40%{transform:translateY(-4px); opacity:1}}
@media (prefers-reduced-motion: reduce){ .msg.typing .bub i{animation:none} }
.chat-choices,.chat-input,.chat-actions,.chat-back{padding-left:46px}
.chat-choices{display:grid; gap:8px}
.chat-choices.cols2{grid-template-columns:1fr 1fr}
.chat-choices button,.chat-actions .btn{min-height:48px}
.chat-choices button{display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:10px 16px; font:inherit; font-size:15px; font-weight:700; color:var(--accent); background:#fff; border:1.5px solid var(--accent); border-radius:999px; cursor:pointer; transition:background-color .12s, color .12s; text-align:center; line-height:1.4}
.chat-choices button:hover{background:var(--accent-tint)}
.chat-choices button.is-picked{background:var(--accent); color:#fff}
.chat-choices button.is-on{background:var(--accent-tint)}
.chat-choices button.is-on::before{content:"\2713"; font-size:13px}
.chat-choices .go{grid-column:1/-1; background:var(--accent); color:#fff}
.chat-choices .go:hover{background:var(--accent-hover)}
.chat-choices[data-busy] button{pointer-events:none}
.chat-back,.chat-skip{margin-top:-2px}
.chat-back .textlink,.chat-skip .textlink{font-size:13px}
.chat-skip{padding-left:46px}
.chat-input{display:grid; gap:8px}
.chat-input .row{display:flex; gap:8px; align-items:stretch}
.chat-input input:not([type=checkbox]),.chat-input select,.chat-input textarea{font:inherit; font-size:16px; color:var(--ink); background:#fff; border:1.5px solid #DCCACC; border-radius:var(--radius-s); padding:12px 14px; min-height:52px; width:100%; min-width:0}
.chat-input textarea{min-height:120px; resize:vertical; line-height:1.8}
.chat-input input:focus,.chat-input select:focus,.chat-input textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-tint)}
.chat-input .btn{flex:none; min-height:52px; padding-inline:22px}
.chat-input .btn-block{width:100%}
.chat-input .err{font-size:12.5px; font-weight:700; color:#6B4A0E}
.chat-input .consent{margin:0}
.chat-input .near-submit{margin:0}
.chat-input .err[hidden]{display:none}
.chat-contact{gap:12px}
.chat-contact .f{display:grid; gap:6px}
.chat-contact .flabel{font-size:13.5px; font-weight:700; color:var(--navy)}
.chat-contact .flabel .req{margin-left:8px; font-size:11px; font-weight:700; color:var(--accent); border:1px solid var(--accent-line); border-radius:4px; padding:1px 6px}
.chat-contact .consent{margin-top:4px}
.chat-actions{display:grid; gap:10px}
.chat-restart{margin-top:28px; text-align:center}
.chat-noscript{padding:14px 16px; background:#fff; border:1px solid var(--line); border-radius:var(--radius-s); font-size:14px}
/* 結果カード(吹き出しの中) */
.msg.result .bub{padding:16px 18px 18px}
.chat-result .r-label{font-size:12.5px; font-weight:700; color:var(--muted)}
.chat-result .r-title{margin-top:2px; font-family:var(--font-head); font-weight:700; font-size:19px; line-height:1.45; color:var(--navy)}
.chat-result .r-scale{display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:14px 0 14px; padding:0; list-style:none}
.chat-result .r-scale li{text-align:center; font-size:12px; font-weight:700; color:var(--muted); padding:8px 4px; border-radius:var(--radius-s); background:var(--mist); line-height:1.4}
.chat-result .r-scale li.is-hit{background:var(--accent); color:#fff}
.chat-result .r-desc{font-size:14.5px}
.chat-result .r-h{margin-top:14px; font-size:14px; font-weight:700; color:var(--navy)}
.chat-result .r-todo{margin:6px 0 0; padding-left:1.4em; display:grid; gap:4px; font-size:14.5px}
.chat-result .r-todo li::marker{color:var(--accent); font-weight:700}
.chat-result .r-gift{margin-top:14px; padding:12px 14px; border-radius:var(--radius-s); background:var(--leaf-tint); font-size:13.5px; font-weight:700; color:var(--leaf)}
@media (min-width:600px){
  .chat-page{padding-block:16px 72px}
  .msg .bub{font-size:15.5px}
  .chat-choices:not(.cols2):not(.stack){grid-template-columns:1fr 1fr}
  .chat-choices .go{grid-column:1/-1}
}


/* ロゴの大きさ(PC) */
@media (min-width:960px){ .logo-img{height:30px} .logo .tag{font-size:11px} }

/* ---------- CTAバンド(診断 or 相談 の2択)。参考: 転職エージェントの中盤CTA ---------- */
.cta-band{background:var(--accent-tint); padding-block:44px 48px; text-align:center}
.cta-band .ribbon{display:inline-block; background:var(--accent); color:#fff; font-weight:700; font-size:15px; border-radius:999px; padding:8px 22px; letter-spacing:.04em; line-height:1.5}
.cta-band .ribbon::before{content:"＼ "}
.cta-band .ribbon::after{content:" ／"}
.cta-band .cta-q{margin:18px auto 0; font-size:clamp(17px,4.6vw,21px); font-weight:700; color:var(--navy); line-height:1.6; max-width:30em}
.cta-choices{display:grid; gap:12px; max-width:780px; margin:22px auto 0}
.cta-choice{display:flex; align-items:center; gap:12px; min-height:76px; padding:10px 16px 10px 12px; background:#fff; border:2px solid var(--accent); border-radius:999px; color:var(--navy); text-decoration:none; text-align:left; box-shadow:0 10px 22px -16px rgba(181,72,95,.5); transition:background-color .15s}
.cta-choice:hover{background:#FFF7F8}
.cta-choice .ic{flex:none; width:48px; height:48px; border-radius:50%; background:var(--accent-tint); color:var(--accent); display:grid; place-items:center}
.cta-choice .ic svg{width:26px; height:26px}
.cta-choice .tx{flex:1; font-weight:700; font-size:15.5px; line-height:1.45}
.cta-choice .tx small{display:block; font-weight:500; font-size:12px; color:var(--muted); margin-top:3px}
.cta-choice .ar{flex:none; width:22px; height:22px; color:var(--accent)}
.cta-choice .ar svg{width:22px; height:22px}
.cta-band .alt{margin-top:16px}
.cta-band .alt a{display:inline-flex; align-items:center; gap:4px; min-height:44px; color:var(--accent); font-weight:700; font-size:15px; text-decoration:underline; text-underline-offset:4px}
.cta-band .alt a svg{width:18px; height:18px}
.cta-band .alt a:hover{color:var(--accent-hover)}
@media (min-width:720px){ .cta-choices{grid-template-columns:1fr 1fr; gap:16px} .cta-band{padding-block:56px 60px} .cta-choice{min-height:84px; padding:12px 20px 12px 14px} .cta-choice .tx{font-size:16.5px} }

/* ---------- ご相談の例:お母様アバター(フラットイラスト・2026/10) ---------- */
.change .ch-av svg{display:none}
.change .ch-av{background-color:var(--accent-tint); background-size:cover; background-position:center; overflow:hidden}
.changes .change:nth-child(1) .ch-av{background-image:url(avatar-mom1.webp)}
.changes .change:nth-child(2) .ch-av{background-image:url(avatar-mom2.webp)}
.changes .change:nth-child(3) .ch-av{background-image:url(avatar-mom3.webp)}
