/* くらしデータ 共通スタイル(シンプルページ用) */
:root {
  --bg: #fbfbf9; --card: #ffffff; --ink: #23221f; --sub: #52514e; --muted: #a09d94;
  --line: #eeede7; --border: rgba(11,11,11,0.06);
  --green: #1a9e64; --green-d: #147a4d; --orange: #e07a2f; --orange-d: #b05a17;
  --blue: #2a78d6; --blue-d: #1d5fb0;
  --shadow: 0 1px 2px rgba(11,11,11,0.04), 0 12px 32px rgba(11,11,11,0.06);
  --disp: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Noto Sans JP', system-ui, -apple-system, "Segoe UI", "Yu Gothic UI", "Hiragino Sans", sans-serif; font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }

header { background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(11,11,11,0.04); }
.hd { height: 60px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--disp); font-size: 17px; font-weight: 800; line-height: 1.1; }
.brand-sub { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }
nav.gnav { display: flex; gap: 2px; }
nav.gnav a { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sub); }
nav.gnav a.on { font-weight: 700; color: var(--green-d); background: rgba(26,158,100,0.10); }

.crumb { display: flex; gap: 8px; color: var(--muted); font-size: 12px; padding: 18px 0 10px; flex-wrap: wrap; }
.crumb b { color: var(--sub); font-weight: 600; }
h1.page { font-size: 26px; font-weight: 900; margin: 0; line-height: 1.25; }
.lead { color: var(--sub); font-size: 13.5px; line-height: 1.8; max-width: 780px; margin: 10px 0 0; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 26px; margin-top: 18px; }
.card h2 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.card h2 + p, .card p { font-size: 13.5px; line-height: 1.9; color: var(--sub); margin: 0 0 12px; }
.card p b { color: var(--ink); }
.card ul { margin: 0 0 12px; padding-left: 20px; }
.card li { font-size: 13.5px; line-height: 1.9; color: var(--sub); }
.card a { color: var(--green-d); font-weight: 600; }

.sec-label { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; border-radius: 999px; padding: 3px 12px; }
.sec-title { font-size: 22px; font-weight: 900; margin: 6px 0 2px; }
.sec-sub { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.dcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 16px; box-shadow: var(--shadow); }
.dcard:hover { box-shadow: 0 2px 4px rgba(11,11,11,0.05), 0 16px 40px rgba(11,11,11,0.10); }
.dc-head { display: flex; align-items: center; gap: 10px; }
.dc-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dc-name { font-size: 14px; font-weight: 800; }
.dc-freq { margin-left: auto; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.dc-main { margin: 12px 0 6px; min-height: 52px; }
.dc-val { font-size: 25px; font-weight: 800; line-height: 1.2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dc-val small { font-size: 13px; font-weight: 500; color: var(--sub); }
.dc-sub { color: var(--sub); font-size: 12.5px; margin-top: 3px; }
.dc-desc { color: var(--sub); font-size: 12.5px; line-height: 1.65; }
.dc-link { color: var(--green-d); font-size: 12.5px; font-weight: 700; margin-top: auto; padding-top: 12px; }
.pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 11px; }
.soon { opacity: 0.72; }
.soon-badge { font-size: 11px; font-weight: 700; color: var(--muted); background: #f0efe9; border-radius: 999px; padding: 2px 10px; }

.spacer-bottom { margin-bottom: 44px; }

/* 記事本文内のリンクは一般的な青(2026-09-01ユーザー要望) */
.art-body a { color: #1d5fb0; text-decoration: underline; text-underline-offset: 2px; }
.art-body a:hover { color: #164a8a; }

footer { background: #23221f; margin-top: 40px; }
.ft-top { display: flex; align-items: center; gap: 10px; padding: 28px 0 0; }
.ft-name { font-family: var(--disp); font-size: 15px; font-weight: 800; color: #fff; }
.ft-links { margin-left: auto; display: flex; gap: 22px; color: #b5b2a8; font-size: 12px; flex-wrap: wrap; }
.ft-bottom { display: flex; gap: 16px; border-top: 1px solid rgba(255,255,255,0.10); margin-top: 16px; padding: 14px 0 24px; color: #8a877d; font-size: 11.5px; flex-wrap: wrap; }
.ft-bottom div:last-child { margin-left: auto; }

@media (max-width: 900px) {
  nav.gnav { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
