/* ============================================
   Parents.jp — main.css
   デザインシステムは repo/skills/parents-design-system.md を参照。
   ============================================ */

/* --- デザイントークン --- */
:root {
  /* カラー */
  --color-accent:        #e89642;
  --color-accent-strong: #b86b1a;
  --color-accent-soft:   #fff5e6;
  --color-bg:            #ffffff;
  --color-bg-soft:       #fbf8f3;
  --color-text:          #2a2a2a;
  --color-text-sub:      #5a5a5a;
  --color-text-muted:    #7a7a7a;
  --color-border:        #e6e1d8;
  --color-border-strong: #d4cdbf;
  --color-footer-bg:     #1f1d1a;
  --color-footer-text:   #cfc8bd;
  --color-footer-muted:  #8a8478;

  /* スペーシング */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* 角丸 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* シャドウ */
  --shadow-sm: 0 1px 2px rgba(20,15,8,.04);
  --shadow-md: 0 4px 16px rgba(20,15,8,.08);
  --shadow-lg: 0 8px 28px rgba(20,15,8,.12);

  /* タイポグラフィ */
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* --- リセット --- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

/* スクロールロック（モバイルメニュー展開時） */
body.is-nav-open { overflow: hidden; }

/* --- コンテナ --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   ヘッダー
   ============================================ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
  padding: 10px 20px;
}

.site-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 4px;
}

.site-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-strong);
  letter-spacing: .01em;
}

/* デスクトップナビ */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-sub);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}

.site-nav__list a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  text-decoration: none;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle__bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}

.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --- Staging バッジ --- */
.env-badge {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.env-badge--staging {
  background: #d24a3a;
  color: #fff;
}

/* ============================================
   ボタン
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, transform .12s, box-shadow .15s, border-color .15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(184,107,26,.2);
}

.btn--primary:hover {
  background: var(--color-accent-strong);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: #fff;
  color: var(--color-accent-strong);
  border: 1.5px solid var(--color-accent);
}

.btn--secondary:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

/* ============================================
   公式情報リンク
   ============================================ */
.official-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.official-links .btn {
  text-align: left;
  justify-content: flex-start;
}

/* ============================================
   ヒーロー
   ============================================ */
.hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(232,150,66,.10), transparent 55%),
    linear-gradient(180deg, #fffaf2 0%, #fbf8f3 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 72px 0 64px;
}

.hero__inner {
  max-width: 760px;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-strong);
  letter-spacing: .08em;
  text-transform: none;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 4.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .005em;
  color: #1a1a1a;
}

.hero__br { display: inline; }

.hero__desc {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  color: var(--color-text-sub);
  line-height: 1.85;
  max-width: 640px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   セクション共通
   ============================================ */
.section {
  padding: 72px 0;
}

.section--main-nav { background: var(--color-bg-soft); }
.section--age-nav  { background: var(--color-bg); }
.section--area-nav { background: var(--color-bg-soft); }
.section--concept  { background: #f5f1ea; }

.section-head {
  margin: 0 0 var(--space-6);
  max-width: 720px;
}

.section__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: #1a1a1a;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.section__title--sub {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  border-bottom-color: var(--color-border-strong);
}

.section__lede {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* ============================================
   主要導線カード
   ============================================ */
.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 22px 22px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .15s, border-color .2s;
  overflow: hidden;
}

.nav-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity .2s;
}

.nav-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  text-decoration: none;
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.nav-card:hover .nav-card__title {
  color: var(--color-accent-strong);
}

.nav-card__desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.65;
}

.nav-card__examples {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-card__examples li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
}

.nav-card__examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: .65;
}

.nav-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-strong);
  letter-spacing: .02em;
}

/* ============================================
   年齢・ステージ別チップ
   ============================================ */
.age-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.age-chip {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent-strong);
  background: #fff;
  text-decoration: none;
  transition: background .15s, color .15s, transform .12s;
}

.age-chip:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.age-chip--soon {
  border-color: var(--color-border-strong);
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
  cursor: default;
  pointer-events: none;
  gap: 8px;
}

.age-chip--soon:hover {
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  transform: none;
}

.age-chip__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-text-muted);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: 3px;
}

.area-group-label {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0;
  padding-top: 6px;
  list-style: none;
}
.area-group-label:first-child { padding-top: 0; }

.area-nav__more {
  margin-top: 18px;
  font-size: 14px;
}

.ward-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ward-group__heading {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: .06em;
}

/* ============================================
   エリア一覧ページ（/areas/）
   ============================================ */
.area-index {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--color-text);
}

