/* DESIGN.md §3 のトークン */
:root {
  --brand: #0A5C8A; --brand-strong: #074468; --brand-subtle: #E7F1F8;
  --cta: #D9480F; --cta-strong: #B23A0B;
  --text: #1A2330; --muted: #5B6675; --border: #D5DBE3; --surface: #FFFFFF; --bg: #F5F7FA; --notice: #FFF8E6;
  --radius-card: 12px; --radius-btn: 8px; --shadow: 0 1px 2px rgba(16, 24, 40, .06);
  /* 余白（DESIGN.md §3.3）。--section はセクション間、--stack は同じセクション内の要素間、--pad はカードの内側、--row-y は一覧の行の上下 */
  --section: 40px; --stack: 12px; --pad: 16px; --row-y: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: 15px; line-height: 1.7; color: var(--text); background: var(--bg); }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: 22px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
ul, ol { margin: 0; padding-left: 1.4em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }
.num { font-feature-settings: normal; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* SiteHeader / SiteFooter */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; max-width: 1120px; margin: 0 auto; }
.site-logo { font-weight: 700; font-size: 17px; color: var(--brand); text-decoration: none; display: flex; align-items: center; gap: 8px; flex: none; }
.site-logo img { display: block; height: 36px; width: auto; }
.site-logo--footer { color: #fff; font-size: 18px; }
.site-logo--footer img { height: 28px; background: #fff; border-radius: 6px; padding: 2px; }
.site-search { margin-left: auto; display: none; }
.site-search input { height: 36px; width: 280px; border: 1px solid var(--border); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; }
.site-header__icon { margin-left: auto; color: var(--text); text-decoration: none; font-size: 13px; }
.site-footer { margin-top: 48px; background: #1A2330; color: #C9D1DB; padding: 32px 16px 96px; font-size: 13px; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }

/* レイアウト */
.page { max-width: 1120px; margin: 0 auto; padding: 12px 16px 0; }
.layout__side { display: none; }
.section { margin-top: var(--section); }
.section > * + * { margin-top: var(--stack); }
.section > .section-heading + .section-lead { margin-top: 8px; }
.section-heading { border-left: 4px solid var(--brand); padding-left: 10px; }
.section-lead { color: var(--muted); font-size: 13px; line-height: 1.6; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: var(--pad); }
.card + .card { margin-top: 12px; }

/* Breadcrumb / PageMeta */
.breadcrumb { font-size: 12px; color: var(--muted); list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: ">"; margin-right: 4px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.title-block > * + * { margin-top: 8px; }
.subtitle { font-weight: 700; font-size: 15px; }
.page-meta { line-height: 1.6; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pr-label { border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; font-weight: 700; color: var(--muted); }

/* StatusBadge（色＋文字＋アイコン） */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.badge::before { font-size: 11px; }
.badge--available { background: #E3F4EA; color: #1B6B3A; } .badge--available::before { content: "●"; }
.badge--partial { background: #FFF3D6; color: #8A5A00; } .badge--partial::before { content: "◐"; }
.badge--planned { background: #E4EEFB; color: #1F4F9C; } .badge--planned::before { content: "◷"; }
.badge--unavailable { background: #EEF0F3; color: #5B6675; } .badge--unavailable::before { content: "✕"; }
.badge--candidate { background: #EAF7EF; color: #2E7D4F; } .badge--candidate::before { content: "○"; }
.badge--parent_reference { background: #fff; color: #5B6675; box-shadow: inset 0 0 0 1px var(--border); } .badge--parent_reference::before { content: "◐"; }
.badge--geo_unresolved { background: #FFF3D6; color: #8A5A00; } .badge--geo_unresolved::before { content: "？"; }
.hint { font-size: 13px; line-height: 1.6; color: var(--text); }

/* BenefitPill */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: 4px; line-height: 22px; }
.pill--condition { background: #E3F4EA; color: #1B6B3A; }
.pill--setDiscount { background: #E4EEFB; color: #1F4F9C; }
.pill--campaign { background: #fff; color: var(--cta); box-shadow: inset 0 0 0 1.5px var(--cta); }

/* CtaButton */
.btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; border-radius: var(--radius-btn); font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-strong); color: #fff; }
.btn--secondary { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn--small { min-height: 44px; font-size: 14px; padding: 4px 14px; display: inline-flex; white-space: nowrap; }
.btn--tertiary { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; }

/* PickCard / CarrierPickCard */
.pick { border: 1.5px solid var(--brand); border-radius: var(--radius-card); background: var(--surface); padding: var(--pad); }
.pick > * + * { margin-top: 12px; }
.pick + .pick { margin-top: 12px; }
.pick__info > * + *, .pick__buy > * + * { margin-top: 12px; }
.pick__head { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; font-size: 14px; }
.pick__no { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.pick__name { font-size: 19px; line-height: 1.4; }
.pick__reasons { list-style: none; padding: 0; font-weight: 700; font-size: 14px; }
.pick__reasons li::before { content: "・"; }
.criteria { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.price-tag { background: var(--brand-subtle); border-radius: 10px; padding: 12px 16px; }
.price-tag > * + * { margin-top: 6px; }
.price-tag__label { font-size: 13px; color: var(--muted); }
.price-tag__amount { font-size: 28px; font-weight: 700; line-height: 1.2; }
.price-tag__amount small, .price-row__amount small { font-size: 14px; margin-left: 2px; }
.price-tag__amount--text { font-size: 20px; }
.price-tag__sub, .price-tag__promo { font-size: 13px; color: var(--muted); }
.price-tag__promo { color: var(--cta-strong); font-weight: 700; }
.carrier { background: var(--bg); border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.carrier + .carrier { margin-top: 8px; }
.carrier__company { font-size: 12px; color: var(--muted); grid-column: 1 / -1; }
.carrier__name { font-weight: 700; font-size: 16px; }
.carrier__price { font-size: 13px; color: var(--muted); grid-column: 1; }
.carrier .btn { grid-row: 2 / span 2; grid-column: 2; }

/* NoticeBox / AreaCheckGuide */
.notice { background: var(--notice); border-radius: var(--radius-card); padding: 16px; font-size: 14px; line-height: 1.7; display: flex; gap: 8px; }
.notice::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #8A5A00; color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.card.steps { padding: var(--pad); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.steps > li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-subtle); color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* SummaryCard / FilterChips */
.summary__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.stat { background: var(--bg); border-radius: 8px; padding: 12px; }
.stat .badge { white-space: normal; font-size: 11px; padding: 1px 8px; }
.stat__count { font-size: 24px; font-weight: 700; line-height: 1.2; }
.stat__count small { font-size: 13px; margin-left: 2px; }
.summary__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: 4px; background: var(--brand-subtle); color: var(--brand); line-height: 22px; }
.tag--off { background: #EEF0F3; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--stack); }
.chips__label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.chip { min-height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 4px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Toc */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 0 16px; }
.toc summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.toc summary::after { content: "開く ▼"; font-size: 13px; color: var(--brand); }
.toc[open] summary::after { content: "閉じる ▲"; }
.toc ol { padding: 0 0 16px 2em; font-size: 14px; }
.toc li + li { margin-top: 4px; }

/* ServiceRow（スマホはカード、PCは表） */
.service-row > * + * { margin-top: 8px; }
.service-row__name { font-size: 17px; line-height: 1.4; }
.service-row__spec { font-weight: 700; font-size: 14px; }
.service-row__evidence { font-size: 12px; line-height: 1.6; color: var(--muted); }
.service-table { display: none; }

/* RefList */
.section > .ref-group { margin-top: 24px; }
.ref-group > * + * { margin-top: 8px; }
.ref-group > h3 + .section-lead { margin-top: 8px; }
.ref-list { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.ref-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: var(--row-y) var(--pad); }
.ref-item + .ref-item { border-top: 1px solid var(--border); }
.ref-item__name { font-weight: 700; font-size: 14px; }
.ref-item__meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); min-width: 0; flex-wrap: wrap; }
.ref-item .btn { grid-row: 1 / span 2; grid-column: 2; }

/* 料金比較（PriceBarRow / PriceDetail） */
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: #EEF0F3; border-radius: 10px; padding: 4px; }
.segmented button { min-height: 44px; border: 0; background: transparent; padding: 8px; border-radius: 8px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.price-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.price-row { padding: var(--row-y) var(--pad); }
.price-row + .price-row { border-top: 1px solid var(--border); }
.price-row[hidden] { display: none; }
.price-row__main { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.price-row__ribbon { display: inline-block; background: var(--cta); color: #fff; font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: 4px; margin-bottom: 4px; }
.price-row__name { font-weight: 700; text-decoration: none; }
.price-row__meta { font-size: 12px; line-height: 1.6; color: var(--muted); }
.price-row__right { text-align: right; grid-row: 1 / span 3; grid-column: 2; }
.price-row__amount { font-size: 22px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.price-row__amount--text { font-size: 15px; }
.price-row__diff { font-size: 12px; color: var(--muted); white-space: nowrap; }
.price-row__equip { font-size: 11px; color: var(--muted); }
.price-detail summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--brand); margin-top: 8px; padding: 0 14px; background: linear-gradient(100deg, #E7F1F8, #F5F9FC); border: 1px solid #C8DDEB; border-radius: 10px; list-style: none; }
.price-detail summary::-webkit-details-marker { display: none; }
.price-detail summary::marker { content: ""; }
.price-detail summary:focus-visible { outline: 3px solid rgba(10, 92, 138, .35); outline-offset: 2px; }
.price-detail__chevron { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid #C8DDEB; border-radius: 50%; }
.price-detail__chevron::before { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.price-detail[open] .price-detail__chevron::before { transform: rotate(225deg); }
.price-detail__campaign { margin-top: 12px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.price-detail__campaign > h3 { font-size: 15px; }
.campaign-card { margin-top: 10px; padding: 12px; background: var(--bg); border-radius: 8px; }
.campaign-card h4 { margin: 0; font-size: 14px; line-height: 1.5; }
.campaign-card > p { margin-top: 6px; font-size: 14px; line-height: 1.65; }
.price-detail__campaign .campaign-card dl, .price-detail__campaign .campaign-info__summary { display: grid; gap: 0 12px; margin: 10px 0 0; padding: 0; background: transparent; border-radius: 0; font-size: 12px; line-height: 1.6; }
.price-detail__campaign .campaign-card dl { grid-template-columns: 8em minmax(0, 1fr); }
.price-detail__campaign .campaign-info__summary { grid-template-columns: 13em minmax(0, 1fr); }
.price-detail__campaign .campaign-info__summary dt { white-space: nowrap; }
.price-detail__campaign .campaign-info__summary dt, .price-detail__campaign .campaign-info__summary dd { padding: 8px 0; border-bottom: 1px solid var(--border); }
.price-detail__campaign .campaign-info__summary > :nth-last-child(-n+2) { border-bottom: 0; }
.campaign-card dd, .campaign-info__summary dd { margin: 0; }
.campaign-card__source { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; padding: 0 12px; color: var(--brand); background: var(--brand-subtle); border: 1px solid #C8DDEB; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.campaign-card__checked, .campaign-info__note { margin-top: 4px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.campaign-info__summary + .campaign-card__source { margin-top: 4px; }
@media (max-width: 480px) {
  .price-detail__campaign .campaign-info__summary { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .price-detail__campaign .campaign-info__summary dt { padding: 8px 0 0; border-bottom: 0; font-weight: 700; }
  .price-detail__campaign .campaign-info__summary dd { padding: 2px 0 8px; border-bottom: 1px solid var(--border); }
  .price-detail__campaign .campaign-info__summary > :nth-last-child(-n+2) { padding-bottom: 0; }
}
.price-detail dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 12px; font-size: 13px; margin: 10px 0 0; padding: 12px; background: var(--bg); border-radius: 8px; }
.price-detail dt { color: var(--muted); }
.price-detail dd { margin: 0; }
.price-detail .warn { color: var(--cta-strong); font-weight: 700; }
.price-detail .btn { margin-top: 10px; }
.show-all { width: 100%; min-height: 44px; border: 1px solid var(--border); background: #fff; border-radius: var(--radius-btn); padding: 8px 16px; font: inherit; font-weight: 700; color: var(--brand); cursor: pointer; }
.note { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* CompareTable（スマホは横スクロール・項目名の列を固定） */
.compare { position: relative; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.compare::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 24px; border-radius: 0 12px 12px 0; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
.compare table { border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 100%; }
.compare th, .compare td { padding: 8px 12px; line-height: 1.6; border-bottom: 1px solid var(--border); vertical-align: top; min-width: 132px; white-space: pre-line; }
.compare thead th { background: var(--brand-subtle); font-size: 13px; text-align: left; }
.compare tbody th { position: sticky; left: 0; background: #F8FAFC; min-width: 92px; width: 92px; text-align: left; color: var(--muted); font-weight: 700; z-index: 1; }
.compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
.compare tr:last-child > * { border-bottom: 0; }

/* セット割 */
.set-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: var(--row-y) var(--pad); }
.set-row + .set-row { border-top: 1px solid var(--border); }
.set-row__carrier { font-weight: 700; }
.set-row__detail { font-size: 12px; line-height: 1.6; color: var(--muted); grid-column: 1; }
.set-row .btn { grid-row: 1 / span 2; grid-column: 2; }

/* CollaboChipGrid / 住宅タブ / CatvCard */
.chip-grid { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.chip-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.tabs [role="tablist"] { display: flex; border-bottom: 1px solid var(--border); }
.tabs [role="tab"] { flex: 1; min-height: 44px; border: 0; background: none; padding: 10px; font: inherit; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabs [role="tabpanel"] { padding-top: 16px; }
.catv-card > * + * { margin-top: 8px; }
.catv-card__plans { display: flex; gap: 6px; }
.catv-card blockquote { margin: 0; padding: 8px 12px; line-height: 1.6; border-left: 3px solid var(--border); background: var(--bg); font-size: 13px; }
.cond { font-size: 13px; list-style: none; padding: 0; }
.cond__type { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; margin-right: 6px; background: var(--brand-subtle); color: var(--brand); }
.cond__type--除く { background: #EEF0F3; color: var(--muted); }

/* 解説コンテンツ */
.merits { display: grid; gap: 12px; list-style: none; padding: 0; }
.merit { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-content: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--pad); }
.merit__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-subtle); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; grid-row: 1 / span 2; }
.merit__title { font-weight: 700; }
.merit__text { font-size: 14px; line-height: 1.7; }
.type-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.6; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.type-table th, .type-table td { border-bottom: 1px solid var(--border); padding: 12px; text-align: left; vertical-align: top; }
.type-table tr > * + * { border-left: 1px solid var(--border); }
.type-table tbody tr:last-child > * { border-bottom: 0; }
.type-table th { background: var(--brand-subtle); width: 6.5em; }
.type-table td strong { display: block; margin-top: 6px; color: var(--brand); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two-col > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--pad); font-size: 14px; line-height: 1.7; }
.two-col h3 { font-size: 15px; margin-bottom: 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--pad); }
.tile__label { font-size: 13px; color: var(--muted); }
.tile__value { font-size: 20px; font-weight: 700; line-height: 1.4; }
.tile__value small { font-size: 12px; }

/* OfficialSiteList / FAQ / Source / AreaLinkGrid */
.official-list { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.official-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: var(--row-y) var(--pad); font-size: 14px; line-height: 1.6; }
.official-list li + li { border-top: 1px solid var(--border); }
.official-list a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.official-list li > span { flex: none; }
/* 地域ページは「回線名＋公式サイトで確認」。回線名を折り返し、ボタンの文言は1行に保つ */
.official-list li > span:first-child { flex: 1 1 auto; min-width: 0; }
.official-list li > span:first-child + a { flex: none; white-space: nowrap; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item summary { cursor: pointer; padding: var(--row-y) var(--pad); line-height: 1.6; font-weight: 700; list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.faq-item summary::before { content: "Q"; color: var(--brand); }
.faq-item__a { padding: 0 var(--pad) 16px 48px; font-size: 14px; line-height: 1.7; }
.source-list { list-style: none; padding: 0; font-size: 13px; line-height: 1.6; }
.source-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.source-list a { word-break: break-all; }
.area-links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.area-links a, .area-links span { display: inline-flex; align-items: center; min-height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 13px; text-decoration: none; }
.area-links span { background: var(--brand); color: #fff; border-color: var(--brand); }
.area-links-wrap.is-collapsed .area-links { max-height: 210px; overflow: hidden; }

/* AreaRow（都道府県・政令市ページ） */
.area-rows { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.area-row a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: var(--row-y) var(--pad); text-decoration: none; color: var(--text); }
.area-row + .area-row { border-top: 1px solid var(--border); }
.area-row__name { font-weight: 700; color: var(--brand); }
.area-row__tags { display: flex; gap: 4px; }
.area-row__count { grid-row: 1 / span 2; grid-column: 2; font-size: 13px; color: var(--muted); white-space: nowrap; }
.area-row__count::after { content: " ›"; }

/* TOP */
.hero { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; border-radius: var(--radius-card); padding: 24px var(--pad); }
.hero > * + * { margin-top: 12px; }
.hero h1 { font-size: 22px; }
.pref-grid { display: grid; gap: 12px; }
.pref-region h3 { font-size: 14px; color: var(--muted); margin-bottom: 6px; }

/* StickyCta（3選が見えている間は隠す） */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -2px 8px rgba(16,24,40,.08); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: center; transform: translateY(110%); visibility: hidden; transition: transform .2s, visibility .2s; }
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta__heading { font-size: 11px; color: var(--muted); }
.sticky-cta__name { font-weight: 700; font-size: 14px; line-height: 1.4; }
.sticky-cta .btn { grid-row: 1 / span 2; grid-column: 2; }

/* PC（DESIGN.md §2: 本文 760px＋間隔 40px＋サイドバー 320px） */
@media (min-width: 1024px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 18px; }
  :root { --section: 48px; --stack: 16px; }
  .section-lead { font-size: 14px; }
  .small, .note { font-size: 13px; }
  .hero { padding: 32px; }
  .hero h1 { font-size: 28px; }
  .site-search { display: block; }
  .site-header__icon { display: none; }
  .page { padding-top: 20px; }
  .layout { display: grid; grid-template-columns: 760px 320px; gap: 40px; justify-content: center; }
  .layout__main { min-width: 0; }
  .layout__side { display: block; }
  .side-sticky { position: sticky; top: 76px; display: grid; gap: 16px; }
  .side-sticky .toc ol { max-height: calc(100vh - 360px); overflow: auto; }
  .service-cards { display: none; }
  .service-table { display: table; width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
  .service-table th, .service-table td { border-bottom: 1px solid var(--border); padding: 14px 12px; text-align: left; vertical-align: middle; line-height: 1.6; }
  .service-table th:first-child, .service-table td:first-child { padding-left: var(--pad); }
  .service-table th:last-child, .service-table td:last-child { padding-right: var(--pad); }
  /* 行は th（回線）＋ td×4。根拠の列が潰れないよう幅を配分する */
  .service-table thead th:nth-child(2) { width: 28%; }
  .service-table thead th:nth-child(3) { width: 14%; }
  .service-table thead th:nth-child(4) { width: 22%; }
  .service-table thead th { background: var(--brand-subtle); font-size: 13px; }
  .service-table .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
  .compare th, .compare td { min-width: 120px; }
  .summary__stats { grid-template-columns: repeat(4, 1fr); }
  .pick--single { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
  .pick--single > * + * { margin-top: 0; }
  .carrier-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .carrier-list .carrier { grid-template-columns: 1fr; }
  .carrier-list .carrier + .carrier { margin-top: 0; }
  .carrier-list .carrier .btn { grid-row: auto; grid-column: 1; margin-top: 8px; }
  .service-table thead th:first-child { width: 18%; }
  .merits { grid-template-columns: 1fr 1fr; }
  .pref-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none; }
  .site-footer { margin-top: 64px; padding: 40px 16px; }
}

/* 都道府県・政令市ページ */
.area-filter { width: 100%; height: 48px; border: 1.5px solid var(--brand); border-radius: 10px; padding: 0 14px; font: inherit; }
.tag--catv { background: #E3F4EA; color: #1B6B3A; }
.area-row__count { display: flex; align-items: center; gap: 8px; }
.link-button { min-height: 44px; background: none; border: 0; padding: 8px 0; cursor: pointer; font: inherit; font-size: 14px; }
.ward-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ward-grid a { display: flex; align-items: center; min-height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-weight: 700; text-decoration: none; font-size: 14px; }
@media (min-width: 1024px) { .ward-grid { grid-template-columns: repeat(6, 1fr); } }

/* TOP */
.hero__search { width: 100%; height: 52px; border: 0; border-radius: 10px; padding: 0 16px; font: inherit; margin-top: 6px; }
.hero__popular { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hero__popular a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 4px 12px; font-size: 13px; text-decoration: none; }
.pref-regions { padding: 0; }
.pref-region { padding: var(--row-y) var(--pad); }
.pref-region + .pref-region { border-top: 1px solid var(--border); }
.pref-region h3 { font-size: 12px; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.pref-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pref-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.legend { list-style: none; display: grid; gap: 12px; }
.legend li { display: grid; gap: 2px; justify-items: start; }
.data-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.data-stats .card { text-align: center; padding: 16px 8px; margin: 0; }
.data-stats strong { display: block; font-size: 20px; color: var(--brand); }

/* 事業者ページ */
.plan-card > * + * { margin-top: 12px; }
.coverage-table { margin-top: 12px; }
.coverage-table th { width: auto; }
.coverage-table td { text-align: right; }
.entry-content { line-height: 1.8; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 18px; margin-top: 2em; }
.entry-content h3 { font-size: 16px; margin-top: 1.75em; }
.entry-content h2 + :not(h3), .entry-content h3 + * { margin-top: .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content img { max-width: 100%; height: auto; }

/* コラム */
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.guide-list .card + .card { margin-top: 0; }
.guide-list__title { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; font-size: 16px; line-height: 1.5; text-decoration: none; }

/* 固定ページ */
.entry-content table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 12px; line-height: 1.6; text-align: left; vertical-align: top; }
.entry-content th { background: var(--brand-subtle); width: 8em; }

/* 地域名の入力補完 */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; list-style: none; margin: 0; padding: 4px 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.12); color: var(--text); text-align: left; }
.suggest [role="option"] { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; cursor: pointer; font-size: 15px; }
.suggest [role="option"][aria-selected="true"], .suggest [role="option"]:hover { background: var(--brand-subtle); }
.suggest__pref { color: var(--muted); font-size: 13px; }
.plans-grid .card + .card { margin-top: 12px; }
@media (min-width: 1024px) {
  .plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .plans-grid .card + .card { margin-top: 0; }
  .plan-card { display: flex; flex-direction: column; }
}
