/* はじめての方へ・相談する・ご利用ガイド（H11・DEV-022・2026-09-29）。見た目の正は design/exports/guide-pc.png・contact-pc.png・contact-sent-pc.png
   白い見出し＋薄い地。色・角丸は solacom-tokens.css の変数だけ。Orange（--accent）は各画面で1つだけ（.gd-go）。hover は縁と面の色だけ（浮かせない）。クラスの頭は gd-（案内）・gc-（相談） */
.page-main:has(> .gd) { max-width: none; padding: 0; }
.gd { font-family: var(--font-body); color: var(--text-body); background: var(--canvas); min-height: 60vh; padding-bottom: 48px; }
.gd a { text-decoration: none; }
.gd-wrap { max-width: 1088px; margin: 0 auto; padding: 0 24px; }
.gd-head { background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); }
.gd-head .gd-wrap { padding-top: 36px; padding-bottom: 20px; }
.gd-head h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; color: var(--text-heading); line-height: 1.3; }
.gd-head p { margin: 0; font-size: 14px; color: var(--text-muted); }
.gd-body { padding-top: 28px; }
.gd-h2 { margin: 36px 0 12px; font-size: 20px; font-weight: 800; color: var(--text-heading); }

.btn.gd-go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px; border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent); color: var(--text-on-accent); font-size: 15px; font-weight: 700; }
.btn.gd-go:hover, .btn.gd-go:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text-on-accent); }
.gd-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-link); font-size: 14px; font-weight: 700; }
.gd-link:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: .2em; }

/* 立場のタイル（写真） */
.gd-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gd-role { position: relative; display: flex; align-items: flex-end; height: 150px; padding: 16px 18px; border: 3px solid transparent; border-radius: var(--r-card); background: var(--surface-inverse) center / cover no-repeat; overflow: hidden; }
.gd-role::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,53,0) 30%, rgba(15,30,53,.7) 100%); }
.gd-role span { position: relative; color: #fff; font-size: 20px; font-weight: 800; }
.gd-role:hover { border-color: var(--border-default); }
.gd-role.is-on { border-color: var(--brand); }
.gd-role:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 2px; }

/* 流れ（番号4つ＋1行） */
.gi-flow { margin-top: 20px; padding: 24px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); }
.gi-flow[hidden] { display: none; }
.gi-flow h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--text-heading); }
.gi-flow ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gi-flow li { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r-md); background: var(--surface-sunken); }
.gi-flow__n { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 4px; border-radius: 50%; background: var(--surface-card); color: var(--text-link); font: 800 12px var(--font-num); }
.gi-flow li b { font-size: 14px; color: var(--text-heading); line-height: 1.5; }
.gi-flow li small { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.gi-flow__go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 20px 0 0; }
.gi-flow__go .gd-go { min-width: 280px; }

/* 費用・用語・質問 */
.gi-fee { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); overflow: hidden; font-size: 14px; }
.gi-fee th, .gi-fee td { padding: 14px 18px; text-align: left; vertical-align: top; }
.gi-fee tr + tr th, .gi-fee tr + tr td { border-top: 1px solid var(--border-subtle); }
.gi-fee th { width: 340px; font-weight: 700; color: var(--text-heading); }
.gi-fee td { color: var(--text-body); }
.gd-terms-link { margin: 16px 0 0; }
.gd-qa { margin-bottom: 10px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); }
.gd-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 18px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.gd-qa summary::-webkit-details-marker { display: none; }
.gd-qa summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); margin-top: -4px; }
.gd-qa[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.gd-qa > div { padding: 0 18px 16px; font-size: 14px; line-height: 1.8; }
.gd-gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
.gd-gloss > div { padding: 12px 16px; border: 1px solid var(--border-subtle); border-radius: var(--r-md); background: var(--surface-card); scroll-margin-top: 80px; }
.gd-gloss > div:target { border-color: var(--border-brand); background: var(--brand-tint); }
.gd-gloss dt { font-size: 14px; font-weight: 800; color: var(--text-heading); }
.gd-gloss dd { margin: 4px 0 0; font-size: 13px; line-height: 1.7; }

/* ---------- 相談する ---------- */
.gc-wrap { max-width: 688px; margin: 0 auto; padding: 36px 24px 0; }
.gc-wrap h1 { margin: 0 0 18px; font-size: 28px; font-weight: 800; color: var(--text-heading); }
.gc-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gc-chip { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card); color: var(--text-heading); font-size: 13px; font-weight: 700; text-align: center; }
.gc-chip:hover { background: var(--surface-sunken); }
.gc-chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--text-link); }
.gc-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 13px; color: var(--text-muted); }
.gc-alert { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--red-50, #fef2f2); color: var(--red-600); font-size: 13px; font-weight: 700; }
.gc-form { margin-top: 10px; }
.gc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gc-field { margin: 16px 0 0; }
.gc-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--text-heading); }
.gc-field input, .gc-field textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card); color: var(--text-heading); font: 15px/1.6 var(--font-body); }
.gc-field input { min-height: 48px; }
.gc-field textarea { min-height: 132px; resize: vertical; }
.gc-field [aria-invalid="true"] { border: 2px solid var(--red-600); }
.gc-err { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--red-600); }
.gc-check { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: var(--text-body); cursor: pointer; }
.gc-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.btn.gd-go.gc-send { width: 100%; margin-top: 18px; }
.gc-foot { margin: 14px 0 0; font-size: 12px; color: var(--text-muted); }
.gc-foot a { color: var(--text-link); }
.gc-done { margin-top: 8px; padding: 28px 30px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); }
.gc-done__ic { font-size: 30px; color: var(--green-600); }
.gc-done h1 { margin: 14px 0 10px; font-size: 24px; }
.gc-done__no { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--text-heading); }
.gc-done p { font-size: 14px; line-height: 1.8; }
.gc-done__go { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; }

