:root {
  --bg: #faf6ee;
  --surface: #ffffff;
  --text: #2a2622;
  --muted: #6b635a;
  --line: #e7dfd0;
  --brand: #2f5d50;
  --brand-dark: #234a3f;
  --brand-soft: #e8f0ea;
  --accent: #d9480f;
  --accent-soft: #fff1e6;
  --accent-text: #9a3412;
  --gold: #a16207;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 12px rgba(60, 40, 20, .06);
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px; line-height: 1.8; overflow-wrap: anywhere;
}
a { color: var(--brand); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
h1, h2, .logo, .hero h1, .card-title, .amt { font-family: var(--round); font-feature-settings: "palt"; }
h1 { font-size: 1.75rem; line-height: 1.4; margin: 1.2rem 0 .6rem; }
h2 { font-size: 1.25rem; margin: 2.4rem 0 .9rem; line-height: 1.45; }
h2.plain { margin-top: .1rem; }
h3 { font-size: .95rem; margin: 0 0 .4rem; color: var(--muted); }
section { margin-top: 2.6rem; }
.label { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.lead { color: var(--muted); margin-top: 0; }
.small, .hint { font-size: .84rem; color: var(--muted); }
.more-link { text-align: right; margin: 10px 0 0; font-weight: 700; }

/* ヘッダー */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; }
.logo-ico { width: 20px; height: 20px; }
.head-nav { display: flex; gap: 16px; font-size: .88rem; }
.head-nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
.head-nav a:hover { color: var(--brand); }
.crumbs { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.crumbs span { margin: 0 4px; }

/* ヒーロー */
.hero { margin: 0 -16px; padding: 36px 16px 28px; background: linear-gradient(180deg, #f3ecdc 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; color: var(--accent); font-weight: 700; font-size: .9rem; }
.hero h1 { font-size: 2.2rem; line-height: 1.35; margin: 0 0 12px; font-weight: 800; }
.hero-sub { margin: 0 0 20px; }
.hero-sub .num { font-family: var(--round); color: var(--accent); font-size: 1.4rem; margin: 0 2px; }
.finder { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.pref-select { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.pref-select select { flex: 1; min-width: 200px; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.35; }
.quick a:hover { background: #d9e7dd; }
.ico { width: 26px; height: 26px; }

/* なぜ使わないのか */
.why-band { margin: 2.6rem -16px 0; padding: 28px 16px; background: var(--brand); color: #fff; }
.why-band .label { color: #ffd7bf; }
.why-band .lead { color: #d6e5dc; }
.why-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.why-list li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 12px 14px; }
.why-list b { display: block; font-family: var(--round); }
.why-list span { display: block; font-size: .88rem; color: #d6e5dc; line-height: 1.65; margin-top: 2px; }
.why-band .btn { background: #fff; color: var(--brand-dark); }

/* 目的カード */
.purpose-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.purpose-grid a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; text-decoration: none; color: var(--text); transition: transform .15s; }
.purpose-grid a:hover { transform: translateY(-2px); }
.p-ico { grid-row: span 3; width: 40px; height: 40px; padding: 7px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.purpose-grid b { font-family: var(--round); color: var(--brand-dark); font-size: 1.05rem; }
.purpose-grid span { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.purpose-grid small { font-weight: 700; color: var(--accent-text); }
.purpose-head { display: flex; gap: 14px; align-items: center; }
.big-ico { flex: 0 0 56px; width: 56px; height: 56px; padding: 10px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }

/* 都道府県 */
.pref-fold summary { cursor: pointer; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.region { margin-bottom: 14px; }
.pref-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pref-links a { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .9rem; }
.pref-links a:hover { border-color: var(--brand); }
.pref-links small { color: var(--accent-text); font-weight: 700; font-size: .78rem; }
.pref-links a.zero small { color: #b5ab9c; }

/* カード */
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .82rem; color: var(--muted); }
.sortbar button { font: inherit; font-size: .82rem; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.sortbar button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.card a { display: block; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; text-decoration: none; color: var(--text); transition: transform .15s; }
.card a:hover { transform: translateY(-2px); }
.card.rel-low a { background: #fbf9f5; box-shadow: none; border: 1px solid var(--line); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.money { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.amt-label { font-size: .78rem; color: var(--muted); }
.amt { font-size: 1.45rem; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.2; }
.amt-none { font-size: .85rem; color: var(--muted); }
.rate { font-size: .8rem; color: var(--muted); }
.due { flex: 0 0 auto; text-align: center; font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 8px; line-height: 1.35; }
.due small { display: block; font-weight: 400; font-size: .72rem; }
.hot { background: var(--accent); color: #fff; }
.warm { background: var(--accent-soft); color: var(--accent-text); }
.calm { background: #f1eee8; color: var(--muted); }
td.hot, td.warm, td.calm { background: none; font-weight: 700; }
td.hot { color: var(--accent); } td.warm { color: var(--accent-text); } td.calm { color: var(--muted); font-weight: 400; }
.card-title { display: block; font-weight: 700; line-height: 1.5; margin-top: 8px; font-size: 1.02rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-catch { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; padding: 1px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark); }
.tag-ico { width: 13px; height: 13px; }
.tag.area { background: #f1eee8; color: var(--muted); }
.rel-high .tag.rel { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.rel-low .tag.rel { background: #eeeeee; color: #777; }
.more { margin-top: 12px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 10px 0; }
.more.low summary { color: var(--muted); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--muted); }

/* 都道府県ページ */
.summary-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.summary-box div { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; text-align: center; }
.summary-box b { display: block; font-family: var(--round); font-size: 1.6rem; color: var(--brand); line-height: 1.2; }
.summary-box span { font-size: .78rem; color: var(--muted); line-height: 1.4; display: block; }
.consult { margin-top: 2rem; background: var(--surface); border-radius: var(--radius); padding: 4px 18px 10px; box-shadow: var(--shadow); }

/* 詳細 */
.glance { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.g-money .amt { font-size: 2rem; }
.g-money .rate { display: block; margin-top: 2px; }
.g-due { text-align: center; border-radius: 10px; padding: 8px 14px; align-self: start; }
.g-due b { display: block; font-size: 1.1rem; }
.g-due span { font-size: .78rem; }
.calc { grid-column: 1 / -1; margin: 0; background: #fbf6e9; border-radius: 10px; padding: 10px 12px; font-weight: 700; color: var(--gold); }
.calc small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.glance .facts, .glance .small, .glance .cta { grid-column: 1 / -1; margin: 0; }
.facts div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { flex: 0 0 7.5em; color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 700; }
.facts .why { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 2px; }
.rel-badge { padding: 1px 8px; border-radius: 6px; font-size: .88rem; }
.rel-badge.rel-high { background: var(--accent-soft); color: var(--accent-text); }
.rel-badge.rel-mid { background: var(--brand-soft); color: var(--brand-dark); }
.rel-badge.rel-low { background: #eeeeee; color: #666; }
.cta { margin: 18px 0; }
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 10px; font-weight: 700; }
.btn:hover { background: var(--brand-dark); }
.uses { background: var(--brand-soft); border-radius: var(--radius); padding: 4px 18px 12px; margin: 20px 0; }
.uses h2 { margin: 14px 0 6px; font-size: 1.1rem; }
.uses ul { margin: 0; padding-left: 1.2em; }
.excerpt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: .9rem; }
.excerpt summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.excerpt div { margin-top: 8px; }
.related { margin-top: 18px; font-size: .9rem; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl th { background: #f3ecdc; font-size: .82rem; }

/* 読み物 */
.prose { max-width: 720px; }
.why-item { margin-top: 1.4rem; }
.why-item h2 { margin-bottom: .4rem; }

/* 使い方 */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.steps b { display: block; font-family: var(--round); color: var(--brand-dark); }
.steps b::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; margin-right: 6px; }
.steps span { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* 広告・自社商品 */
.pr { display: inline-block; font-size: .68rem; font-weight: 700; padding: 0 6px; border-radius: 4px; background: #eee6d8; color: var(--muted); }
.ad { margin: 20px 0; padding: 12px 16px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.ad p { margin: 4px 0; }
.ad-genre { font-size: .8rem; color: var(--muted); }
.ad.placeholder { border: 2px dashed #d6c9b2; background: transparent; }
.shop { margin: 40px 0 10px; padding: 16px 18px; background: #fffaf2; border: 1px solid #efd9b8; border-radius: var(--radius); font-size: .92rem; }
.shop p { margin: 6px 0; }
.shop-head { font-family: var(--round); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.btn-sub { display: inline-block; font-weight: 700; padding: 8px 14px; border-radius: 8px; background: var(--surface); border: 1px solid #e0c08e; text-decoration: none; color: var(--accent-text); }

.site-footer { margin-top: 48px; background: #26302c; color: #cfd8d5; font-size: .8rem; padding: 24px 0; }
.site-footer a { color: #fff; }
.site-footer p { margin: 6px 0; }

@media (max-width: 640px) {
  h1 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.6rem; }
  .head-nav a:last-child { display: none; }
  .head-nav { font-size: .8rem; }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .summary-box b { font-size: 1.3rem; }
  .glance { grid-template-columns: 1fr; }
  .g-due { justify-self: start; }
  .pref-fold:not([open]) summary { margin-bottom: 0; }
}

@media (min-width: 1012px) {
  .hero, .why-band { margin-left: 0; margin-right: 0; border-radius: 20px; padding-left: 28px; padding-right: 28px; }
  .hero { margin-top: 20px; border: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 1.42rem; }
}

/* コラム */
.col-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.col-list a { display: block; height: 100%; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; text-decoration: none; color: var(--text); transition: transform .15s; }
.col-list a:hover { transform: translateY(-2px); }
.col-list b { display: block; font-family: var(--round); line-height: 1.5; color: var(--brand-dark); }
.col-list span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.6; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.column h1 { margin-top: .3rem; }
.column h2 { margin-top: 2.2rem; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.column h3 { color: var(--text); font-size: 1rem; margin-top: 1.4rem; }
.checked { font-size: .8rem; color: var(--muted); margin: 0 0 1rem; }
.point, .model, .case { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 18px 10px; margin: 14px 0; }
.point { border-left: 5px solid var(--accent); }
.point-head, .model-head, .case-head { font-family: var(--round); font-weight: 700; margin: 12px 0 4px; }
.model { background: #fbf6e9; box-shadow: none; border: 1px dashed #e0c08e; }
.model-head { color: var(--gold); }
.case-head { color: var(--brand-dark); }
.case dl { margin: 6px 0; }
.case dt { font-size: .8rem; color: var(--muted); font-weight: 700; margin-top: 8px; }
.case dd { margin: 0; }
.flow { list-style: none; counter-reset: f; padding: 0; margin: 0; }
.flow li { counter-increment: f; position: relative; padding: 0 0 14px 44px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.flow b { display: block; font-family: var(--round); }
.flow span { font-size: .9rem; color: var(--muted); }
.sources { font-size: .82rem; }
.sources h2 { font-size: 1rem; }
.sources li { margin: 4px 0; }
.column .tbl { margin: 10px 0; }
@media (max-width: 640px) { .tbl { font-size: .8rem; } .tbl th, .tbl td { padding: 7px 8px; } }

.ad-notice { margin: 0; padding: 3px 16px; background: #26302c; color: #cfd8d5; font-size: .72rem; text-align: center; }
.ad-notice a { color: #fff; margin-left: 6px; }

/* 広告 */
.ad-top { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.ad-lead { font-size: .88rem; color: var(--muted); }
.ad-item { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.ad-item:first-of-type { border-top: 0; padding-top: 0; }
.ad-head { font-family: var(--round); font-weight: 700; margin: 4px 0 2px; }
.ad-link { display: inline-block; font-weight: 700; padding: 8px 14px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; margin-top: 4px; }
.ad-link:hover { background: #d9e7dd; }
.ad-px { border: 0; width: 1px; height: 1px; vertical-align: bottom; }
