/* guide-article.css（10/10 /guide/ 読み物ページ＝tanki・fuan 専用）
   ★色・余白・角丸は sg.css のトークンだけを使う（新しい色を直書きしない）。接頭辞は .ga-
   目次：気持ちの見出し → 結論の一文 → 生の声（出典つき） → 年齢別カード → 1日のタイムライン
        → 決めておくこと（チェックリスト） → 理由ブロック → 次の一歩（リンクカード） → 途中CTA（2本立て） */

/* ---------- 気持ちの見出し（h2 の上に「その人がいま思っていること」。引用ではなく要約の声） ---------- */
.ga-feel{position:relative;display:inline-block;max-width:100%;margin:0 0 var(--s3);padding:var(--s2) var(--s3);background:var(--sg-cream);border-radius:var(--sg-radius);font-size:16px;font-weight:700;line-height:1.6;color:var(--sg-heading);text-align:left}
.ga-feel::after{content:"";position:absolute;left:24px;bottom:-8px;border:8px solid transparent;border-top-color:var(--sg-cream);border-bottom:0}
.ga-feel small{display:block;font-size:12px;font-weight:500;color:var(--sg-ink);letter-spacing:.04em}
.sg-sec--cream .ga-feel{background:var(--sg-white)}
.sg-sec--cream .ga-feel::after{border-top-color:var(--sg-white)}

/* ---------- 結論の一文（大きく太く） ---------- */
.ga-point{font-size:19px;font-weight:700;line-height:1.6;color:var(--sg-heading);margin:0 0 var(--s3)}
.ga-body{max-width:760px;margin:0 auto}
.ga-body > p{font-size:16px}
@media (min-width:841px){.ga-point{font-size:22px}}

/* ---------- 生の声（原文＋出典URL。創作しない） ---------- */
.ga-voices{display:grid;gap:var(--s3);margin:0 0 var(--s4)}
.ga-voice{margin:0;padding:var(--s1) 0 var(--s1) var(--s3);border-left:3px solid var(--sg-line)}
.ga-voice p{margin:0;font-family:var(--sg-font-mincho);font-size:17px;font-weight:700;line-height:1.7;color:var(--sg-heading)}
.ga-voice cite{display:block;margin-top:var(--s1);font-style:normal;font-size:13px;line-height:1.6;color:var(--sg-ink)}
.ga-voice cite a{color:var(--sg-ink)}
@media (min-width:841px){.ga-voices--2{grid-template-columns:1fr 1fr;gap:var(--s4)}}

/* ---------- 年齢別カード（SP=縦積み／PC=2列） ---------- */
.ga-ages{display:grid;gap:var(--s3);list-style:none}
.ga-age{background:var(--sg-white);border-radius:var(--sg-radius);padding:var(--s4) var(--s3)}
.ga-age__ttl{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 var(--s2);margin:0 0 var(--s2);font-family:var(--sg-font-maru);font-size:21px;line-height:1.4;color:var(--sg-heading)}
.ga-age__ttl small{font-family:var(--sg-font);font-size:14px;font-weight:500;color:var(--sg-ink)}
.ga-age dl{margin:0}
.ga-age dt{display:flex;align-items:center;gap:var(--s1);margin:var(--s3) 0 2px;font-size:14px;font-weight:700;color:var(--sg-accent)}
.ga-age dt .sg-ico{width:18px;height:18px;vertical-align:0}
.ga-age dd{margin:0;font-size:15px;line-height:1.7}
@media (min-width:841px){
  .ga-ages{grid-template-columns:1fr 1fr;gap:var(--s4)}
  .ga-age{padding:var(--s5) var(--s5) var(--s4)}
}