@media (max-width: 720px) {
  .gd-wrap { padding: 0 16px; }
  .gd-head .gd-wrap { padding-top: 22px; padding-bottom: 16px; }
  .gd-head h1 { font-size: 24px; }
  .gd-body { padding-top: 16px; }
  .gd-roles { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .gd-role { height: 96px; padding: 10px; border-width: 2px; }
  .gd-role span { font-size: 13px; line-height: 1.35; }
  .gi-flow { padding: 18px 16px; }
  .gi-flow ol { grid-template-columns: 1fr; gap: 8px; }
  .gi-flow li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px; }
  .gi-flow__n { margin: 0; }
  .gi-flow li b { flex: 1; min-width: 60%; }
  .gi-flow li small { flex-basis: 100%; padding-left: 34px; }
  .gi-flow__go .gd-go { width: 100%; min-width: 0; }
  .gi-fee, .gi-fee tbody, .gi-fee tr, .gi-fee th, .gi-fee td { display: block; width: auto; }
  .gi-fee th { padding-bottom: 2px; }
  .gi-fee td { padding-top: 0; }
  .gi-fee tr + tr th { border-top: 1px solid var(--border-subtle); }
  .gi-fee tr + tr td { border-top: 0; }
  .gd-gloss { grid-template-columns: 1fr; }
  .gc-wrap { padding: 22px 16px 0; }
  .gc-wrap h1 { font-size: 24px; }
  .gc-chips { grid-template-columns: 1fr 1fr; }
  .gc-done { padding: 22px 18px; }
}
/* 全体の表の既定（app.css の th・td の地と縁）を外す */
.gd table.gi-fee th, .gd table.gi-fee td { background: transparent; border: 0; }
.gd table.gi-fee tr + tr th, .gd table.gi-fee tr + tr td { border-top: 1px solid var(--border-subtle); }
@media (max-width: 720px) { .gd table.gi-fee tr + tr td { border-top: 0; } }
.gd table.gi-fee tr { background: transparent; }
/* 用語集（アコーディオン。2026-09-30） */
.gd-glossbox { margin-top: 36px; }
.gd-glossbox summary { font-size: 16px; font-weight: 800; }
.gd-glossbox .gd-gloss { padding: 0 18px 18px; }

/* ================================================================
   3つのご利用ガイド（中古・専門家・共同購入）。H11b・DEV-062・2026-10-01。描画は components/guide/service_guide.php
   見た目の正は design/exports/guide-{used,partner,joint}-{pc,sp}.png。頭は sg-（gd- は app.css の古い指定と はじめての方へ とぶつかる）
   サービスの色（--sg-svc／--sg-tint）は見出しのバッジ・薄い面・アイコンの丸だけ。状態の札は画面の部品 .ld-badge（detail.css）
   写真の帯と最後のカードの下敷きは固定の紺 #0f1e35（トークンの --surface-inverse はダークで明るくなるので使えない。決まりの例外＝写真の上の文字の下敷き）
   ================================================================ */
