/* guide.css（10/10 /guide/ 用＝ガイド全ページ共通の部品。持ち主＝トップ・国の選び方の担当）
   ★色は sg.css のトークンが土台。ガイドで足す淡色・濃色・影は下の :root（--gd-*）にだけ書き、本文では変数で使う（直書きしない）
   ★ピンク（--sg-cta）＝押す物だけ／ブラウン＝情報／黄＝仮置き。SG と MY の色分け＝SG＝クリーム地＋金茶／MY＝淡ローズ地＋こげ茶（面の色で分ける）
   ★BPは sg.css と同じ1本＝841px以上がPC（モバイルファースト）
   ★guide_*.jpg の7枚は仮置き（SAMPLE帯つき）＝同じファイル名で本番画像に差し替える。比率は object-fit:cover で吸収（写真の縦横比に依存しない）
   目次：ガイドのトークン → 見出し（gd-head）→ FV（gd-hero）→ 下層の写真FV（gd-phero）→ 手間の一言 → 2択ボタン → 国カード
        → 気持ちの吹き出し（gd-feel）→ 費用の入口（gd-cost）→ 不安の吹き出し（gd-worry）→ 座談会（gd-talk・gd-time）
        → 4つの目安（gd-way）→ 途中のCTA → 国ごとの向き不向き（gd-fitpair）→ 写真の帯（gd-band） */

/* ---------- ガイドのトークン（sg.css の色から作った淡色・濃色。ここ以外で色を書かない） ---------- */
:root{
  --gd-sg:var(--sg-accent);        /* シンガポールの文字・線（金茶） */
  --gd-sg-soft:var(--sg-cream);    /* シンガポールの面 */
  --gd-my:var(--sg-heading);       /* マレーシアの文字・線（こげ茶） */
  --gd-my-soft:#FBEEE9;            /* マレーシアの面＝ --sg-rose-soft(.4) を白地に重ねた実効色をベタで（rgba を下地に依存させない） */
  --gd-cream-dk:#EFEBDD;           /* クリームより一段濃い面（クリーム地の上の箱・チップ）＝ cream と line-soft の間 */
  --gd-scrim:rgba(20,32,42,.68);   /* 写真の上の白文字を読ませる影（ink 系の濃茶）。グラデの濃い側 */
  --gd-scrim-0:rgba(20,32,42,0);
  --gd-shadow:0 8px 24px rgba(31,58,77,.12); /* 浮かせる物（吹き出し・カード）だけ。ink 系 */
  --gd-radius-lg:20px;             /* 写真・大きなカード */
  /* 吹き出しの人アイコン（icons.py の people と同じ線。mask で使い、色は background で付ける） */
  --gd-ico-people:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11.5' cy='11' r='4.2'/%3E%3Ccircle cx='22.5' cy='13' r='3.4'/%3E%3Cpath d='M4 27.5c0-4.3 3.4-7.6 7.5-7.6s7.5 3.3 7.5 7.6'/%3E%3Cpath d='M20.5 20.8c3.6-1.2 7.5 1.5 7.5 6.7'/%3E%3C/svg%3E");
}

/* ---------- 見出し（英語ラベル＋線＋名詞句h2。中央／左寄せ） ---------- */
.gd-head{text-align:center;margin:0 0 var(--s5)}
.gd-head--left{text-align:left}
.gd-head__en{display:inline-flex;align-items:center;gap:12px;margin:0 0 var(--s2);font-family:var(--sg-font-en);font-size:14px;letter-spacing:.22em;color:var(--sg-accent);line-height:1.4}
.gd-head__en::before,.gd-head__en::after{content:"";width:24px;height:1px;background:currentColor}
.gd-head--left .gd-head__en::before{display:none}
.gd-head .sg-h2{font-size:26px;margin-bottom:var(--s2)}
.gd-head .sg-lead{font-size:16px}
.sg-sec--inv .gd-head__en{color:var(--sg-white)}
@media (min-width:841px){.gd-head .sg-h2{font-size:30px}}

