/* =========================================================
   sodan テーマ
   基準: 幅360pxのスマホ → 幅900px以上でPC向けの2段組み・グリッドに切り替える。
   本文18px以上（PCは19px）、ボタン56px以上、行間1.8。
   色: 文字と背景のコントラスト比はWCAG 2.2 AA（通常文字4.5:1）以上。
       本文は約14:1、補助文は約7:1。ターコイズ本体(--c-brand)は装飾専用で、文字には使わない。
   色だけで意味を伝えない。外部フォント・外部スクリプトは使わない。
   ========================================================= */

:root {
	--scale: 1;
	--base: 18px;
	--fs-body: calc(var(--base) * var(--scale));
	--fs-small: calc(16px * var(--scale));
	--fs-button: calc(19px * var(--scale));
	--fs-h1: calc(var(--h1-base) * var(--scale));
	--fs-h2: calc(var(--h2-base) * var(--scale));
	--fs-code: calc(44px * var(--scale));
	--h1-base: 28px;
	--h2-base: 22px;
	--lh: 1.85;
	--btn-h: 56px;
	--gap: 16px;
	--space: 24px;
	--maxw: 1120px;
	--readw: 760px;
	--nav-h: 76px;

	--r-s: 12px;
	--r-m: 20px;
	--r-l: 28px;
	--r-pill: 999px;
	--shadow: 0 8px 24px rgba(6, 75, 89, 0.10);
	--shadow-s: 0 3px 10px rgba(6, 75, 89, 0.10);

	--c-text: #1c2b2e;
	--c-text-sub: #44585c;
	--c-bg: #fffaf1;
	--c-white: #ffffff;
	--c-line: #cfe3e7;
	--c-input: #5d7a80;
	--c-teal: #0a6577;
	--c-teal-dark: #064b59;
	--c-teal-soft: #e6f6f9;
	--c-teal-mid: #c3e8ee;
	--c-brand: #3cb5c8;   /* 装飾専用。文字には使わない */
	--c-pink: #e38fbf;    /* 装飾専用 */
	--c-pink-soft: #fde8f1;
	--c-pink-text: #a02c65;
	--c-phone: #28692c;
	--c-phone-dark: #1d4f21;
	--c-phone-soft: #e9f5e6;
	--c-danger: #a3161b;
	--c-danger-soft: #fff1f1;
	--c-footer: #0b4452;
	--c-focus: #b45300;

	/* 背景の波（SVGのデータURI。外部通信なし） */
	--wave-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 44C200 86 420 4 720 40s520 44 720 6V80H0z' fill='%23fffaf1'/%3E%3C/svg%3E");
	--wave-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 44C200 86 420 4 720 40s520 44 720 6V80H0z' fill='%23ffffff'/%3E%3C/svg%3E");
	--wave-footer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40C240 -6 500 80 760 38s460-30 680 6V80H0z' fill='%230b4452'/%3E%3C/svg%3E");
	--town: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='xMidYMax slice' fill='none' stroke='%233cb5c8' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M0 88h1200M40 88V52l22-16 22 16v36M44 88V70h36v18M130 88V40h40v48M140 52h8m8 0h8M140 66h8m8 0h8M220 88V60l26-18 26 18v28M300 88V30h46v58M310 44h8m10 0h8m10 0h6M310 60h8m10 0h8m10 0h6M400 88V56l20-14 20 14v32M470 88V44h34v44M520 88V68M520 50a18 18 0 1 0 .1 0M600 88V58l24-18 24 18v28M700 88V34h42v54M710 48h8m10 0h8M710 64h8m10 0h8M790 88V62l20-14 20 14v26M860 88V48h38v40M930 88V66M930 50a16 16 0 1 0 .1 0M1000 88V56l24-18 24 18v32M1090 88V38h44v50M1100 52h8m10 0h8'/%3E%3C/svg%3E");
}

html[data-size="large"] { --scale: 1.1667; }
html[data-size="xlarge"] { --scale: 1.3333; }