.page-main:has(> .sg) { max-width: none; padding: 0; }
.page-main:has(> .sg) + .ft { margin-top: 0; }   /* 最後のカードとフッターの間を空けすぎない（.sg の下の余白だけ） */
.sg { --sg-ink: #0f1e35; font-family: var(--font-body); color: var(--text-body); background: var(--canvas); padding-bottom: 48px; }
.sg--listing { --sg-svc: var(--svc-used); --sg-tint: var(--svc-used-tint); }
.sg--service { --sg-svc: var(--svc-partner); --sg-tint: var(--svc-partner-tint); }
.sg--joint { --sg-svc: var(--svc-group); --sg-tint: var(--svc-group-tint); }
.sg a { text-decoration: none; }
.sg-wrap { max-width: 1088px; margin: 0 auto; padding: 0 24px; }
.sg-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 写真の帯 */
.sg-hero { position: relative; background: var(--sg-ink); overflow: hidden; }
.sg-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,53,.95) 0%, rgba(15,30,53,.82) 30%, rgba(15,30,53,.62) 62%, rgba(15,30,53,.35) 100%); }
.sg-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.sg-hero__tx { max-width: 32em; color: #fff; }
.sg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 12px; color: rgba(255,255,255,.75); }
.sg-crumbs a { color: rgba(255,255,255,.75); }
.sg-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.sg-kick { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--sg-svc); color: #fff; font-size: 12px; font-weight: 700; }
.sg-hero__tx h1 { margin: 10px 0 8px; font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: var(--ls-jp-heading); color: #fff; }
.sg-hero__tx p { margin: 0; font-size: 15px; color: rgba(255,255,255,.88); }
.sg-facts { display: flex; flex-direction: column; background: var(--surface-card); border-radius: var(--r-card); padding: 6px 24px; }
.sg-fact { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 14px 0; }
.sg-fact + .sg-fact { border-top: 1px solid var(--border-subtle); }
.sg-fact b { font: 800 34px/1.1 var(--font-num); color: var(--text-heading); letter-spacing: -.01em; }
.sg-fact span { font-size: 13px; line-height: 1.6; color: var(--text-body); }

/* ページの中のチップ */
.sg-chipbar { background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); }
.sg-chips { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sg-chips::-webkit-scrollbar { display: none; }
.sg-chips a { flex: none; padding: 6px 14px; border: 1px solid var(--border-default); border-radius: var(--r-pill); color: var(--text-link); font-size: 13px; font-weight: 700; }
.sg-chips a:hover { background: var(--surface-sunken); border-color: var(--border-strong); }

/* 節 */
.sg-body { padding-top: 8px; }
.sg-sec { padding-top: 48px; }
.sg-sec:first-child { padding-top: 40px; }
.sg-num { margin: 0; font: 600 13px/1 var(--font-display); color: var(--text-muted); letter-spacing: .08em; }
.sg-sec h2 { margin: 6px 0 4px; font-size: 24px; font-weight: 800; color: var(--text-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-jp-heading); }
.sg-sub { margin: 0 0 16px; font-size: 14px; color: var(--text-muted); }
.sg-sec h2 + .sg-card, .sg-sec h2 + .sg-qa { margin-top: 16px; }
.sg-card { border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); padding: 24px; }
.sg-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sg-tint); color: var(--text-heading); font-size: 18px; }