/* ---------- FV（ガイドのトップ。写真主体＝SPは写真→名乗り→2択。肯定の一言は写真の上の吹き出し） ---------- */
.gd-hero{position:relative;background:var(--sg-white);padding:0 0 var(--s5)}
.gd-hero__photo{position:relative;margin:0}
.gd-hero__photo img{display:block;width:100%;height:272px;object-fit:cover;object-position:50% 40%;border-radius:0 0 var(--gd-radius-lg) var(--gd-radius-lg)}
.gd-hero__affirm{position:absolute;left:var(--sg-gap);bottom:-30px;max-width:calc(100% - 2 * var(--sg-gap));margin:0;padding:10px 18px;border-radius:18px 18px 18px 4px;background:var(--sg-white);box-shadow:var(--gd-shadow);font-family:var(--sg-font-maru);font-size:16px;font-weight:700;line-height:1.55;color:var(--sg-heading)}
.gd-hero__in{padding-top:48px}
.gd-hero .sg-eyebrow{margin-bottom:var(--s1);font-size:13px}
.gd-hero .sg-h1{font-size:26px;line-height:1.4;margin-bottom:var(--s3)}
.gd-hero__lead{font-size:15px;line-height:1.75;margin:var(--s3) 0 0}
@media (min-width:841px){
  .gd-hero{background:var(--sg-cream);padding:var(--s7) 0;min-height:600px}
  .gd-hero__photo{position:absolute;top:var(--s5);bottom:var(--s5);right:0;width:50%}
  .gd-hero__photo img{height:100%;border-radius:var(--gd-radius-lg) 0 0 var(--gd-radius-lg);object-position:50% 45%}
  .gd-hero__affirm{left:-56px;bottom:56px;max-width:none;padding:16px 24px;font-size:20px}
  .gd-hero__in{padding-top:0}
  .gd-hero__body{width:46%}
  .gd-hero .sg-h1{font-size:38px}
  .gd-hero__lead{font-size:16px}
}

/* ---------- 下層の写真FV（診断・シミュ・読み物で共通。SP＝写真→白い板を重ねて名乗る／PC＝左に文字・右に写真を裁ち落とし） ---------- */
.gd-phero{position:relative;background:var(--sg-white)}
.gd-phero__photo{margin:0;position:relative}
.gd-photo-ai{position:absolute;top:8px;right:8px;padding:2px 8px;border-radius:4px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;line-height:1.6} /* AI生成の人物写真に付ける表示（実在の利用者と誤認させない・10/13 Taku判断待ち） */
.gd-phero__photo img{display:block;width:100%;height:220px;object-fit:cover;object-position:50% 40%}
.gd-phero__in{position:relative;margin-top:-28px;padding-top:var(--s4);padding-bottom:var(--s4);background:var(--sg-white);border-radius:var(--gd-radius-lg) var(--gd-radius-lg) 0 0}
.gd-phero .sg-eyebrow{margin-bottom:var(--s1);font-size:13px}
.gd-phero .sg-h1{font-size:26px;line-height:1.4;margin-bottom:var(--s2)}
.gd-phero .sg-lead{font-size:16px;line-height:1.75}
.gd-phero .sg-pagehead__points{margin-top:var(--s3)}
.gd-phero__tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:var(--s3) 0 0}
.gd-phero__tags li{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px;border-radius:999px;background:var(--sg-cream);font-size:14px;font-weight:700;color:var(--sg-heading);line-height:1.4}
.gd-phero__tags .sg-ico{width:18px;height:18px;vertical-align:0}
.gd-phero__jump{list-style:none;display:grid;gap:8px;margin:var(--s3) 0 0}
.gd-phero__jump a{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);min-height:48px;padding:8px 16px;border-radius:12px;background:var(--sg-cream);font-size:15px;font-weight:700;color:var(--sg-heading);text-decoration:none;line-height:1.5}
.gd-phero__jump a::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--sg-accent);border-bottom:2px solid var(--sg-accent);transform:rotate(45deg) translate(-2px,-2px)}
@media (min-width:841px){
  .gd-phero{background:var(--sg-cream);padding:var(--s6) 0;min-height:440px;display:flex;align-items:center}
  .gd-phero__photo{position:absolute;top:var(--s5);bottom:var(--s5);right:0;width:48%}
  .gd-phero__photo img{height:100%;border-radius:var(--gd-radius-lg) 0 0 var(--gd-radius-lg)}
  .gd-phero__in{margin-top:0;padding-top:0;padding-bottom:0;background:transparent;border-radius:0}
  .gd-phero__body{width:48%}
  .gd-phero .sg-h1{font-size:36px}
  .gd-phero__jump a{background:var(--sg-white)}
  .gd-phero__tags li{background:var(--sg-white)}
}

/* ---------- 手間の一言（ボタンの上に置く「5問・約1分」「オンライン・約30分」） ---------- */
.gd-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 var(--s2);font-size:14px;font-weight:700;color:var(--sg-heading);line-height:1.5}
.gd-hint .sg-ico{width:18px;height:18px;vertical-align:0}
.gd-hint--left{justify-content:flex-start}

