:root {
	--bg: #ffffff;
	--bg-alt: #f5f6f4;
	--text: #1d2421;
	--muted: #5a645f;
	--line: #d9ddd9;
	--accent: #1f6f5c;
	--accent-strong: #165445;
	--accent-soft: #e6f1ed;
	--danger: #b3261e;
	--radius: 10px;
	--wrap: 1040px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121614;
		--bg-alt: #1a201d;
		--text: #e8ece9;
		--muted: #a6b0ab;
		--line: #2e3632;
		--accent: #5cc3a6;
		--accent-strong: #7fd6bd;
		--accent-soft: #1d2e28;
		--danger: #ff8a80;
	}
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Noto Sans JP", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	word-break: auto-phrase;
	overflow-wrap: anywhere;
}

a { color: var(--accent); }
a:visited { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; }
.brand:visited { color: var(--text); }
.brand-sub { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.header-cta { font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 14px; border: 1px solid var(--accent); border-radius: 999px; white-space: nowrap; }

.hero { padding: 72px 0 64px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.4; margin: 0 0 20px; letter-spacing: 0.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.note { color: var(--muted); font-size: 14px; }

.button {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	padding: 12px 24px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.button:visited { color: #fff; }
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button:disabled { opacity: 0.6; cursor: wait; }
@media (prefers-color-scheme: dark) { .button, .button:visited { color: #0d1411; } }

.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(22px, 3.5vw, 30px); line-height: 1.4; margin: 0 0 12px; }
h3 { font-size: 18px; line-height: 1.5; margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.card p { margin: 0 0 8px; }
.source { font-size: 13px; color: var(--muted); }

.features { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; counter-reset: feature; }
.features li { counter-increment: feature; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; background: var(--bg); position: relative; }
.features li::before { content: counter(feature); position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.features p { margin: 0; color: var(--muted); }

.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.price-label { margin: 0; color: var(--muted); font-size: 14px; }
.price-value { margin: 4px 0 8px; font-size: 24px; font-weight: 700; }
.price-value span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; }

.fineprint { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

.form { display: grid; gap: 20px; }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.field > label, legend { font-weight: 500; padding: 0; }
.req { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--danger); font-weight: 500; }
input[type="email"], input[type="text"], select, textarea {
	width: 100%;
	font: inherit;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; }
.choices label, .scale label, .inline { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.scale { display: flex; flex-wrap: wrap; gap: 8px 20px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.8em; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--accent); font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }

.pc { display: none; }
@media (min-width: 720px) { .pc { display: inline; } }

.doc h1 { font-size: clamp(24px, 4vw, 32px); }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc { padding: 48px 0 64px; }
