:root {
	--green: #1f5c4a;
	--green-d: #164536;
	--green-l: #e6f0ec;
	--orange: #d9772b;
	--orange-l: #fbeee2;
	--bg: #faf8f4;
	--card: #fff;
	--text: #23272a;
	--muted: #6b7275;
	--line: #e3ded5;
	--radius: 12px;
	--shadow: 0 1px 2px rgba(30, 40, 35, .06), 0 4px 14px rgba(30, 40, 35, .05);
	--font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	overflow-wrap: anywhere;
}
a { color: var(--green); }
a:hover { color: var(--green-d); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); }
h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .82rem; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
.site-main { min-height: 60vh; padding-bottom: 56px; }
.page-body { padding-top: 32px; }

/* header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); font-weight: 700; }
.brand-mark { width: 26px; height: 26px; color: var(--orange); }
.brand-name { font-size: 1.05rem; letter-spacing: .02em; }
.header-nav { display: flex; gap: 4px; }
.header-nav a { text-decoration: none; color: var(--text); font-size: .9rem; padding: 6px 10px; border-radius: 8px; }
.header-nav a:hover { background: var(--green-l); }

/* buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1px solid var(--green); }
.btn:hover { background: var(--green-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-l); color: var(--green-d); }
.btn-small { padding: 6px 14px; font-size: .85rem; }
.small-link { font-size: .88rem; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--muted); }

.page-head { padding: 18px 0 8px; }
.eyebrow { color: var(--orange); font-weight: 700; font-size: .85rem; margin-bottom: .3em; letter-spacing: .04em; }
.h1-sub { display: block; font-size: .62em; color: var(--muted); font-weight: 600; margin-top: .2em; }
.lead { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.source { font-size: .78rem; color: var(--muted); margin: .8em 0 0; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); }

section { margin-top: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* summary */
.summary { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 20px 22px; margin-top: 12px; box-shadow: var(--shadow); }
.summary-title { font-size: .95rem; color: var(--green); margin-bottom: .5em; }
.summary-body p { margin: 0 0 .4em; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 0; }
.stat-row div { background: var(--green-l); border-radius: 10px; padding: 10px 12px; }
.stat-row dt { font-size: .75rem; color: var(--muted); }
.stat-row dd { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--green-d); line-height: 1.3; }
.stat-row small { font-size: .8rem; margin-left: 2px; }

/* purpose tabs */
.purpose-tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 28px; padding-bottom: 4px; }
.purpose-tabs a { flex: 0 0 auto; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: .9rem; }
.purpose-tabs a.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }

/* PR */
.pr-block { background: var(--orange-l); border-radius: var(--radius); padding: 14px; margin-top: 20px; }
.pr-head { font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.pr-head span { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.pr-badge { background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; align-self: flex-start; }

/* cards */
.cards { display: grid; gap: 14px; margin-top: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card.is-pr { border-color: #f0c9a5; }
.card-head { display: flex; gap: 12px; align-items: flex-start; }
.rank { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--green-l); color: var(--green-d); font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.rank-top { background: var(--green); color: #fff; }
.card-title { flex: 1 1 auto; min-width: 0; }
.card-title h3 { margin: 0; font-size: 1.08rem; }
.card-title h3 a { text-decoration: none; color: var(--text); }
.card-title h3 a:hover { color: var(--green); text-decoration: underline; }
.card-meta { margin: 2px 0 0; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.score { flex: 0 0 auto; text-align: right; color: var(--green-d); }
.score-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.score-unit { font-size: .8rem; margin-left: 2px; }
.card-special { font-size: .85rem; margin: 6px 0 0; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.license { font-size: .76rem; color: var(--muted); margin: 0; }
.card-actions { display: flex; gap: 8px; margin-left: auto; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.tag { font-size: .78rem; background: #f1efe9; color: #4a5054; padding: 2px 10px; border-radius: 999px; }
.tag.is-hit { background: var(--green); color: #fff; }

.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 14px; margin: 12px 0 0; }
.bar dt { font-size: .72rem; color: var(--muted); }
.bar dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.bar-track { flex: 1; height: 6px; background: #ece8df; border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.bar-num { font-size: .75rem; font-variant-numeric: tabular-nums; min-width: 3.4em; text-align: right; }
.bar-num small { color: var(--muted); font-size: .68rem; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--card); text-decoration: none; }
.pager span { background: var(--green); color: #fff; border-color: var(--green); }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.js-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.js-table th, .js-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.js-table thead th { background: #f4f1ea; font-size: .8rem; white-space: nowrap; }
.js-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table th[scope="row"] { min-width: 10em; }
.compare-table td.mark { text-align: center; color: var(--green); font-weight: 700; }
.kv th { width: 9.5em; background: #faf8f3; font-weight: 600; }
.prose .js-table, .page-body .js-table { border: 1px solid var(--line); }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--orange); font-weight: 800; margin-right: 8px; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; color: var(--muted); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px; margin: 0; }

/* area links */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; color: var(--text); font-size: .88rem; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips span { font-size: .72rem; color: var(--muted); }

.area-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.area-grid a { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; text-decoration: none; color: var(--text); }
.area-grid a:hover { border-color: var(--green); }
.area-grid small { color: var(--muted); }
.area-grid .is-gun a { background: #f6f3ec; }

/* regions */
.region { margin-top: 18px; }
.region-name { font-size: .95rem; color: var(--green-d); border-left: 4px solid var(--orange); padding-left: 8px; margin-bottom: 8px; }
.pref-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.pref-links li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: .92rem; }
.pref-links a { font-weight: 400; font-size: .78rem; text-decoration: none; background: var(--green-l); border-radius: 6px; padding: 1px 8px; }
.pref-links a + a { background: var(--orange-l); color: #9a4f14; }

/* company */
.company-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.company-main section:first-child { margin-top: 12px; }
.company-side { position: sticky; top: 76px; margin-top: 12px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.plain { padding-left: 1.2em; }
.sources a { word-break: break-all; }

/* home */
.hero { background: linear-gradient(160deg, #e9f1ed 0%, var(--bg) 70%); padding: 48px 0 40px; }
.hero-title { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.6rem); color: var(--green-d); }
.hero-lead { max-width: 640px; color: #3d4447; }
.hero-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 14px; margin-top: 24px; }
.choice { display: block; background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow); }
.choice:hover { background: var(--green-d); color: #fff; }
.choice-alt { background: var(--orange); }
.choice-alt:hover { background: #bf6420; }
.choice-label { display: block; font-size: 1.2rem; font-weight: 800; }
.choice-sub { display: block; font-size: .85rem; opacity: .9; }
.home-area-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; margin-top: 12px; }
.home-area-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.home-area-name { font-weight: 700; }
.home-area-row a { font-size: .8rem; text-decoration: none; background: var(--green-l); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.home-area-row a + a { background: var(--orange-l); color: #9a4f14; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature h3 { color: var(--green-d); }
.feature p { font-size: .9rem; margin: 0; }

/* prose (固定ページ) */
.prose h2 { margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }

/* inquiry */
.pick { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; cursor: pointer; padding: 5px 12px; border: 1px solid var(--orange); color: #9a4f14; border-radius: 999px; background: #fff; }
.pick input { accent-color: var(--orange); }
.pick:has(input:checked) { background: var(--orange); color: #fff; }
.pick:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.pick-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 10px 0; }
.pick-bar[hidden] { display: none; }
.pick-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pick-count { margin: 0; font-weight: 700; }
.pick-count span { color: var(--orange); font-size: 1.3rem; }
.pick-count small { color: var(--muted); font-weight: 400; margin-left: 4px; }

.form { display: grid; gap: 18px; margin-top: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.label { font-weight: 700; font-size: .92rem; }
.req { background: var(--orange); color: #fff; font-size: .68rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.form input[type=text], .form input:not([type]), .form input[type=email], .form input[type=tel], .form select, .form textarea {
	width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #cfc9bd; border-radius: 8px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form [aria-invalid=true] { border-color: #c0392b; }
.field-error { color: #b03a2e; font-size: .85rem; margin: 0; }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }
.static { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.picked { margin: 0; padding: 12px 12px 12px 2em; background: var(--green-l); border-radius: 8px; }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.radio-card { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #cfc9bd; border-radius: 8px; background: #fff; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--green); background: var(--green-l); font-weight: 700; }
.choice-inline { margin-right: 16px; }
.consent { background: #f4f1ea; border-radius: 10px; padding: 16px; font-size: .9rem; }
.consent p { margin: 0 0 .6em; }
.consent-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.consent-check input { margin-top: .4em; width: 18px; height: 18px; flex: 0 0 auto; }
.btn-block { display: block; width: 100%; text-align: center; padding: 14px; font-size: 1.05rem; cursor: pointer; }
.center { text-align: center; }
.notice-box { background: var(--green-l); border-radius: 10px; padding: 16px 18px; margin: 16px 0; }
.notice-box.is-error { background: #fde8e6; color: #8a2a20; }
.side-box .btn { text-align: center; }

/* footer */
.site-footer { background: #20302a; color: #d5ddd9; padding: 36px 0 24px; font-size: .88rem; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.site-footer .muted { color: #aebbb5; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.credits { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 24px; padding-top: 16px; font-size: .74rem; color: #aebbb5; }
.credits p { margin: 0 0 .5em; }

.show-sm { display: none; }

@media (max-width: 760px) {
	.hide-sm { display: none; }
	.show-sm { display: inline; }
	.stat-row { grid-template-columns: repeat(2, 1fr); }
	.bars { grid-template-columns: repeat(2, 1fr); }
	.hero-choices { grid-template-columns: 1fr; }
	.feature-grid { grid-template-columns: 1fr; }
	.company-layout { grid-template-columns: 1fr; }
	.company-side { position: static; }
	.footer-cols { grid-template-columns: 1fr; }
	.card { padding: 14px; }
	.score-num { font-size: 1.35rem; }
	.home-area-table { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.pick-count small { display: none; }
	.header-nav a { padding: 6px 8px; font-size: .85rem; }
	.brand-name { font-size: .95rem; }
}