/* ---------- 2択の大きなボタン（「決まっている／まだ決まっていない」）
   どちらも押せる形＝白地＋ピンクの枠。おすすめ側（多数派＝まだ決まっていない）だけ塗り ---------- */
.gd-ask{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:var(--sg-heading);margin:0 0 var(--s2)}
.gd-ask::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sg-cta)}
.gd-choice{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gd-choice a{display:grid;grid-template-columns:32px 1fr 20px;align-items:center;gap:12px;min-height:72px;padding:12px 16px;border:2px solid var(--sg-cta);border-radius:var(--sg-radius-btn);background:var(--sg-white);color:var(--sg-cta);text-decoration:none;line-height:1.45}
.gd-choice a .sg-ico{width:28px;height:28px;color:currentColor;vertical-align:0}
.gd-choice a .sg-ico:last-child{width:20px;height:20px}
.gd-choice strong{display:block;font-size:18px}
.gd-choice small{display:block;font-size:13px;font-weight:500;color:var(--sg-ink)}
.gd-choice .is-main{background:var(--sg-cta);color:var(--sg-white);box-shadow:var(--gd-shadow)}
.gd-choice .is-main small{color:var(--sg-white)}
.gd-choice a:focus-visible{outline:3px solid var(--sg-heading);outline-offset:2px}
@media (hover:hover){.gd-choice a{transition:transform .15s}.gd-choice a:hover{transform:translateY(-2px)}}

/* ---------- 国カード（写真の上に国名。SP＝横スワイプ／PC＝3列。準備中は押せない見た目） ---------- */
.gd-countries{list-style:none;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--sg-gap));padding:4px var(--sg-gap) 12px;scroll-padding:0 var(--sg-gap);scrollbar-width:none}
.gd-countries::-webkit-scrollbar{display:none}
.gd-country{flex:0 0 80%;scroll-snap-align:start;min-width:0}
.gd-country > a,.gd-country > div{display:flex;flex-direction:column;height:100%;border-radius:var(--gd-radius-lg);overflow:hidden;background:var(--sg-white);border:1px solid var(--sg-line-soft);color:var(--sg-ink);text-decoration:none}
.gd-country__ph{position:relative;display:block;aspect-ratio:4/3;overflow:hidden}
.gd-country__ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.gd-country__cap{position:absolute;left:0;right:0;bottom:0;display:block;padding:48px 16px 14px;background:linear-gradient(to top,var(--gd-scrim),var(--gd-scrim-0));color:var(--sg-white)}
.gd-country__en{display:block;font-family:var(--sg-font-en);font-size:12px;letter-spacing:.2em;line-height:1.4}
.gd-country__name{display:block;font-family:var(--sg-font-maru);font-size:26px;font-weight:700;line-height:1.35}
.gd-country__body{display:flex;flex-direction:column;flex:1;padding:var(--s3) var(--s3) 20px}
.gd-country__txt{display:block;font-size:15px;line-height:1.7;margin:0 0 var(--s2)}
.gd-country__go{display:inline-flex;align-items:center;gap:4px;margin-top:auto;min-height:32px;font-size:15px;font-weight:700;color:var(--sg-cta)}
.gd-country__go .sg-ico{width:1.1em;height:1.1em;vertical-align:0;color:currentColor}
.gd-country--soon > div{border:1px dashed var(--sg-line);background:var(--sg-footer-bg)}
.gd-country--soon .gd-country__ph img{filter:saturate(.75)}
.gd-swipe{display:flex;align-items:center;justify-content:center;gap:10px;margin:var(--s2) 0 0;font-size:13px;color:var(--sg-accent)}
.gd-swipe::before,.gd-swipe::after{content:"";width:20px;height:1px;background:currentColor}
@media (hover:hover){.gd-country > a:hover .gd-country__ph img{transform:scale(1.04)}}
@media (min-width:841px){
  .gd-countries{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s4);overflow:visible;margin:0;padding:0}
  .gd-country__name{font-size:28px}
  .gd-swipe{display:none}
}

/* ---------- 気持ちの吹き出し（各セクションの書き出し＝「いま思っていること」。引用ではなく要約のとき使う）
   チャットの1行に見せる＝人アイコン＋角1つだけ尖らせた吹き出し ---------- */