@media (min-width: 900px) {
	:root {
		--base: 19px;
		--h1-base: 38px;
		--h2-base: 27px;
		--space: 32px;
	}
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Noto Sans JP", "Yu Gothic Medium", YuGothic, Meiryo, sans-serif;
	font-size: var(--fs-body);
	line-height: var(--lh);
	color: var(--c-text);
	background-color: var(--c-bg);
	background-image: radial-gradient(circle, rgba(227, 143, 191, 0.20) 2px, transparent 2.5px);
	background-size: 36px 36px;
	overflow-wrap: anywhere;
	/* 内容が短いページでも、フッターを画面の下に付ける（下に空白を出さない） */
	display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
.admin-bar { min-height: calc(100vh - 32px); min-height: calc(100dvh - 32px); }
@media (max-width: 782px) { .admin-bar { min-height: calc(100vh - 46px); min-height: calc(100dvh - 46px); } }
.main { flex: 1 0 auto; }

h1, h2, h3 { line-height: 1.45; margin: 0 0 var(--gap); font-weight: 700; color: var(--c-teal-dark); text-wrap: balance; word-break: auto-phrase; }
h1 { font-size: var(--fs-h1); letter-spacing: 0.02em; }
h2 { font-size: var(--fs-h2); margin-top: calc(var(--space) * 1.6); }
h2::before {
	content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
	background: var(--c-pink); margin-right: 0.5em; vertical-align: 0.05em;
}
h3 { font-size: var(--fs-body); }
p { margin: 0 0 var(--gap); }
ul, ol { margin: 0 0 var(--gap); padding-left: 1.4em; }
li { margin-bottom: 6px; }
a { color: var(--c-teal); text-decoration: none; }
a:hover { color: var(--c-teal-dark); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; box-shadow: 0 0 0 7px #fff; border-radius: var(--r-s); }
img, svg { max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
th { background: var(--c-teal-soft); width: 38%; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

.icon { width: 1.3em; height: 1.3em; flex: 0 0 auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: var(--readw); margin-left: auto; margin-right: auto; }
@media (min-width: 700px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; position: relative; z-index: 20; box-shadow: 0 2px 12px rgba(6, 75, 89, 0.08); }
.site-header__top {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
	padding-top: 10px; padding-bottom: 10px;
}
.site-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--c-teal-dark); font-size: var(--fs-small); line-height: 1.3; }
.site-name:hover { color: var(--c-teal-dark); }
.site-name .logo { width: 40px; height: 40px; flex: 0 0 auto; }
.site-header__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.size-box { display: flex; align-items: center; gap: 8px; }
.size-label { font-size: var(--fs-small); color: var(--c-text-sub); }
.size-switch { display: flex; gap: 6px; }
.size-btn {
	min-height: 44px; min-width: 56px; padding: 0 12px;
	border: 2px solid var(--c-teal); background: #fff; color: var(--c-teal);
	border-radius: var(--r-pill); font: inherit; font-size: var(--fs-small); font-weight: 700; cursor: pointer; white-space: nowrap;
}
.size-btn[aria-pressed="true"] { background: var(--c-teal); color: #fff; }

.site-nav { display: none; border-top: 2px solid var(--c-teal-soft); }
.site-nav ul { list-style: none; margin-top: 0; margin-bottom: 0; padding-top: 6px; padding-bottom: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav li { margin: 0; }
.site-nav a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 20px;
	border-radius: var(--r-pill); text-decoration: none; color: var(--c-text); font-weight: 700; font-size: var(--fs-small);
}
.site-nav a .icon { color: var(--c-teal); }
.site-nav a:hover { background: var(--c-teal-soft); color: var(--c-teal-dark); }
.site-nav a.is-current { background: var(--c-teal); color: #fff; }
.site-nav a.is-current .icon { color: #fff; }

/* ---------- 共通の枠 ---------- */
.page-body { padding-top: 36px; padding-bottom: 64px; }
.lead { color: var(--c-text-sub); text-wrap: pretty; }
/* 意味のまとまりの途中で折り返さないための部品（キャッチコピーなど） */
.nb { display: inline-block; }
.note { font-size: var(--fs-small); color: var(--c-text-sub); }
.small { font-size: var(--fs-small); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--gap); }
.section { margin-top: calc(var(--space) * 1.5); }

/* ページの見出し帯（波のあしらい付き） */
.page-head, .hero {
	position: relative; background-color: var(--c-teal-soft); overflow: hidden;
}
.page-head::before, .hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 92% 18%, rgba(253, 232, 241, 0.95) 0 90px, transparent 91px),
		radial-gradient(circle at 6% 85%, rgba(195, 232, 238, 0.9) 0 120px, transparent 121px),
		radial-gradient(circle at 78% 92%, rgba(255, 255, 255, 0.7) 0 60px, transparent 61px);
}
.page-head::after, .hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px;
	background: var(--wave-cream) center bottom / 100% 100% no-repeat; pointer-events: none;
}
/* 街並みの線画（あしらい）。ヒーローの波の少し上に薄く敷く */
.hero > .hero__town { position: absolute; left: 0; right: 0; bottom: 30px; height: 90px; background: var(--town) center bottom / auto 100% repeat-x; pointer-events: none; }
.page-head__inner { position: relative; z-index: 1; display: grid; gap: 16px; align-items: center; padding-top: 28px; padding-bottom: 60px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { margin: 0; color: var(--c-text); max-width: 34em; }
.page-head__art { max-width: 320px; }

/* ---------- 写真枠（人物は写真で見せる。画像が無ければ点線の枠） ---------- */
.photo { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: #fff; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3;
	padding: 12px; border: 3px dashed var(--c-brand); background: rgba(255, 255, 255, 0.75);
	color: var(--c-text-sub); font-size: var(--fs-small); line-height: 1.5; box-shadow: none;
}
.photo--placeholder strong { display: block; color: var(--c-teal-dark); }

/* ---------- ボタン ---------- */
.btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: var(--btn-h); padding: 12px 24px;
	border-radius: var(--r-pill); border: 2px solid transparent;
	font: inherit; font-size: var(--fs-button); font-weight: 700; line-height: 1.4;
	text-decoration: none; text-align: center; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s, transform 0.15s;
	text-wrap: balance; word-break: auto-phrase;
}
.btn:active { transform: translateY(2px); }
.btn--primary { background: var(--c-teal); color: #fff; border-color: var(--c-teal); box-shadow: 0 4px 0 var(--c-teal-dark); }
.btn--primary:hover { background: var(--c-teal-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--c-teal); border-color: var(--c-teal); box-shadow: 0 4px 0 var(--c-teal-mid); }
.btn--secondary:hover { background: var(--c-teal-soft); color: var(--c-teal-dark); }
.btn--phone { background: var(--c-phone); color: #fff; border-color: var(--c-phone); box-shadow: 0 4px 0 var(--c-phone-dark); }
.btn--phone:hover { background: var(--c-phone-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-teal); border-color: transparent; }
.btn--ghost:hover { background: var(--c-teal-soft); }
.btn--big { min-height: 80px; font-size: calc(var(--fs-button) + 2px); }
.btn .icon { width: 1.4em; height: 1.4em; }
.btn-list { display: grid; gap: var(--gap); margin: var(--space) 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 14px; }
@media (min-width: 700px) {
	.btn-row .btn { width: auto; flex: 0 1 auto; }
	.btn-row--full .btn { width: 100%; }
}

/* ---------- 安心表示（枠なしのチェック付きの文。ボタンと混同しない） ---------- */
.reassure { list-style: none; padding: 0; margin: var(--space) 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.reassure li { display: flex; gap: 10px; align-items: center; margin: 0; font-weight: 700; font-size: var(--fs-small); }
.reassure .icon { width: 1.7em; height: 1.7em; padding: 0.3em; border-radius: 50%; background: var(--c-phone); color: #fff; }

/* ラベル（サンプルなど）。角の小さい塗りの札で、丸いボタンと区別する */
.badge {
	display: inline-block; padding: 1px 10px; border-radius: 4px; margin: 0 6px 6px 0;
	font-size: var(--fs-small); font-weight: 700; background: var(--c-text-sub); color: #fff;
}
.badge--dummy { background: var(--c-danger); color: #fff; }

.notice {
	padding: 16px 20px; border-radius: var(--r-m); border: 2px solid var(--c-teal-mid); background: #fff;
	margin: var(--gap) 0;
}
.notice > :last-child { margin-bottom: 0; }
.notice--error { border-color: var(--c-danger); background: var(--c-danger-soft); }

/* ---------- カード ---------- */
.card {
	border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 22px 24px; margin-bottom: var(--gap);
	background: #fff; box-shadow: var(--shadow-s);
}
.card__title { margin: 0 0 6px; font-size: calc(var(--fs-body) + 2px); font-weight: 700; }
.card__meta { font-size: var(--fs-small); color: var(--c-text-sub); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.card__meta .icon { vertical-align: middle; }
.card ul { margin-bottom: 10px; }
.card > .btn { margin-top: 12px; }
@media (min-width: 800px) {
	.card--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
	.card--row .card__action { min-width: 220px; }
	.card--row > .btn { width: auto; margin-top: 0; min-width: 220px; }
}

/* ---------- リンクカード（トップ・困りごと） ---------- */
.big-list { display: grid; gap: var(--gap); margin: var(--space) 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .big-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .big-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.big-link {
	position: relative; display: block; padding: 22px 64px 22px 24px; border: 2px solid var(--c-line); border-radius: var(--r-l);
	text-decoration: none; color: var(--c-text); background: #fff; box-shadow: var(--shadow-s);
	transition: transform 0.15s, box-shadow 0.15s;
}
.big-link::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
	background: var(--c-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.big-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; color: var(--c-text); }
.big-link__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-teal-soft); color: var(--c-teal); margin-bottom: 10px; }
.big-link__icon .icon { width: 28px; height: 28px; }
.big-link__icon--pink { background: var(--c-pink-soft); color: var(--c-pink-text); }
.big-link__icon--green { background: var(--c-phone-soft); color: var(--c-phone); }
.big-link__title { display: block; font-size: calc(var(--fs-button) + 1px); font-weight: 700; color: var(--c-teal-dark); }
.big-link__desc { display: block; font-size: var(--fs-small); color: var(--c-text-sub); margin-top: 4px; line-height: 1.7; }
.big-link--tall { padding-right: 24px; padding-bottom: 28px; }
.big-link--tall::after { top: auto; bottom: 20px; margin-top: 0; right: 20px; }

/* ---------- トップ ---------- */
.hero__inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; padding-top: 32px; padding-bottom: 132px; }
.hero__eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
	color: var(--c-pink-text); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.04em;
}
.hero__eyebrow::before { content: ""; flex: 0 0 auto; width: 32px; height: 4px; border-radius: 2px; background: var(--c-pink); }
.hero h1 { font-size: calc(var(--fs-h1) + 4px); margin-bottom: 14px; }
.hero .lead { color: var(--c-text); font-size: var(--fs-small); word-break: auto-phrase; }
.hero .reassure { margin-bottom: 20px; }
.hero__cta { display: grid; gap: 12px; max-width: 460px; }
.hero__art { max-width: 520px; width: 100%; justify-self: center; }
@media (min-width: 900px) {
	.hero--has-art .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-top: 56px; padding-bottom: 140px; }
	.hero::after, .page-head::after { height: 56px; }
	.hero__cta { display: flex; max-width: none; flex-wrap: wrap; }
	.hero__cta .btn { width: auto; min-width: 280px; }
}

/* 手順の並び。枠も角丸も付けない（押せるボタンと混同しないため）。上の線と「STEP n」の文字で順番を示す */
.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--space) 0 0; display: grid; gap: 28px; }
.steps li { counter-increment: step; position: relative; margin: 0; padding: 20px 4px 0; border-top: 4px solid var(--c-teal-mid); }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 56px; height: 4px; background: var(--c-pink); }
.steps li::before {
	content: "STEP " counter(step); display: block; margin-bottom: 6px;
	color: var(--c-pink-text); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.12em; line-height: 1.4;
}
.steps__title { display: block; font-weight: 700; color: var(--c-teal-dark); font-size: calc(var(--fs-button) + 3px); line-height: 1.5; }
.steps__desc { display: block; margin-top: 6px; color: var(--c-text); line-height: 1.8; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 2段組みの本文側は幅が狭いので、手順は縦に並べる */
.layout__main .steps { grid-template-columns: 1fr; }
.section-title { text-align: center; margin-top: 0; }
.section-title::before { display: none; }
.section-title::after {
	content: ""; display: block; width: 72px; height: 8px; margin: 12px auto 0; border-radius: 4px;
	background: linear-gradient(90deg, var(--c-brand) 0 66%, var(--c-pink) 66% 100%);
}
.band-section { position: relative; background: #fff; padding: 56px 0 72px; margin-top: 24px; }
.band-section::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--wave-white) center bottom / 100% 100% no-repeat; }