.area-index h2 {
  margin: 34px 0 18px;
  padding-bottom: 9px;
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
  font-size: clamp(1.45rem, 4vw, 1.7rem);
  line-height: 1.45;
}

.area-index h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3.8vw, 1.5rem);
  line-height: 1.45;
}

.area-index-lead {
  margin: 0 0 22px;
  padding: 18px 18px 16px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
}

.area-index-lead p {
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.85;
}

.area-index-lead p:last-child { margin-bottom: 0; }

.area-index-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.area-index-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  color: var(--color-accent-strong);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.area-index-jump a:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  text-decoration: none;
}

.area-index-prefecture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 2px 0 34px;
}

.area-index-prefecture-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}

.area-index-prefecture-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
}

.area-index-prefecture-card__label {
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-text);
}

.area-index-prefecture-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-sub);
}

.area-index-prefecture-card__meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  min-height: 30px;
  padding: 4px 10px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.area-index-region {
  margin: 0 0 26px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 96px;
}

.area-index-region:last-of-type { border-bottom: none; }

.area-index-region--highlight {
  padding: 18px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
}

.area-index-region__header {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.area-index-region__header p {
  margin: 0;
  color: var(--color-text-sub);
  font-size: 16px;
  line-height: 1.75;
}

.area-index-region__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent-strong);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
}

.area-index-region__link::after {
  content: "→";
  margin-left: 8px;
}

.area-index-region__link:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.area-index .ward-groups {
  gap: 18px;
}

.area-index .ward-group {
  margin: 0;
}

.area-index .ward-group__heading {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--color-text);
  letter-spacing: 0;
}

.area-index .age-grid {
  gap: 9px;
}

.area-index .age-chip {
  min-height: 44px;
  height: auto;
  padding: 9px 16px;
  font-size: 14.5px;
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 720px) {
  .area-index-prefecture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .area-index-region__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 24px;
  }

  .area-index-region__header h3,
  .area-index-region__header p {
    grid-column: 1;
  }

  .area-index-region__link {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1040px) {
  .area-index-prefecture-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .area-index-lead,
  .area-index-region--highlight {
    margin-left: -2px;
    margin-right: -2px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .area-index .age-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .area-index .age-chip {
    width: 100%;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ============================================
   サイトの考え方
   ============================================ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.concept-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 22px 22px;
  border: 1px solid var(--color-border);
}

.concept-item__marker {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.concept-item__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.concept-item__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ============================================
   通常ページ（base.html 用）
   ============================================ */
.main-content {
  padding: 48px 0;
  min-height: 60vh;
}

.main-content h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 24px; line-height: 1.4; }
.main-content h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 16px; border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }
.main-content h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 12px; }
.main-content p  { margin: 0 0 16px; }
.main-content ul, .main-content ol { padding-left: 1.5em; margin: 0 0 16px; }
.main-content li { margin-bottom: 8px; }
.main-content hr { border: none; border-top: 1px solid var(--color-border); margin: 32px 0; }

/* ============================================
   フッター
   ============================================ */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 28px;
}

.footer-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.footer-brand { min-width: 220px; }

.footer-brand__name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: .01em;
}

.footer-brand__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-footer-muted);
  line-height: 1.75;
  max-width: 320px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  text-transform: uppercase;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.footer-col__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--color-footer-text);
  transition: color .15s;
}

.footer-col__list a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--color-footer-muted);
  border-top: 1px solid #2f2c27;
  padding-top: 18px;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  /* ヘッダー：ハンバーガー切替 */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: fixed;
    inset: 64px 0 0 0;
    margin: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    overflow-y: auto;
    padding: 8px 0 32px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .site-nav__list a {
    height: 56px;
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
  }

  /* env バッジは小サイズで右寄せに残す */
  .env-badge { margin-left: auto; order: 2; }
  .nav-toggle { order: 3; margin-left: 8px; }
}

@media (max-width: 767px) {
  .footer-body { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }

  .hero { padding: 56px 0 48px; }
  .hero__title { font-size: 1.5rem; line-height: 1.5; }
  .hero__br { display: none; }
  .hero__desc { font-size: 1rem; }

  .section { padding: 56px 0; }
  .section__title { font-size: 1.2rem; }

  .card-grid--3 { grid-template-columns: 1fr; gap: 14px; }
  .concept-grid { grid-template-columns: 1fr; gap: 14px; }
  .nav-card { padding: 22px 20px 20px; }

  .site-footer { padding: 40px 0 24px; }

  .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}

/* ============================================
   パンくず
   ============================================ */
.breadcrumb {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin-right: 4px;
  color: var(--color-border-strong);
}