/* ---------- 1日のタイムライン（時刻＋縦線＋点。番号付きの流れは sg-steps、時刻の流れはこれ） ---------- */
.ga-day{list-style:none;margin:0}
.ga-day li{display:grid;grid-template-columns:52px 1fr;gap:0 var(--s3)}
.ga-day time{font-family:var(--sg-font-en);font-size:16px;line-height:1.6;color:var(--sg-accent);text-align:right;padding-top:1px}
.ga-day__txt{position:relative;padding:0 0 var(--s3) var(--s4);border-left:1px solid var(--sg-line);font-size:15px;line-height:1.6}
.ga-day li:last-child .ga-day__txt{border-left-color:transparent;padding-bottom:0}
.ga-day__txt::before{content:"";position:absolute;left:-6px;top:6px;width:11px;height:11px;border-radius:50%;background:var(--sg-white);border:2px solid var(--sg-accent)}
.ga-day__txt strong{display:block;font-size:16px;color:var(--sg-heading)}
.ga-day li.is-parent .ga-day__txt::before{background:var(--sg-accent)}
.ga-tag{display:inline-block;margin:0 0 2px;padding:0 var(--s2);border-radius:4px;background:var(--sg-cream);font-size:12px;font-weight:700;color:var(--sg-accent);line-height:1.8}
.ga-daywrap{max-width:640px;margin:0 auto}
.ga-daywrap .sg-tabs__list{max-width:420px;margin-left:auto;margin-right:auto}
.ga-day__cap{font-size:14px;font-weight:700;color:var(--sg-heading);margin:0 0 var(--s3);text-align:center}

/* ---------- 決めておくこと（本物のチェックボックス＝押せる形。保存はしない） ---------- */
.ga-decide{margin:var(--s4) 0 0;padding:var(--s4) var(--s3) var(--s3);background:var(--sg-cream);border-radius:var(--sg-radius)}
.sg-sec--cream .ga-decide{background:var(--sg-white)}
.ga-decide__ttl{display:flex;align-items:center;gap:var(--s2);margin:0 0 var(--s2);font-size:17px;font-weight:700;color:var(--sg-heading)}
.ga-decide__ttl .sg-ico{width:22px;height:22px;vertical-align:0}
.ga-decide ul{list-style:none;margin:0}
.ga-decide li + li{border-top:1px solid var(--sg-line-soft)}
.sg-sec--cream .ga-decide li + li{border-top-color:var(--sg-line-soft)}
.ga-decide label{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:12px 0;font-size:15px;font-weight:700;line-height:1.6;color:var(--sg-heading);cursor:pointer}
.ga-decide label small{display:block;font-size:14px;font-weight:500;color:var(--sg-ink)}
.ga-decide input{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:22px;margin:1px 0 0;border:2px solid var(--sg-accent);border-radius:5px;background:var(--sg-white);cursor:pointer;display:grid;place-content:center}
.ga-decide input::after{content:"";width:6px;height:11px;border:solid var(--sg-white);border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px);opacity:0}
.ga-decide input:checked{background:var(--sg-accent)}
.ga-decide input:checked::after{opacity:1}
.ga-decide input:focus-visible{outline:2px solid var(--sg-cta);outline-offset:2px}
.ga-decide__more{margin:var(--s2) 0 0;font-size:15px}
.ga-decide__more a{font-weight:700}
@media (min-width:841px){.ga-decide{padding:var(--s4) var(--s5) var(--s3)}}

/* ---------- 理由ブロック（fuan：番号＋見出し→声→説明→決めておくこと） ---------- */
.ga-reasons{max-width:800px;margin:0 auto}
.ga-reason + .ga-reason{margin-top:var(--s6);padding-top:var(--s5);border-top:1px solid var(--sg-line)}
.ga-reason__head{display:flex;align-items:baseline;gap:var(--s3);margin:0 0 var(--s3)}
.ga-reason__no{flex:none;font-family:var(--sg-font-en);font-size:32px;line-height:1;color:var(--sg-accent)}
.ga-reason__head h3{margin:0;font-family:var(--sg-font-maru);font-size:21px;line-height:1.45;color:var(--sg-heading)}
.ga-reason > p{margin:0 0 var(--s3)}
@media (min-width:841px){.ga-reason__head h3{font-size:24px}}