/* ---------- 前回の結果（この端末で覚えているとき） ---------- */
.last-result { margin-top: 24px; padding: 18px 20px 14px; max-width: 460px; background: #fff; border-left: 8px solid var(--c-pink); box-shadow: var(--shadow-s); }
.last-result__title { margin: 0 0 4px; font-size: var(--fs-button); color: var(--c-teal-dark); }
.last-result__title::before { display: none; }
.last-result__date { margin: 0 0 12px; font-size: var(--fs-small); color: var(--c-text); line-height: 1.7; }
.narrow > .last-result { max-width: none; margin: 0 0 24px; }
.keep-form { margin: 0; }
/* 文字だけのボタン（リンクの見た目）。押せる範囲は44px以上を確保する */
.link-button {
	display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: var(--fs-small); color: var(--c-teal);
}
.link-button:hover { color: var(--c-teal-dark); }
.keep-box { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--c-teal-soft); }
.keep-box__state { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.7; }
.keep-box__state .icon { width: 1.7em; height: 1.7em; padding: 0.3em; border-radius: 50%; background: var(--c-phone); color: #fff; margin-top: 0.1em; }
.keep-box .note { margin: 8px 0 0; }

/* ---------- 専門職・事業者向けの入口 ---------- */
.audience-title { margin-top: 72px; }
.audience { display: grid; gap: 20px; margin-top: var(--space); }
@media (min-width: 800px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.audience__card { display: flex; flex-direction: column; align-items: flex-start; background: var(--c-bg); border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 28px 28px 32px; }
.audience__card h3 { font-size: calc(var(--fs-button) + 2px); color: var(--c-teal-dark); margin-bottom: 8px; }
.audience__card p { color: var(--c-text); flex: 1 1 auto; }
.audience__card .btn { width: 100%; }
@media (min-width: 700px) { .audience__card .btn { width: auto; min-width: 240px; } }

/* ---------- チェックリスト ---------- */
.q-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .q-layout--art { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; } }
.q-card { background: #fff; border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 24px 20px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .q-card { padding: 36px 40px; } }
.progress { font-size: var(--fs-small); color: var(--c-text-sub); font-weight: 700; margin-bottom: 8px; }
.progress__bar { height: 14px; background: var(--c-teal-soft); border-radius: 7px; overflow: hidden; margin-top: 8px; border: 2px solid var(--c-teal-mid); }
.progress__bar > span { display: block; height: 100%; background: var(--c-teal); border-radius: 7px; }
.question { font-size: var(--fs-h1); margin: var(--space) 0 8px; }
.answers { display: grid; gap: 14px; margin: var(--space) 0; }
.answers .btn { min-height: 68px; }
@media (min-width: 700px) { .answers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-body); }

/* ---------- 2段組み（本文＋脇の枠） ---------- */
.layout { display: grid; gap: 28px; }
@media (min-width: 960px) {
	.layout--aside { grid-template-columns: minmax(0, 1fr) clamp(360px, 36vw, 400px); gap: 48px; align-items: start; }
	.layout__aside { position: sticky; top: 24px; }
}
.aside-card { background: #fff; border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .aside-card { padding: 24px; } }
.aside-card h2 { margin-top: 0; font-size: calc(var(--fs-h2) - 3px); }
.aside-card > :last-child { margin-bottom: 0; }
.aside-card .btn { padding-left: 12px; padding-right: 12px; }
@media (max-width: 420px) { .aside-card .btn { font-size: calc(var(--fs-button) - 1px); } }

/* ---------- 結果 ---------- */
.todo-list { list-style: none; padding: 0; margin: 0 0 var(--space); }
.todo { border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 22px 24px; margin-bottom: 18px; background: #fff; box-shadow: var(--shadow-s); }
.todo__head { display: flex; align-items: center; gap: 14px; }
.todo__num {
	flex: 0 0 auto; width: 44px; height: 44px; line-height: 44px; text-align: center; border-radius: 50%;
	background: var(--c-teal); color: #fff; font-weight: 700; box-shadow: 0 3px 0 var(--c-teal-dark);
}
.todo__title { font-size: calc(var(--fs-button) + 1px); font-weight: 700; margin: 0; }
.todo__title::before { display: none; }
.todo__desc { margin: 12px 0 0; }
.todo__domain { font-size: var(--fs-small); color: var(--c-text-sub); margin: 8px 0 0; }
.qr-box { display: none; text-align: center; padding: 16px; border: 2px solid var(--c-line); border-radius: var(--r-m); margin-top: var(--gap); background: #fff; }
.qr-box.is-open { display: block; }
.qr-box .qr { display: flex; justify-content: center; }
.result-code { font-size: var(--fs-small); color: var(--c-text-sub); }
.result-url { font-size: var(--fs-small); }

/* ---------- 問い合わせコード ---------- */
.code-box {
	position: relative; text-align: center; padding: 32px 16px; margin: 0 0 var(--space); background: #fff;
	border: 4px dashed var(--c-brand); border-radius: var(--r-l); box-shadow: var(--shadow);
}
.code-box__label { font-size: var(--fs-small); color: var(--c-text-sub); margin-bottom: 6px; font-weight: 700; }
.code-box__code { font-size: var(--fs-code); font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; color: var(--c-teal-dark); margin: 0; }
.phone-number { font-size: calc(var(--fs-h1) + 4px); font-weight: 700; text-align: center; margin: var(--gap) 0; color: var(--c-phone-dark); }

/* ---------- 地域 ---------- */
.choice-list { list-style: none; padding: 0; margin: var(--space) 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.choice-list li { margin: 0; }
.choice-list .btn { min-height: var(--btn-h); font-size: var(--fs-body); }
@media (min-width: 900px) { .choice-list { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }

/* ---------- 比較（PCは横に並べる） ---------- */
.compare-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .compare-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-items: start; } }
.compare-row { border: 2px solid var(--c-line); border-radius: var(--r-l); padding: 22px 24px; background: #fff; box-shadow: var(--shadow-s); }
.compare-row h2 { margin-top: 0; font-size: calc(var(--fs-h2) - 3px); }
.compare-row table th { width: 42%; border-radius: 0; }

/* ---------- 記事本文 ---------- */
.prose { max-width: var(--readw); }
.prose h2 { margin-top: calc(var(--space) * 1.6); }
.prose img { border-radius: var(--r-m); }
.layout .prose { max-width: none; }
.supervisor { font-size: var(--fs-small); color: var(--c-text-sub); padding: 6px 0 6px 14px; border-left: 6px solid var(--c-teal-mid); display: block; }

.field-label { display: block; font-weight: 700; margin-bottom: 6px; }
.field-input {
	width: 100%; min-height: var(--btn-h); padding: 10px 18px; font: inherit; font-size: var(--fs-button);
	border: 2px solid var(--c-input); border-radius: var(--r-m); margin-bottom: var(--gap); background: #fff; color: var(--c-text);
}
.referral-result { margin-top: var(--space); text-align: center; }
.referral-result__name { font-weight: 700; }

/* ---------- フッター・下部メニュー ---------- */
.site-footer { position: relative; margin-top: 56px; background: var(--c-footer); color: #fff; padding: 36px 0 calc(28px + var(--nav-h)); font-size: var(--fs-small); flex: 0 0 auto; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--wave-footer) center bottom / 100% 100% no-repeat; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-teal-mid); }
.site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 7px var(--c-footer); }
.footer-links { list-style: none; padding: 0; margin: 0 0 var(--gap); display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-block; min-height: 44px; line-height: 44px; }
.footer-operator { color: #fff; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: flex; background: #fff; border-top: 2px solid var(--c-teal-mid); border-radius: var(--r-l) var(--r-l) 0 0;
	box-shadow: 0 -4px 16px rgba(6, 75, 89, 0.10); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav__item {
	flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: var(--nav-h); padding: 6px 2px;
	text-decoration: none; color: var(--c-text); font-size: var(--fs-small); font-weight: 700;
	border-top: 4px solid transparent; border-radius: var(--r-l) var(--r-l) 0 0;
}
.bottom-nav__item .icon { width: 1.5em; height: 1.5em; color: var(--c-teal); }
.bottom-nav__item.is-current { border-top-color: var(--c-teal); color: var(--c-teal-dark); background: var(--c-teal-soft); }

/* ---------- PC（幅900px以上） ---------- */
@media (min-width: 900px) {
	.site-footer { padding-bottom: 28px; }
	.bottom-nav { display: none; }
	.site-header__top { padding-top: 14px; padding-bottom: 14px; }
	.site-name { font-size: var(--fs-body); }
	.site-name .logo { width: 48px; height: 48px; }
	.site-nav { display: block; }
	.page-head__inner.has-art { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 44px; padding-bottom: 84px; }
	.page-head__inner { padding-top: 44px; padding-bottom: 84px; }
	.page-body { padding-top: 48px; padding-bottom: 88px; }
}
@media (max-width: 899px) {
	.page-head__art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---------- 印刷 ---------- */
@media print {
	body { padding: 0; font-size: 14pt; background: none; }
	.site-header, .bottom-nav, .site-footer, .btn, .share, .no-print, .skip, .photo, .layout__aside, .last-result { display: none !important; }
	.page-head, .hero { background: none; }
	.page-head::before, .page-head::after, .hero::before, .hero::after { display: none; }
	.qr-box { display: block !important; border: 1px solid #000; }
	.todo { break-inside: avoid; border-color: #000; box-shadow: none; }
	.todo__num { background: #000; box-shadow: none; }
	a { color: #000; text-decoration: none; }
	.print-only { display: block !important; }
}
.print-only { display: none; }