.breadcrumb__item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb__item a:hover { color: var(--color-accent-strong); }

.breadcrumb__item span[aria-current] { color: var(--color-text-sub); }

/* ============================================
   ページヒーロー（下層ページ用）
   ============================================ */
.page-hero {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0 32px;
}

.page-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.page-hero__desc {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  max-width: 660px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-hero-meta__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(232,150,66,.32);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-accent-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

/* ============================================
   ページ本文（subpage）
   ============================================ */
.page-body {
  padding: 44px 0 56px;
}

.page-body h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.page-body h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--color-text);
}

.page-body p {
  margin: 0 0 16px;
  line-height: 1.85;
  color: var(--color-text-sub);
}

.page-body ul, .page-body ol {
  padding-left: 1.5em;
  margin: 0 0 16px;
}

.page-body li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: var(--color-text-sub);
}

.page-body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 36px 0;
}

/* ============================================
   検索カテゴリグリッド
   ============================================ */
.search-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 32px;
}

.search-category-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}

.search-category-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.search-category-card--soon {
  opacity: .72;
  cursor: default;
  pointer-events: none;
  position: relative;
}

.search-category-card--soon::after {
  content: "準備中";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-strong);
  border-radius: 3px;
  padding: 2px 6px;
  background: #fff;
  letter-spacing: 0;
}

.search-category-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.search-category-card:hover .search-category-card__title {
  color: var(--color-accent-strong);
}

.search-category-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================
   本文内の図解
   ============================================ */
.content-figure {
  margin: 30px 0 38px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.content-figure__caption,
.content-figure figcaption {
  margin: 10px 4px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.content-figure--compact {
  max-width: 880px;
}

/* ============================================
   記事一覧カード
   ============================================ */
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 34px;
}

.article-index-card {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s, box-shadow .18s, transform .15s;
}

.article-index-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--color-accent);
}

.article-index-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  opacity: .72;
  pointer-events: none;
}

.article-index-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.article-index-card__label {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid rgba(232,150,66,.3);
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.article-index-card__title {
  position: relative;
  z-index: 1;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.article-index-card:hover .article-index-card__title {
  color: var(--color-accent-strong);
}

.article-index-card__desc {
  position: relative;
  z-index: 1;
  color: var(--color-text-sub);
  font-size: 14.5px;
  line-height: 1.75;
}

.article-index-card__meta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.article-index-card__arrow {
  position: relative;
  z-index: 1;
  color: var(--color-accent-strong);
  font-size: 13px;
  font-weight: 700;
}

/* ============================================
   関連ナビゲーション
   ============================================ */
.related-nav {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 36px 0;
}

.related-nav__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-sub);
  margin: 0 0 16px;
}

.related-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-nav__list a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: 15px;
  color: var(--color-accent-strong);
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}

.related-nav__list a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  text-decoration: none;
}

/* ============================================
   検索フォーム（search.html 用）
   ============================================ */
.page-hero--search {
  padding-bottom: 36px;
}

.search-form {
  margin-top: 22px;
  max-width: 620px;
}

.search-form__input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  outline: none;
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.search-form__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,150,66,.18);
}

.search-form__input::placeholder {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.search-form__hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================
   検索ステータス・結果
   ============================================ */
.search-status {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  min-height: 1.4em;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}

.search-result-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.search-result-card__link {
  display: block;
  padding: 18px 20px 16px;
  text-decoration: none;
  color: inherit;
}

.search-result-card__link:hover { text-decoration: none; }

.search-result-card__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: .04em;
}

.search-result-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.search-result-card:hover .search-result-card__title {
  color: var(--color-accent-strong);
}

.search-result-card__summary {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.search-result-card__url {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================
   該当なしメッセージ
   ============================================ */
.search-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--color-text-muted);
}

.search-empty p {
  margin: 0 0 8px;
  font-size: 1rem;
}

.search-empty__hint {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ============================================
   レスポンシブ（subpage追加分）
   ============================================ */
@media (max-width: 600px) {
  .search-category-grid { grid-template-columns: 1fr; }
  .content-figure { margin: 24px 0 30px; padding: 10px; }
  .article-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .article-index-card { min-height: auto; padding: 20px 20px 18px; }
  .page-hero { padding: 28px 0 22px; }
  .page-hero__title { font-size: 1.3rem; }
  .page-body { padding: 30px 0 40px; }

  .search-form__input { font-size: 1rem; padding: 13px 16px; }
  .search-result-card__link { padding: 16px 18px 14px; }
}

/* ============================================
   データ一覧セクション（高校・将来の他ジャンル共通）
   ============================================ */
.data-section {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 52px;
}

.data-section__head {
  margin-bottom: var(--space-6);
}

.data-section__title {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: #1a1a1a;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
}

.data-section__note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.data-section__empty {
  color: var(--color-text-muted);
  font-size: 15px;
  padding: 24px 0;
}

.data-section__footer {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.data-section__footer a {
  color: var(--color-accent-strong);
}

/* 高校データの掲載状況 */
.school-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 var(--space-4);
}

.school-summary__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.school-summary__label {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 600;
}

.school-summary__value {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-accent-strong);
}

