/* 子どもの運動・スポーツ選びガイド
   デザインのテーマ：「整理された練習ノート」
   色は青緑が軸。オレンジはアクセント（ボールなど）だけで、文字には使わない。
   色だけに頼らず、ラベルの文字でも区別する。 */

/* ===== デザインのルール（トークン） ===== */
:root {
  --c-text: #1d2a33;
  --c-text-sub: #4f5d68;
  --c-muted: #66747f;
  --c-bg: #ffffff;
  --c-bg-soft: #f4f8f9;
  --c-line: #dbe4e8;
  --c-navy: #153f4b;        /* 深い青緑：見出しの文字・フッター */
  --c-teal: #176d83;        /* 青緑：軸の色。広告リンクの色と同じ */
  --c-teal-soft: #e7f2f4;
  --c-teal-line: #c3dce2;
  --c-sun: #ec8b33;         /* 日なたのオレンジ：アクセントだけ */
  --c-caution: #8a5300;
  --c-caution-bg: #fff6e5;
  --c-caution-line: #f0c674;
  --c-pr-bg: #f3f5f7;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --fs-small: 0.86rem;
  --r-s: 6px;
  --r-m: 10px;
  --r-pill: 999px;
  --gutter: 16px;
  --w-body: 720px;
  --w-page: 1120px;

  font-size: 17px;
}
@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
a { color: var(--c-teal); text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--c-sun); outline-offset: 2px; }
ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--w-page); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }
@media (min-width: 768px) { .sp { display: none; } }

/* ===== ヘッダー ===== */
.site-h { background: #fff; border-bottom: 3px solid var(--c-teal); }
.site-h__in {
  max-width: var(--w-page); margin: 0 auto; padding: 10px var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); font-weight: 700; font-size: 0.98rem; line-height: 1.35; letter-spacing: 0.03em; }
.logo:hover { color: var(--c-navy); }
.logo__mark {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: inline-grid; place-items: center; background: var(--c-teal); color: #fff;
}
.logo__mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--c-sun); border: 2px solid #fff;
}
.search-btn {
  grid-column: 2; grid-row: 1;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--c-teal-line); border-radius: var(--r-s);
  color: var(--c-navy); text-decoration: none; font-size: 0.62rem; line-height: 1;
}
.search-btn svg { margin-top: 3px; }
.gnav { grid-column: 1 / -1; margin: 0 calc(var(--gutter) * -1); }
.gnav ul {
  list-style: none; display: flex; gap: 6px; overflow-x: auto;
  padding: 6px var(--gutter) 10px; scrollbar-width: none;
}
.gnav ul::-webkit-scrollbar { display: none; }
.gnav a {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  min-height: 40px; padding: 0 13px; border: 1px solid var(--c-teal-line); border-radius: var(--r-pill);
  background: #fff; color: var(--c-navy); text-decoration: none; font-size: 0.84rem; white-space: nowrap;
}
.gnav a b { font-size: 0.72rem; color: var(--c-teal); }
.gnav a:hover { border-color: var(--c-teal); }
.gnav a[aria-current="page"] { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.gnav a[aria-current="page"] b { color: #fff; }

@media (min-width: 1000px) {
  .site-h__in { grid-template-columns: auto 1fr auto; padding-bottom: 10px; }
  .gnav { grid-column: 2; grid-row: 1; margin: 0; }
  .gnav ul { padding: 0; justify-content: flex-end; flex-wrap: wrap; overflow: visible; }
  .search-btn { grid-column: 3; }
}

/* ===== 見出し（付箋の形）：トップの区切りと、記事の大見出しで共通 ===== */
.sec-title {
  margin: 0 0 12px; padding: 0.5em 0.9em 0.48em 0.85em;
  background: var(--c-teal-soft); border-left: 6px solid var(--c-teal); border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 0 var(--c-teal-line);
  color: var(--c-navy); font-size: 1.1rem; line-height: 1.5; font-weight: 700;
}
.sec-lead { margin: -4px 0 14px; font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }
.sec { margin: 0 0 40px; }

/* ===== 小さな部品 ===== */
.ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--c-teal-soft); color: var(--c-teal);
}
.cat-tag {
  display: inline-block; padding: 0 7px; border-radius: 4px;
  background: var(--c-teal-soft); color: var(--c-navy); font-size: 0.72rem; line-height: 1.6; font-weight: 700;
}
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.more span { font-size: 1.2em; }