/* 目次（理由へのジャンプ。押せる＝下線つきの文字リンク） */
.ga-toc{list-style:none;counter-reset:toc;display:grid;gap:0;margin:var(--s4) auto 0;max-width:800px;border-top:1px solid var(--sg-line-soft)}
.ga-toc a{display:flex;align-items:center;gap:var(--s3);min-height:52px;padding:var(--s2) 0;border-bottom:1px solid var(--sg-line-soft);font-weight:700;color:var(--sg-heading);text-decoration:none}
.ga-toc a::before{counter-increment:toc;content:counter(toc,decimal-leading-zero);font-family:var(--sg-font-en);font-weight:400;font-size:18px;color:var(--sg-accent)}
.ga-toc a::after{content:"";margin-left:auto;width:8px;height:8px;border-right:1.5px solid var(--sg-accent);border-bottom:1.5px solid var(--sg-accent);transform:rotate(45deg) translate(-3px,-3px)}
@media (min-width:841px){.ga-toc{grid-template-columns:1fr 1fr;column-gap:var(--s5)}}

/* ---------- 次の一歩（リンクカード＝面と矢印で押せる形） ---------- */
.ga-next{display:grid;gap:var(--s2);list-style:none;margin:var(--s4) 0 0}
.ga-next a{display:flex;align-items:center;gap:var(--s3);min-height:64px;padding:var(--s3);background:var(--sg-white);border:1px solid var(--sg-line);border-radius:var(--sg-radius);text-decoration:none;color:var(--sg-ink);transition:border-color .2s}
.ga-next a > .sg-ico{width:28px;height:28px}
.ga-next__txt{flex:1;min-width:0;font-size:14px;line-height:1.6}
.ga-next__txt strong{display:block;font-size:16px;color:var(--sg-heading)}
.ga-next a::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid var(--sg-accent);border-bottom:2px solid var(--sg-accent);transform:rotate(-45deg)}
@media (hover:hover){.ga-next a:hover{border-color:var(--sg-accent)}}
@media (min-width:841px){.ga-next{grid-template-columns:1fr 1fr;gap:var(--s3)}}

/* ---------- 途中CTA（重い＝Primary／軽い＝Secondary。ボタンの上に手間の一言） ---------- */
.ga-cta2{margin:var(--s5) auto 0;max-width:800px;padding:var(--s4) var(--s3);background:var(--sg-pink-soft);border-radius:var(--sg-radius);text-align:center}
.ga-cta2__ttl{margin:0 0 var(--s3);font-family:var(--sg-font-maru);font-size:19px;font-weight:700;line-height:1.5;color:var(--sg-heading)}
.ga-cta2__row{display:grid;gap:var(--s3)}
.ga-cta2__note{margin:0 0 var(--s1);font-size:14px;font-weight:700;line-height:1.5;color:var(--sg-heading)}
.ga-cta2 .sg-btn{width:100%}
@media (min-width:841px){
  .ga-cta2{padding:var(--s5)}
  .ga-cta2__ttl{font-size:22px}
  .ga-cta2__row{grid-template-columns:1fr 1fr;gap:var(--s4)}
}

/* ---------- 読み物の縦リズム（SPは1ページ6,000px以内に収めるため、セクションの上下を少し詰める。このCSSは tanki・fuan だけで読む） ---------- */
@media (max-width:840px){
  .sg-sec{padding:48px 0}
  .sg-sechead{margin-bottom:var(--s4)}
  .ga-age{padding:20px var(--s3)}
  .ga-age dt{margin-top:12px}
  .ga-next a{min-height:56px;padding:12px var(--s3)}
}
.ga-reason .ga-voice,.ga-body > .ga-voice{margin-bottom:var(--s3)}
.ga-body + .sg-steps{margin-top:var(--s4)}
.ga-decide label > span{flex:1;min-width:0}
.ga-reason .ga-feel{margin-bottom:var(--s4)}
@media (max-width:840px){
  .sg-sec{padding:40px 0}
  .ga-reason + .ga-reason{margin-top:var(--s5);padding-top:var(--s4)}
  .ga-decide{padding:var(--s3) var(--s3) var(--s2)}
  .ga-decide label{min-height:44px;padding:10px 0}
  .ga-toc a{min-height:46px;padding:var(--s1) 0}
}
@media (max-width:840px){.ga-ages{gap:12px}.ga-age .ga-age__ttl{margin-bottom:0}}