@media (min-width: 720px) {
  .school-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 高校カードリスト */
.school-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.school-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid rgba(232,150,66,.34);
  border-radius: var(--radius-sm);
  transition: box-shadow .2s, border-color .2s, transform .12s;
}

.school-card:hover {
  border-color: var(--color-border-strong);
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.school-card__body {
  flex: 1;
  min-width: 0;
}

.school-card__name {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.school-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 9px;
}

.school-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.school-badge--public  { background: var(--color-accent-soft); color: var(--color-accent-strong); border-color: rgba(232,150,66,.35); }
.school-badge--private { background: #eff4ff; color: #2d5fa6; border-color: #b8caeb; }
.school-badge--national{ background: #edfaf3; color: #1c7a4a; border-color: #99d4b6; }

.school-card__location {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: 13.5px;
  color: var(--color-text-sub);
}

.school-card__courses {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: 13.5px;
  color: var(--color-text-sub);
}
.school-card__links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.school-card__official {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 132px;
  padding: 0 18px;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}

.school-card__official:hover {
  background: var(--color-accent-strong);
  text-decoration: none;
  transform: translateY(-1px);
  color: #fff;
}

.school-card__map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 72px;
  padding: 0 16px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.school-card__map:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
  text-decoration: none;
}

@media (max-width: 640px) {
  .school-card {
    padding: 16px 18px;
  }

  .school-card__official,
  .school-card__map {
    flex: 1 1 120px;
  }
}

@media (min-width: 820px) {
  .school-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px 22px;
  }

  .school-card__links {
    justify-content: flex-end;
  }
}

.school-list-note {
  margin: -4px 0 var(--space-4);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

/* ============================================
   助成金・制度カード（data-section 内で使用）
   ============================================ */
.data-notice {
  margin: 0 0 var(--space-5);
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.subsidy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.subsidy-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: box-shadow .2s, border-color .2s;
}

.subsidy-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.subsidy-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.subsidy-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.subsidy-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subsidy-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid transparent;
}

.subsidy-badge--body {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  border-color: rgba(232, 150, 66, .35);
}

.subsidy-badge--area {
  background: #f1f4ee;
  color: #4a6b3a;
  border-color: #c8d6bb;
}

.subsidy-card__summary {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.75;
}

.subsidy-card__meta {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  font-size: 13.5px;
  line-height: 1.7;
}

.subsidy-card__meta dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.subsidy-card__meta dd {
  margin: 0;
  color: var(--color-text-sub);
}

.subsidy-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.subsidy-card__official {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}

.subsidy-card__official:hover {
  background: var(--color-accent-strong);
  text-decoration: none;
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 640px) {
  .subsidy-card {
    padding: 18px 18px;
    border-radius: var(--radius-md);
  }

  .subsidy-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .subsidy-card__official {
    justify-content: center;
  }
}

/* ============================================
   遊び場・おでかけ先カード（data-section 内で使用）
   ============================================ */
.play-spot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.play-spot-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: box-shadow .2s, border-color .2s;
}

.play-spot-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.play-spot-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.play-spot-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.play-spot-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.play-spot-card__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid transparent;
}

.play-spot-card__badge--indoor {
  background: #eef3f9;
  color: #2d5fa6;
  border-color: #b8caeb;
}

.play-spot-card__badge--outdoor {
  background: #edf6ec;
  color: #2d6a3a;
  border-color: #b6d6b3;
}

.play-spot-card__badge--kind {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  border-color: rgba(232, 150, 66, .35);
}

.play-spot-card__summary {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.75;
}

.play-spot-card__meta {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 4px 12px;
  font-size: 13.5px;
  line-height: 1.7;
}

.play-spot-card__meta dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.play-spot-card__meta dd {
  margin: 0;
  color: var(--color-text-sub);
}

.play-spot-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.play-spot-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}

.play-spot-card__cta:hover {
  background: var(--color-accent-strong);
  text-decoration: none;
  transform: translateY(-1px);
  color: #fff;
}

.play-spot-card__map {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-sub);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.play-spot-card__map:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
  text-decoration: none;
}