.gd-feel{position:relative;max-width:600px;margin:0 auto var(--s4);padding:12px 16px 12px 64px;border-radius:4px 18px 18px 18px;background:var(--sg-cream);font-size:16px;font-weight:700;line-height:1.7;color:var(--sg-heading);text-align:left}
.gd-feel::before{content:"";position:absolute;left:12px;top:12px;width:40px;height:40px;border-radius:50%;background:var(--sg-white)}
.gd-feel::after{content:"";position:absolute;left:20px;top:20px;width:24px;height:24px;background:var(--sg-accent);-webkit-mask:var(--gd-ico-people) center/contain no-repeat;mask:var(--gd-ico-people) center/contain no-repeat}
.gd-feel small{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--sg-ink)}
.sg-sec--cream .gd-feel{background:var(--sg-white)}
.sg-sec--cream .gd-feel::before{background:var(--sg-cream)}

/* ---------- 費用の入口（トップ）。白い板＝左に問い、右に「期間を選んで、すぐ見る」 ---------- */
.gd-cost{display:grid;gap:var(--s4);padding:var(--s5) var(--s3) var(--s4);border-radius:var(--gd-radius-lg);background:var(--sg-white);box-shadow:var(--gd-shadow)}
.gd-cost__head{text-align:center}
.gd-cost__head .gd-head__en{margin-bottom:var(--s1)}
.gd-cost__head .sg-h2{font-size:26px}
.gd-cost .gd-feel{background:var(--sg-cream);margin-bottom:var(--s3)}
.gd-cost .gd-feel::before{background:var(--sg-white)}
.gd-cost__txt{margin:0;font-size:16px}
.gd-cost__tool{padding:var(--s4) var(--s3) var(--s3);border-radius:16px;background:var(--sg-cream)}
.gd-cost__lbl{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 12px;font-size:15px;font-weight:700;color:var(--sg-heading)}
.gd-cost__lbl .sg-ico{width:20px;height:20px;vertical-align:0}
.gd-cost__terms{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 var(--s3)}
.gd-cost__terms a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;padding:8px 4px;border:2px solid var(--sg-cta);border-radius:14px;background:var(--sg-white);color:var(--sg-cta);text-decoration:none;line-height:1.3;text-align:center}
.gd-cost__terms strong{font-size:20px}
.gd-cost__terms small{font-size:12px;font-weight:500;color:var(--sg-ink)}
@media (hover:hover){.gd-cost__terms a:hover{background:var(--sg-pink-soft)}}
.gd-cost__vs{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 var(--s3);font-size:14px;font-weight:700}
.gd-cost__vs .is-sg,.gd-cost__vs .is-my{padding:4px 12px;border-radius:999px}
.gd-cost__vs .is-sg{background:var(--sg-white);color:var(--gd-sg);box-shadow:inset 0 0 0 1.5px var(--gd-sg)}
.gd-cost__vs .is-my{background:var(--gd-my-soft);color:var(--gd-my);box-shadow:inset 0 0 0 1.5px var(--gd-my)}
.gd-cost__x{font-size:13px;font-weight:500;color:var(--sg-ink)}
.gd-cost .sg-btns{max-width:420px;margin:0 auto}
@media (min-width:841px){
  .gd-cost{grid-template-columns:1fr 1fr;gap:var(--s6);align-items:center;padding:var(--s6)}
  .gd-cost__head{text-align:left}
  .gd-cost__head .gd-head__en::before{display:none}
  .gd-cost__head .sg-h2{font-size:30px}
  .gd-cost .gd-feel{margin-left:0}
  .gd-cost__tool{padding:var(--s5) var(--s4) var(--s4)}
}

/* ---------- 不安の吹き出し（気持ち→答えるページ。吹き出しごと押せる） ---------- */
.gd-worry{list-style:none;display:grid;gap:var(--s3);max-width:1040px;margin:0 auto}
.gd-worry a{display:grid;grid-template-columns:44px 1fr;grid-template-areas:"ico say" "ico ans";gap:6px 12px;color:var(--sg-ink);text-decoration:none}
.gd-worry__ico{grid-area:ico;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sg-cream)}
.gd-worry__ico .sg-ico{width:24px;height:24px;vertical-align:0}
.gd-worry__say{grid-area:say;justify-self:start;padding:10px 16px;border-radius:4px 18px 18px 18px;background:var(--sg-cream);font-size:16px;font-weight:700;line-height:1.6;color:var(--sg-heading)}
.gd-worry__ans{grid-area:ans;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;padding-left:4px;font-size:14px;line-height:1.6;color:var(--sg-ink)}
.gd-worry__ans em{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-weight:700;color:var(--sg-cta)}
.gd-worry__ans em::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
@media (hover:hover){.gd-worry a:hover .gd-worry__say{background:var(--gd-cream-dk)}.gd-worry a:hover em{text-decoration:underline;text-underline-offset:3px}}
.gd-worry a:focus-visible{outline:2px solid var(--sg-accent);outline-offset:4px;border-radius:12px}
@media (min-width:841px){.gd-worry{grid-template-columns:repeat(3,1fr);gap:var(--s5) var(--s4)}}