/* ===== トップ：最初の枠 ===== */
.home { padding-top: 18px; }
.hero {
  position: relative; margin: 0 0 36px; padding: 20px 14px 0 18px; overflow: hidden;
  background: #fff; border: 1px solid var(--c-line); border-left: 8px solid var(--c-teal); border-radius: var(--r-m);
  box-shadow: 4px 4px 0 var(--c-teal-soft);
}
.hero__kicker { margin: 0 0 4px; font-size: 0.8rem; font-weight: 700; color: var(--c-teal); }
.hero__title { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.5; color: var(--c-navy); }
.hero__lead { margin: 0 0 16px; font-size: 0.92rem; line-height: 1.8; color: var(--c-text-sub); }
.worries__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.worries ul { list-style: none; }
.worries li { margin-bottom: 8px; }
.worries a {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 10px;
  border: 1px solid var(--c-line); border-radius: var(--r-s); background: #fff;
  color: var(--c-text); text-decoration: none; font-weight: 700; font-size: 0.93rem; line-height: 1.5;
}
.worries a:hover { border-color: var(--c-teal); background: var(--c-bg-soft); }
.worries__text { flex: 1; }
.worries__arrow { flex: none; padding: 0 2px; color: var(--c-teal); font-size: 1.5rem; line-height: 1; }
.search { margin: 0; }
.search__label { display: block; margin: 0 0 4px; font-size: 0.78rem; color: var(--c-text-sub); }
.search__row { display: flex; border: 1.5px solid var(--c-teal); border-radius: var(--r-pill); overflow: hidden; background: #fff; }
.search__row input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font: inherit; font-size: 16px; background: transparent; }
.search__row input:focus { outline: none; }
.search__row:focus-within { box-shadow: 0 0 0 3px var(--c-teal-soft); }
.search__row button { border: 0; padding: 0 20px; background: var(--c-teal); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
/* 悩みの行と検索欄の順番：スマホでは 悩み → 検索 */
.hero { display: flex; flex-direction: column; }
.hero__main { display: contents; }
.hero__kicker, .hero__title, .hero__lead { order: 1; }
.worries { order: 2; }
.search { order: 3; }
.lane { order: 4; }

/* トラックの線と、走る子ども */
.lane {
  position: relative; height: 48px; margin: 16px -14px 0 -18px;
  background:
    linear-gradient(to bottom, transparent 0 14px, var(--c-teal-line) 14px 15px, transparent 15px 29px, var(--c-teal-line) 29px 30px, transparent 30px),
    var(--c-teal-soft);
}
.lane__kid { position: absolute; left: 22%; top: 5px; color: var(--c-teal); }
.lane__ball { position: absolute; left: calc(22% + 44px); top: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--c-sun); }
.lane::after {
  content: ""; position: absolute; right: 18px; top: 6px; width: 3px; height: 34px;
  background: repeating-linear-gradient(to bottom, var(--c-navy) 0 4px, #fff 4px 8px);
}

@media (min-width: 860px) {
  .hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px;
    padding: 36px 32px 0 40px;
  }
  .hero__main { display: block; }
  .hero__title { font-size: 1.9rem; }
  .hero__lead { margin-bottom: 22px; }
  .worries { grid-column: 2; grid-row: 1; }
  .lane { grid-column: 1 / -1; margin: 24px -32px 0 -40px; }
  .lane__kid { left: 12%; }
  .lane__ball { left: calc(12% + 44px); }
  .lane::after { right: 40px; }
}

/* ===== カード（注目記事） ===== */
.cards { list-style: none; display: grid; gap: 10px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--r-m);
  background: #fff; color: var(--c-text); text-decoration: none;
}
.card:hover { border-color: var(--c-teal); box-shadow: 0 2px 0 var(--c-teal-soft); }
.card__title { display: block; margin: 6px 0 4px; color: var(--c-navy); font-weight: 700; font-size: 0.98rem; line-height: 1.6; }
.card__desc { display: block; font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }

/* ===== カテゴリーから探す・新しい記事 ===== */
.home-2col { display: block; }
@media (min-width: 1000px) {
  .home-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
}
.cat-blocks { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .cat-blocks { grid-template-columns: 1fr 1fr; } }
.cat-block { padding: 14px 0 6px; border-bottom: 1px solid var(--c-line); }
.cat-block h3 { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.cat-block h3 a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-navy); text-decoration: none; }
.cat-block h3 .ico { width: 34px; height: 34px; }
.cat-block__desc { margin: 2px 0 6px; font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }
.link-list { list-style: none; }
.link-list a {
  display: block; padding: 9px 0 9px 1.1em; position: relative;
  border-bottom: 1px dashed var(--c-line); color: var(--c-text); text-decoration: none; font-size: 0.92rem; line-height: 1.6;
}
.link-list a::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); }
.link-list a:hover { color: var(--c-teal); }