/* 01 仕組み */
.sg-rel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.sg-party { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border: 1px solid var(--border-default); border-radius: var(--r-lg); text-align: center; }
.sg-party b { font-size: 17px; color: var(--text-heading); }
.sg-party small { font-size: 12px; color: var(--text-muted); }
.sg-rel__link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 200px; text-align: center; }
.sg-rel__link b { font-size: 14px; color: var(--text-heading); }
.sg-rel__link small { font-size: 12px; color: var(--text-muted); }
.sg-rel__arrow { position: relative; display: block; width: 100%; height: 2px; background: var(--text-body); }
.sg-rel__arrow::before, .sg-rel__arrow::after { content: ""; position: absolute; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--text-body); }
.sg-rel__arrow::before { left: 0; border-left: 2px solid var(--text-body); transform: rotate(-45deg); }
.sg-rel__arrow::after { right: 0; border-right: 2px solid var(--text-body); transform: rotate(45deg); }
.sg-ops { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--surface-sunken); }
.sg-ops img { height: 24px; width: auto; }
.sg-ops__roles { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-ops__roles span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--surface-card); font-size: 12px; font-weight: 700; color: var(--text-heading); }
.sg-ops__roles :is(i, svg) { font-size: 10px; color: var(--text-muted); }
.sg-ops p { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--text-body); }
.sg-fees { margin-top: 16px; }
.sg-fees__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.sg-fees__h :is(i, svg) { color: var(--text-muted); }
.sg table { width: 100%; border-collapse: collapse; }
.sg table tr, .sg table th, .sg table td { background: transparent; border: 0; }
.sg table th, .sg table td { padding: 11px 14px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.6; text-align: left; vertical-align: top; }
.sg table tr:last-child th, .sg table tr:last-child td { border-bottom: 1px solid var(--border-subtle); }
.sg table th { width: 22%; font-weight: 700; color: var(--text-heading); }
.sg table td { color: var(--text-body); }
.sg table td.is-strong { font-weight: 700; color: var(--text-heading); }
/* 段の図（共同購入） */
.sg-tier { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; margin-top: 16px; }
.sg-tier__k { margin: 0 0 4px; font-size: 12px; color: var(--text-muted); }
.sg-tier__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; height: 120px; }
.sg-tier__bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding-top: 10px; height: calc(120px - var(--i) * 28px); border-radius: var(--r-md) var(--r-md) 0 0; background: var(--sg-tint); font-size: 13px; font-weight: 700; color: var(--text-heading); }
.sg-tier__bar small { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.sg-tier__axis { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 11px; color: var(--text-muted); }
.sg-tier__side { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--text-body); }
.sg-tier__side li { display: flex; gap: 8px; }
.sg-tier__side :is(i, svg) { flex: none; margin-top: 4px; font-size: 11px; color: var(--text-muted); }

/* 02 流れ */
.sg-flowcard { padding: 20px 24px 24px; }
.sg-lanes { display: grid; grid-template-columns: 1fr 64px 1fr; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.sg-lanes span { display: flex; align-items: center; gap: 8px; }
.sg-lanes span:first-child { grid-column: 1; justify-content: flex-end; }
.sg-lanes span:last-child { grid-column: 3; }
.sg-lanes :is(i, svg) { color: var(--text-muted); font-size: 13px; }
.sg-steps { position: relative; display: flex; flex-direction: column; gap: 12px; }
.sg-steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--border-default); }
.sg-phase { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding: 8px 14px; border-radius: var(--r-md); background: var(--sg-tint); }
.sg-phase:first-child { margin-top: 0; }
.sg-phase b { font-size: 14px; color: var(--text-heading); }
.sg-phase__badges { display: inline-flex; align-items: center; gap: 6px; }
.sg-phase__badges small { font-size: 11px; color: var(--text-muted); margin-right: 2px; }
.sg-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0 8px; align-items: start; }
.sg-mark { position: relative; z-index: 1; grid-column: 2; justify-self: center; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 12px; border-radius: 50%; background: var(--text-heading); color: var(--surface-card); font: 800 13px/1 var(--font-num); }
.sg-mark--pre { background: var(--surface-card); border: 2px solid var(--border-default); color: var(--text-muted); font-size: 11px; }
.sg-stepcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: var(--surface-card); }
.sg-step--a .sg-stepcard { grid-column: 1; }
.sg-step--b .sg-stepcard { grid-column: 3; }
.sg-step--both .sg-stepcard--a { grid-column: 1; }
.sg-step--both .sg-stepcard--b { grid-column: 3; }
.sg-stepcard--merged { display: none; }
.sg-step--ops, .sg-step--auto { display: flex; justify-content: center; align-items: start; gap: 10px; }
.sg-step--ops .sg-mark, .sg-step--auto .sg-mark { margin-top: 14px; }
.sg-step--ops .sg-stepcard, .sg-step--auto .sg-stepcard { width: min(100%, 440px); border-color: var(--border-strong); }
.sg-who { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--text-muted); }
.sg-who :is(i, svg) { font-size: 10px; }
.sg-step__t { font-size: 15px; color: var(--text-heading); }
.sg-step__d { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-body); }
.sg-step__note { font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.sg-step__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-sm); background: var(--surface-sunken); font-size: 11.5px; font-weight: 700; color: var(--text-heading); }
.sg-chip :is(i, svg) { font-size: 10px; color: var(--text-muted); }
.sg-flag { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: min(100%, 520px); margin: 0 auto; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); background: var(--surface-card); font-size: 13px; color: var(--text-body); }
.sg-flag :is(i, svg) { font-size: 16px; color: var(--text-muted); }
.sg-flag b { display: block; font-size: 14px; color: var(--text-heading); }