@media (max-width: 640px) {
  .play-spot-card {
    padding: 18px 18px;
    border-radius: var(--radius-md);
  }

  .play-spot-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .play-spot-card__cta,
  .play-spot-card__map {
    justify-content: center;
  }
}

/* ============================================
   共通: last_verified_at の鮮度表示
   （高校・助成金・遊び場カード横断）
   ============================================ */
.verified-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.verified-meta__date {
  white-space: nowrap;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* 6か月以上：上品なベージュ＋落ち着いたブラウン文字 */
.verified-badge--review {
  background: #f7eeda;
  color: #8a5a1a;
  border-color: #e6d2a8;
}

/* 12か月以上：やや強めだが赤を避け、淡いオレンジ系で */
.verified-badge--stale {
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  border-color: rgba(232, 150, 66, .55);
}

.verified-message {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border);
  background: #fbf6ec;
}

.verified-message--review {
  background: #fbf6ec;
  border-color: #e8dcc4;
}

.verified-message--stale {
  background: var(--color-accent-soft);
  border-color: rgba(232, 150, 66, .35);
  color: var(--color-accent-strong);
}

/* 高校カード内では meta 行の下に置かれるための余白調整 */
.school-card__body .verified-meta {
  margin-top: 8px;
}

/* 助成金カードでは footer の下、遊び場カードではカード末尾に置かれる */
.subsidy-card > .verified-meta,
.play-spot-card > .verified-meta {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .verified-message {
    font-size: 14px;
  }
}

/* ============================================
   参考情報の外部参照ブロック（高校カード一覧前）
   ============================================ */
.reference-note {
  margin: 0 0 var(--space-5);
  padding: 18px 20px;
  background: #fbf6ec;
  border: 1px solid #e8dcc4;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
}

.reference-note__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.reference-note__body {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

.reference-note__body:last-of-type {
  margin-bottom: 12px;
}

.reference-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reference-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-strong);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}

.reference-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-strong);
  text-decoration: none;
}

