/* のむすたーの公開の案内ページ(make_guides.py が書く)。色と字体は入口・地図と同じ。夜の色にも合わせる */
:root {
  --paper: #e9ece8; --card: #f7f8f5; --soft: #eef1ed; --ink: #1d2731; --muted: #5b6770; --rule: #cbd2ce; --shu: #d93a17; --on-shu: #fff9f2;
  --lift: 0 1px 0 rgb(29 39 49 / .06), 0 8px 24px -12px rgb(29 39 49 / .28);
  --f-display: "Dela Gothic One", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}
:root[lang="ko"] { --f-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
:root[lang="zh-Hans"] { --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:root[lang="zh-Hant"] { --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
:root[lang="th"] { --f-body: "Noto Sans Thai", "Thonburi", "Leelawadee UI", system-ui, sans-serif; }
:root[lang="vi"] { --f-body: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #12181c; --card: #182026; --soft: #1f282e; --ink: #e5eae7; --muted: #97a3a9; --rule: #2a343b; --shu: #e04824;
    --lift: 0 1px 0 rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .7); color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #12181c; --card: #182026; --soft: #1f282e; --ink: #e5eae7; --muted: #97a3a9; --rule: #2a343b; --shu: #e04824; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
[lang="ja"] { font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--shu); }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
header.site, main, footer.site { width: min(100%, 42rem); margin: 0 auto; padding-inline: 16px; }
header.site { display: grid; gap: 10px; padding-top: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: fit-content; }
.brand .logo { width: 52px; height: 52px; padding: 3px; background: var(--shu); border-radius: 13px; flex: none; }
.brand span { font-family: var(--f-display); font-size: 24px; letter-spacing: .03em; color: var(--ink); }
.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--shu); }
main { display: grid; gap: 30px; padding-top: 26px; padding-bottom: 40px; }
section { display: grid; gap: 10px; }
h1 { margin: 0; font-size: clamp(25px, 6.4vw, 34px); line-height: 1.32; letter-spacing: .01em; font-weight: 700; }
:root[lang="ja"] h1, :root[lang="en"] h1, :root[lang="vi"] h1 { font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; }
h2 { margin: 0; font-size: 20px; line-height: 1.4; padding-top: 18px; border-top: 1px solid var(--rule); }
h3 { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
p { margin: 0; }
ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
li::marker { color: var(--shu); }
.lead { font-size: 17px; color: var(--ink); }
.answer { font-size: 17px; font-weight: 500; line-height: 1.7; }
.hero { gap: 16px; }
.qa { display: grid; gap: 6px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: inset 3px 0 0 var(--shu); }
.qa h2 { padding: 0; border: 0; font-size: 18px; }
.cta { display: grid; gap: 8px; justify-items: start; }
.btn { display: grid; gap: 2px; padding: 13px 20px 12px; background: var(--shu); color: var(--on-shu); border-radius: 8px; text-decoration: none; box-shadow: var(--lift); }
.btn:hover { color: var(--on-shu); background: color-mix(in srgb, var(--shu) 88%, #000); }
.btn b { font-size: 18px; }
.btn small { font-size: 13px; opacity: .92; }
.trial, .alt, .cn { font-size: 14px; color: var(--muted); }
.cn { padding: 8px 11px; border-left: 3px solid var(--shu); background: var(--soft); color: var(--ink); border-radius: 0 6px 6px 0; }
.note { font-size: 13.5px; color: var(--muted); padding: 12px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; }
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
thead th { font-size: 13px; color: var(--muted); font-weight: 700; border-bottom: 1.5px solid var(--ink); }
tbody th { font-weight: 700; width: 38%; }
table.facts td { font-variant-numeric: tabular-nums; }
.src { font-size: 14px; }
.say { list-style: none; padding: 0; gap: 10px; }
.say li { display: grid; gap: 3px; padding: 11px 13px; border-radius: 8px; background: color-mix(in srgb, var(--shu) 7%, var(--card)); box-shadow: inset 3px 0 0 var(--shu); }
.say b { font-size: 18px; line-height: 1.5; font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", sans-serif; }
.say span { font-size: 14px; color: var(--muted); }
.towns { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 6px 14px; }
.towns li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px dotted var(--rule); padding: 3px 0; }
.towns span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.towns small, .num small { font-size: .7em; margin-left: 2px; }
.crumb { font-size: 13.5px; color: var(--muted); }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 12px; }
.num { display: grid; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; }
.num .lab { font-size: 13px; color: var(--muted); }
.num > b { font-family: var(--f-display); font-weight: 400; font-size: 46px; line-height: 1.05; color: var(--shu); }
.num .w { font-size: 14px; font-weight: 700; }
.num .sub { font-size: 13.5px; color: var(--muted); }
.num .sub b { color: var(--ink); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.chips li { padding: 3px 11px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 14px; }
.chips a { text-decoration: none; }
.pick { list-style: none; padding: 0; gap: 10px; }
.pick a { display: grid; gap: 2px; padding: 12px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; }
.pick b { font-size: 17px; }
.pick span { font-size: 14px; color: var(--muted); }
.end { padding-top: 6px; border-top: 1px solid var(--rule); }
.more { font-size: 15px; }
.region { display: grid; gap: 4px; }
.region h3 { margin-top: 14px; font-size: 16px; color: var(--ink); }
h4 { margin: 4px 0 0; font-size: 14px; color: var(--muted); font-weight: 700; }
.chips small { color: var(--muted); }
table.data td.r, table.data th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.r { white-space: nowrap; }
table.data th { overflow-wrap: normal; }
table.data thead th.r { min-width: 3.6em; }
table.data tbody th, table.data thead th:first-child { width: auto; min-width: 8.5em; }
.find { gap: 9px; }
table.cmp td.r, table.cmp th.r, table.bars td.r, table.bars th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.cmp th, table.bars th { overflow-wrap: normal; }
table.cmp tbody th { width: auto; min-width: 8.5em; }
table.bars tbody th { width: auto; min-width: 6em; }
table.bars td.b { width: 32%; min-width: 4em; vertical-align: middle; }
.bar { display: block; height: 10px; border-radius: 2px; background: var(--shu); }
.ai { font-size: 12.5px; }
footer.site { padding-bottom: 32px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
footer.site a { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .15s; } }
