/* おやこの晴れ日和:晴れた日の朝のような、明るくやわらかい見た目 */
:root {
  --bg: #fffbf3;
  --surface: #ffffff;
  --ink: #3b3430;
  --muted: #7b706a;
  --line: #efe6d8;
  --sun: #f5b32e;
  --sun-deep: #c97a12;
  --sun-soft: #fff1d1;
  --sky: #5fa9d8;
  --sky-deep: #2f7cae;
  --sky-soft: #e7f3fb;
  --leaf-soft: #e9f5e6;
  --rose-soft: #fdeceb;
  --radius: 16px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-round: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "M PLUS Rounded 1c", var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
a { color: var(--sky-deep); }
a:hover { color: var(--sun-deep); }
img { max-width: 100%; height: auto; border-radius: 12px; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-round); font-weight: 700; font-size: 20px; }
.logo-sun { width: 32px; height: 32px; }
.cat-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 14px; }
.cat-nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.cat-nav a:hover { color: var(--sun-deep); }

main.wrap { padding-top: 24px; padding-bottom: 56px; }

/* トップ */
.hero {
  background: linear-gradient(160deg, var(--sun-soft) 0%, var(--sky-soft) 100%);
  border-radius: 24px;
  padding: 40px 24px;
  margin-bottom: 40px;
  text-align: center;
}
.hero-kicker { margin: 0; color: var(--sun-deep); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; }
.hero h1 { margin: 8px 0; font-family: var(--font-round); font-size: clamp(28px, 6vw, 40px); line-height: 1.3; }
.hero-lead { margin: 0; color: var(--muted); }