.reference-link__ext {
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .reference-note {
    padding: 16px 16px;
  }

  .reference-link {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================
   高校一覧ページの軽量フィルター（区市 / 区分 / 学科）
   ============================================ */
.school-filter {
  margin: 0 0 var(--space-4);
  padding: 16px 18px;
  background: #fbf8f2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.school-filter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.school-filter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.school-filter__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
}

.school-filter__select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 14px;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%237a7a7a' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
}

.school-filter__select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.school-filter__count {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.school-filter-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.school-filter-index__section {
  min-width: 0;
}

.school-filter-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.school-filter-index__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.school-filter-index__clear,
.school-filter-index__button {
  min-height: 36px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text-sub);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.school-filter-index__clear:hover,
.school-filter-index__button:hover,
.school-filter-index__clear[aria-pressed="true"],
.school-filter-index__button[aria-pressed="true"] {
  color: #fff;
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

.school-filter-index__groups {
  display: grid;
  gap: 10px;
}

.school-filter-index__group {
  display: grid;
  gap: 6px;
}

.school-filter-index__group-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.school-filter-index__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-filter__empty {
  margin: 0 0 var(--space-4);
  padding: 16px 18px;
  background: #fbf6ec;
  border: 1px solid #e8dcc4;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

@media (min-width: 720px) {
  .school-filter__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .school-filter-index {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

/* ============================================
   遊び場ページの軽量フィルター（区市 / 屋内・屋外 / 種類）
   ============================================ */
.play-spot-filter {
  margin: 0 0 var(--space-4);
  padding: 16px 18px;
  background: #fbf8f2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.play-spot-filter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.play-spot-filter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.play-spot-filter__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
}

.play-spot-filter__select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 14px;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%237a7a7a' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
}

.play-spot-filter__select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.play-spot-filter__count {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.play-spot-filter__empty {
  margin: 0 0 var(--space-4);
  padding: 16px 18px;
  background: #fbf6ec;
  border: 1px solid #e8dcc4;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

@media (min-width: 720px) {
  .play-spot-filter__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ============================================
   研究をやさしく読む サンプル記事
   ============================================ */
.research-sample {
  margin: var(--space-7) 0 0;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.research-sample h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.research-sample h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-accent-soft);
}

.research-sample p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.research-sample ul {
  margin: 0 0 14px;
  padding-left: 1.3em;
}

.research-sample li {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .research-sample {
    padding: 18px 18px;
    border-radius: var(--radius-md);
  }

  .research-sample h2 {
    font-size: 1.15rem;
  }
}

/* ============================================
   2カラムグリッド（PC ≥820px、iPad縦持ちから2カラム化）
   ============================================ */
@media (min-width: 820px) {
  .play-spot-list,
  .subsidy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   強調表現ユーティリティ
   ============================================ */
.key-underline {
  background: linear-gradient(transparent 62%, rgba(245, 151, 56, 0.28) 62%);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(184, 107, 26, 0.48);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: auto;
}

.key-message {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--color-accent);
  background: #fff8ef;
  border-radius: var(--radius-lg);
  font-weight: 700;
  line-height: 1.8;
  font-size: 16px;
  color: var(--color-text);
}

/* ============================================
   研究記事タグ（年齢・テーマ）
   ============================================ */
.research-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #fff3df;
  color: #9a5a13;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================
   研究記事一覧カード
   ============================================ */
.research-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.research-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  transition: box-shadow .2s, border-color .2s;
}

.research-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.research-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.research-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.research-card__summary {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.research-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.research-card__source {
  font-size: 13px;
  color: var(--color-text-muted);
}

.research-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
}

.research-card__cta:hover {
  background: var(--color-accent-strong);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .research-card {
    padding: 18px 18px;
    border-radius: var(--radius-md);
  }

  .research-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .research-card__cta {
    justify-content: center;
  }
}

/* ============================================
   研究記事個別ページ（research.html）
   ============================================ */
.research-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.research-source-block {
  margin: 0 0 var(--space-5);
  padding: 14px 18px;
  background: #fbf6ec;
  border: 1px solid #e8dcc4;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.research-source-block a {
  color: var(--color-accent-strong);
}

.research-disclaimer {
  margin: var(--space-6) 0 0;
  padding: 14px 18px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   エリア別ページ（areas/）
   - 高齢層配慮・スマホファーストの可読性ルール
   - 詳細ルールは repo/skills/area-pages-readability.md
   ============================================ */

/* デフォルトの素朴な表（page-body 全体・他ページでも使用）*/
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 15px;
}

.page-body th,
.page-body td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
  line-height: 1.7;
  vertical-align: top;
}

.page-body th {
  width: 9em;
  background: var(--color-bg-soft);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.page-body td {
  color: var(--color-text-sub);
}

@media (max-width: 600px) {
  .page-body table { font-size: 14px; }
  .page-body th { white-space: normal; width: auto; }
}

/* スマホで横スクロール可能なテーブルラッパー */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 20px;
}
.table-scroll table {
  margin: 0;
  min-width: 560px;
}

/* ---- area-page スコープ：エリアページ専用タイポ＆コンポーネント ---- */

.area-page {
  /* エリアページ全体の本文サイズ底上げ（高齢層配慮） */
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
}

.area-page p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0 0 18px;
}

.area-page ul,
.area-page ol {
  margin: 0 0 22px;
  padding-left: 1.4em;
}

.area-page li {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 10px;
}

.area-page h2 {
  font-size: clamp(1.55rem, 4.4vw, 1.95rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-text);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.area-page h2:first-of-type { margin-top: 16px; }

.area-page h3 {
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text);
  margin: 28px 0 12px;
}

.area-page hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 36px 0;
}

/* 1. リードカード */
.area-intro-card {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 22px 22px 18px;
  margin: 8px 0 28px;
}

.area-intro-card p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
}

.area-intro-card p:last-child { margin-bottom: 0; }

/* 2. このページで確認できること */
.area-keypoints {
  list-style: none;
  margin: 6px 0 28px;
  padding: 18px 22px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.area-keypoints li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-text);
}

.area-keypoints li:last-child { margin-bottom: 0; }

.area-keypoints li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-strong);
  font-weight: 700;
}

/* 3. 制度カードグリッド */
.area-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 8px 0 28px;
}

.area-support-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.area-support-card h3,
.area-support-card__title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text);
}

.area-support-card__summary,
.area-support-card > p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--color-text-sub);
}

/* 4. 制度カード内の事実リスト（dl） */
.area-fact-list {
  margin: 4px 0 16px;
  padding: 14px 16px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.area-fact-list dt {
  font-weight: 700;
  color: var(--color-text);
  margin-top: 10px;
  font-size: 15.5px;
  letter-spacing: .01em;
}

.area-fact-list dt:first-child { margin-top: 0; }

.area-fact-list dd {
  margin: 4px 0 0;
  padding: 0;
  color: var(--color-text-sub);
  font-size: 16px;
  line-height: 1.8;
}

/* 制度カードの公式リンクボタン */
.area-support-card__link,
.area-support-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent-strong);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.area-support-card__link:hover,
.area-support-card .btn:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