/* ---------- 座談会（写真＋時間割） ---------- */
.gd-talk{display:grid;gap:var(--s4)}
.gd-talk__photo{position:relative;margin:0}
.gd-talk__photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:60% 30%;border-radius:var(--gd-radius-lg)}
.gd-talk__badge{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 14px 4px 10px;border-radius:999px;background:var(--sg-white);font-family:var(--sg-font-en);font-size:13px;letter-spacing:.16em;color:var(--sg-heading)}
.gd-talk__badge .sg-ico{width:20px;height:20px;vertical-align:0}
.gd-talk .gd-head{margin-bottom:var(--s3)}
@media (min-width:841px){
  .gd-talk{grid-template-columns:5fr 6fr;gap:var(--s6);align-items:center}
  .gd-talk__photo img{aspect-ratio:4/5}
}
.gd-narrow{max-width:640px;margin:0 auto}
.gd-time{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gd-time li{display:grid;grid-template-columns:76px 1fr;gap:var(--s3);align-items:center;padding:12px var(--s3);border-radius:14px;background:var(--sg-white)}
.gd-time__min{font-family:var(--sg-font-en);font-size:28px;color:var(--sg-accent);line-height:1.2;white-space:nowrap;text-align:center}
.gd-time__min small{font-family:var(--sg-font);font-size:13px;margin-left:2px;color:var(--sg-heading)}
.gd-time strong{display:block;font-size:17px;color:var(--sg-heading);line-height:1.5}
.gd-time p{margin:2px 0 0;font-size:15px;line-height:1.7}

/* ---------- 4つの目安（反転の帯の中。SP＝縦／PC＝2×2） ---------- */
.gd-way{list-style:none;display:grid;gap:12px;max-width:960px;margin:0 auto;counter-reset:way}
.gd-way li{position:relative;display:grid;grid-template-columns:40px 1fr;gap:4px 14px;padding:20px 16px;border:1px solid var(--sg-line-inv);border-radius:16px}
.gd-way li > .sg-ico{grid-row:span 2;width:36px;height:36px;color:var(--sg-white)}
.gd-way strong{font-size:17px;line-height:1.5;color:var(--sg-white)}
.gd-way p{margin:0;font-size:15px;line-height:1.7;color:var(--sg-white)}
.gd-way li::after{counter-increment:way;content:counter(way,decimal-leading-zero);position:absolute;right:16px;top:14px;font-family:var(--sg-font-en);font-size:14px;letter-spacing:.1em;color:var(--sg-white)}
.sg-sec--inv .sg-samplebar{max-width:960px;margin-left:auto;margin-right:auto}
@media (min-width:841px){.gd-way{grid-template-columns:1fr 1fr;gap:var(--s3)}.gd-way li{padding:var(--s4)}}

/* ---------- 途中のCTA 2本立て（重い＝無料オンライン相談 Primary／軽い＝座談会 Secondary）＋手間の一言 ---------- */
.gd-midcta{max-width:520px;margin:var(--s5) auto 0;text-align:center}
.gd-midcta .sg-btns{gap:12px}
.gd-midcta .gd-hint{margin-top:var(--s3)}
.gd-midcta .gd-hint:first-child{margin-top:0}
.gd-midcta__note{margin:var(--s2) 0 0;font-size:13px}
@media (min-width:841px){
  .gd-midcta{max-width:none}
  .gd-midcta .sg-btns{flex-direction:row;justify-content:center}
  .gd-midcta .sg-btns .sg-btn{width:auto;min-width:300px}
}

/* ---------- 国ごとの「向いている家庭／向いていない家庭」（国ごとに色の面。SPは縦） ---------- */
.gd-fitpair{display:grid;gap:var(--s3)}
.gd-fitpair > div{border-radius:var(--gd-radius-lg);padding:var(--s4) var(--s3);background:var(--gd-sg-soft)}
.gd-fitpair > .is-my{background:var(--gd-my-soft)}
.gd-fitpair__country{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-family:var(--sg-font-maru);font-size:24px;color:var(--gd-sg);margin:0 0 var(--s3);padding:0}
.gd-fitpair .is-my .gd-fitpair__country{color:var(--gd-my)}
.gd-fitpair__country small{font-family:var(--sg-font-en);font-size:12px;letter-spacing:.2em;font-weight:400}
.gd-fitpair__cols{display:grid;gap:12px}
.gd-fitpair__cols > div{padding:var(--s3);border-radius:14px;background:var(--sg-white)}
.gd-fitpair__lbl{display:flex;align-items:center;gap:6px;margin:0 0 var(--s1);font-size:15px;font-weight:700;color:var(--sg-heading)}
.gd-fitpair__lbl .sg-ico{width:22px;height:22px;vertical-align:0;color:var(--sg-accent)}
.gd-fitpair ul{list-style:none;margin:0;padding:0}
.gd-fitpair li{position:relative;padding:6px 0 6px 1.2em;font-size:16px;line-height:1.6;border-bottom:1px solid var(--sg-line-soft)}
.gd-fitpair li:last-child{border-bottom:0}
.gd-fitpair li::before{content:"";position:absolute;left:2px;top:1.05em;width:7px;height:7px;border-radius:50%;background:var(--sg-accent)}
.gd-fitpair .is-not li::before{background:transparent;border:1.5px solid var(--sg-accent)}
@media (min-width:841px){
  .gd-fitpair{grid-template-columns:1fr 1fr;gap:var(--s4)}
  .gd-fitpair > div{padding:var(--s5) var(--s4)}
  .gd-fitpair__cols{grid-template-columns:1fr 1fr}
}

/* ---------- 写真の帯（読み物の途中で単調さを崩す。見出しを写真の上に重ねる） ---------- */
.gd-band{position:relative;margin:0;color:var(--sg-white)}
.gd-band img{display:block;width:100%;height:240px;object-fit:cover}
.gd-band__cap{position:absolute;left:0;right:0;bottom:0;padding:64px 0 var(--s4);background:linear-gradient(to top,var(--gd-scrim),var(--gd-scrim-0))}
.gd-band__cap .gd-head__en{color:var(--sg-white);margin-bottom:var(--s1)}
.gd-band__cap .gd-head__en::before{display:none}
.gd-band__ttl{margin:0;font-family:var(--sg-font-maru);font-size:24px;line-height:1.45;color:var(--sg-white)}
.gd-band__lead{margin:var(--s1) 0 0;font-size:15px;line-height:1.7;color:var(--sg-white)}
@media (min-width:841px){.gd-band img{height:380px}.gd-band__ttl{font-size:32px}.gd-band__cap{padding-bottom:var(--s5)}}

/* ---------- 選ばなかった理由（国の選び方。国ごとの面＋白いチップ） ---------- */
.gd-why{display:grid;gap:var(--s3)}
.gd-why__col{padding:var(--s4) var(--s3);border-radius:var(--gd-radius-lg);background:var(--gd-sg-soft)}
.gd-why__col.is-my{background:var(--gd-my-soft)}
.gd-why__en{margin:0;font-family:var(--sg-font-en);font-size:12px;letter-spacing:.2em;color:var(--gd-sg)}
.gd-why__col.is-my .gd-why__en{color:var(--gd-my)}
.gd-why__ttl{margin:0 0 var(--s3);font-family:var(--sg-font-maru);font-size:21px;line-height:1.45;color:var(--sg-heading)}
.gd-why__list{list-style:none;display:grid;gap:8px}
.gd-why__list li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--sg-white);font-size:16px;font-weight:700;line-height:1.55;color:var(--sg-heading)}
.gd-why__list .sg-ico{flex:none;width:36px;height:36px;padding:6px;border-radius:50%;background:var(--sg-cream)}
.gd-why__col.is-my .gd-why__list .sg-ico{background:var(--gd-my-soft);color:var(--gd-my)}
.gd-why__note{max-width:880px}
@media (min-width:841px){.gd-why{grid-template-columns:1fr 1fr;gap:var(--s4)}.gd-why__col{padding:var(--s5) var(--s4)}.gd-why__ttl{font-size:24px}}