/* 03 状態 */
.sg-states__h { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--text-heading); }
.sg-states__h--side { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.sg-path, .sg-side { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 10px; }
.sg-path li, .sg-side li { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; max-width: 220px; font-size: 12.5px; line-height: 1.55; color: var(--text-body); }
.sg-path li { position: relative; padding-right: 22px; }
.sg-path li + li::before { content: "→"; position: absolute; left: -16px; top: 2px; color: var(--text-muted); font-size: 14px; }
.sg-path li + li { margin-left: 10px; }
.sg-path .ld-badge, .sg-side .ld-badge { align-self: flex-start; }
.sg-path--box, .sg-side--box { gap: 12px; }
.sg-path--box li, .sg-side--box li { max-width: none; flex: 1 1 200px; padding-right: 0; }
.sg-path--box li + li { margin-left: 18px; }
.sg-path--box li + li::before { top: 50%; margin-top: -8px; }
.sg-box { padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: var(--r-md); background: var(--surface-card); }
.sg-box.is-todo { border: 2px solid var(--border-brand); }
.sg-box small { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.sg-box.is-todo small { color: var(--text-link); }
.sg-box b { font-size: 13.5px; color: var(--text-heading); line-height: 1.45; }
.sg-box span { font-size: 12px; color: var(--text-muted); }
.sg-states__note { margin: 16px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* 04 安心 */
.sg-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 8px 0; }
.sg-point { display: flex; flex-direction: column; gap: 10px; padding: 16px 24px; }
.sg-point + .sg-point { border-left: 1px solid var(--border-subtle); }
.sg-point b { font-size: 15px; color: var(--text-heading); }
.sg-point p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-body); }

/* 05 質問 */
.sg-qa { margin-top: 8px; border: 1px solid var(--border-subtle); border-radius: var(--r-md); background: var(--surface-card); }
.sg-qa summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.sg-qa summary::-webkit-details-marker { display: none; }
.sg-qa summary:hover { background: var(--surface-sunken); }
.sg-qa__q { font: 800 14px/1 var(--font-num); color: var(--text-link); }
.sg-qa summary :is(i, svg) { margin-left: auto; font-size: 11px; color: var(--text-muted); transition: transform .15s; }
.sg-qa[open] summary :is(i, svg) { transform: rotate(180deg); }
.sg-qa > div { padding: 0 18px 16px 42px; font-size: 14px; line-height: 1.8; color: var(--text-body); }

