@charset "UTF-8";
/* ハイシャカイトル：黄色・濃墨・白。細い罫線と余白で組む誌面調。角丸・グラデーション・影は使わない。 */
:root {
  --yellow: #ffe000;
  --yellow-soft: #fff6b3;
  --ink: #161616;
  --ink-2: #3a3a38;
  --muted: #5c5c57;
  --rule: #d9d8cf;
  --paper: #fafaf6;
  --focus: #0b57d0;
  --wrap: 1200px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 100%;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt" 0;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; background: #fff; border-top: 6px solid var(--yellow); overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.45; letter-spacing: .01em; text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main { display: block; min-width: 0; }
main:focus { outline: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
/* 読み上げ専用テキスト。left/top を固定し、はみ出しの原因にならないようにする。 */
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 18px; font-size: .875rem; }
.skip:focus { top: 12px; }
.small, .table-note { font-size: .875rem; color: var(--muted); }
.preview-strip, .ad-strip { margin: 0; padding: 6px 16px; font-size: .875rem; text-align: center; background: var(--ink); color: #fff; }
.ad-strip { background: var(--yellow); color: var(--ink); }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--ink); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.logo-ja { font-size: 1.625rem; font-weight: 900; letter-spacing: .02em; }
.logo-en { font-family: "Helvetica Neue", Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .26em; margin-top: 4px; }
.logo-ja::before { content: ""; display: inline-block; width: .5em; height: .5em; background: var(--yellow); border: 2px solid var(--ink); margin-right: .35em; vertical-align: .08em; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; font-size: .9375rem; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; background: #fff; border: 1px solid var(--ink); cursor: pointer; font-size: .875rem; font-weight: 700; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* ---------- 共通部品 ---------- */
.kicker { font-family: "Helvetica Neue", Arial, sans-serif; font-size: .875rem; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); outline: 1px solid var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 700; text-decoration: none; line-height: 1.5; cursor: pointer; transition: background-color .15s; }
.button:hover { background: var(--yellow-soft); }
.button-line { background: #fff; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #333; }
.button-primary span[aria-hidden] { color: var(--yellow); }
.button .ext { font-size: .875rem; }
.ad-label { font-size: .75rem; border: 1px solid currentColor; padding: 0 6px; }
.text-link { font-weight: 700; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin-right: 4px; }
.breadcrumb a { color: var(--muted); }
.notice { margin: 16px 0; padding: 14px 18px; border-left: 4px solid var(--yellow); background: var(--paper); }

.page-head { padding: 36px 0 32px; }
.page-head .breadcrumb { margin-bottom: 36px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.page-lede { font-size: 1.0625rem; color: var(--ink-2); max-width: 44em; margin-top: 18px; }

.photo img { width: 100%; background: #eeede6; }
.photo figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--yellow); }

.st { display: inline-block; font-size: .8125rem; font-weight: 700; line-height: 1.5; padding: 1px 8px; margin-right: 6px; border: 1px solid var(--ink); }
.st-listed { background: var(--ink); color: #fff; }
.st-conditional { background: var(--yellow); color: var(--ink); }
.st-unknown { background: #fff; color: var(--ink); border-style: dashed; }
.st-excluded { background: #fff; color: var(--ink); border-style: double; border-width: 3px; }
.st-text { display: block; margin-top: 4px; }

.disclosure { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 18px 0; margin: 32px 0; font-size: .9375rem; }
.disclosure-title { font-weight: 800; font-size: .875rem; letter-spacing: .08em; margin-bottom: 8px; }
.disclosure ul { list-style: none; display: grid; gap: 6px; }
.disclosure li { padding-left: 1.1em; text-indent: -1.1em; }
.disclosure li::before { content: "■"; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); margin-right: .35em; font-size: .75em; }

/* 表 */
.table-scroll { position: relative; overflow-x: auto; margin: 24px 0 12px; border-top: 2px solid var(--ink); }
.table-scroll:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9375rem; }
caption { text-align: left; font-size: .875rem; color: var(--muted); padding: 10px 0; caption-side: bottom; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
thead th { font-size: .9375rem; border-bottom: 1px solid var(--ink); background: var(--paper); }
tbody th { font-weight: 700; width: 11em; }
td + td, th + td, td + th, thead th + th { border-left: 1px solid var(--rule); }
.src { display: block; }
.src + .src { margin-top: 4px; }

/* ---------- トップ ---------- */
.home-hero { border-bottom: 1px solid var(--ink); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; padding: 36px 0 40px; }
.home-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.3; margin-top: 16px; letter-spacing: -.01em; text-wrap: wrap; }
/* 見出しは句の単位で改行し、句の途中（「売／り先」など）で折り返さない。幅が足りない画面だけ句の中で折り返す */
.h1-phrase { display: inline-block; max-width: 100%; }
.home-hero-lede { font-size: 1.0625rem; margin-top: 16px; color: var(--ink-2); max-width: 34em; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.home-hero-meta { margin-top: 18px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.home-hero-photo img { aspect-ratio: 3 / 2; object-fit: cover; }

.section { padding: 72px 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 24px; margin-bottom: 32px; max-width: 900px; }
.section-no { grid-row: span 2; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 2.5rem; font-weight: 300; line-height: 1; border-top: 3px solid var(--ink); padding-top: 12px; }
.section-head h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.section-head p:not(.section-no) { color: var(--ink-2); margin-top: 8px; }
.section-more { margin-top: 16px; }

.state-list { list-style: none; border-top: 2px solid var(--ink); }
.state-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.state-no { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.5rem; font-weight: 700; background: var(--yellow); border: 1px solid var(--ink); width: 56px; height: 56px; display: grid; place-items: center; }
.state-body h3 { font-size: 1.375rem; }
.state-body h3 a { text-decoration: none; }
.state-body h3 a::after { content: " →"; }
.state-body h3 a:hover { text-decoration: underline; }
.state-body p { color: var(--muted); }
.state-compare { font-size: .9375rem; font-weight: 700; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.photo-link { display: block; }
.feature-photo img { aspect-ratio: 16 / 9; object-fit: contain; }
.feature-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 12px; }
.feature-title a { text-decoration: none; }
.feature-title a:hover { text-decoration: underline; }
.feature-body p:last-child { color: var(--ink-2); }

.article-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.article-item { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.article-item-cat { font-size: .875rem; font-weight: 700; display: inline-block; background: var(--yellow); padding: 0 8px; }
.article-item-title { font-size: 1.25rem; margin: 8px 0; }
.article-item-title a { text-decoration: none; }
.article-item-title a:hover { text-decoration: underline; }
.article-item-desc { color: var(--ink-2); }
.article-item-meta { font-size: .875rem; color: var(--muted); margin-top: 8px; }
/* 記事カードのアイキャッチ：画像内の見出しが欠けないよう、実比率（16:9）で全体を表示する */
.article-item-thumb { display: block; margin-bottom: 14px; }
.article-item-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #eeede6; }
.photo-note { font-size: .875rem; color: var(--muted); margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--yellow); }
.photo-note-full { margin-bottom: 80px; }

/* 各社公式サイトのFV（引用）：原画を切らずに全体表示し、生成画像とは表記を分ける */
.fv-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fv-name { font-size: 1.125rem; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 10px; }
.fv-link { display: block; border: 1px solid var(--ink); background: #fff; }
.fv-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.fv figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; overflow-wrap: anywhere; }
.fv-label { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--ink); border: 1px solid var(--ink); padding: 0 6px; margin-right: 8px; }
.fv-note { font-size: .875rem; color: var(--ink-2); margin: 16px 0 28px; }

.principles { background: var(--yellow); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 64px 0; }
.principles-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; }
.principles h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.4; }
.principles ol { list-style: none; counter-reset: p; border-top: 2px solid var(--ink); }
.principles li { counter-increment: p; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--ink); position: relative; }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
.principles li strong { display: block; font-size: 1.125rem; }
.principles-grid > p { grid-column: 2; }

/* ---------- 比較 ---------- */
.filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; align-items: end; padding: 24px; background: var(--paper); border: 1px solid var(--ink); }
.filter-field label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.filter-search { grid-column: 1 / -1; }
.filter input[type="search"] { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--ink); background: #fff; border-radius: 0; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.filter select { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--ink); background: #fff; border-radius: 0; font-size: 1rem; }
.filter-check { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.filter-check label { margin: 0; font-size: .875rem; cursor: pointer; }
.filter-check input { width: 22px; height: 22px; accent-color: var(--ink); flex-shrink: 0; margin: 0; }
.result-count { font-weight: 700; margin: 28px 0 8px; font-size: 1.0625rem; }
.provider-list { list-style: none; border-top: 2px solid var(--ink); }
.provider { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--ink); }
.provider-name { font-size: 1.75rem; }
.provider-operator { font-size: .875rem; color: var(--muted); }
.provider-summary { margin-top: 12px; color: var(--ink-2); }
.provider-match { margin-top: 14px; padding: 10px 12px; background: var(--yellow-soft); border-left: 4px solid var(--ink); font-size: .9375rem; font-weight: 700; }
.provider[data-match="unknown"] .provider-match { background: #fff; border-left-style: dashed; }
.provider-facts > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.provider-facts > div:first-child { padding-top: 0; }
.provider-facts dt { font-weight: 700; font-size: .875rem; }
.provider-facts .st-text { margin-top: 2px; }
.provider-foot { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.provider > * { min-width: 0; }
.provider-relation { font-size: .875rem; padding: 12px; border: 1px solid var(--rule); background: var(--paper); }
.provider-relation strong { display: block; }
.provider-src { font-size: .875rem; color: var(--muted); }
.provider-type { display: inline-block; font-size: .8125rem; font-weight: 700; border: 1px solid var(--ink); padding: 0 8px; margin-bottom: 8px; }
.provider-fit { margin-top: 14px; border-top: 1px solid var(--rule); }
.provider-fit > div { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.provider-fit dt { font-weight: 800; font-size: .875rem; }
.provider-fit dd { color: var(--ink-2); margin-top: 2px; }
/* 記事内の各社欄：本文幅に合わせて縦に並べる */
.provider-list-article { margin-top: 24px; }
.provider-list-article .provider { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; scroll-margin-top: 24px; }
.provider-list-article .provider-name { font-size: 1.5rem; margin: 0; border: 0; padding: 0; }
.provider-list-article .provider-foot { flex-direction: column; flex-wrap: nowrap; }
.provider-list-article .provider-foot .button { flex: none; }
/* 記事の各社紹介：会社名の直下に公式サイト画面（原画の比率のまま全体を表示）。本文の幅を超えない */
.provider-fv { margin-top: 14px; max-width: 720px; }
.provider-fv .fv-note { margin: 8px 0 0; }
/* 主な条件の要約表 */
.summary-table { min-width: 760px; }
.summary-table tbody th { width: 10em; }
.summary-table tbody th a { font-weight: 800; }
/* 会社名の直下の公式サイト画面：PCは比較表のサムネイル（原画の3:2のまま全体を表示） */
.summary-fv { display: block; width: 100%; max-width: 150px; height: auto; margin-top: 8px; border: 1px solid var(--ink); background: #fff; }
.summary-fv-src { display: block; margin-top: 4px; font-size: .75rem; font-weight: 400; color: var(--muted); }
.empty { margin: 24px 0; padding: 40px 24px; border: 1px dashed var(--ink); text-align: center; }
.empty-title { font-weight: 800; font-size: 1.125rem; }
.empty p:not(.empty-title) { color: var(--ink-2); margin: 10px auto 20px; max-width: 36em; }
.section-sub { margin-top: 64px; }
.section-sub > h2 { font-size: 1.625rem; padding-top: 14px; border-top: 3px solid var(--ink); }
.legend { margin-top: 16px; }
.legend > div { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }

/* ---------- 記事一覧 ---------- */
.category-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.category-filter button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--ink); background: #fff; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.category-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.category-filter button:hover:not([aria-pressed="true"]) { background: var(--yellow-soft); }
.article-list-full { border-top: 2px solid var(--ink); }
.article-item-region { display: inline-block; margin-left: 6px; padding: 0 8px; background: var(--ink); color: #fff; }

/* ---------- トップの検索（都道府県・記事）：JS有効時だけ検索欄を表示し、無効でも一覧のリンクを使える ---------- */
.finder-section { scroll-margin-top: 12px; }
.finder-section:focus { outline: none; }
.finder { padding: 20px 24px; background: var(--paper); border: 1px solid var(--ink); max-width: 760px; }
.finder label { display: block; font-size: .875rem; font-weight: 700; margin-bottom: 6px; }
.finder-row { display: flex; gap: 12px; }
.finder input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 8px 14px; border: 2px solid var(--ink); background: #fff; border-radius: 0; font-size: 1.0625rem; -webkit-appearance: none; appearance: none; }
.finder-reset { flex: none; }
.finder-hint { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.pref-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; border-top: 2px solid var(--ink); padding-top: 20px; }
.pref-area { font-size: .9375rem; margin-bottom: 8px; }
.pref-list { list-style: none; border-top: 1px solid var(--rule); }
.pref-item { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; border-bottom: 1px solid var(--rule); }
.pref-link { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 44px; padding: 8px 0; text-decoration: none; }
.pref-link:hover .pref-name { text-decoration: underline; }
.pref-name { font-weight: 700; }
.pref-kind { font-size: .8125rem; color: var(--muted); }
.pref-hub .pref-link { font-size: 1.0625rem; }
.pref-hub .pref-kind, .pref-article .pref-kind { color: var(--ink); background: var(--yellow); padding: 0 6px; font-weight: 700; }
.pref-sub { font-size: .8125rem; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- エリアTOP ---------- */
.hub { padding-bottom: 72px; }
.hub-section { margin-top: 56px; }
.hub-section > h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); padding-top: 14px; border-top: 2px solid var(--ink); }
.hub-section > p { color: var(--ink-2); margin-top: 12px; max-width: 46em; }
.hub-cities { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.hub-city { border: 1px solid var(--ink); padding: 20px; background: #fff; }
.hub-city h3 { font-size: 1.375rem; }
.hub-city h3 a { text-decoration: none; box-shadow: inset 0 -.45em 0 var(--yellow); }
.hub-city p { color: var(--ink-2); margin-top: 8px; font-size: .9375rem; }
.hub-city-more { margin-top: 8px; }
.hub .table-scroll, .hub .article-list { margin-top: 20px; }

/* ---------- 記事 ---------- */
.article-head { padding: 36px 0 32px; }
.article-head .breadcrumb { margin-bottom: 36px; }
.article-head h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin-top: 14px; max-width: 26em; }
.article-lede { font-size: 1.125rem; color: var(--ink-2); max-width: 42em; margin-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .875rem; }
.article-meta > div { display: flex; gap: 8px; }
.article-meta dt { font-weight: 700; }
.article-photo { max-width: 880px; }
/* アイキャッチは見出しの直後（導入文より前）に置き、スマートフォンでも最初の画面で見えるようにする */
.article-head .article-photo { margin-top: 20px; }
.article-photo img { aspect-ratio: 16 / 9; object-fit: contain; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; padding: 40px 0 96px; }
.toc { position: sticky; top: 24px; align-self: start; border-top: 3px solid var(--ink); padding-top: 12px; }
.toc-title { font-weight: 800; font-size: .875rem; letter-spacing: .1em; }
.toc ol { list-style: none; counter-reset: t; margin-top: 8px; }
.toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.toc a { display: flex; gap: 10px; padding: 8px 0; font-size: .875rem; text-decoration: none; }
.toc a::before { content: counter(t, decimal-leading-zero); flex: none; white-space: nowrap; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; color: var(--muted); }
.toc a:hover { text-decoration: underline; }
.toc a[aria-current] { font-weight: 800; box-shadow: inset 4px 0 0 var(--yellow); padding-left: 10px; }
.article-body > .disclosure { margin-top: 0; }
.article-body section { margin-top: 56px; scroll-margin-top: 24px; }
.article-body section:first-of-type { margin-top: 0; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); padding-top: 14px; border-top: 3px solid var(--ink); margin-bottom: 20px; }
.article-body p + p { margin-top: 1em; }
.conclusion { background: var(--paper); border-left: 6px solid var(--yellow); padding: 4px 28px 24px; }
.conclusion h2 { border-top: 0; }
.ad-cta { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--ink); border-left: 6px solid var(--yellow); background: var(--paper); }
.ad-cta-title { font-weight: 800; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ad-cta-body { margin: 8px 0 14px; }
.checkpoints { list-style: none; counter-reset: c; }
.checkpoints > li { counter-increment: c; position: relative; padding: 20px 0 20px 64px; border-bottom: 1px solid var(--rule); }
.checkpoints > li::before { content: counter(c); position: absolute; left: 0; top: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); border: 1px solid var(--ink); font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.25rem; }
.checkpoints h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.links-title { font-weight: 800; margin-top: 24px; }
.provider-links { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.provider-links .button { width: 100%; }
.checklist { list-style: none; border-top: 1px solid var(--ink); }
.checklist li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--rule); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border: 2px solid var(--ink); background: #fff; }
.faq > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 800; font-size: 1.0625rem; padding-left: 2em; text-indent: -2em; }
.faq dt::before { content: "Q"; display: inline-block; width: 2em; text-indent: 0; font-family: "Helvetica Neue", Arial, sans-serif; }
.faq dd { margin-top: 8px; padding-left: 2em; color: var(--ink-2); }
.related, .sources { list-style: none; border-top: 1px solid var(--ink); }
.related li, .sources li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.related a { font-weight: 700; }
.article-note { font-size: .875rem; color: var(--muted); margin-top: 16px; }
/* 記事固有の節（sections） */
.article-body h3 { font-size: 1.1875rem; margin: 28px 0 10px; }
.article-body h2 + h3 { margin-top: 0; }
.body-list, .steps { margin: 12px 0 0; padding-left: 1.4em; }
.body-list li, .steps li { padding: 4px 0; }
.body-list li::marker { color: var(--ink); }
.steps { list-style: none; counter-reset: s; padding-left: 0; border-top: 1px solid var(--ink); }
.steps > li { counter-increment: s; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--rule); }
.steps > li::before { content: counter(s); content: counter(s) / ""; position: absolute; left: 0; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--yellow); border: 1px solid var(--ink); font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
.body-links { list-style: none; border-top: 1px solid var(--ink); margin-top: 12px; }
.body-links li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.body-links a { font-weight: 700; }
.body-link-note { display: block; font-size: .875rem; color: var(--ink-2); }
.section-src { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.article-body .section-src a { color: inherit; }
.article-table-2 { min-width: 0; }
.article-table-3 { min-width: 560px; }
.article-table-4 { min-width: 680px; }
.compare-scope, .compare-relation { font-size: .9375rem; color: var(--ink-2); }
.compare-scope { margin: 12px 0 24px; }
.compare-relation { margin-top: 12px; }
/* 本文の図解（編集部作成のSVG）：幅いっぱいまで拡大し、スマートフォンでも図内の文字を読める大きさで描く */
.diagram { margin: 28px 0; }
.diagram img { width: 100%; max-width: 720px; height: auto; border: 1px solid var(--ink); background: #fff; }
.diagram figcaption { font-size: .9375rem; color: var(--ink-2); margin-top: 10px; max-width: 720px; }
.diagram-credit { display: block; font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.toc .toc-sub { margin: 8px 0 8px 28px; counter-reset: none; }
.toc .toc-sub li { counter-increment: none; border-bottom: 0; }
.toc-sub a { padding: 4px 0; font-size: .8125rem; }
.toc-sub a::before { content: "–"; content: "–" / ""; font-weight: 400; }

/* ---------- 固定ページ ---------- */
.prose { max-width: 820px; margin-left: max(32px, calc((100% - var(--wrap)) / 2)); padding-bottom: 96px; }
.prose section { margin-top: 48px; }
.prose h2 { font-size: 1.5rem; padding-top: 12px; border-top: 3px solid var(--ink); margin-bottom: 14px; }
.prose p + p { margin-top: 1em; }
.prose ul:not(.rules) { padding-left: 1.4em; }
.notice-block { background: var(--paper); border-left: 6px solid var(--yellow); padding: 4px 24px 20px; }
.notice-block h2 { border-top: 0; }
.products { list-style: none; border-top: 2px solid var(--ink); }
.products li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.product-no { grid-row: span 2; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.75rem; font-weight: 300; }
.products h3 { font-size: 1.25rem; }
.rules { list-style: none; border-top: 1px solid var(--ink); }
.rules li { padding: 12px 0 12px 1.6em; border-bottom: 1px solid var(--rule); position: relative; }
.rules li::before { content: "—"; position: absolute; left: 0; }
.info { border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.info dt { font-weight: 700; }

/* ---------- LP ---------- */
.lp-hero { background: var(--yellow); border-bottom: 1px solid var(--ink); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 0; }
.lp-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 16px; }
.lp-hero .kicker::before { background: #fff; }
.lp-hero .photo figcaption { color: var(--ink); border-left-color: var(--ink); }
.lp-body { max-width: 860px; padding-bottom: 96px; }
.lp-body section { margin-top: 48px; }
.lp-body h2 { font-size: 1.625rem; padding-top: 12px; border-top: 3px solid var(--ink); margin-bottom: 12px; }

/* ---------- 404 ---------- */
.not-found { padding: 64px 0 112px; }
.not-found-code { font-family: "Helvetica Neue", Arial, sans-serif; font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; -webkit-text-stroke: 2px var(--ink); color: var(--yellow); }
.not-found h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-top: 16px; }
.not-found-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; padding: 56px 0 40px; }
.logo-footer { color: #fff; }
.footer-brand p:not(.logo) { margin-top: 16px; font-size: .9375rem; color: #d6d6d0; max-width: 26em; }
.footer-nav { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; }
.footer-heading { font-size: .875rem; font-weight: 800; color: var(--yellow); letter-spacing: .08em; margin-bottom: 8px; }
.footer-nav ul { list-style: none; }
.footer-nav li a { display: inline-block; padding: 6px 0; font-size: .9375rem; text-decoration: none; }
.footer-nav li a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #4a4a47; padding: 20px 0 32px; font-size: .875rem; color: #c9c9c2; display: grid; gap: 8px; }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .provider { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .provider-foot { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .provider-foot .button { flex: 1 1 320px; }
  .provider-relation { flex: 1 1 100%; }
  .filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pref-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 16px; flex-wrap: wrap; }
  .logo-ja { font-size: 1.375rem; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
  .js .site-nav { display: none; }
  .js.menu-open .site-nav { display: block; padding-bottom: 12px; }
  .home-hero-grid, .feature, .principles-grid, .lp-hero-grid, .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-hero-grid { padding: 24px 0 32px; gap: 20px; }
  .home-hero-lede { font-size: 1rem; }
  /* 狭い画面では写真を横長に抑え、検索までの距離を短くする */
  .home-hero-photo img { aspect-ratio: 16 / 7; }
  .principles-grid > p { grid-column: 1; }
  .section { padding: 52px 0; }
  .section-head { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; }
  .section-no { font-size: 1.75rem; }
  .state-item { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; }
  .state-no { width: 44px; height: 44px; font-size: 1.125rem; grid-row: span 2; align-self: start; }
  .state-compare { grid-column: 2; }
  .article-list { grid-template-columns: minmax(0, 1fr); }
  .fv-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .provider { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  /* 1080px以下の横並び（row＋wrap）を解除する。column＋wrapのままだと各列が中身の最大幅になり、はみ出す。 */
  .provider-foot { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .provider-foot > * { flex: none; min-width: 0; max-width: 100%; }
  .provider-foot .button { flex: none; }
  .filter { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .filter-reset { width: 100%; justify-content: center; }
  .finder { padding: 16px; }
  .finder-row { flex-direction: column; }
  .finder-reset { justify-content: center; }
  .pref-groups { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hub-cities { grid-template-columns: minmax(0, 1fr); }
  .hub-section { margin-top: 44px; }
  .legend > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
  .toc { position: static; }
  .conclusion { padding: 4px 18px 20px; }
  .checkpoints > li { padding-left: 52px; }
  .checkpoints > li::before { width: 36px; height: 36px; font-size: 1.0625rem; }
  .prose { margin-inline: auto; width: calc(100% - 40px); }
  .info > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-head .breadcrumb, .article-head .breadcrumb { margin-bottom: 24px; }
  /* 要約表：狭い画面では会社ごとのカードにし、各値の前に列名を出す（横スクロールさせない） */
  .summary-table { min-width: 0; }
  .summary-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .summary-table, .summary-table tbody, .summary-table tr, .summary-table th, .summary-table td { display: block; width: auto; }
  .summary-table tr { border-bottom: 1px solid var(--ink); padding: 8px 0 12px; }
  .summary-table tbody th { width: auto; font-size: 1.0625rem; padding: 8px 0 4px; border: 0; }
  /* スマートフォン：会社名の直下に、画面の内容が見える幅で表示 */
  .summary-table .summary-fv { max-width: 420px; margin-top: 10px; }
  .summary-table td { padding: 4px 0; border: 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; }
  .summary-table td::before { content: attr(data-label); font-weight: 700; font-size: .875rem; }
  .summary-table caption { display: block; }
}
@media (max-width: 360px) {
  .wrap, .prose { width: calc(100% - 28px); }
  .logo-ja { font-size: 1.25rem; }
  .logo-en { letter-spacing: .2em; }
  .menu-toggle { padding: 8px 10px; }
  .home-hero h1 { font-size: 1.75rem; }
  .provider-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .products li { grid-template-columns: minmax(0, 1fr); }
  .product-no { grid-row: auto; }
  .button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* フッターのアクセス解析の設定（2026-10-13。analytics.js が正規ホストでだけ表示する） */
.ga-setting { padding-top: 12px; padding-bottom: 20px; font-size: .875rem; }
.ga-setting p { margin: 0 0 8px; }
.ga-setting small { display: block; font-size: .75rem; color: var(--ink-2); }
.ga-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ga-actions button { font: inherit; padding: 8px 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.ga-actions button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media print {
  .site-header, .site-footer, .toc, .preview-strip { display: none; }
  body { border-top: 0; }
}