/* 5. 公式リンクカードグリッド */
.area-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 6px 0 28px;
}

@media (min-width: 720px) {
  .area-link-grid { grid-template-columns: 1fr 1fr; }
}

.area-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  min-height: 64px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}

.area-link-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  text-decoration: none;
}

.area-link-card__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-accent-strong);
}

.area-link-card__source {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* 6. 注意点 / 免責 / 最終確認日 */
.area-page .area-note {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
}

.area-page .area-note strong { color: var(--color-text); }

/* area-page スコープ外で使われる旧スタイルは互換性のため残す */
.area-note {
  margin: -4px 0 22px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.area-note strong { color: var(--color-text); }

.area-page .area-disclaimer {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--color-text-sub);
}

.area-page .area-disclaimer strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 16px;
}

.area-disclaimer {
  margin: var(--space-6) 0 0;
  padding: 14px 18px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.area-meta {
  margin: 6px 0 24px;
  padding: 14px 18px;
  background: #fff;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

/* デスクトップ少しだけ底上げ */
@media (min-width: 768px) {
  .area-page,
  .area-page p,
  .area-page li,
  .area-intro-card p {
    font-size: 18px;
  }
  .area-page h2 { margin-top: 52px; }
}

/* スマホで余白を詰めすぎない */
@media (max-width: 600px) {
  .area-support-card { padding: 18px 18px 18px; }
  .area-intro-card { padding: 18px 18px 14px; }
  .area-keypoints { padding: 16px 18px; }
  .area-fact-list { padding: 12px 14px; }
}

/* エリアページ末尾の関連導線（チップ）を読みやすく */
.area-page-related .related-nav__list a {
  height: 44px;
  padding: 0 20px;
  font-size: 15.5px;
}

/* ============================================
   施設・遊び場・学校カード 画像対応
   ============================================ */
.place-card__image-wrap {
  /* escape play-spot-card's padding (22px top / 24px sides) to flush-mount image */
  margin: -22px -24px 18px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.school-card .place-card__image-wrap {
  /* school-card has smaller padding (20px top / 22px sides) and radius-md */
  margin: -20px -22px 16px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.place-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-width: 100%;
}

.place-image-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.place-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  max-width: 100%;
  margin-bottom: var(--space-4);
}

@media (max-width: 600px) {
  /* play-spot-card mobile: padding 18px / 18px, border-radius radius-md */
  .place-card__image-wrap {
    margin: -18px -18px 14px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  /* school-card mobile: padding 16px / 18px */
  .school-card .place-card__image-wrap {
    margin: -16px -18px 12px;
  }
}

/* ============================================
   ガイドページ UI 改善
   ============================================ */

/* 制度ハブカード：年代ラベルバッジ */
.search-category-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border: 1px solid rgba(232,150,66,.3);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-bottom: 4px;
  letter-spacing: .02em;
  align-self: flex-start;
}

/* 制度概要 カードグリッド（/money/subsidy/ 等） */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 32px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-card h3,
.info-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  border-bottom: 2px solid var(--color-accent-soft);
  padding-bottom: 6px;
}

.info-card__body {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.75;
  flex: 1;
}

.info-card__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-accent-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.info-card__link:hover { text-decoration: underline; }

/* 判断のポイント カードグリッド */
.point-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0 32px;
}

.point-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
}

.point-card__num {
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 4px;
  line-height: 1.4;
}

.point-card__body {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* チェックリストボックス */
.checklist-box {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 16px 0 24px;
}

.checklist-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-box li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.checklist-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-strong);
  font-weight: 700;
  font-size: 13px;
}

/* Parents.jp からの補足ボックス */
.supplement-box {
  background: #fbf8f3;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 28px 0 20px;
}

.supplement-box p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-sub);
}

.supplement-box p:last-child { margin-bottom: 0; }

/* ページ内部リンクナビゲーション（次に見るページ） */
.next-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 0;
}

.next-nav-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}

.next-nav-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  text-decoration: none;
}

.next-nav-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent-strong);
  line-height: 1.45;
}

.next-nav-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .info-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .point-card-grid { grid-template-columns: 1fr; }
  .next-nav-grid { grid-template-columns: 1fr; }
  .checklist-box { padding: 14px 16px; }
  .supplement-box { padding: 14px 16px; }
}

/* ============================================
   /research/ セクション改善
   ============================================ */

/* ---- research インデックス ヒーロー ---- */

.research-hero {
  background: var(--color-footer-bg);
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.research-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
}

.research-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.research-hero__desc {
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  max-width: 580px;
}

/* ---- 注意書きカード ---- */