/* QA中-2 引用の注記 */
.ga-quote-note{font-size:13px;color:var(--sg-ink);margin:0 0 12px}

/* =====================================================================
   10/10 g3＝見た目の作り込み（ここから下は上の指定を上書き）。色は sg.css と guide.css の --gd-* だけ
   ===================================================================== */
/* 気持ちの吹き出し＝チャットの1行（人アイコン＋角1つだけ尖らせる。gd-feel と同じ形） */
.ga-feel{display:block;max-width:560px;padding:12px 16px 12px 64px;border-radius:4px 18px 18px 18px}
.sg-sechead--center .ga-feel{margin-left:auto;margin-right:auto}
.ga-feel::before{content:"";position:absolute;left:12px;top:12px;width:40px;height:40px;border-radius:50%;background:var(--sg-white);border:0}
.ga-feel::after{left:20px;top:20px;bottom:auto;width:24px;height:24px;border:0;background:var(--sg-accent);-webkit-mask:var(--gd-ico-people) center/contain no-repeat;mask:var(--gd-ico-people) center/contain no-repeat}
.sg-sec--cream .ga-feel::before{background:var(--sg-cream)}
.sg-sec--cream .ga-feel::after{border:0}
.ga-feel small{margin-bottom:2px}

/* 生の声＝引用カード（大きな引用符＋明朝。出典は下に小さく） */
.ga-voice{position:relative;padding:28px var(--s3) var(--s3);border:0;border-radius:var(--gd-radius-lg);background:var(--sg-cream)}
.sg-sec--cream .ga-voice{background:var(--sg-white)}
.ga-voice::before{content:"\201C";position:absolute;left:12px;top:-14px;font-family:var(--sg-font-mincho);font-size:72px;font-weight:700;line-height:1;color:var(--sg-accent)}
.ga-voice p{font-size:18px;line-height:1.75}
.ga-voice cite{margin-top:var(--s2);padding-top:var(--s2);border-top:1px solid var(--sg-line-soft)}
.ga-voices{gap:var(--s4);margin-top:var(--s4)}

/* 年齢別カード＝アイコンの丸＋年齢 */
.ga-age{border-radius:var(--gd-radius-lg)}
.ga-age__ttl{align-items:center}
.ga-age__ico{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sg-cream)}
.ga-age__ico .sg-ico{width:26px;height:26px;vertical-align:0}
.ga-age dl{display:grid;gap:0}
.ga-age dt + dd{padding-bottom:4px}

/* 1日のスケジュール＝写真＋タイムライン */
.ga-daygrid{display:grid;gap:var(--s4)}
.ga-dayphoto{margin:0}
.ga-dayphoto img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--gd-radius-lg)}
.ga-daygrid .ga-daywrap{width:100%}
.ga-day li.is-parent .ga-day__txt{padding-top:8px;padding-bottom:var(--s3)}
.ga-day li.is-parent .ga-day__txt > *{position:relative}
.ga-tag{background:var(--sg-pink-soft);color:var(--sg-heading)}
@media (min-width:841px){.ga-daygrid{grid-template-columns:1fr 1fr;gap:var(--s6);align-items:start;max-width:1040px;margin:0 auto}.ga-dayphoto img{aspect-ratio:4/5}}

/* 写真＋チェック（短期は下見になる） */
.ga-split{display:grid;gap:var(--s3);margin:0 0 var(--s3)}
.ga-split__photo{margin:0}
.ga-split__photo img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:var(--gd-radius-lg)}
.ga-split__list{border-top:0}
.ga-split__list li{padding:12px 0}
@media (min-width:841px){.ga-split{grid-template-columns:5fr 6fr;gap:var(--s5);align-items:center}.ga-split__photo img{aspect-ratio:4/3}}
.ga-next a{border-radius:16px;border-color:var(--sg-line-soft)}
.ga-next a > .sg-ico{flex:none;width:44px;height:44px;padding:8px;border-radius:50%;background:var(--sg-cream)}