/* ---------- 決める順番（写真の帯の下。番号を塗りの丸に、段ごとに白い板） ---------- */
.gd-order .sg-steps li{padding:12px var(--s3) var(--s3) 68px;margin:0 0 10px;border-radius:16px;background:var(--sg-white);min-height:0}
.gd-order .sg-steps li::before{left:14px;top:14px;width:42px;height:42px;border:0;background:var(--sg-accent);color:var(--sg-white);font-size:16px}
.gd-order .sg-steps li:not(:last-child)::after{left:34px;top:56px;bottom:-10px;border-left:2px dotted var(--sg-line)}
.gd-order .sg-steps__ttl{padding-top:6px;font-size:19px}
.gd-order .sg-steps__meta{display:inline-block;margin:0 0 6px;padding:1px 10px;border-radius:999px;background:var(--sg-cream);font-size:13px;font-weight:700}
.gd-order .sg-steps p{font-size:15px}
@media (min-width:841px){.gd-order .sg-steps--v li{padding:var(--s4) var(--s4) var(--s4) 88px}.gd-order .sg-steps li::before{left:24px;top:var(--s4)}.gd-order .sg-steps--v li:not(:last-child)::after{left:44px;top:calc(var(--s4) + 42px)}}

/* ガイドのSPはセクションの上下を少し詰める（6ページとも同じ刻み。sg.css は64px） */
@media (max-width:840px){.sg-sec{padding:48px 0}.gd-head{margin-bottom:var(--s4)}.gd-head .sg-h2{font-size:24px}}
@media (max-width:840px){.gd-phero .sg-pc-only{display:none}} /* SPのリードは3行以内（sg-hero と同じ扱い） */
/* g3c：SPの読める最小＝13px（英語ラベルの装飾は12pxまで）・押せる高さ44px */
.gd-country__go{min-height:44px}
.gd-feel small{font-size:13px}
.gd-country__en,.gd-why__en{font-size:12px}
.gd-cost__terms small{font-size:13px}