.new-list { list-style: none; }
.new-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; }
.new-list a:hover .new-list__title { color: var(--c-teal); }
.new-list__meta { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--c-muted); }
.new-list__title { display: block; margin-top: 2px; color: var(--c-navy); font-weight: 700; font-size: 0.95rem; line-height: 1.6; }

.about-box { padding: 16px 18px 6px; border-radius: var(--r-m); background: var(--c-bg-soft); font-size: 0.92rem; line-height: 1.85; }
.about-box p { margin: 0 0 4px; }

/* ===== フッター ===== */
.site-f { margin-top: 56px; padding: 32px 0 24px; background: var(--c-navy); color: #dbe8ec; font-size: 0.88rem; line-height: 1.8; }
.site-f a { color: #fff; text-decoration: none; }
.site-f a:hover { text-decoration: underline; }
.site-f__name { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #fff; font-weight: 700; font-size: 1rem; }
.site-f__name .logo__mark { width: 30px; height: 30px; background: var(--c-teal); }
.site-f__name .logo__mark::after { border-color: var(--c-navy); }
.site-f__desc { margin: 0 0 20px; max-width: 46em; color: #c4d6dc; font-size: 0.82rem; }
.site-f__cols { display: grid; gap: 8px 40px; }
@media (min-width: 640px) { .site-f__cols { grid-template-columns: 1fr 1fr; } }
.site-f h2 { margin: 0 0 4px; font-size: 0.8rem; color: #9fc1ca; font-weight: 700; }
.site-f ul { list-style: none; margin: 0 0 16px; }
.site-f li a { display: inline-block; padding: 6px 0; }
.site-f__copy { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.76rem; color: #9fc1ca; }

/* ===== パンくずリスト ===== */
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; margin: 14px 0 6px; padding: 0; font-size: 0.78rem; line-height: 1.7; color: var(--c-muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; color: var(--c-teal-line); }
.crumb a { color: var(--c-text-sub); }

/* ===== 記事ページの配置 ===== */
.art-grid { display: block; }
.art { max-width: var(--w-body); margin: 0 auto; }
.side { display: none; }
@media (min-width: 1000px) {
  .art-grid { display: grid; grid-template-columns: minmax(0, var(--w-body)) 300px; gap: 48px; justify-content: center; align-items: start; }
  .art { margin: 0; }
  .side { display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-bottom: 16px; }
  .toc--inline { display: none; }
}

/* 記事の頭 */
.art-h { margin: 8px 0 20px; }
.art-h__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.art-h__tags { align-items: center; }
.art-h__tags a.cat-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; font-size: 0.78rem; text-decoration: none; }
.art-h__tags a.cat-tag:hover { background: var(--c-teal); color: #fff; }
.pr-tag {
  display: inline-block; padding: 0 6px; border: 1.5px solid var(--c-muted); border-radius: 4px;
  background: #fff; color: var(--c-muted); font-size: 0.72rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em;
}
.art-h__title { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.5; color: var(--c-navy); word-break: auto-phrase; }
@media (min-width: 768px) { .art-h__title { font-size: 1.85rem; } }
.art-h__dates { margin: 0; font-size: 0.8rem; color: var(--c-muted); }
.art-h__dates span { margin-left: 1em; }

/* 目次 */
.toc ol { margin: 0; padding: 0 0 0 1.6em; font-size: 0.9rem; line-height: 1.6; }
.toc li { padding: 4px 0; }
.toc li::marker { color: var(--c-teal); font-weight: 700; }
.toc ol.plain { list-style: none; padding-left: 0; }
.toc--inline ol.plain { padding-left: 16px; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-teal); text-decoration: underline; }
.toc--inline { margin: 1.6em 0 2em; border: 1px solid var(--c-teal-line); border-radius: var(--r-m); background: var(--c-bg-soft); }
.toc--inline summary { display: flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 16px; font-weight: 700; color: var(--c-navy); cursor: pointer; list-style: none; }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary::before { content: "＋"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-teal); color: #fff; font-size: 0.8rem; }
.toc--inline[open] summary::before { content: "−"; }
.toc--inline summary span { font-weight: 400; font-size: 0.85rem; color: var(--c-text-sub); }
.toc--inline ol { padding: 0 16px 14px 2.6em; }
.toc--side { padding: 16px 16px 12px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-teal); border-radius: 0 var(--r-m) var(--r-m) 0; background: #fff; }
.toc__title, .side-cats__title { margin: 0 0 6px; font-size: 0.85rem; font-weight: 700; color: var(--c-navy); }
.toc--side ol { font-size: 0.84rem; }
.toc--side a[aria-current] { color: var(--c-teal); font-weight: 700; }
.side-cats { margin-top: 20px; }
.side-cats ul { list-style: none; }
.side-cats a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; font-size: 0.86rem; }
.side-cats a[aria-current] { color: var(--c-teal); font-weight: 700; }
.side-cats .ico { width: 30px; height: 30px; }

/* ===== 本文（Bloggerの本文をそのまま入れて、見た目だけつける） ===== */
.body { font-size: 1rem; line-height: 1.95; }
.body p { margin: 0 0 1.25em; }
.body h2 {
  margin: 2.4em 0 1em; padding: 0.55em 0.9em 0.5em 0.85em;
  background: var(--c-teal-soft); border-left: 6px solid var(--c-teal); border-radius: 0 6px 6px 0; box-shadow: 0 1px 0 var(--c-teal-line);
  color: var(--c-navy); font-size: 1.28rem; line-height: 1.5;
}
.body h3 { position: relative; margin: 1.9em 0 0.7em; padding-left: 0.85em; color: var(--c-text); font-size: 1.12rem; line-height: 1.6; }
.body h3::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 5px; height: 1.05em; border-radius: 2px; background: var(--c-teal); }
.body ul, .body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.body li { margin: 0 0 0.45em; }
.body li::marker { color: var(--c-teal); }
.body strong { font-weight: 700; }
.body a { word-break: break-all; }
.body .pr-note { margin: 0 0 0.8em; font-size: var(--fs-small); line-height: 1.8; color: var(--c-muted); }
.body > .pr-note:first-child { padding: 8px 12px; border-radius: var(--r-s); background: var(--c-pr-bg); }

/* まとめ枠 */
.keybox { margin: 1.6em 0 2em; padding: 16px 16px 2px; border: 1px solid var(--c-line); border-radius: var(--r-m); background: var(--c-bg-soft); }
.keybox > p:first-child { margin: 0 0 0.6em; }
.keybox ul, .keybox ol { margin-bottom: 1em; }
.keybox p { margin-bottom: 0.9em; }
.kb-conclusion { background: var(--c-teal-soft); border: 2px solid var(--c-teal); }
.kb-conclusion > p:first-child strong { display: inline-block; padding: 2px 14px; border-radius: var(--r-pill); background: var(--c-teal); color: #fff; font-size: 0.9rem; }
.kb-about > p:first-child strong { color: var(--c-navy); }
.kb-caution { background: var(--c-caution-bg); border: 1px solid var(--c-caution-line); border-left: 6px solid var(--c-caution-line); }
.kb-caution > p:first-child strong { display: inline-flex; align-items: center; gap: 6px; color: var(--c-caution); }
.kb-caution > p:first-child strong::before {
  content: "！"; display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%;
  background: var(--c-caution); color: #fff; font-size: 0.8em;
}
.kb-refs { background: #fff; font-size: var(--fs-small); color: var(--c-text-sub); }
.kb-refs > p:first-child strong { color: var(--c-text-sub); }
.kb-flow { background: #fff; text-align: center; }
.kb-flow p { margin: 0 0 0.2em; }
.kb-flow p strong { display: inline-block; min-width: 60%; padding: 6px 12px; border-radius: var(--r-s); background: var(--c-bg-soft); border: 1px solid var(--c-line); }
.kb-flow p:not(:has(strong)) { color: var(--c-teal); font-weight: 700; line-height: 1.2; }
.kb-flow > *:last-child { margin-bottom: 1em; }

/* 比較表：表だけ横にスクロール */
.compare-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--c-line); border-radius: var(--r-m); -webkit-overflow-scrolling: touch; }
.compare-wrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.7; }
.compare-wrap th, .compare-wrap td { min-width: 7em; padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.compare-wrap th { background: var(--c-navy); color: #fff; font-weight: 700; }
.compare-wrap tr:last-child td { border-bottom: 0; }
.compare-wrap tbody tr:nth-child(even) td { background: var(--c-bg-soft); }
.compare-wrap td:first-child { font-weight: 700; }
.compare-wrap p, .compare-wrap ul { margin: 0; }
.scroll-hint { margin: -1.2em 0 1.6em; text-align: right; font-size: 0.75rem; color: var(--c-muted); }

/* 広告の枠：A8のコードには手を加えず、まわりの枠の側で見た目をつける */
.adbox { position: relative; margin: 2.2em 0; padding: 30px 16px 2px; border: 1px dashed #b4c0c8; border-radius: var(--r-m); background: #fff; }
.adbox::before {
  content: "PR・広告"; position: absolute; top: 0; left: 0; padding: 2px 10px;
  background: var(--c-pr-bg); color: var(--c-muted); font-size: 0.7rem; letter-spacing: 0.06em;
  border-radius: var(--r-m) 0 var(--r-s) 0; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.adbox p { margin: 0 0 0.9em; }
.adbox a[href*="px.a8.net"] {
  display: block; margin: 6px 0; padding: 12px 14px; border: 2px solid currentColor; border-radius: var(--r-m);
  text-align: center; font-weight: 700; text-decoration: none; line-height: 1.5;
}
.adbox a[href*="px.a8.net"]:hover { background: var(--c-teal-soft); }
.adbox img[src*="a8.net/0.gif"] { position: absolute; }

/* ===== 記事の終わり ===== */
.general-note { margin: 40px 0 32px; padding: 14px 16px; border-radius: var(--r-m); background: var(--c-bg-soft); font-size: var(--fs-small); line-height: 1.8; color: var(--c-text-sub); }
.general-note p { margin: 0; }
.general-note .general-note__title { margin-bottom: 4px; font-weight: 700; color: var(--c-text); }
.next { margin: 0 0 20px; }
.cards.cards--next { grid-template-columns: 1fr; }
.cat-link {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px; margin: 0 0 8px;
  border: 1px solid var(--c-teal-line); border-radius: var(--r-m); background: #fff; color: var(--c-navy); font-weight: 700; text-decoration: none; font-size: 0.95rem;
}
.cat-link span:nth-child(2) { flex: 1; }
.cat-link__arrow { color: var(--c-teal); font-size: 1.5rem; line-height: 1; }
.cat-link:hover { border-color: var(--c-teal); background: var(--c-bg-soft); }

/* ===== カテゴリー・すべての記事 ===== */
.list-page { max-width: 860px; }
.list-h { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 24px; padding: 18px 16px; border: 1px solid var(--c-line); border-left: 8px solid var(--c-teal); border-radius: var(--r-m); box-shadow: 4px 4px 0 var(--c-teal-soft); }
.list-h h1 { margin: 0 0 4px; font-size: 1.4rem; line-height: 1.5; color: var(--c-navy); }
.list-h p { margin: 0; font-size: 0.9rem; color: var(--c-text-sub); line-height: 1.75; }
.list-h .list-h__count { margin-top: 6px; font-size: 0.8rem; color: var(--c-muted); }
.ico.ico--lg { width: 48px; height: 48px; }
.topic-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.topic-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--c-teal-line); border-radius: var(--r-pill); color: var(--c-navy); text-decoration: none; font-size: 0.85rem; }
.topic { margin: 0 0 28px; }
.list { list-style: none; }
.list-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; }
.list-item__meta { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--c-muted); }
.list-item__title { display: block; margin: 2px 0 4px; color: var(--c-navy); font-weight: 700; font-size: 1rem; line-height: 1.6; }
.list-item:hover .list-item__title { color: var(--c-teal); }

/* ===== サイト内検索 ===== */
.search--page { margin: 0 0 14px; }
.search-examples { margin: 0 0 18px; }
.search-examples p { margin: 0 0 6px; font-size: 0.78rem; color: var(--c-text-sub); }
.search-examples ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.search-examples a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 1px solid var(--c-teal-line); border-radius: var(--r-pill); background: #fff; color: var(--c-navy); text-decoration: none; font-size: 0.85rem; }
.search-examples a:hover { border-color: var(--c-teal); background: var(--c-bg-soft); }
.search-status { margin: 0 0 4px; font-size: 0.9rem; font-weight: 700; color: var(--c-navy); }
.search-status:empty { display: none; }
#search-results mark { background: #fde8cf; color: inherit; padding: 0 1px; border-radius: 2px; }
.search-cats { margin-top: 32px; }
.search-cats ul { list-style: none; }
