/* でんわ確認。強い色はヘッダーの緑1色。区切りは線、角は小さく、影は使わない（design/no-ai-look.md） */
:root {
  --ink: #222;
  --sub: #5c5c5c;
  --line: #d8d8d8;
  --face: #f5f5f3;
  --card: #fff;
  --accent: #0b7a52;
  --accent-ink: #086445;
  --accent-soft: #eef6f2;
  --header: #0b7a52;
  --warn: #a3361f;
  --radius: 2px;
  --radius-l: 2px;
  --radius-pill: 2px;
  --space: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
  --shadow: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; font-weight: 400; color: var(--ink); background: var(--face); font-feature-settings: "palt" 0; overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.5; font-weight: 600; margin: 0; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; }
.tnum, .nl-num, .ph-num, .tbl .r { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nw { white-space: nowrap; }

/* ヘッダー（IVRy：緑帯＋白ロゴ＋ピル型検索） */
.gh { background: var(--header); color: #fff; }
.gh-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.logo { font-weight: 600; font-size: 17px; color: #fff; text-decoration: none; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 32px; height: 32px; display: block; }
.logo:hover { color: #fff; opacity: 0.92; }
.gh-nav { display: flex; gap: 16px; margin-left: auto; font-size: 14px; }
.gh-nav a { color: rgba(255,255,255,.9); text-decoration: none; padding: 6px 0; }
.gh-nav a:hover { color: #fff; text-decoration: underline; }
.gh-in.wide { max-width: 1120px; }
.gh-search { order: 3; flex: 1 1 100%; display: flex; }
.gh-search input { flex: 1; min-width: 0; height: 40px; border: 0; border-radius: var(--radius-pill) 0 0 var(--radius-pill); padding: 0 16px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.gh-search button { height: 40px; padding: 0 16px; border: 0; background: #15231e; color: #fff; border-radius: 0 var(--radius-pill) var(--radius-pill) 0; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gh-search button:hover { background: #0c1612; }
@media (min-width: 760px) {
  .gh-search { order: 0; flex: 0 1 340px; }
  .gh-nav { margin-left: auto; }
}

/* レイアウト */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 80px; }
.wrap.wide { max-width: 1120px; }
.bc { font-size: 13px; color: var(--sub); padding: 16px 0 8px; }
.bc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; }
.bc li + li::before { content: "›"; margin: 0 8px; color: #9aa89f; }
.bc a { color: var(--sub); text-decoration: none; }
.bc a:hover { color: var(--ink); text-decoration: underline; }

/* 番号ページ見出し */
.ph { margin: 8px 0 24px; }
.ph-label, .eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--sub); margin: 0 0 8px; }
.ph h1, .hero h1 { font-size: 28px; font-weight: 600; }
.ph-num { display: block; font-size: 22px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.4; color: var(--sub); }
.ph-who, .ph-sub { display: block; font-size: 26px; font-weight: 600; margin-top: 12px; letter-spacing: 0.04em; line-height: 1.45; color: var(--ink); }
.ph-who.is-unknown { font-weight: 600; }
.ph-fact { margin: 8px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.ph-alt { margin: 8px 0 0; color: var(--sub); font-size: 13px; }

/* 導入文（IVRyの詳細ページ：グレー枠の注意書きではなく本文として説明） */
.answer { background: transparent; border: 0; padding: 0; margin: 0 0 28px; }
.answer-main { font-size: 16px; line-height: 1.85; margin: 0 0 12px; }
.answer-src { font-size: 13px; color: var(--sub); margin: 0; line-height: 1.7; }
.answer-rep { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.answer-rep:empty { display: none; }

/* 基本情報をカード化 */
.sec { margin: 32px 0; }
.sec > h2 { font-size: 18px; font-weight: 600; margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.sec > h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.dl { display: grid; grid-template-columns: 9.5em 1fr; gap: 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dl dt, .dl dd { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.dl dt:first-of-type, .dl dt:first-of-type + dd { border-top: 0; }
.dl dt { color: var(--sub); font-size: 13px; font-weight: 600; background: #f7faf8; }
.dl dd { font-size: 15px; }
.dl .sub { display: block; font-size: 12px; color: var(--sub); font-weight: 400; margin-top: 2px; }
.dl.wide-dt { grid-template-columns: 8em 1fr; }
@media (max-width: 519px) {
  .dl, .dl.wide-dt { grid-template-columns: 1fr; }
  .dl dt { padding-bottom: 0; border-top: 1px solid var(--line); background: transparent; }
  .dl dd { padding-top: 4px; border-top: 0; }
  .dl dt:first-of-type { border-top: 0; }
}

.fac { background: var(--card); border-top: 1px solid var(--line); padding: 16px 0 8px; margin: 0 0 16px; }
.fac h3 { margin-bottom: 12px; }
.fac .dl { border: 0; box-shadow: none; border-radius: 0; }

.note { font-size: 13px; color: var(--sub); }
.more { margin-top: 12px; }
.links { list-style: none; }
.links li { margin: 0; border-bottom: 1px solid var(--line); }
.links a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); }
.links a:hover { color: var(--accent); }

.nlist { list-style: none; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nlist li { border-top: 1px solid var(--line); padding: 10px 16px; display: grid; gap: 2px; }
.nlist li:first-child { border-top: 0; }
.nlist a { text-decoration: none; color: inherit; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.nlist a:hover .nl-num { color: var(--accent); }
.nl-num { font-weight: 700; min-width: 8.5em; }
.nl-name { flex: 1; }
.nl-meta { font-size: 13px; color: var(--sub); }

.tbl { width: 100%; border-collapse: collapse; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); }
.tbl th { font-size: 13px; color: var(--sub); background: #f7faf8; border-top: 0; }
.tbl .r { text-align: right; }
.codes, .inline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.codes a, .inline a, .pager a, .pager span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--ink); background: var(--card); font-variant-numeric: tabular-nums; }
.codes a:hover, .inline a:hover, .pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; align-items: center; }
.pager [aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles a { display: block; background: var(--card); border: 1px solid var(--line); padding: 16px; text-decoration: none; color: inherit; min-height: 88px; }
.tiles a:hover { border-color: var(--accent); }
.tiles b { display: block; font-size: 20px; }
.tiles span { display: block; font-size: 13px; color: var(--sub); margin-top: 4px; }
.region { margin-bottom: 16px; }
.region h3 { font-size: 14px; color: var(--sub); margin-bottom: 8px; font-weight: 600; letter-spacing: 0; }

.qa h3 { font-size: 16px; margin: 20px 0 6px; }
.qa p { color: var(--ink); }
.src ul { padding-left: 1.2em; }
.src li { margin: 6px 0; }

/* 報告 */
.rp-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rp-cats button { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 2px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); }
.rp-cats button:hover, .rp-cats button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.rp-form textarea { width: 100%; min-height: 80px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.rp-form button, .btn { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 2px; padding: 10px 20px; cursor: pointer; }
.rp-form button:hover, .btn:hover { background: var(--accent-ink); }
.rp-recent { list-style: none; }
.rp-recent li { padding: 10px 0; border-top: 1px solid var(--line); }
.rp-cat { font-size: 13px; color: var(--sub); }

/* トップ（Findsio：大きな見出し＋カード型検索＋信頼の一文） */
.hero, .top-search { text-align: center; padding: 40px 0 24px; max-width: 720px; margin: 0 auto; }
.hero .eyebrow, .top-search .eyebrow { text-transform: none; letter-spacing: 0.04em; }
.hero h1, .top-search h1 { font-size: 28px; line-height: 1.5; font-weight: 600; margin: 0 0 16px; }
.hero .lead, .top-search .lead { font-size: 16px; color: var(--sub); margin: 0 0 28px; }
.search-card { background: var(--card); padding: 16px; border: 1px solid var(--line); text-align: left; }
.big-search { display: flex; flex-direction: column; gap: 10px; }
.big-search input { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0 20px; font: inherit; font-size: 18px; background: var(--face); }
.big-search button { height: 52px; border: 0; border-radius: var(--radius-pill); background: #15231e; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.big-search button:hover { background: #0c1612; }
.trust, .top-search .hint { text-align: center; font-size: 13px; color: var(--sub); margin: 12px 0 0; }
.stats { background: var(--card); padding: 16px 16px 8px; border: 1px solid var(--line); }
.stats dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 12px; }
.stats dl > div { display: flex; flex-direction: column; justify-content: space-between; }
.stats dt { font-size: 12px; color: var(--sub); line-height: 1.5; }
.stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; }
@media (max-width: 759px) {
  .stats { padding: 16px 12px 8px; }
  .stats dl { gap: 8px; }
  .stats dt { font-size: 11px; line-height: 1.3; white-space: nowrap; }
}

.howto ol { list-style: none; counter-reset: s; }
.howto li { counter-increment: s; position: relative; padding: 0 0 16px 40px; }
.howto li::before { content: counter(s) "."; position: absolute; left: 0; top: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.8; }
.howto li p { margin: 2px 0 0; color: var(--sub); font-size: 15px; }
@media (min-width: 760px) {
  .hero, .top-search { padding-top: 64px; padding-bottom: 32px; }
  .hero h1, .top-search h1 { font-size: 32px; }
  .ph-num { font-size: 24px; }
  .ph-who, .ph-sub { font-size: 32px; }
  .ph h1 { font-size: 32px; }
  .big-search input { height: 56px; font-size: 20px; }
  .big-search button { height: 56px; }
  .stats dd { font-size: 28px; }
}

/* 一覧（市内局番） */
.num-grid { list-style: none; display: grid; grid-template-columns: 1fr; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .num-grid { grid-template-columns: 1fr 1fr; } }
.num-grid li { border-top: 1px solid var(--line); }
.num-grid li:first-child, .num-grid li:nth-child(2) { border-top: 0; }
@media (min-width: 600px) {
  .num-grid li:nth-child(2) { border-top: 0; }
  .num-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
}
.num-grid a { display: flex; gap: 8px 12px; flex-wrap: wrap; align-items: baseline; padding: 10px 14px; text-decoration: none; color: inherit; }
.num-grid a:hover { background: var(--accent-soft); }
.num-grid .nl-num { font-weight: 600; }
.num-grid .empty { color: var(--sub); font-weight: 500; }

/* 文章ページ */
.prose h2 { margin-top: 40px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin: 4px 0; }
.prose .dl { margin-bottom: 24px; }
.prose .date { color: var(--sub); font-size: 14px; margin-top: 32px; }
.prose-page .prose > p:first-child { margin-top: 8px; }

.ad { min-height: 0; }
.ad.ad-on { min-height: 280px; margin: 32px 0; }

/* フッター */
.gf { border-top: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--sub); }
.gf-in { max-width: 1120px; margin: 0 auto; padding: 28px 16px 36px; }
.gf-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 16px; }
.gf-links a { color: var(--ink); text-decoration: none; padding: 4px 0; }
.gf-links a:hover { text-decoration: underline; }
.gf-note { max-width: 760px; }
.gf-copy { margin: 0; }
.sec > h2 + .nlist, .sec > h2 + .aclist, .sec > h2 + .num-grid { border-top: 0; }
.hero + .stats, .top-search + .stats { margin-top: 8px; }

/* ワンタップ投票 */
.vote { background: transparent; border-top: 1px solid var(--line); padding: 24px 0; margin: 8px 0 32px; }
.vote > h2 { margin-bottom: 8px; }
.vote-lead { margin: 0 0 12px; font-size: 15px; }
.vote-lookups { font-size: 13px; color: var(--sub); margin: 0 0 12px; }
.vote-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vote-btns button { min-height: 48px; padding: 8px; font: inherit; font-size: 15px; font-weight: 400; line-height: 1.4; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); cursor: pointer; }
.vote-btns button:hover { border-color: var(--accent); background: var(--accent-soft); }
.vote-btns button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.vote-btns button:disabled { cursor: default; opacity: 0.95; }
.vote-result { margin-top: 16px; }
.vote-thanks { font-weight: 600; margin: 0 0 8px; }
.vote-badge { display: inline-block; font-weight: 400; font-size: 13px; padding: 0; margin: 0 0 12px; color: var(--sub); }
.vote-bars { list-style: none; margin: 8px 0 16px; }
.vote-bars li { margin: 8px 0; }
.vote-bar-lab { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.vote-bar-lab b { margin-left: auto; }
.vote-bar-lab span { color: var(--sub); font-variant-numeric: tabular-nums; min-width: 3em; text-align: right; }
.vote-bar-track { display: block; height: 8px; background: var(--face); overflow: hidden; margin-top: 4px; }
.vote-bar-fill { display: block; height: 100%; background: var(--accent); }
.vote-more { margin: 16px 0 0; }
.vote-more textarea { width: 100%; min-height: 64px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.vote-more label { display: block; font-size: 14px; font-weight: 600; }
.rp-rule { font-size: 13px; color: var(--sub); margin: 8px 0; }
.vote.is-closed .vote-btns { display: none; }
.off-name { font-weight: 600; margin: 0 0 8px; }
.explore h3 { font-size: 16px; margin: 20px 0 8px; }
.links { list-style: none; }
.links li { margin: 8px 0; padding-left: 0; }

/* 公式の発信・窓口番号 */
.org-card { background: transparent; border-top: 1px solid var(--line); padding: 16px 0; margin: 0 0 8px; }
.org-card .off-name { font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.org-card p { margin: 0 0 6px; }
.org-links { margin: 12px 0 0; }
.cat-list .cat-group { margin: 0 0 28px; }
.cat-list .cat-group h2 { font-size: 18px; margin: 0 0 12px; }