/* ================= 10/10 g4（R2＝別の目3本の統合） ================= */
:root{
  --gd-accent-text:#7A5E34;   /* 小さな茶色の文字（--sg-accent #8E6F40 はクリーム地で4.24→5.48）。h2・反転の地は sg の accent のまま */
  --gd-cta-text:#B84A34;      /* 小さなピンクの文字（「◯◯のページへ」）。押す色の濃い側 */
  --gd-scrim:rgba(20,32,42,.78);/* 写真の上の白文字（.68→.78＝明るい所でも4.5以上） */
  --gd-text-shadow:0 1px 3px rgba(0,0,0,.45);
  /* 読みもの帯のテーマ色（面だけ。文字は --sg-heading のまま） */
  --gd-cat-kuni:#E9EFE5;      /* 国選び＝淡いセージ */
  --gd-cat-cost:#F5EEDC;      /* 費用＝淡い麦色 */
  --gd-cat-kids:#FBEEE9;      /* 子どもと年齢＝淡いローズ（--gd-my-soft と同じ） */
  --gd-cat-worry:#E9EEF3;     /* 不安＝淡い霧色 */
}
/* R2-B12：共通フッターのガイド入口はSG側だけ（ガイドでは自分へのリンクになる） */
.sg-footer__guide{display:none}

/* R2-B9：コントラスト（クリーム・ピンク地の小さな茶文字だけ濃くする）と、写真の上の文字 */
.sg-eyebrow,.gd-head__en,.sg-steps__meta,.gd-why__en,.gt-h1sub,.gd-phero--tool .gt-h1sub,.gt-card__ttl small,.ga-tag,.gd-swipe{color:var(--gd-accent-text)}
.gd-country__go{color:var(--gd-cta-text)}
.gd-band__cap{padding-top:96px}
.gd-band__lead,.gd-band__ttl{text-shadow:var(--gd-text-shadow)}
.gd-country__en{font-size:13px;font-weight:700;text-shadow:var(--gd-text-shadow)}
/* R2-B9：読ませる補足の12〜13px→14px */
.sg-cta__note,.gd-swipe,.gd-feel small,.gd-choice small,.gd-cost__terms small,.gd-midcta__note,.gd-order .sg-steps__meta{font-size:14px}

/* R2-B8：トップFVの主役＝「親の私が行ってみたい」の肯定（h1は名乗りのまま一段小さく） */
.gd-hero__affirm{bottom:-44px;padding:12px 18px;font-size:22px;line-height:1.5}
.gd-hero__in{padding-top:64px}
.gd-hero .sg-h1{font-size:21px;margin-bottom:12px}
@media (min-width:841px){
  .gd-hero__affirm{bottom:48px;left:-72px;padding:20px 28px;font-size:30px}
  .gd-hero__in{padding-top:0}
  .gd-hero .sg-h1{font-size:30px}
}