/* 最後の写真のカード（Orange はここだけ） */
.sg-cta { position: relative; display: flex; align-items: center; min-height: 260px; margin-top: 48px; padding: 36px 40px; border-radius: var(--r-card); background: var(--sg-ink); overflow: hidden; }
.sg-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.sg-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,30,53,.92) 0%, rgba(15,30,53,.75) 45%, rgba(15,30,53,.2) 100%); }
.sg-cta__tx { position: relative; z-index: 1; max-width: 32em; color: #fff; }
.sg-cta__tx b { display: block; font-size: 26px; font-weight: 800; line-height: 1.3; }
.sg-cta__tx p { margin: 8px 0 20px; font-size: 14px; color: rgba(255,255,255,.88); }
.sg-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent); color: var(--text-on-accent); font-size: 15px; font-weight: 700; }
.sg-btn:hover, .sg-btn:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text-on-accent); }
.sg-btn--line { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.sg-btn--line:hover, .sg-btn--line:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.sg-links { margin: 20px 0 0; font-size: 14px; font-weight: 700; }
.sg-links a { color: var(--text-link); }
.sg-links a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1079px) {
  .sg-hero__in { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .sg-fact { grid-template-columns: 120px 1fr; }
  .sg-fact b { font-size: 28px; }
}
@media (max-width: 767px) {
  .sg-wrap { padding: 0 16px; }
  .sg-hero__in { display: block; padding-top: 24px; padding-bottom: 24px; }
  .sg-hero__tx { min-height: 212px; display: flex; flex-direction: column; justify-content: flex-end; }
  .sg-hero::after { background: linear-gradient(180deg, rgba(15,30,53,.35) 0%, rgba(15,30,53,.8) 55%, rgba(15,30,53,.95) 100%); }
  .sg-hero__tx h1 { font-size: 24px; }
  .sg-hero__tx p { font-size: 14px; }
  .sg-hero__in { padding-bottom: 0; }
  .sg-hero__tx { padding-bottom: 24px; }
  .sg-facts { margin: 0 -16px; padding: 16px; border-radius: 0; background: var(--surface-card); }   /* 帯の下の白い帯の中に、薄い面の箱 */
  .sg-fact { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--sg-tint); }
  .sg-fact + .sg-fact { border-top: 0; margin-top: 8px; }
  .sg-fact b { font-size: 26px; }
  .sg-fact span { font-size: 12.5px; }
  .sg-sec { padding-top: 36px; }
  .sg-sec h2 { font-size: 22px; }
  .sg-card { padding: 16px; border-radius: var(--r-lg); }
  .sg-rel { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .sg-party { padding: 14px 8px; }
  .sg-party b { font-size: 14px; }
  .sg-party small { display: none; }
  .sg-rel__link { min-width: 0; }
  .sg-rel__link b { font-size: 12px; }
  .sg-rel__link small { display: none; }
  .sg-ops { padding: 12px 14px; }
  .sg table th { width: 34%; padding: 10px 8px; font-size: 13px; }
  .sg table td { padding: 10px 8px; font-size: 13px; }
  .sg-tier { grid-template-columns: 1fr; gap: 14px; }
  .sg-flowcard { padding: 16px 12px 18px; }
  .sg-lanes { display: none; }
  .sg-steps::before { left: 13px; margin-left: 0; }
  .sg-phase { margin-left: 0; }
  .sg-step, .sg-step--ops, .sg-step--auto { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; justify-content: stretch; }
  .sg-mark, .sg-step--ops .sg-mark, .sg-step--auto .sg-mark { grid-column: 1; margin-top: 14px; }
  .sg-step--a .sg-stepcard, .sg-step--b .sg-stepcard, .sg-step--ops .sg-stepcard, .sg-step--auto .sg-stepcard { grid-column: 2; width: auto; }
  .sg-step--both .sg-stepcard--a, .sg-step--both .sg-stepcard--b { display: none; }
  .sg-stepcard--merged { display: flex; grid-column: 2; }
  .sg-vh { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .sg-flag { width: auto; margin-left: 38px; }
  .sg-path, .sg-side { flex-direction: column; gap: 10px; }
  .sg-path li, .sg-side li { flex: 0 0 auto; max-width: none; padding-right: 0; gap: 4px; }   /* 縦並びでは flex-basis が高さになるので外す（余白の取りすぎを直した 2026-10-01） */
  .sg-path li + li { margin-left: 0; padding-top: 16px; }
  .sg-side li + li { margin-top: 2px; }
  .sg-path li + li::before { left: 6px; top: -4px; transform: rotate(90deg); }
  .sg-path--box li + li { margin-left: 0; }
  .sg-path--box li + li::before { top: -2px; margin-top: 0; }
  .sg-points { grid-template-columns: 1fr; padding: 0; }
  .sg-point { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 4px 14px; padding: 14px 16px; }
  .sg-point .sg-ico { width: 40px; height: 40px; font-size: 15px; }
  .sg-point b { flex: 1; align-self: center; }
  .sg-point p { flex-basis: 100%; padding-left: 54px; }
  .sg-point + .sg-point { border-left: 0; border-top: 1px solid var(--border-subtle); }
  .sg-qa summary { padding: 12px 14px; font-size: 13.5px; }
  .sg-qa > div { padding: 0 14px 14px 38px; font-size: 13.5px; }
  .sg { padding-bottom: 32px; }
  .sg-cta { min-height: 0; margin-top: 32px; padding: 28px 20px; border-radius: var(--r-lg); }
  .sg-cta::after { background: linear-gradient(180deg, rgba(15,30,53,.5) 0%, rgba(15,30,53,.92) 100%); }
  .sg-cta__tx b { font-size: 22px; }
  .sg-btn { width: 100%; }
  .sg-cta__btns { flex-direction: column; }
}

/* ---------- 使い方の入口の記事の1行（H19・DEV-068・2026-10-02）。3つの立場の流れの下。見た目の正は design/exports/entry-guide-provider-pc.png ---------- */
.gi-flow__entry { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