.sec-title { font-family: var(--font-round); font-size: 20px; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.sec-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
section + section { margin-top: 40px; }

.cat-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cat-card a { display: block; height: 100%; padding: 20px; border-radius: var(--radius); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: transform .15s ease; }
.cat-card a:hover { transform: translateY(-2px); color: var(--ink); }
.cat-odekake a { background: var(--sky-soft); }
.cat-kisetsu a { background: var(--rose-soft); }
.cat-dougu a { background: var(--sun-soft); }
.cat-ouchi a { background: var(--leaf-soft); }
.cat-name { display: block; font-family: var(--font-round); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.cat-desc { display: block; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* 記事カード */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.card a:hover { border-color: var(--sun); transform: translateY(-2px); color: var(--ink); }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); }
.chip-pr { background: #f1ece6; color: var(--muted); }
.chip-draft { background: var(--rose-soft); color: #b0433c; }
.card-title { font-weight: 700; font-size: 17px; line-height: 1.6; }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-date { margin-top: auto; font-size: 12px; color: var(--muted); }
.empty { color: var(--muted); }

/* パンくず */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); }

/* 記事 */
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 20px; max-width: 760px; }
.article h1 { font-family: var(--font-round); font-size: clamp(24px, 5vw, 30px); line-height: 1.45; margin: 0 0 8px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.pr-label { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 12px 14px; background: #f8f4ef; border-radius: 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.pr-badge { flex: none; font-weight: 700; font-size: 12px; padding: 1px 8px; border: 1px solid var(--muted); border-radius: 4px; color: var(--ink); }
.draft-note { padding: 10px 14px; background: var(--rose-soft); color: #b0433c; border-radius: 12px; font-size: 14px; }
.cat-head h1 { font-family: var(--font-round); font-size: 26px; margin: 0 0 8px; }
.cat-head p { color: var(--muted); margin: 0 0 24px; }

.prose h2 { font-family: var(--font-round); font-size: 21px; margin: 40px 0 12px; padding: 8px 14px; background: var(--sun-soft); border-radius: 10px; line-height: 1.5; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; padding-left: 12px; border-left: 4px solid var(--sun); line-height: 1.5; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: 4px 0; }
.prose blockquote { margin: 0 0 1.2em; padding: 12px 16px; background: var(--sky-soft); border-radius: 12px; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: #faf6ef; white-space: nowrap; }
.prose code { background: #f6f1ea; padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px dashed var(--line); margin: 32px 0; }
.prose input[type="checkbox"] { margin-right: 6px; }
.byline { margin: 32px 0 0; font-size: 13px; color: var(--muted); text-align: right; }

.related { margin-top: 40px; }
.related h2 { font-family: var(--font-round); font-size: 19px; }

/* フッター */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 28px 0 32px; font-size: 13px; color: var(--muted); }
.ad-note { margin: 0 0 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 12px; }
.foot-nav a { color: var(--muted); }
.copy { margin: 0; }

@media (min-width: 720px) {
  body { font-size: 17px; }
  .hero { padding: 56px 32px; }
  .article { padding: 40px 48px; }
}

/* チェックリストは点を消して、チェック欄だけにする */
.prose li:has(> input[type="checkbox"]) { list-style: none; margin-left: -1.2em; }

/* ===== トップ:困りごとから探す ===== */
.hero-catch { margin: 0 0 12px; font-family: var(--font-round); font-size: clamp(26px, 6.4vw, 40px); line-height: 1.45; }
.hero-lead { font-size: 15px; line-height: 1.8; }
br.pc { display: none; }

.needs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.need { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; height: 100%; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.need:hover { border-color: var(--sun); transform: translateY(-2px); color: var(--ink); }
.need .icon { grid-row: 1 / 3; width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-deep); }
.need-label { font-weight: 700; font-size: 15px; line-height: 1.5; }
.need-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 今月 */
.month { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.month-topics { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.month-topics li { padding: 6px 14px; border-radius: 999px; background: var(--rose-soft); font-size: 14px; font-weight: 700; color: #a2483f; }

/* 年齢 */
.ages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.age-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 18px 8px; border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; transition: transform .15s ease; }
.age-card:hover { transform: translateY(-2px); color: var(--ink); }
.age-0-2 { background: var(--rose-soft); }
.age-3-5 { background: var(--sun-soft); }
.age-elementary { background: var(--leaf-soft); }
.age-name { font-family: var(--font-round); font-weight: 700; font-size: 18px; }
.age-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 地方 */
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.area-grid a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.area-grid a:hover { border-color: var(--sky); color: var(--ink); }
.area-name { font-weight: 700; font-size: 15px; }
.area-count { font-size: 11px; color: var(--muted); }

/* 安心の理由 */
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.trust li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border-left: 4px solid var(--sun); border-radius: 12px; font-size: 14px; line-height: 1.7; }
.trust b { font-size: 15px; }
.more { margin: 12px 0 0; text-align: right; font-size: 14px; }

/* 一覧ページの見出し */
.cat-kicker { margin: 0 0 4px !important; font-size: 13px; font-weight: 700; color: var(--sun-deep) !important; }
.cat-head h1 small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* 記事の対象年齢・地方 */
.article-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -12px 0 24px; font-size: 13px; color: var(--muted); }
.chip-area { background: var(--leaf-soft); color: #3d7a4a; }
.chip-age { background: var(--sun-soft); color: var(--sun-deep); }

/* フッター:年齢と地方 */
.foot-find { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.foot-find p { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-find b { color: var(--ink); margin-right: 4px; }
.foot-find a { color: var(--muted); }

@media (min-width: 720px) {
  br.pc { display: inline; }
  .needs { grid-template-columns: repeat(4, 1fr); }
  .need { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px 12px; }
  .need .icon { grid-row: auto; margin-bottom: 8px; }
  .area-grid { grid-template-columns: repeat(9, 1fr); }
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .month { padding: 28px; }
}

/* 細かい調整 */
br.sp { display: inline; }
.hero-catch { font-size: clamp(24px, 6.4vw, 40px); }
@media (min-width: 720px) {
  br.sp { display: none; }
  .area-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
}
.needs .need { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 2px; padding: 16px 8px; }
.needs .need .icon { grid-row: auto; margin-bottom: 6px; }

/* 予定が空いた日 */
.chip-anaba { background: #efe9fb; color: #6a4fb0; }
.chip-budget { background: #f1ece6; color: var(--ink); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter-chips a { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; text-decoration: none; color: var(--ink); }
.filter-chips a:hover { border-color: var(--sun); }

/* 2つの探し方:計画して出かける/今日すぐ出かける(同じ大きさで並べる) */
.modes { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 10px; }
.mode { border-radius: var(--radius); color: var(--ink); padding: 20px 16px 16px; display: flex; flex-direction: column; }
.mode-plan { background: var(--sky-soft); }
.mode-now { background: var(--sun-soft); }
.mode .icon { flex: none; width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #fff; }
.mode-plan .icon, .mode-plan .mode-kicker { color: var(--sky-deep); }
.mode-now .icon, .mode-now .mode-kicker { color: var(--sun-deep); }
.mode-head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.mode-head:hover { color: var(--ink); }
.mode-plan .mode-head:hover .mode-label { color: var(--sky-deep); }
.mode-now .mode-head:hover .mode-label { color: var(--sun-deep); }
.mode-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.mode-label { display: block; font-family: var(--font-round); font-weight: 700; font-size: 20px; line-height: 1.45; }
.mode-sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.mode-links { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mode-now .mode-links { grid-template-columns: repeat(2, 1fr); }
.mode-links a { display: flex; align-items: center; justify-content: center; height: 100%; padding: 9px 4px; text-align: center; background: #fff; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; color: var(--ink); border: 1.5px solid transparent; }
.mode-plan .mode-links a:hover { border-color: var(--sky); color: var(--ink); }
.mode-now .mode-links a:hover { border-color: var(--sun); color: var(--ink); }

@media (min-width: 720px) {
  .modes { grid-template-columns: 1fr 1fr; }
  .mode { padding: 24px; }
  .mode-label { font-size: 22px; }
  .mode-sub { font-size: 13px; }
}
.mode-now .mode-links li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ジャンルから探す */
.genres { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.genre { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 14px 12px; background: var(--surface); border: 1.5px solid var(--line); border-left-width: 5px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.genre:hover { transform: translateY(-2px); color: var(--ink); }
.genre-name { font-weight: 700; font-size: 15px; line-height: 1.5; }
.genre-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }
.genre-park { border-left-color: #7bbf8e; }
.genre-animal { border-left-color: #e7a46b; }
.genre-amusement { border-left-color: #e78ba0; }
.genre-water { border-left-color: var(--sky); }
.genre-nature { border-left-color: #8fb35a; }
.genre-indoor { border-left-color: #b49ad8; }
.genre-museum { border-left-color: #8a9bb0; }
.genre-event { border-left-color: var(--sun); }
@media (min-width: 720px) { .genres { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 719px) { .genre { padding: 12px 10px 10px 12px; } .genre-name { font-size: 14px; } .genre-sub { font-size: 11px; } }

/* 目次:欲しいところだけ読めるように、押すとその見出しへ移動する */
.prose h2, .prose h3 { scroll-margin-top: 16px; }
.toc { margin: 24px 0 8px; padding: 16px 18px; background: var(--sky-soft); border-radius: 14px; }
.toc-title { margin: 0 0 8px; font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.toc-title span { display: block; font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 2px 0; }
.toc ul { margin: 2px 0 6px; padding-left: 1.2em; list-style: disc; }
.toc li::marker { color: var(--muted); }
.toc a { display: block; padding: 5px 0; color: var(--sky-deep); text-decoration: none; line-height: 1.5; }
.toc a:hover { text-decoration: underline; }
.toc ul a { font-size: 14px; padding: 3px 0; }
.to-toc { position: fixed; right: 14px; bottom: 16px; z-index: 10; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 4px 14px rgba(59, 52, 48, .12); font-size: 14px; font-weight: 700; text-decoration: none; }
.to-toc::before { content: "↑"; color: var(--sun-deep); }
.to-toc:hover { color: var(--ink); border-color: var(--sun); }

/* 読みやすさ(2026年10月 社長決裁):本文の文字を少し大きく */
.prose { font-size: 17px; }

/* 強調:大事なところだけ、オレンジ系の太字とマーカー。赤は使わない(危険の印象が強すぎるため) */
.prose strong { font-weight: 700; color: #a8520a; background: linear-gradient(transparent 60%, #ffe3ad 60%); padding: 0 1px; }

/* 囲み:要点(晴れの黄)/ここに注意(オレンジ)/知っておくと便利(空の青) */
.callout { margin: 0 0 1.4em; padding: 14px 16px 14px 16px; border-radius: 14px; border: 2px solid transparent; }
.callout > :last-child { margin-bottom: 0; }
.callout p { margin: 0 0 .6em; }
.callout ul, .callout ol { margin: 0 0 .6em; }
.callout-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.callout-icon { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; font-family: var(--font); }
.callout-point { background: var(--sun-soft); border-color: #f7d48a; }
.callout-point .callout-icon { background: var(--sun-deep); }
.callout-caution { background: #fff3e6; border-color: #f2a65a; }
.callout-caution .callout-title { color: #a8520a; }
.callout-caution .callout-icon { background: #e07b1f; }
.callout-memo { background: var(--sky-soft); border-color: #b9dbf0; }
.callout-memo .callout-icon { background: var(--sky-deep); }
.callout strong { background: none; }

/* 出典と確認日:記事の最後に、小さめの文字でまとめる */
.prose h2.sources-h { font-size: 16px; background: none; padding: 0; margin-top: 48px; border-top: 1px dashed var(--line); padding-top: 20px; color: var(--muted); }
.prose h2.sources-h ~ * { font-size: 13px; color: var(--muted); }
.prose h2.sources-h ~ ul li { margin: 2px 0; }

/* 表:スマホでは、3列以上の表を1行ずつのカードにして縦に並べる */
@media (max-width: 719px) {
  .prose table.tbl-cards { display: block; border: 0; font-size: 15px; }
  .prose table.tbl-cards thead { display: none; }
  .prose table.tbl-cards tbody, .prose table.tbl-cards tr, .prose table.tbl-cards td { display: block; width: 100%; }
  .prose table.tbl-cards tr { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; }
  .prose table.tbl-cards td { border: 0; padding: 3px 0; }
  .prose table.tbl-cards td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .prose table.tbl-cards td:first-child { font-weight: 700; font-size: 16px; padding-bottom: 4px; }
  .prose table.tbl-cards td:first-child::before { display: none; }
}