/* R2-B7：お子さまの年齢から（チップ＝診断を1問目から） */
.gd-age{margin:var(--s4) 0 0;padding:var(--s3);border-radius:16px;background:var(--sg-cream)}
.gd-age__lbl{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:15px;font-weight:700;color:var(--sg-heading)}
.gd-age__lbl .sg-ico{width:22px;height:22px;vertical-align:0}
.gd-age__chips{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0;padding:0}
.gd-age__chips a{display:flex;align-items:center;justify-content:center;min-height:56px;padding:4px;border:2px solid var(--sg-cta);border-radius:14px;background:var(--sg-white);color:var(--sg-cta);font-size:14px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none}
@media (hover:hover){.gd-age__chips a:hover{background:var(--sg-pink-soft)}}
.gd-age__more{margin:8px 0 0;text-align:center}
.gd-age__more a{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:14px;font-weight:700;color:var(--sg-heading)}
.gd-age__more .sg-ico{width:1.1em;height:1.1em;vertical-align:0}
@media (min-width:841px){.gd-age{background:var(--sg-white)}.gd-age__chips{gap:8px}}

/* R2-A6：読みもの帯（既存コラムへ。テーマ＝面の色＋アイコン、記事＝白いカード） */
.gd-sec-reads--top{padding-top:0}
.gd-reads{display:grid;gap:var(--s3);max-width:1040px;margin:0 auto}
.gd-reads__grp{padding:var(--s3);border-radius:var(--gd-radius-lg);background:var(--gd-cat-kuni)}
.gd-reads__grp--cost{background:var(--gd-cat-cost)}
.gd-reads__grp--kids{background:var(--gd-cat-kids)}
.gd-reads__grp--worry{background:var(--gd-cat-worry)}
.gd-reads__cat{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:16px;font-weight:700;color:var(--sg-heading)}
.gd-reads__ico{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--sg-white)}
.gd-reads__ico .sg-ico{width:22px;height:22px;vertical-align:0}
.gd-reads ul{list-style:none;display:grid;gap:8px;margin:0;padding:0}
.gd-reads a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:10px 14px;border-radius:14px;background:var(--sg-white);font-size:15px;font-weight:700;line-height:1.55;color:var(--sg-heading);text-decoration:none}
.gd-reads a::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--sg-accent);border-bottom:2px solid var(--sg-accent);transform:rotate(-45deg)}
@media (hover:hover){.gd-reads a:hover{text-decoration:underline;text-underline-offset:3px}}
@media (min-width:841px){
  .gd-reads--2,.gd-reads--4{grid-template-columns:1fr 1fr}
  .gd-reads--3{grid-template-columns:repeat(3,1fr)}
  .gd-reads--1{max-width:720px}
  .gd-reads__grp{padding:var(--s4)}
}

/* R2-A4：診断のQ1をSPのFVに入れる（写真を縮め、タグを隠す。PCはそのまま） */
@media (max-width:840px){
  .sg-page--shindan .gd-phero__photo img{height:112px}
  .sg-page--shindan .gd-phero__tags{display:none}
  .sg-page--shindan .gd-phero__in{padding-bottom:var(--s2)}
  .sg-page--shindan .gd-phero .sg-lead{font-size:15px;margin-bottom:0}
  .sg-page--shindan #shindan{padding-top:var(--s2)}
}
/* g4b：SPは読みもの帯を横スワイプに（縦に積むと1,000px超＝長さNG）。テーマ1つのページは縦のまま */
@media (max-width:840px){
  .gd-reads:not(.gd-reads--1){display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--sg-gap));padding:4px var(--sg-gap) 8px;scroll-padding:0 var(--sg-gap);scrollbar-width:none}
  .gd-reads:not(.gd-reads--1)::-webkit-scrollbar{display:none}
  .gd-reads:not(.gd-reads--1) .gd-reads__grp{flex:0 0 86%;scroll-snap-align:start}
}
@media (min-width:841px){.gd-reads__swipe{display:none}}
@media (max-width:840px){.sg-page--shindan .gd-phero .sg-eyebrow{display:none}.sg-page--shindan .gd-phero__photo img{height:96px}}
/* g4b：写真の上の文字は、文字が乗る範囲を濃い側で塗り切る（グラデの薄い所に文字が掛かると明るい写真で4.5を割る） */
.gd-band__cap{background:linear-gradient(to top,var(--gd-scrim) 0%,var(--gd-scrim) 62%,var(--gd-scrim-0) 100%)}
.gd-country__cap{padding-top:56px;background:linear-gradient(to top,var(--gd-scrim) 0%,var(--gd-scrim) 58%,var(--gd-scrim-0) 100%)}