/* 不安と後悔：目次＝白いカード／理由の番号＋アイコン／途中の写真 */
.ga-toc{gap:8px;border-top:0}
.ga-toc a{min-height:52px;padding:8px 16px;border:0;border-radius:14px;background:var(--sg-white)}
.ga-reason{padding:0}
.ga-reason + .ga-reason,.ga-break + .ga-reason{margin-top:var(--s5);padding-top:var(--s5);border-top:1px solid var(--sg-line)}
.ga-break + .ga-reason{border-top:0;padding-top:0}
.ga-reason__head{align-items:center}
.ga-reason__no{display:flex;align-items:center;gap:8px;font-size:28px}
.ga-reason__ico{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--sg-white)}
.ga-reason__ico .sg-ico{width:28px;height:28px;vertical-align:0}
.ga-break{margin:var(--s5) 0}
.ga-break img{display:block;width:100%;aspect-ratio:21/9;object-fit:cover;object-position:50% 40%;border-radius:var(--gd-radius-lg)}


/* 小さく試す道＝写真＋3段 */
.ga-try{display:grid;gap:var(--s4);max-width:1040px;margin:var(--s4) auto 0}
.ga-try__photo{margin:0}
.ga-try__photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--gd-radius-lg)}
.ga-try .sg-steps li::before{background:var(--sg-accent);border-color:var(--sg-accent);color:var(--sg-white)}
@media (min-width:841px){.ga-try{grid-template-columns:5fr 6fr;gap:var(--s6);align-items:center}.ga-try .sg-steps{display:block}.ga-try .sg-steps li{padding:0 0 var(--s4) 64px;min-height:48px}.ga-try .sg-steps li:not(:last-child)::after{left:24px;right:auto;top:48px;bottom:0;border-top:0;border-left:1px solid var(--sg-line)}.ga-try .sg-steps__ttl{padding-top:10px}}

/* できること・できないこと＝白い板と点線の板 */
.ga-can > div{padding:var(--s4) var(--s3);border-radius:var(--gd-radius-lg)}
.ga-can__yes{background:var(--sg-white)}
.ga-can__no{border:1.5px dashed var(--sg-line)}
.ga-can .sg-checks li:last-child{border-bottom:0}
@media (min-width:841px){.ga-can > div{padding:var(--s5)}}

.ga-cta2{border-radius:var(--gd-radius-lg)}
@media (max-width:840px){.ga-age{padding:16px}.ga-age dt{margin-top:8px}.ga-voice p{font-size:17px}}
.ga-feel small,.ga-tag{font-size:13px}
.ga-voice cite{font-size:13px}

/* ================= 10/10 g4（R2） ================= */
/* R2-B9：読ませる補足 12〜13px→14px */
.ga-quote-note,.ga-voice cite,.ga-feel small{font-size:14px}
/* R2-A5：既存コラム（持ち主）へ送る一文 */
.ga-related{max-width:600px;margin:var(--s2) auto 0;font-size:15px;line-height:1.7}
.ga-related a{color:var(--sg-heading);font-weight:700}
/* R2-B10：途中の軽い一歩（不安と帰国） */
.ga-midcta{margin:var(--s5) auto}
/* R2-B13：写真の見切れ（fuan＝母の頭が上で切れる／tanki＝PCで右の子の顔が半分切れる） */
.ga-break img{object-position:50% 15%}
@media (min-width:841px){.ga-dayphoto img{aspect-ratio:4/3}}

/* ================= 10/10 g5（年齢別ガイド3本） ================= */
/* 短期の年齢カード → 年齢別ページへの文字リンク */
.ga-age__more{margin:8px 0 0;font-size:15px}
.ga-age__more a{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-weight:700;color:var(--sg-heading)}
.ga-age__more .sg-ico{width:1.1em;height:1.1em;vertical-align:0}
/* 同じセクション内で2つ目の h2（学校の選び方→帰国後） */
.ga-h2-next{margin-top:var(--s6)}
.ga-ages + .gd-fitpair{margin-top:var(--s5)}