.research-note-card {
  background: var(--color-accent-soft);
  border: 1px solid #f0e0a0;
  border-left: 4px solid #c99300;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.research-note-card__title {
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 6px;
  font-size: 14.5px;
}

/* ---- テーマチップ ---- */

.research-topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.research-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-sub);
  background: #fff;
  user-select: none;
  text-decoration: none;
}

/* ---- カードグリッド（2カラム）---- */

.research-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .research-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* research-card に日付行を追加 */
.research-card__date {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

/* ---- /research/ 一覧: ヒーロー追記・トピックチップ拡張・セクション ---- */

.research-hero__meta {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  letter-spacing: .02em;
}

.research-intro {
  margin: 24px 0 8px;
}

.research-intro > :first-child { margin-top: 0; }
.research-intro > :last-child { margin-bottom: 0; }

.research-topic-nav {
  margin: 28px 0 8px;
  padding: 18px 20px 16px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.research-topic-nav__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: .06em;
}

/* anchor 版チップ: クリック可・hover で色付け */
.research-chip--link {
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}

.research-chip--link:hover,
.research-chip--link:focus-visible {
  background: var(--color-accent-soft);
  color: var(--color-text);
  border-color: var(--color-accent);
  text-decoration: none;
}

.research-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
  color: var(--color-text-sub);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.research-chip--link:hover .research-chip__count,
.research-chip--link:focus-visible .research-chip__count {
  background: var(--color-accent);
  color: #fff;
}

/* トピック別セクション */
.research-section {
  margin-top: 40px;
  scroll-margin-top: 80px;  /* sticky header との重なり回避 */
}

.research-section__header {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.research-section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.research-section__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: .04em;
}

.research-section__desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* 新着セクションだけ強調 */
.research-section--featured .research-section__header {
  border-bottom-color: var(--color-accent);
}

.research-card--featured {
  border-left: 4px solid var(--color-accent);
}

/* h3 内のリンクをカードの見た目に馴染ませる */
.research-card__title a {
  color: inherit;
  text-decoration: none;
}

.research-card__title a:hover,
.research-card__title a:focus-visible {
  color: var(--color-link);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .research-topic-nav { padding: 14px 14px 12px; }
  .research-section { margin-top: 32px; }
  .research-section__title { font-size: 1.15rem; }
}

/* ---- 記事ページ: この記事でわかること ---- */

.research-takeaway-card {
  background: var(--color-bg-soft);
  border: 1px solid #bae0fc;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 18px 22px 14px;
  margin: 0 0 var(--space-6);
}

.research-takeaway-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.research-takeaway-card ul {
  margin: 0;
  padding-left: 1.3em;
  list-style: disc;
}

.research-takeaway-card li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 6px;
}

/* ---- 関連記事グリッド ---- */

.research-related-section {
  margin: var(--space-7) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.research-related-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
}

.research-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 560px) {
  .research-related-grid { grid-template-columns: repeat(2, 1fr); }
}

.research-related-article-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}

.research-related-article-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
}

.research-related-article-card__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: var(--color-accent-soft);
  color: var(--color-accent-strong);
  align-self: flex-start;
  border: 1px solid rgba(232,150,66,.3);
}

.research-related-article-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.research-related-article-card:hover .research-related-article-card__title {
  color: var(--color-accent-strong);
}

.research-related-article-card__arrow {
  font-size: 12.5px;
  color: var(--color-accent-strong);
  font-weight: 600;
  margin-top: auto;
}

/* ---- モバイル調整 ---- */

@media (max-width: 600px) {
  .research-hero { padding: 40px 0 32px; }
  .research-hero__title { font-size: 1.45rem; }
  .research-takeaway-card { padding: 14px 16px 12px; }
  .research-note-card { padding: 14px 16px; }
}

/* ============================================
   404 エラーページ
   ============================================ */
.error-page {
  background: var(--color-bg-soft);
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.error-card {
  max-width: 720px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 28px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.error-code {
  margin: 0;
  font-size: clamp(64px, 18vw, 120px);
  line-height: 1;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: .02em;
}

.error-title {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 700;
  margin: 16px 0 0;
  color: var(--color-text);
}

.error-lead {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-sub);
}

.error-note {
  margin: 16px 0 0;
  font-size: .9rem;
  color: var(--color-text-muted);
}

.error-actions {
  margin: 28px 0 0;
}

.error-links {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: .95rem;
}

.error-links li { margin: 0; }

.error-links a {
  color: var(--color-accent-strong);
  text-decoration: none;
}

.error-links a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .error-card { padding: 36px 18px 28px; }
  .error-links { gap: 6px 16px; }
}
