/*
Theme Name: みんなの歩き方
Theme URI: https://arukikata.net/
Description: 「人生には、いくつもの歩き方がある。」匿名で人生の経験を分かち合う「みんなの歩き方」(arukikata.net) のテーマ。
Version: 2.3.9
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: arukikata
*/

:root {
	--bg: #fdf9e3;
	--surface: #fffef8;
	--surface-2: #f7f0d0;
	--ink: #2a2824;
	--ink-2: #56514a;
	--muted: #6b6454;
	--line: #ebe1b9;
	--accent: #2f2c27;
	--accent-dark: #1b1916;
	--accent-soft: #f6efc7;
	--warm: #d4862a;
	--warm-soft: #fdedcc;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(60, 50, 30, .05), 0 6px 20px rgba(60, 50, 30, .06);
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
	--c-shigoto: #4a7fb5;
	--c-kazoku: #d9795f;
	--c-ningenkankei: #8a6bb8;
	--c-kenkou: #4f9a6e;
	--c-okane: #c79a2e;
	--c-kodoku: #5f7890;
	--c-sonota: #8a8378;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .02em;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-round); line-height: 1.5; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 16px; border-radius: 8px; }
.sp { display: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.4;
	transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fdf9bb; box-shadow: 0 4px 14px rgba(47, 44, 39, .25); }
.btn-primary:hover { background: var(--accent-dark); color: #fdf9bb; }
.btn-primary:disabled { background: #bdb6a3; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--surface); color: var(--accent-dark); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-block + .btn-block { margin-top: 10px; }

/* ---------- ヘッダー ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(253, 249, 227, .94);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; fill: var(--accent); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-round); font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .12em; }
.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: var(--surface-2); color: var(--ink); }
.site-nav .menu-ai > a { background: var(--accent); color: #fff; padding: 8px 16px; }
.site-nav .menu-ai > a:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; min-width: 44px; min-height: 44px; justify-content: center; cursor: pointer; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-2); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
	position: relative;
	background:
		radial-gradient(900px 420px at 85% 0%, rgba(212, 134, 42, .14), transparent 60%),
		radial-gradient(700px 380px at 5% 95%, rgba(255, 255, 255, .55), transparent 60%),
		linear-gradient(180deg, #fdf9bb 0%, #fdf9d4 70%, var(--bg) 100%);
	padding: 88px 0 120px;
	overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; margin: 0 0 18px; padding: 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--accent-dark); font-weight: 700; letter-spacing: .1em; }
.hero-title { font-size: clamp(2rem, 5.2vw, 3.4rem); margin: 0 0 20px; letter-spacing: .08em; line-height: 1.45; }
.hero-lead { color: var(--ink-2); font-size: 1.05rem; margin: 0 0 34px; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.header-login { margin-left: 12px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-dark); font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-login:hover { background: var(--accent-soft); }
.login-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin: 8px 0 40px; }
.login-h { font-size: 1.15rem; margin: 0 0 12px; }
.login-hello { color: var(--ink-2); margin: 0 0 20px; }
.login-list { list-style: none; margin: 0 0 24px; padding: 0; }
.login-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.login-actions { margin: 28px 0 8px; }
.login-leave { margin-top: 24px; color: var(--ink-2); font-size: .9rem; }
.login-leave summary { cursor: pointer; }
.login-msg { color: #b3402a; margin-top: 14px; }
.hero-illust { margin: 0; }
.hero-illust img { display: block; width: 100%; height: auto; max-width: 480px; margin: 0 auto; }
@media (min-width: 900px) {
	.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
}
@media (max-width: 899px) {
	.hero-illust { margin-top: 36px; }
	.hero-illust img { max-width: 340px; }
}
.hero-path { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--surface); }

/* ---------- 今日の一歩 ---------- */
.today { background: var(--surface); padding: 8px 0 36px; }
.today-inner {
	background: linear-gradient(135deg, var(--warm-soft), #fffbe4);
	border: 1px solid #efdc9f; border-radius: var(--radius);
	padding: 26px 32px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 28px;
}
.today-label { margin: 0; font-weight: 700; color: #9a5b14; font-family: var(--font-round); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 1.25rem; }
.today-label small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.today-label .dot, .quote-today .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 5px rgba(212, 134, 42, .2); }
.today-text { margin: 0; font-family: var(--font-round); font-size: clamp(1.3rem, 3.2vw, 1.75rem); line-height: 1.6; font-weight: 700; color: var(--ink); }
.today-note { grid-column: 2; margin: 0; font-size: .78rem; color: var(--muted); }

/* ---------- セクション ---------- */
.home-grid { padding-top: 24px; }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { margin: 0; font-size: 1.5rem; }
.section-title .en { display: block; font-family: var(--font); font-size: .72rem; letter-spacing: .25em; color: var(--warm); font-weight: 700; }
.section-title.small { font-size: 1.2rem; margin-bottom: 16px; }
.section-eyebrow { color: var(--warm); font-weight: 700; letter-spacing: .15em; font-size: .85rem; margin: 0 0 8px; }
.more { font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.empty { color: var(--muted); }
.mt { margin-top: 32px; }

/* ---------- カード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-list { display: grid; gap: 16px; }
.card {
	position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(60, 50, 30, .05), 0 12px 28px rgba(60, 50, 30, .1); }
.card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.card-title { margin: 0; font-size: 1.1rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-title a:hover { color: var(--accent-dark); }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.card-top .chip { position: relative; z-index: 1; }
.stats { display: flex; gap: 12px; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.stat:first-child svg { fill: #f2c27a; stroke: #d4862a; }
.column-card .thumb { margin: -22px -24px 6px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; }
.column-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rank { position: absolute; top: -12px; left: -8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-round); background: #b9ae9e; box-shadow: var(--shadow); z-index: 2; }
.rank-1 { background: #d9a520; }
.rank-2 { background: #9aa3ad; }
.rank-3 { background: #c07a4a; }
.soudan-card.has-rank { padding-top: 26px; }

/* ---------- チップ・カテゴリ色 ---------- */
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; text-decoration: none; background: var(--surface-2); color: var(--ink-2); line-height: 1.7; }
a.chip:hover { filter: brightness(.95); }
.chip-sample { background: #efefef; color: #5f5b54; font-weight: 500; }
.sample-note { margin: -10px 0 18px; font-size: .88rem; color: var(--ink-2); background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; }
.hero-assure { margin: 14px 0 0; font-size: .88rem; color: var(--ink-2); }
.chip-column { background: var(--warm-soft); color: #9a5b14; }
.chip-soon { background: var(--warm-soft); color: #9a5b14; font-size: .7rem; vertical-align: middle; }
.chip.cat-shigoto { background: #e6eef7; color: var(--c-shigoto); }
.chip.cat-kazoku { background: #fbe9e4; color: #b95c43; }
.chip.cat-ningenkankei { background: #efe9f7; color: var(--c-ningenkankei); }
.chip.cat-kenkou { background: #e5f2ea; color: #3d7f58; }
.chip.cat-okane { background: #f8f0da; color: #9a7417; }
.chip.cat-kodoku { background: #e8edf2; color: var(--c-kodoku); }
.chip.cat-sonota { background: #efece7; color: var(--c-sonota); }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
	--c: var(--c-sonota);
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
	padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
	position: relative; transition: border-color .2s, transform .2s;
}
.cat-tile:hover { border-color: var(--c); transform: translateY(-2px); color: var(--ink); }
.cat-char { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--font-round); font-weight: 700; font-size: 1.3rem; }
.cat-name { font-weight: 700; font-family: var(--font-round); }
.cat-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.cat-count { position: absolute; top: 12px; right: 14px; font-size: .75rem; color: var(--muted); }
.cat-shigoto { --c: var(--c-shigoto); }
.cat-kazoku { --c: var(--c-kazoku); }
.cat-ningenkankei { --c: var(--c-ningenkankei); }
.cat-kenkou { --c: var(--c-kenkou); }
.cat-okane { --c: var(--c-okane); }
.cat-kodoku { --c: var(--c-kodoku); }
.cat-sonota { --c: var(--c-sonota); }

.section-rank { position: relative; }
.section-rank::before { content: ""; position: absolute; inset: 20px -24px; background: var(--surface-2); border-radius: 24px; z-index: -1; }

/* ---------- AI 案内 ---------- */
.ai-invite { background: linear-gradient(135deg, #24211d, #2f2c27 60%, #3c3832); color: #fff; padding: 72px 0; margin-top: 40px; }
.ai-invite-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ai-invite .section-eyebrow { color: #f6c7a8; }
.ai-invite h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 16px; }
.ai-invite p { color: rgba(255, 255, 255, .88); }
.ai-invite-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.invite-card { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); padding: 24px; border-radius: var(--radius); text-decoration: none; color: #fff; transition: background .2s, transform .2s; }
.invite-card:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-3px); }
.invite-icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.invite-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.invite-icon circle { fill: var(--accent); stroke: none; }
.invite-title { font-family: var(--font-round); font-weight: 700; font-size: 1.15rem; }
.invite-desc { font-size: .88rem; color: rgba(255, 255, 255, .85); line-height: 1.7; }

/* ---------- 下層ページ ---------- */
.page-hero { background: linear-gradient(180deg, var(--surface-2), var(--bg)); padding: 36px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-hero[class*="cat-"] { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, var(--bg)), var(--bg)); }
.breadcrumb { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); text-decoration: underline; }
.page-title { margin: 0 0 6px; font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.page-lead { margin: 0; color: var(--ink-2); max-width: 46em; }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-bottom: 64px; }
.single-wrap { padding-top: 32px; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat-tabs a { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.cat-tabs a:hover { border-color: var(--accent); color: var(--accent-dark); }
.cat-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort-tabs { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 999px; margin-bottom: 20px; }
.sort-tabs a { padding: 6px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 700; }
.sort-tabs a.is-active { background: var(--surface); color: var(--accent-dark); box-shadow: var(--shadow); }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty-box { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

/* ---------- サイドバー ---------- */
.sidebar { display: grid; gap: 20px; position: sticky; top: 90px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box p { margin: 0 0 14px; font-size: .9rem; color: var(--ink-2); }
.side-title { font-family: var(--font-round); font-weight: 700; color: var(--ink) !important; font-size: 1rem !important; }
.side-ai { background: var(--accent-soft); border-color: #ebdfa8; }
.side-cats, .side-posts { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.side-cats .n { margin-left: auto; color: var(--muted); font-size: .8rem; }
.side-posts li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.6; }
.side-posts li:last-child { border-bottom: 0; }
.side-posts a { color: var(--ink); text-decoration: none; }
.side-posts a:hover { color: var(--accent-dark); }
.bullets { margin: 0; padding-left: 1.2em; font-size: .88rem; color: var(--ink-2); }
.bullets li + li { margin-top: 6px; }
.small { font-size: .8rem !important; color: var(--muted) !important; margin-top: 10px !important; }

/* ---------- 相談詳細 ---------- */
.soudan-single { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.soudan-title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 12px 0 6px; }
.soudan-head .author { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }
.soudan-body { border-top: 1px dashed var(--line); padding-top: 20px; }
.soudan-actions { margin-top: 28px; padding: 22px; border-radius: var(--radius-sm); background: var(--warm-soft); text-align: center; }
.soudan-actions p { margin: 0 0 10px; font-size: .9rem; color: var(--ink-2); }
.empathy-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; cursor: pointer;
	background: var(--surface); border: 2px solid var(--warm); color: #9a5b14; font-weight: 700; transition: background .2s, color .2s, transform .15s;
}
.empathy-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.empathy-btn:hover { background: var(--warm-soft); }
.empathy-btn.is-done { background: var(--warm); color: #fff; cursor: default; }
.empathy-btn.is-done svg { fill: #fff; stroke: #fff; }
.empathy-btn.is-lg { font-size: 1.05rem; padding: 12px 28px; }
.empathy-count { min-width: 1.5em; text-align: left; }
.empathy-btn.pop { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.12); } }

.related { padding-top: 40px; }

/* ---------- 記事本文 ---------- */
.entry { font-size: 1rem; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 1.35rem; margin-top: 2em; padding: 0 0 8px; border-bottom: 2px solid var(--accent-soft); }
.entry h3 { font-size: 1.15rem; margin-top: 1.6em; }
.entry p { margin: 0; }
.entry p + p { margin-top: 1.1em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry blockquote { margin: 1.5em 0; padding: 16px 20px; background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry th { width: 30%; color: var(--ink-2); font-weight: 700; }
.entry .note { font-size: .82rem; color: var(--muted); background: var(--surface-2); padding: 8px 12px; border-radius: 8px; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 44px; box-shadow: var(--shadow); }
.article .breadcrumb { margin-bottom: 18px; }
.article-title { font-size: clamp(1.45rem, 3.2vw, 2rem); margin: 10px 0 24px; }
.article-thumb { margin: 0 0 28px; border-radius: var(--radius-sm); overflow: hidden; }
.article-cta { margin-top: 40px; padding: 24px; background: var(--accent-soft); border-radius: var(--radius-sm); text-align: center; }
.article-cta p { margin: 0 0 12px; font-weight: 700; }
.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; max-width: 320px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.nav-sub { display: block; font-size: .75rem; color: var(--muted); }
.page-entry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; margin-bottom: 48px; }
.page-entry:empty { display: none; }

/* ---------- コメント ---------- */
.comments { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: .82rem; color: var(--muted); }
.comment-meta a { color: var(--muted); text-decoration: none; }
.comment-author .says { display: none; }
.comment-content p { margin: 6px 0 0; }
.reply a { font-size: .8rem; }
.comments-empty { color: var(--muted); }
.comment-respond .comment-reply-title { font-family: var(--font-round); font-size: 1.1rem; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .submit { background: var(--accent); color: #fff; border: 0; padding: .7em 1.6em; border-radius: 999px; font-weight: 700; cursor: pointer; }
.comment-notes { font-size: .85rem; color: var(--muted); }

/* ---------- フォーム ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); margin-bottom: 32px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.req, .opt { display: inline-block; font-size: .7rem; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.req { background: var(--warm); color: #fff; }
.opt { background: var(--surface-2); color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], select, textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fffef6; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; line-height: 1.8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 44, 39, .15); }
.help { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.field-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fffef6; cursor: pointer; font-weight: 500; transition: all .15s; }
.radio-chip:hover span { border-color: var(--c); }
.radio-chip input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.radio-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 44, 39, .2); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-submit { text-align: center; margin-top: 10px; }
.hp { position: absolute !important; left: -9999px; }
.form-error { background: #fdecea; border: 1px solid #f3c2bb; color: #a13d2e; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; }
.thanks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 32px; text-align: center; margin-bottom: 32px; box-shadow: var(--shadow); }
.thanks-title { font-family: var(--font-round); font-size: 1.4rem; font-weight: 700; margin: 0 0 8px; color: var(--accent-dark); }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- 相談窓口 ---------- */
.crisis { background: #fff; border: 1px solid #efdc9f; border-left: 5px solid var(--warm); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 48px; font-size: .9rem; }
.crisis p { margin: 0 0 6px; }
.crisis-title { font-weight: 700; font-family: var(--font-round); color: #9a5b14; }
.crisis ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.crisis li a { font-weight: 700; margin-left: 6px; white-space: nowrap; }
.crisis.is-compact { margin-bottom: 0; }

/* ---------- AI相談室 ---------- */
.ai-hero { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.chat-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-bottom: 64px; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; height: min(72vh, 720px); min-height: 480px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.chat-avatar .logo-mark { width: 28px; height: 28px; }
.chat-name { margin: 0; font-weight: 700; font-family: var(--font-round); line-height: 1.3; }
.chat-status { margin: 0; font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #3fb27f; }
.chat-reset { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .78rem; color: var(--ink-2); cursor: pointer; }
.chat-reset:hover { background: var(--surface-2); }
.chat-log { flex: 1; overflow-y: auto; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fffef6, #fdf9e3); }
.msg { display: flex; }
.msg-user { justify-content: flex-end; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; line-height: 1.8; font-size: .95rem; }
.msg-ai .bubble { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; }
.msg-user .bubble { background: var(--accent); color: #fff; border-top-right-radius: 6px; }
.msg.is-error .bubble { background: #fdf1ec; border-color: #f3d2c2; color: #9a4b28; }
.is-typing .bubble { display: inline-flex; gap: 5px; padding: 16px 18px; }
.is-typing .bubble span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.is-typing .bubble span:nth-child(2) { animation-delay: .2s; }
.is-typing .bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; background: #fdf9e3; }
.chat-suggest[hidden] { display: none; }
.chat-suggest button { background: var(--surface); border: 1px solid var(--accent); color: var(--accent-dark); border-radius: 999px; padding: 6px 14px; font-size: .85rem; cursor: pointer; }
.chat-suggest button:hover { background: var(--accent-soft); }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--surface); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; min-height: 52px; max-height: 160px; }
.chat-form .btn { flex: none; height: 52px; }
.chat-info { display: grid; gap: 18px; }
.premium { background: linear-gradient(135deg, #fff, var(--warm-soft)); }

/* ---------- コラム特集 ---------- */
.feature-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px; border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .2s; }
.feature-tile:hover { transform: translateY(-3px); color: var(--ink); }
.feature-kokoro { background: linear-gradient(135deg, var(--accent-soft), #fff); }
.feature-story { background: linear-gradient(135deg, #efe9f7, #fff); }
.feature-kyou-no-ippo { background: linear-gradient(135deg, var(--warm-soft), #fff); }
.feature-name { font-family: var(--font-round); font-weight: 700; font-size: 1.25rem; }
.feature-desc { font-size: .88rem; color: var(--ink-2); }
.feature-tile .more { margin-top: auto; color: var(--accent-dark); }

.quote-today { background: linear-gradient(135deg, var(--warm-soft), #fffbe4); border: 1px solid #efdc9f; border-radius: var(--radius); padding: 28px 32px; margin-bottom: 28px; }
.quote-today .today-text { margin-top: 8px; }
.quote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.quote-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 22px; display: flex; gap: 20px; align-items: baseline; }
.quote-list time { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.quote-list p { margin: 0; font-family: var(--font-round); font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 24px; }
.notfound-code { font-family: var(--font-round); font-size: 5rem; color: var(--accent-soft); font-weight: 700; margin: 0; line-height: 1; -webkit-text-stroke: 2px var(--accent); }

/* ---------- フッター ---------- */
.site-footer { background: #2a2824; color: #d9d6cf; padding: 48px 0 28px; margin-top: 0; }
.site-footer .crisis { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); border-left-color: var(--warm); color: #e8e4dc; }
.site-footer .crisis-title { color: #f6c7a8; }
.site-footer .crisis a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin: 40px 0 32px; }
.site-footer .brand { color: #fff; }
.site-footer .logo-mark { fill: #fdf9bb; }
.site-footer .brand-sub { color: #a8a39a; }
.footer-brand p { font-size: .88rem; color: #b9b4ab; }
.footer-h { font-weight: 700; color: #fff; margin: 0 0 10px; font-family: var(--font-round); }
.footer-nav ul, .sns { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 6px 0; }
.footer-nav a, .sns a { color: #d9d6cf; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover, .sns a:hover { color: #fff; text-decoration: underline; }
.footer-sister { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; margin-bottom: 24px; }
.footer-sister ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 24px; }
.footer-sister a { color: #d9d6cf; text-decoration: none; font-size: .86rem; }
.footer-sister a:hover { color: #fff; text-decoration: underline; }
.footer-sister-domain { margin-left: .5em; color: #8f8a81; font-size: .78rem; }
.sns { display: flex; gap: 16px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin: 0; font-size: .8rem; color: #8f8a82; text-align: center; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1040px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.ai-invite-inner { grid-template-columns: 1fr; gap: 28px; }
	.with-sidebar, .chat-wrap { grid-template-columns: 1fr; }
	.sidebar { position: static; }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .08); padding: 12px 16px 20px; display: none; max-height: calc(100vh - 68px); overflow-y: auto; }
	.admin-bar .site-nav { top: calc(68px + 46px); }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; gap: 2px; }
	.site-nav a { padding: 12px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
	.site-nav .menu-ai > a { text-align: center; margin-top: 8px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.wrap { padding: 0 16px; }
	.sp { display: inline; }
	.hero { padding: 40px 0 72px; }
	.hero-illust { margin-top: 20px; }
	.hero-illust img { max-width: 220px; }
	.hero-actions .btn { width: 100%; }
	.today-inner { grid-template-columns: 1fr; padding: 20px; }
	.today-note { grid-column: 1; }
	.card-grid, .card-grid.cols-2, .cat-grid, .ai-invite-cards, .feature-grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cat-tile { grid-template-columns: 1fr; padding: 14px; row-gap: 4px; }
	.cat-char { grid-row: auto; width: 38px; height: 38px; font-size: 1.05rem; border-radius: 10px; }
	.cat-desc { display: none; }
	.section { padding: 32px 0; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.section-rank::before { inset: 12px -16px; border-radius: 0; }
	.card { padding: 18px; }
	.soudan-single, .article, .page-entry, .form, .comments { padding: 22px 18px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.chat { height: 72vh; min-height: 420px; border-radius: 16px; }
	.bubble { max-width: 88%; }
	.sort-tabs { display: flex; }
	.sort-tabs a { flex: 1; text-align: center; padding: 6px 8px; }
	.quote-list li { flex-direction: column; gap: 2px; }
	.entry th { width: 36%; }
}

/* ---------- 記事末の関連コラム ---------- */
.related-columns { margin-top: 40px; padding-top: 28px; border-top: 1px dashed var(--line); }
.related-columns .card { padding: 18px; box-shadow: none; }
.related-columns .card-title { font-size: 1rem; }
.related-columns .card-excerpt { -webkit-line-clamp: 2; font-size: .85rem; }
@media (max-width: 640px) { .related-columns .card-grid { grid-template-columns: 1fr; } }

/* ---------- コラム：テーマから探す ---------- */
.topic-section { padding-top: 12px; }
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.topic-tile { --t: var(--accent); display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--t); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.topic-tile:hover { transform: translateY(-2px); color: var(--ink); border-color: var(--t); }
.topic-name { font-family: var(--font-round); font-weight: 700; }
.topic-count { font-size: .8rem; color: var(--muted); }
.topic-career { --t: #4a7fb5; }
.topic-health { --t: #4f9a6e; }
.topic-relationships { --t: #c96a50; }
.topic-money { --t: #b08a24; }
.topic-hobby { --t: #3f8f9a; }
@media (max-width: 1040px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
.side-sub { font-size: .82rem !important; margin: -6px 0 10px !important; }
.side-sub a { text-decoration: none; font-weight: 700; }
.soudan-columns { margin-top: 32px; }

/* ---------- メルマガ登録 ---------- */
.nl-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 36px; align-items: center; background: linear-gradient(135deg, var(--warm-soft), #fffbe4); border: 1px solid #efdc9f; border-radius: var(--radius); padding: 28px 32px; margin: 8px 0 40px; }
.nl-box.is-compact { grid-template-columns: 1fr; margin-top: 28px; padding: 22px 24px; }
.nl-box.is-page { margin-bottom: 32px; }
.nl-eyebrow { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .15em; color: var(--warm); }
.nl-title { margin: 0 0 6px; font-family: var(--font-round); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.nl-desc { margin: 0; font-size: .9rem; color: var(--ink-2); }
.nl-row { display: flex; gap: 8px; }
.nl-row input[type="email"] { flex: 1; min-width: 0; background: #fff; }
.nl-row .btn { flex: none; }
.nl-agree { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .82rem; color: var(--ink-2); }
.nl-agree input { accent-color: var(--accent); }

/* ---------- 無料ツール ---------- */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 18px; row-gap: 4px; height: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.tool-icon { grid-row: 1 / 4; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; }
.tool-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-name { font-family: var(--font-round); font-weight: 700; font-size: 1.15rem; }
.tool-desc { font-size: .9rem; color: var(--ink-2); line-height: 1.75; }
.tool-meta { font-size: .8rem; color: var(--warm); font-weight: 700; }
.tool-wrap { padding-bottom: 48px; }
.tool-note { font-size: .85rem; color: var(--muted); background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; }
.is-missing { outline: 2px solid #f0b8a6; outline-offset: 4px; border-radius: 12px; }

/* 優先順位チェック */
.pr-form { display: grid; gap: 14px; }
.pr-row { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 20px; display: grid; gap: 10px; }
.pr-row legend { padding: 0; }
.pr-name { font-family: var(--font-round); font-weight: 700; font-size: 1.05rem; margin-right: 10px; }
.pr-hint { font-size: .8rem; color: var(--muted); }
.pr-scale { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pr-label { width: 4.5em; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.pr-options { display: flex; gap: 6px; }
.pr-options label, .sc-options label { position: relative; }
.pr-options input, .sc-options input { position: absolute; opacity: 0; pointer-events: none; }
.pr-options span { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fffef6; cursor: pointer; font-weight: 700; transition: all .15s; }
.pr-options input:checked + span, .sc-options input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pr-options input:focus-visible + span, .sc-options input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 44, 39, .2); }
.pr-legend { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.pr-result { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pr-focus-label { margin: 0 0 8px; font-weight: 700; color: #9a5b14; font-family: var(--font-round); }
.pr-focus ol { margin: 0 0 24px; padding-left: 1.4em; display: grid; gap: 8px; }
.pr-focus li strong { font-size: 1.1rem; margin-right: 10px; }
.pr-focus li span { font-size: .85rem; color: var(--muted); margin-right: 10px; }
.pr-focus li a { font-size: .85rem; font-weight: 700; }
.pr-chart { display: grid; gap: 8px; margin-bottom: 24px; }
.pr-bar { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 10px; font-size: .85rem; }
.pr-bar-track { position: relative; height: 22px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.pr-bar-imp, .pr-bar-sat { position: absolute; left: 0; height: 50%; border-radius: 0 4px 4px 0; }
.pr-bar-imp { top: 0; background: #d4862a; }
.pr-bar-sat { bottom: 0; background: var(--accent); }
.pr-bar-legend { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.pr-bar-legend .k { display: inline-block; width: 12px; height: 8px; border-radius: 2px; vertical-align: middle; margin: 0 4px 0 8px; }
.pr-bar-legend .k.imp { background: #d4862a; }
.pr-bar-legend .k.sat { background: var(--accent); }
.pr-strength p:last-child { margin-top: 0; }
.pr-advice { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 16px; }
.pr-advice p { margin: 0; }
.print-only { display: none; }

/* 疲れ度セルフチェック */
.sc-list { list-style: none; counter-reset: q; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.sc-item { counter-increment: q; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.sc-q { margin: 0 0 10px; font-weight: 700; }
.sc-q::before { content: "Q" counter(q) ". "; color: var(--accent); }
.sc-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sc-options span { display: block; text-align: center; padding: 8px 4px; border-radius: 10px; border: 1.5px solid var(--line); background: #fffef6; cursor: pointer; font-size: .88rem; transition: all .15s; }
.sc-result { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.sc-meter { height: 14px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.sc-meter-bar { height: 100%; border-radius: 999px; transition: width .6s ease; }
.sc-meter-bar.lv1 { background: #4f9a6e; }
.sc-meter-bar.lv2 { background: #c79a2e; }
.sc-meter-bar.lv3 { background: #d4862a; }
.sc-meter-bar.lv4 { background: #c9573f; }
.sc-level { font-family: var(--font-round); font-weight: 700; font-size: 1.3rem; margin: 14px 0 6px; }
.sc-score { display: inline-block; font-size: .85rem; color: var(--muted); margin-right: 10px; font-family: var(--font); }
.sc-advice p { margin: 0 0 8px; }
.sc-result .crisis { margin: 20px 0 0; }

@media (max-width: 900px) {
	.nl-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.tool-grid { grid-template-columns: 1fr; }
	.nl-box { padding: 22px 18px; }
	.nl-row { flex-direction: column; }
	.pr-options span { width: 40px; }
	.sc-options { grid-template-columns: 1fr 1fr; }
	.pr-bar { grid-template-columns: 6.5em 1fr; }
}

/* 印刷（優先順位チェックリスト） */
@media print {
	.site-header, .site-footer, .no-print, .page-hero, .skip-link, #wpadminbar { display: none !important; }
	.print-only { display: block; }
	body { background: #fff; font-size: 12px; }
	.wrap { max-width: none; padding: 0; }
	.print-title { font-family: var(--font-round); font-size: 18px; font-weight: 700; margin: 0 0 12px; }
	.print-title small { font-size: 12px; font-weight: 400; margin-left: 20px; }
	.pr-form { gap: 6px; }
	.pr-row { padding: 8px 12px; break-inside: avoid; gap: 4px; }
	.pr-options span { width: 30px; height: 24px; }
	.pr-memo { border-bottom: 1px dotted #999; height: 22px; font-size: 11px; color: #666; }
	.pr-result { box-shadow: none; break-before: page; }
	.pr-result .thanks-actions { display: none; }
}
.sc-extra { background: var(--warm-soft); border-radius: var(--radius-sm); padding: 12px 14px; }

/* ---------- 確認の質問（スパム対策） ---------- */
.quiz-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.quiz-q { display: inline-block; padding: 0 8px; margin: 0 2px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--font-round); letter-spacing: .08em; }
.quiz-field input[name="aruki_quiz_answer"] { max-width: 160px; }
.quiz-help { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.nl-form .quiz-field { margin-top: 12px; }
.nl-form .quiz-field label { font-size: .88rem; }
.nl-form .quiz-field input[name="aruki_quiz_answer"] { background: #fff; padding: 8px 12px; }
.comment-form .quiz-field { margin: 0 0 14px; }

/* ==========================================================
 * みんなの歩き方
 * ========================================================== */
:root { --c-kurashi: #b0784a; --c-manabi: #3f8f9a; }
.cat-kurashi { --c: var(--c-kurashi); }
.cat-manabi { --c: var(--c-manabi); }
.chip.cat-kurashi { background: #f6ece2; color: #95603a; }
.chip.cat-manabi { background: #e3f1f2; color: #2f7580; }
.chip-scene { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.chip-legacy { background: #eceae6; color: #6f6a62; font-weight: 500; }

/* トップ */
.theme-grid .cat-tile { grid-template-columns: auto 1fr; grid-template-rows: auto; padding: 14px 16px; }
.theme-grid .cat-char { grid-row: auto; width: 40px; height: 40px; font-size: 1.1rem; border-radius: 12px; }
.scene-block { margin-top: 24px; }
.scene-title { font-size: 1rem; margin: 0 0 10px; color: var(--ink-2); }
.scene-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scene-chips a { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .2s, background .2s; }
.scene-chips a:hover { border-color: var(--accent); color: var(--accent-dark); }
.scene-chips a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.scene-chips.is-small a { padding: 5px 12px; font-size: .85rem; }

.prompt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .prompt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prompt-grid { grid-template-columns: 1fr; } }
.prompt-card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; height: 100%; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--warm-soft), #fffbe4); border: 1px solid #efdc9f; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.prompt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.prompt-text { font-family: var(--font-round); font-weight: 700; font-size: 1.05rem; line-height: 1.7; }
.prompt-text::before { content: "“"; color: var(--warm); margin-right: 2px; }
.prompt-text::after { content: "”"; color: var(--warm); margin-left: 2px; }
.prompt-go { font-size: .85rem; font-weight: 700; color: var(--accent-dark); }

.section-note { margin: -10px 0 18px; font-size: .88rem; color: var(--muted); }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.guide-grid p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.guide-grid .guide-title { font-family: var(--font-round); font-weight: 700; color: var(--accent-dark); font-size: 1rem; margin-bottom: 6px; }
.guide-cta { text-align: center; margin: 24px 0 0; }

.empty-invite { background: var(--surface); border: 1px dashed #d8cfc2; border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.empty-invite p { margin: 0 0 10px; color: var(--ink-2); }
.empty-invite .btn { margin-top: 8px; }
.empty-invite-title { font-family: var(--font-round); font-weight: 700; font-size: 1.15rem; color: var(--ink) !important; }
.empty-invite.is-small { padding: 22px; }

.soft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 8px; }
.soft-link { display: block; padding: 20px 22px; border-radius: var(--radius); background: var(--surface-2); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .2s; }
.soft-link:hover { border-color: var(--accent); color: var(--ink); }
.soft-title { display: block; font-weight: 700; margin-bottom: 4px; }
.soft-desc { display: block; font-size: .86rem; color: var(--ink-2); }

/* 一覧・詳細 */
.filter-block { margin-bottom: 14px; }
.filter-label { margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.filter-block + .card-list, .filter-block + .empty-invite { margin-top: 20px; }
.story-card .card-foot time { font-size: .8rem; }
.story-single { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; box-shadow: var(--shadow); }
.story-title { font-size: clamp(1.45rem, 3.2vw, 1.9rem); margin: 12px 0 6px; line-height: 1.55; }
.story-head .author { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.sample-note { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: #f2f0ec; color: #6f6a62; font-size: .85rem; }
.story-body { border-top: 1px dashed var(--line); padding-top: 24px; font-size: 1.06rem; line-height: 2.05; letter-spacing: .03em; }
.story-body p + p { margin-top: 1.4em; }
.story-actions { margin-top: 32px; padding: 22px; border-radius: var(--radius-sm); background: var(--accent-soft); text-align: center; }
.story-actions > p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.story-actions .react-note { margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
.reactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.react-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent-dark); font-weight: 700; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.react-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.react-btn.is-done .react-ico { fill: rgba(255, 255, 255, .35); }
.react-btn:hover { background: #fbf6da; }
.react-btn.is-done { background: var(--accent); color: #fff; cursor: default; }
.react-btn.pop { animation: pop .4s ease; }
.react-count { font-size: .78rem; font-weight: 500; opacity: .75; min-width: 1em; }
.react-count:empty { display: none; }
.write-invite { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--warm-soft), #fffbe4); border: 1px solid #efdc9f; text-align: center; }
.write-invite-title { font-family: var(--font-round); font-weight: 700; font-size: 1.2rem; margin: 0 0 6px; }
.write-invite p { margin: 0 0 14px; color: var(--ink-2); }
.side-soft { background: var(--surface-2); }
.side-link { font-weight: 700; text-decoration: none; font-size: .9rem; }

/* 以前の相談 */
.legacy-note { background: #f4f2ee; border: 1px solid #e3ddd3; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-size: .9rem; color: var(--ink-2); }
.legacy-note p { margin: 0; }
.legacy-note p + p { margin-top: 8px; }
.legacy-note a { font-weight: 700; text-decoration: none; margin-right: 12px; }

/* 書くフォーム */
.odai-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 18px; }
.odai-box summary { cursor: pointer; font-weight: 700; color: var(--accent-dark); }
.odai-list { margin: 10px 0 4px; padding-left: 1.2em; }
.odai-list li { margin: 6px 0; }
.odai-selected { background: var(--warm-soft); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 18px; }
.odai-selected a { font-size: .82rem; margin-left: 10px; }
.question-hints { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; }
.question-hints-label { margin: 0 0 8px; font-size: .82rem; color: var(--ink-2); }
.question-chip { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent-dark); font-size: .85rem; cursor: pointer; }
.question-chip:hover { background: var(--accent-soft); }
.question-chip.is-used { opacity: .55; }
.radio-chips.is-scene .radio-chip { --c: var(--accent); }
.field-row.is-two { grid-template-columns: 2fr 1fr; }
.privacy-note { background: #fffbe4; border: 1px solid #efdc9f; border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 22px; font-size: .88rem; }
.privacy-note-title { margin: 0 0 6px; font-weight: 700; color: #9a5b14; }
.privacy-note ul { margin: 0; padding-left: 1.2em; }
.privacy-note li + li { margin-top: 4px; }

@media (max-width: 1040px) {
	.guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.guide-grid, .soft-links, .field-row.is-two { grid-template-columns: 1fr; }
	.theme-grid { grid-template-columns: 1fr 1fr; }
	.story-single { padding: 24px 18px; }
	.story-body { font-size: 1rem; line-height: 1.95; }
	.react-btn { flex: 1 1 auto; justify-content: center; }
	.scene-chips a { padding: 7px 14px; }
}

.article-cta .btn { margin: 4px; }

@media (max-width: 640px) {
	.hero-lead br { display: none; }
}
@media (max-width: 420px) {
	.brand-name { font-size: .98rem; white-space: nowrap; letter-spacing: .03em; }
	.brand-sub { font-size: .66rem; }
	.logo-mark { width: 32px; height: 32px; }
	.nav-toggle-label { display: none; }
	.header-inner { gap: 12px; }
}

/* ---------- ロゴ画像 ---------- */
.brand-logo { display: block; height: 46px; width: auto; }
.site-footer .brand-logo { height: 40px; }
.site-footer .footer-brand p { margin-top: 14px; }
@media (max-width: 640px) { .brand-logo { height: 38px; } }
@media (max-width: 380px) { .brand-logo { height: 32px; } }

/* ---------- 運営者情報（運営責任者の顔写真） ---------- */
.about-person { display: flex; gap: 14px; align-items: center; margin: 0; }
.about-person p { margin: 0; }
.about-person__photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
