/* ================================================================
 * shogu-kaizen.nodokaya.jp — 処遇改善加算Q&Aガイド 共通スタイル
 * 基層：zeirishi.nodokaya.jp「墨と金」（craft paper 背景・Zen Maru Gothic・金アクセント・印章）
 *       ＋ 許可ガイド系の qa-kit（お答えします／原文の逐語引用／図解の寸法規律）
 * 本サイト固有の部品は末尾「shogu-kaizen 固有」にまとめる。
 * フォントは build.sh がサイト内の使用文字だけに絞ったサブセット（ハッシュ付き名）へ差し替える。
 * ============================================================ */

/* ---------- Fonts（kaigo 資産共有・セルフホスト） ---------- */
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/zen-maru-gothic-400-7b0000d7.woff2) format('woff2');}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/zen-maru-gothic-500-68191b65.woff2) format('woff2');}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/zen-maru-gothic-700-1ad78211.woff2) format('woff2');}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/zen-maru-fill-400-b39d32b8.woff2) format('woff2');unicode-range:U+2015,U+3251,U+3252,U+3253,U+3254,U+3255,U+3256,U+3257,U+3258,U+FF0D,U+FF5E;}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/zen-maru-fill-500-1319797d.woff2) format('woff2');unicode-range:U+2015,U+3251,U+3252,U+3253,U+3254,U+3255,U+3256,U+3257,U+3258,U+FF0D,U+FF5E;}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/zen-maru-fill-700-ce27e190.woff2) format('woff2');unicode-range:U+2015,U+3251,U+3252,U+3253,U+3254,U+3255,U+3256,U+3257,U+3258,U+FF0D,U+FF5E;}
@font-face{font-family:'Yomogi';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/yomogi-400-4b49d1c7.woff2) format('woff2');}

/* ---------- CSS Variables ---------- */
:root {
  /* kaigo 継承（craft paper 系） */
  --bg-craft: #F2E6D5;
  --bg-craft-light: #F8F0E5;
  --bg-white-card: #FFFDF9;
  --color-brown-dark: #4A3728;
  --color-brown: #8B6F4E;
  --color-brown-light: #A08A6E;

  /* zeirishi 独自（墨と金） */
  --sumi: #1A1614;
  --sumi-soft: #2E2A27;
  --gold: #B8942E;
  --gold-deep: #8B6914;
  --gold-light: #D9BC5E;
  --gold-tint: #F3E7C2;

  /* accents (kaigo と共通・sparingly 使用) */
  --color-green: #6B8E5A;
  --color-green-dark: #4E6B40;
  --color-orange: #E8924A;

  /* typography */
  --font-heading: 'Zen Maru Gothic', -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  --font-body: 'Zen Maru Gothic', -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  --font-brush: 'Yomogi', 'Zen Maru Gothic', cursive;

  /* rhythm */
  --shadow-card: 0 2px 12px rgba(26, 22, 20, 0.08);
  --shadow-card-hover: 0 6px 24px rgba(26, 22, 20, 0.16);
  --shadow-seal: 0 1px 3px rgba(26, 22, 20, 0.35), inset 0 0 0 1px rgba(184, 148, 46, 0.4);
  --radius: 10px;
  --radius-lg: 16px;
  --notch: 12px;
  --max-width: 960px;
  --max-width-wide: 1120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-brown-dark);
  background: var(--bg-craft);
  line-height: 1.9;
  font-weight: 400;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
strong, b { font-weight: 700; color: var(--sumi); }
a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--sumi); text-decoration-color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }
li { margin: .3em 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--sumi); line-height: 1.45; }
p { margin: .8em 0; }

/* Craft paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============ Site Nav ============ */
.site-nav {
  background: var(--sumi);
  color: var(--gold-light);
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 5;
}
.site-nav__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-nav__brand { display: flex; align-items: center; gap: 12px; color: var(--gold-light); text-decoration: none; font-weight: 700; }
.site-nav__brand:hover { color: #fff; text-decoration: none; }
.site-nav__seal {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--sumi);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 6px;
  box-shadow: var(--shadow-seal);
  letter-spacing: 0;
}
.site-nav__brand-text { font-size: .95rem; letter-spacing: .04em; }
.site-nav__sisters { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav__sisters a { color: var(--gold-light); font-size: .85rem; text-decoration: none; opacity: .85; transition: opacity .15s ease, color .15s ease; }
.site-nav__sisters a:hover { color: #fff; opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); }

/* ============ Breadcrumb ============ */
.breadcrumb-wrap {
  background: transparent;
  padding: 14px 0 4px;
}
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  font-size: .82rem;
  color: var(--color-brown);
}
.breadcrumb__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb__item a { color: var(--color-brown); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--gold-light); }
.breadcrumb__item[aria-current="page"], .breadcrumb__item span[aria-current="page"] { color: var(--sumi); font-weight: 500; }
.breadcrumb__sep { color: var(--color-brown-light); }

/* ============ Page Hero ============ */
.page-hero { padding: 32px 0 8px; }
.page-hero--top { padding-top: 48px; }
.page-hero__eyecatch {
  margin: 0 auto 28px;
  max-width: var(--max-width);
  padding: 0 24px;
}
.page-hero__eyecatch img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 4px 14px 4px 4px;
  background: var(--sumi);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  border-radius: 4px;
}
.page-hero__seal {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--gold);
  color: var(--sumi);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 3px;
}
.page-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.55rem, 4.4vw, 2.15rem);
  line-height: 1.5;
  color: var(--sumi);
  margin: 8px 0 20px;
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}
.page-hero__h1-sub {
  display: block;
  font-size: .58em;
  font-weight: 500;
  color: var(--color-brown);
  margin-top: 8px;
  letter-spacing: .02em;
}
.page-hero__lead {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--color-brown-dark);
  margin: 16px 0 8px;
  max-width: 72ch;
}

/* ============ Section Eyebrow + Title ============ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-brown);
  text-transform: uppercase;
}
.section-eyebrow__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  /* 二桁の漢数字（十一）でも折り返さないよう min-width + 左右余白。
     一文字のときは 15.2px + 10px = 25.2px < 26px ゆえ従来どおり 26px 角のまま。
     .page-toc__num と同じ組み方（2026-08-31 修正）。 */
  min-width: 26px; height: 26px;
  padding: 0 5px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--sumi);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 3px;
  letter-spacing: 0;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  color: var(--sumi);
  line-height: 1.55;
  margin: 4px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--sumi);
}

/* ============ 統合カード（のどか事務所 × 監修者） ============ */
.integrated-card {
  position: relative;
  background: var(--bg-white-card);
  border: 1px solid rgba(139, 105, 20, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 24px 24px;
  margin: 32px 0 32px;
  box-shadow: var(--shadow-card);
}
.integrated-card::after {
  /* 桝形 notch を右上に擬似要素で（clip-path 使わずに seal を切らない） */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: var(--notch); height: var(--notch);
  background: linear-gradient(135deg, transparent 50%, var(--bg-craft) 50%);
  border-top-right-radius: var(--radius-lg);
  pointer-events: none;
}
.integrated-card__seal-wrap {
  position: absolute;
  top: -14px; left: 20px;
  z-index: 2;
}
.integrated-card__seal {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 6px 16px;
  min-height: 30px;
  background: var(--sumi);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  border-radius: 3px;
  box-shadow: var(--shadow-seal);
  white-space: nowrap;
}

.integrated-card__nodoka { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.integrated-card__nodoka-header { display: flex; gap: 16px; align-items: center; }
.integrated-card__mascot { flex-shrink: 0; }
.integrated-card__mascot img {
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: var(--bg-craft-light);
}
.integrated-card__office-eyebrow {
  font-size: .78rem; letter-spacing: .06em;
  color: var(--gold-deep); font-weight: 500;
  margin: 0;
}
.integrated-card__office-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sumi);
  line-height: 1.35;
  margin: 2px 0;
}
.integrated-card__office-sub {
  font-size: .88rem; color: var(--color-brown);
  margin: 0;
}
.integrated-card__office-desc {
  font-size: .93rem;
  line-height: 1.85;
  margin: 4px 0 0;
  color: var(--color-brown-dark);
}
.integrated-card__kaigo-link {
  font-weight: 500;
  color: var(--color-green-dark);
  text-decoration-color: var(--color-green);
}
.integrated-card__kaigo-link:hover {
  color: var(--sumi);
  background: rgba(107, 142, 90, 0.08);
}

.integrated-card__price {
  margin: 12px 0 4px;
  padding: 10px 14px;
  background: var(--bg-craft-light);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-brown-dark);
  text-align: center;
}
.integrated-card__price strong {
  color: var(--sumi);
  font-size: 1.05em;
}

.integrated-card__divider {
  height: 1px;
  margin: 20px 0 16px;
  background: linear-gradient(to right, transparent 0%, var(--gold-light) 20%, var(--gold-light) 80%, transparent 100%);
}

.integrated-card__section-title {
  font-family: var(--font-brush);
  font-size: .88rem;
  letter-spacing: .18em;
  color: var(--gold-deep);
  margin: 0 0 10px;
  -webkit-text-stroke: .3px currentColor;
}
.integrated-card__supervisor-body { display: flex; gap: 20px; align-items: flex-start; }
.integrated-card__photo {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  background: var(--bg-craft-light);
  margin: 0;
}
.integrated-card__photo img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.integrated-card__name {
  font-size: 1rem; margin: 0 0 2px; line-height: 1.35;
}
.integrated-card__name strong { font-size: 1.12rem; color: var(--sumi); }
.integrated-card__kana {
  display: inline-block;
  font-size: .78rem;
  color: var(--color-brown);
  margin-left: 8px;
}
.integrated-card__title-line {
  font-size: .85rem;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 6px;
}
.integrated-card__bio {
  font-size: .93rem;
  line-height: 1.75;
  color: var(--color-brown-dark);
  margin: 0;
}

.integrated-card__cta-wrap {
  text-align: center;
  margin: 22px 0 0;
}
.integrated-card__cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--sumi);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--gold-deep), 0 4px 12px rgba(26, 22, 20, 0.25);
  transition: transform .12s ease, box-shadow .12s ease, color .12s ease;
}
.integrated-card__cta:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 0 var(--gold-deep), 0 8px 20px rgba(26, 22, 20, 0.3);
}
.integrated-card__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--gold-deep), 0 2px 6px rgba(26, 22, 20, 0.2);
}

/* ============ TOC ============ */
.page-toc {
  background: var(--bg-white-card);
  border: 1px solid rgba(184, 148, 46, 0.2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 24px;              /* the container's gutter below 1008px (it touched the screen edges) */
  max-width: var(--max-width);
}
@media (min-width: 1008px) { .page-toc { margin: 32px auto; } }
.page-toc__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sumi);
  font-size: 1rem;
  letter-spacing: .1em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--gold-light);
}
.page-toc__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px; }
.page-toc__item { margin: 0; }
.page-toc__item a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 4px;
  color: var(--color-brown-dark);
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s ease, color .15s ease;
}
.page-toc__item a:hover {
  background: var(--gold-tint);
  color: var(--sumi);
}
.page-toc__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 28px; height: 28px;
  padding: 0 6px;
  background: var(--sumi);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 3px;
  flex-shrink: 0;
}
/* TOC は常に 1 カラム縦並び（右側が視線から外れないように） */


/* ============ FAQ ============ */
.faq-section { padding: 40px 0; }
.faq-list { margin: 20px 0; }
.faq-item {
  background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.2);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 12px 0;
  box-shadow: var(--shadow-card);
}
.faq-item__q {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sumi);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 10px;
  padding-left: 4px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.faq-item__a {
  margin: 0;
  padding-left: 12px;
  color: var(--color-brown-dark);
  line-height: 1.85;
  font-size: .95rem;
}
.faq-item__a strong { color: var(--sumi); }

/* ============ Related Links ============ */
.related-section { padding: 40px 0; }
.related-list, .related-sisters {
  list-style: none;
  padding: 0;
  margin: 16px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.related-list__item a, .related-sisters li a {
  display: block;
  padding: 10px 14px;
  background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.2);
  border-radius: 6px;
  color: var(--color-brown-dark);
  text-decoration: none;
  font-size: .9rem;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.related-list__item a:hover, .related-sisters li a:hover {
  border-color: var(--gold);
  background: var(--gold-tint);
  color: var(--sumi);
  transform: translateY(-1px);
}

/* ============ Prefecture Index / Top ============ */
.pref-index { padding: 40px 0; }
.pref-index__grid, .top-pref-index__grid {
  list-style: none; padding: 0; margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.pref-index__item a, .top-pref-index__item a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.2);
  border-radius: 6px;
  color: var(--color-brown-dark);
  text-decoration: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.pref-index__item a:hover, .top-pref-index__item a:hover {
  border-color: var(--gold);
  background: var(--gold-tint);
  color: var(--sumi);
  transform: translateY(-1px);
}
.pref-index__name { font-weight: 500; }
.pref-index__count {
  font-family: var(--font-heading);
  font-size: .78rem;
  color: var(--color-brown);
  padding: 2px 8px;
  background: var(--gold-tint);
  border-radius: 3px;
}
.top-pref-index { padding: 32px 0 48px; }
.top-about { padding: 24px 0 40px; }
.top-about__list { padding-left: 1.5em; }

/* ============ Static pages (privacy / tokushoho / 404) ============ */
.static-page { padding: 40px 0 60px; }
.static-page__h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--sumi);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 24px;
}
.static-page__h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sumi);
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--gold-light);
}
.static-page__dl { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0; }
.static-page__dl dt {
  font-weight: 700;
  color: var(--sumi);
  padding: 6px 0 0;
  border-top: 1px dashed rgba(139, 111, 78, 0.25);
  font-size: .95rem;
}
.static-page__dl dd { margin: 0; color: var(--color-brown-dark); font-size: .93rem; line-height: 1.85; }
.static-page__meta { font-size: .82rem; color: var(--color-brown); margin-top: 32px; text-align: right; }
@media (min-width: 640px) {
  .static-page__dl { grid-template-columns: 12em 1fr; gap: 8px 20px; }
  .static-page__dl dt { border-top: 0; border-right: 1px dashed rgba(139, 111, 78, 0.25); padding: 4px 16px 4px 0; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--sumi);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 80px;
  padding: 40px 0 20px;
  border-top: 4px solid var(--gold);
  position: relative;
  z-index: 2;
}
.site-footer__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
}
.site-footer__brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 12px;
}
.site-footer__seal {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--sumi);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 4px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-seal);
}
.site-footer__address { font-style: normal; font-size: .82rem; line-height: 1.75; color: rgba(255, 255, 255, 0.7); }
.site-footer__group-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .12em;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(184, 148, 46, 0.3);
}
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin: 6px 0; }
.site-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: .82rem;
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer__copy {
  text-align: center;
  margin: 36px 0 0;
  padding-top: 20px;
  font-size: .74rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(184, 148, 46, 0.2);
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ① compact 表（税務署管轄・県税事務所管轄・経費例）— dashed 罫・gold アクセント。
      東京 48 署でも破綻しない表形式（横溢は wrap 側でスクロール） */
.data-table-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.25);
  font-size: .9rem;
  line-height: 1.75;
}
.data-table th {
  background: var(--sumi);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px dashed rgba(139, 111, 78, 0.3);
  vertical-align: top;
  color: var(--color-brown-dark);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { white-space: nowrap; font-weight: 500; border-left: 3px solid var(--gold); }
.data-table a { color: var(--gold-deep); }
.data-table__tel { white-space: nowrap; }
.data-table__juris { margin: 4px 0; }
.data-table__tax-types { display: inline-block; font-weight: 500; color: var(--sumi); }

/* ①-b 経費例の 2 列表は左右とも文章 —— 管轄一覧向けの nowrap（署名・電話を折らないための
      規則）をそのまま被せると、左列が伸び切って右列が 1 文字幅に潰れる（2026-08-11 是正）。
      コラム内の表だけ幅を配分し直し、狭い画面では kb-row と同じく上下 2 段へ畳む。 */
.column-section .data-table { table-layout: fixed; }
.column-section .data-table th:first-child,
.column-section .data-table td:first-child { width: 38%; }
.column-section .data-table td:first-child { white-space: normal; }
@media (max-width: 600px) {
  .column-section .data-table,
  .column-section .data-table tbody,
  .column-section .data-table tr,
  .column-section .data-table td { display: block; width: auto; }
  .column-section .data-table thead { display: none; }
  .column-section .data-table tr {
    border-left: 3px solid var(--gold);
    border-bottom: 1px dashed rgba(139, 111, 78, 0.3);
    padding: 6px 0;
  }
  .column-section .data-table tr:last-child { border-bottom: 0; }
  .column-section .data-table td { border-bottom: 0; padding: 3px 14px; }
  .column-section .data-table td:first-child {
    border-left: 0; width: auto; font-weight: 700; color: var(--sumi);
  }
}

.column-section { padding: 40px 0; }
.column-block { margin: 20px 0; }
.column-block__h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--sumi);
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--gold);
}
.column-block__body p { margin: 8px 0; }
.column-sources { font-size: .85rem; color: var(--color-brown); margin: 8px 0 0; line-height: 1.8; }
.column-sources a { color: var(--gold-deep); }

/* ============ Q&A 記事（shinkoku Q&A プログラム・2026-07-25） ============ */
/* zebra: 一 解説 / 三 職業別 = tint（二 一次情報・四 相談先は body craft、五 関連は既存 tint） */

.qa-meta {
  font-size: .82rem; color: var(--color-brown); margin: 8px 0 0; line-height: 1.9;
}
.qa-answer-section { padding: 8px 0 4px; }
.qa-answer {
  background: var(--bg-white-card);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin: 12px 0 4px;
}
.qa-answer__label {
  font-family: var(--font-brush);
  color: var(--gold-deep); font-size: .9rem; letter-spacing: .04em; font-weight: 400; line-height: 1.9;
  margin: 0 0 6px;
}
.qa-answer__body { margin: 0; font-size: 1.02rem; line-height: 2; font-weight: 500; }

.sources-section { padding: 40px 0; }
.kb-quote { margin: 20px 0 24px; }
.kb-quote__cite {
  font-size: .88rem; font-weight: 700; color: var(--sumi); margin: 0 0 6px;
}
.kb-quote__body {
  margin: 0; padding: 16px 18px;
  background: var(--bg-white-card);
  border-left: 3px solid var(--sumi);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem; line-height: 2;
  color: var(--color-brown-dark);
  quotes: none;
}
/* ---- Q&A 一次情報の引用（2026-08-04 可読性整形・逐語の文字は変えず構造だけ組む） ---- */
.kb-quote__body > p { margin: 0 0 .5em; }
.kb-quote__body > p:last-child { margin-bottom: 0; }
/* URLs printed in the original: linked, and allowed to wrap anywhere so a phone never scrolls sideways */
.kb-quote__body .kb-url { color: var(--gold-deep); overflow-wrap: anywhere; word-break: break-all; }
.kb-quote__body .kb-h {
  margin: 1.15em 0 .4em; padding-left: .6em;
  border-left: 3px solid var(--gold);
  font-weight: 700; color: var(--sumi); font-size: .97em; line-height: 1.7;
}
.kb-quote__body > p.kb-h:first-child { margin-top: 0; }
.kb-quote__body .kb-i { padding-left: 2.1em; text-indent: -2.1em; }
.kb-quote__body .kb-n { color: var(--gold-deep); font-weight: 700; }
.kb-quote__body .kb-note { font-size: .9em; color: var(--color-brown); }
.kb-quote__body .kb-p { color: var(--color-brown); font-size: .93em; }
.kb-quote__body .kb-row {
  display: flex; flex-wrap: wrap; gap: .1em .9em; margin: 0 0 .25em; padding-left: 1em;
}
.kb-quote__body .kb-row .kb-k { min-width: 13.5em; font-weight: 700; color: var(--sumi); }
.kb-quote__body .kb-row .kb-v { color: var(--color-brown-dark); }
@media (max-width: 600px) {
  .kb-quote__body .kb-i { padding-left: 1.4em; text-indent: -1.4em; }
  .kb-quote__body .kb-row .kb-k { min-width: 100%; }
}

.kb-quote__source {
  font-size: .8rem; color: var(--color-brown); margin: 6px 0 0; line-height: 1.9;
  word-break: break-all;
}
.kb-quote__source a { color: var(--gold-deep); }

/* 図解・アイキャッチの寸法規律（2026-07-25 ユーザー指摘「でかい・圧迫感・一覧性に欠ける」）
   本文は読み物、図は補助。図が本文より広くならないよう上限を設ける。
   モバイルでは max-width が効かず自然に幅いっぱいになる。 */
.qa-figure { margin: 24px auto; max-width: 640px; }
.qa-figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.qa-figure__caption {
  font-size: .85rem; color: var(--color-brown); margin: 8px 0 0; line-height: 1.8;
  text-align: center;
}
/* アイキャッチは県ページ・トップと同寸法のまま（2026-07-25 ユーザー指示）。
   縮めるのは本文中の図解のみ。 */

.qa-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.qa-list__item {
  background: var(--bg-white-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
}
.qa-list__link { font-weight: 700; font-size: 1.02rem; color: var(--sumi); text-decoration: none; }
.qa-list__link:hover { color: var(--gold-deep); text-decoration: underline; }
.qa-list__lead { margin: 6px 0 0; font-size: .9rem; line-height: 1.9; color: var(--color-brown-dark); }
.qa-list__meta { margin: 6px 0 0; font-size: .78rem; color: var(--color-brown); }

.qa-more { margin: 20px 0 0; }
.qa-more__title { font-weight: 700; font-size: .95rem; margin: 0 0 6px; color: var(--sumi); }
.qa-more__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.qa-more__list li a { color: var(--gold-deep); font-size: .92rem; }


/* ===================================================================
 * shogu-kaizen 固有（2026-09-26）
 * =================================================================== */

/* ---- 小さい画面の呼吸（320px でも本文幅を確保） ---- */
@media (max-width: 420px) {
  .container, .breadcrumb { padding: 0 16px; }
  .page-hero__eyecatch { padding: 0 16px; }
  .integrated-card { padding: 34px 18px 20px; }
  .integrated-card__supervisor-body { gap: 14px; }
  .integrated-card__photo { width: 72px; height: 72px; }
  .page-toc { margin: 28px 16px; padding: 18px 18px; }
  .kb-quote__body { padding: 14px 14px; }
}

/* ---- ゼブラ（目次より後は「直前と違う背景」で交互。章の並びはテンプレートで固定） ---- */
[data-page="qa"] #explain,
[data-page="qa"] #sources { background: var(--bg-craft-light); }
[data-page="qa"] #diff,
[data-page="qa"] .related-section { background: var(--bg-craft); }
.diff-section, .years-section, .about-section, .picks-section, .docs-section, .cat-section { padding: 40px 0; }
.band-tint { background: var(--bg-craft-light); }
.band-craft { background: var(--bg-craft); }

/* ---- 介護／障害福祉のタグ（引用の見出し・違いの表） ---- */
.field-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; line-height: 1.6;
  padding: 1px 8px; margin-right: 8px; border-radius: 3px; vertical-align: .08em;
  white-space: nowrap;
}
.field-tag--kaigo { background: var(--gold-tint); color: var(--gold-deep); border: 1px solid var(--gold-light); }
.field-tag--shogai { background: #E4ECDC; color: var(--color-green-dark); border: 1px solid #B7CBAB; }
.field-tag--both { background: var(--sumi); color: var(--gold-light); border: 1px solid var(--sumi); }

/* ---- 解説の中の小さな部品 ---- */
.column-block__body ul, .column-block__body ol { margin: 8px 0; }
/* lists the prose refers to by the notice's own numbers: 「次の一から三」→ 一、二、三、 / 「①か②」→ ① ② */
ol.ol-kanji { list-style-type: cjk-ideographic; padding-left: 2.4em; }
@counter-style circled-number { system: fixed; symbols: "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩"; suffix: " "; }
ol.ol-circled { list-style-type: circled-number; padding-left: 1.8em; }
.column-block__body li { margin: .35em 0; }
.column-block__body .note {
  font-size: .9rem; color: var(--color-brown); line-height: 1.85;
  padding: 10px 14px; margin: 12px 0;
  background: var(--bg-white-card); border-left: 3px solid var(--color-brown-light); border-radius: 4px;
}
.column-block__body .point {
  padding: 12px 16px; margin: 14px 0;
  background: var(--bg-white-card); border-left: 3px solid var(--gold); border-radius: 4px;
}
.column-block__body .point > p:first-child { margin-top: 0; }
.column-block__body .point > p:last-child { margin-bottom: 0; }
.fig-ref { white-space: nowrap; }

/* ---- 介護と障害福祉の違い ---- */
.diff-lead { margin: 0 0 12px; }
.diff-table-wrap { margin: 16px 0; border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.diff-table { width: 100%; border-collapse: collapse; background: var(--bg-white-card); font-size: .92rem; line-height: 1.8; table-layout: fixed; }
.diff-table th, .diff-table td { padding: 10px 14px; vertical-align: top; text-align: left; border-bottom: 1px dashed rgba(139, 111, 78, 0.3); }
.diff-table thead th { background: var(--sumi); color: var(--gold-light); font-size: .82rem; letter-spacing: .06em; border-bottom: 0; }
.diff-table thead th:first-child { width: 26%; }
.diff-table tbody th { font-weight: 700; color: var(--sumi); border-left: 3px solid var(--gold); }
.diff-table tr:last-child th, .diff-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .diff-table, .diff-table tbody, .diff-table tr, .diff-table th, .diff-table td { display: block; width: auto; }
  .diff-table thead { display: none; }
  .diff-table tr { border-left: 3px solid var(--gold); border-bottom: 1px dashed rgba(139, 111, 78, 0.3); padding: 8px 0; }
  .diff-table tr:last-child { border-bottom: 0; }
  .diff-table tbody th { border-left: 0; padding: 2px 14px 4px; border-bottom: 0; }
  .diff-table td { border-bottom: 0; padding: 3px 14px; }
  .diff-table td::before {
    content: attr(data-label); display: inline-block; margin-right: 8px;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 0 7px; border-radius: 3px;
  }
  .diff-table td.is-kaigo::before { background: var(--gold-tint); color: var(--gold-deep); border: 1px solid var(--gold-light); }
  .diff-table td.is-shogai::before { background: #E4ECDC; color: var(--color-green-dark); border: 1px solid #B7CBAB; }
}
.diff-note { font-size: .9rem; color: var(--color-brown); line-height: 1.85; margin: 10px 0 0; }
.diff-same {
  padding: 14px 18px; background: var(--bg-white-card); border-left: 4px solid var(--sumi);
  border-radius: var(--radius); box-shadow: var(--shadow-card); margin: 12px 0;
}
.diff-same p { margin: 0; }

/* ---- 原文（逐語）の追加部品 ---- */
.kb-quote { scroll-margin-top: 16px; }
.kb-quote__cite { line-height: 1.7; }
.kb-quote__body .kb-q { font-weight: 500; color: var(--sumi); }
.kb-quote__body .kb-a { margin-top: .9em; font-weight: 700; color: var(--color-brown); font-size: .92em; }
.kb-quote__body .kb-omit { color: var(--color-brown-light); font-size: .88em; text-align: center; letter-spacing: .3em; }
.kb-quote__body .kb-ctx { color: var(--color-brown); font-size: .9em; }
.kb-quote__source .kb-quote__retrieved { white-space: nowrap; }

/* 原文の図表（SVG で再現）＋ テキスト版（details） */
.kb-fig { margin: 16px 0 8px; }
.kb-fig__frame {
  display: block; background: #fff; border: 1px solid rgba(139, 111, 78, 0.25);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 6px; max-width: 760px;
}
.kb-fig__frame img { width: 100%; height: auto; display: block; }
.kb-fig__caption { font-size: .85rem; color: var(--color-brown); margin: 8px 0 0; line-height: 1.8; }
.kb-fig__caption a { color: var(--gold-deep); }
.kb-fig__text { margin: 8px 0 0; font-size: .88rem; }
.kb-fig__text summary {
  cursor: pointer; color: var(--gold-deep); font-weight: 500; padding: 4px 0;
  text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px;
}
.kb-fig__text .data-table-wrap { margin: 10px 0 4px; }
.kb-fig__text .data-table { font-size: .82rem; line-height: 1.6; }
.kb-fig__text .data-table th, .kb-fig__text .data-table td { padding: 6px 10px; white-space: normal; }
.kb-fig__text .data-table td:first-child { white-space: normal; }
.kb-fig__text .data-table td.num { text-align: right; white-space: nowrap; }
/* the text version keeps the picture's cells: joined header cells (colspan/rowspan), the first column as row headers */
.kb-fig__text .data-table thead th { text-align: center; vertical-align: middle; border: 1px solid rgba(217, 188, 94, 0.25); }
.kb-fig__text .data-table tbody th[scope="row"] {
  background: var(--bg-craft-light); color: var(--sumi); font-weight: 500; font-size: .82rem; letter-spacing: 0;
  white-space: normal; vertical-align: top; border-bottom: 1px dashed rgba(139, 111, 78, 0.3);
}
.kb-fig__text .data-table td, .kb-fig__text .data-table td:first-child { border-left: 1px dashed rgba(139, 111, 78, 0.2); font-weight: 400; }
/* a narrow screen folds the table into one block per row, each cell after its column's label (no sideways scrolling) */
@media (max-width: 600px) {
  .data-table--fold, .data-table--fold tbody, .data-table--fold tr, .data-table--fold th, .data-table--fold td { display: block; width: auto; }
  .data-table--fold thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .data-table--fold tr { border-bottom: 1px dashed rgba(139, 111, 78, 0.3); padding: 6px 0; }
  .data-table--fold tr:last-child { border-bottom: 0; }
  .kb-fig__text .data-table--fold tbody th[scope="row"] { background: none; border: 0; font-weight: 700; padding: 4px 12px 2px; }
  .kb-fig__text .data-table--fold td, .kb-fig__text .data-table--fold td:first-child { border: 0; padding: 2px 12px; }
  .data-table--fold td[data-label]:not([data-label=""])::before { content: attr(data-label) "："; color: var(--color-brown); font-size: .76rem; }
  .kb-fig__text .data-table--fold td.num { text-align: left; white-space: normal; }   /* the label goes before the rate: the line may break */
}

/* 編集注（原文どうしの食い違いなど。評価は加えず事実だけ） */
.editorial-note {
  font-size: .88rem; line-height: 1.85; color: var(--color-brown-dark);
  margin: 10px 0 0; padding: 10px 14px;
  background: var(--bg-white-card); border: 1px dashed var(--color-brown-light); border-radius: 6px;
}
.editorial-note__label { font-weight: 700; color: var(--sumi); margin-right: .4em; }

/* ---- 関連Q&A（同じ章の前後・関連） ---- */
.related-qa { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; gap: 8px; }
.related-qa li { margin: 0; }
.related-qa a {
  display: block; padding: 12px 16px; background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.2); border-radius: 6px;
  color: var(--color-brown-dark); text-decoration: none; font-size: .93rem; line-height: 1.7;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.related-qa a:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--sumi); transform: translateY(-1px); }
.related-qa__cat { display: block; font-size: .74rem; color: var(--color-brown); letter-spacing: .04em; }
.pager { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0 24px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  display: block; padding: 12px 16px; background: var(--bg-white-card); border-radius: 6px;
  border: 1px solid rgba(139, 111, 78, 0.2); text-decoration: none; color: var(--color-brown-dark); font-size: .9rem; line-height: 1.7;
}
.pager a:hover { border-color: var(--gold); background: var(--gold-tint); color: var(--sumi); }
.pager__dir { display: block; font-size: .74rem; color: var(--gold-deep); font-weight: 700; letter-spacing: .08em; }
.pager__next { text-align: right; }

/* ---- 年度ページ：章ごとの Q&A 一覧 ---- */
.cat-section .section-title { margin-bottom: 8px; }
.cat-lead { margin: 0 0 12px; color: var(--color-brown-dark); }
.qa-list__q { display: flex; gap: 10px; align-items: flex-start; }
.qa-list__mark {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-top: 2px; border-radius: 3px;
  background: var(--sumi); color: var(--gold); font-weight: 700; font-size: .82rem;
}
.qa-list__fields { margin: 6px 0 0 36px; }
.qa-list .qa-list__lead { margin-left: 36px; }

/* ---- トップ：年度カード ---- */
.year-cards { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .year-cards { grid-template-columns: 1fr 1fr; } }
.year-card { margin: 0; }
.year-card a {
  display: block; height: 100%; text-decoration: none; color: var(--color-brown-dark);
  background: var(--bg-white-card); border: 1px solid rgba(139, 111, 78, 0.25); border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.year-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); color: var(--color-brown-dark); }
.year-card__thumb, .year-card__body, .year-card__label, .year-card__summary, .year-card__meta { display: block; }
.year-card__thumb img { width: 100%; height: auto; display: block; }
.year-card__body { padding: 16px 20px 18px; }
.year-card__label { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--sumi); margin: 0; line-height: 1.4; }
.year-card__ad { font-size: .85rem; color: var(--color-brown); margin-left: 6px; font-weight: 500; }
.year-card__summary { font-size: .92rem; line-height: 1.85; margin: 8px 0 10px; }
.year-card__meta { font-size: .8rem; color: var(--color-brown); margin: 0 0 12px; }
.year-card__cta {
  display: inline-block; padding: 8px 18px; background: var(--sumi); color: var(--gold);
  font-weight: 700; font-size: .92rem; border-radius: 4px; letter-spacing: .04em;
}

/* ---- トップ：このガイドの読み方 ---- */
.about-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .about-points { grid-template-columns: 1fr 1fr; } }
.about-points li {
  margin: 0; padding: 16px 18px; background: var(--bg-white-card); border-radius: var(--radius);
  border-left: 4px solid var(--gold); box-shadow: var(--shadow-card);
}
.about-points__title { font-weight: 700; color: var(--sumi); margin: 0 0 4px; }
.about-points__body { margin: 0; font-size: .93rem; line-height: 1.85; }

/* ---- 出典の一覧（年度ページ） ---- */
.doc-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.doc-list li {
  margin: 0; padding: 14px 18px; background: var(--bg-white-card);
  border: 1px solid rgba(139, 111, 78, 0.2); border-radius: var(--radius);
}
.doc-list__title { font-weight: 700; color: var(--sumi); margin: 4px 0 2px; line-height: 1.7; }
.doc-list__meta { font-size: .84rem; color: var(--color-brown); margin: 0; line-height: 1.8; word-break: break-all; }
.docs-note { font-size: .9rem; line-height: 1.85; margin: 16px 0 0; color: var(--color-brown-dark); }

/* 原文の図（引用の中に置く図・図だけの引用） */
.kb-fig__title { font-weight: 700; color: var(--sumi); font-size: .92rem; margin: 0 0 8px; line-height: 1.7; }
.kb-quote__body--fig { padding: 14px 16px; }
.kb-quote__body--fig .kb-fig { margin: 0; }
.kb-fig__frame--pending { padding: 24px; text-align: center; color: var(--color-brown); font-size: .9rem; }
.kb-fig__zoom { font-size: .78rem; }
.sources-lead { font-size: .93rem; line-height: 1.9; margin: 0 0 8px; }

/* ---- 広告枠（AdSense Multiplex "autorelaxed"）：family の規則（japan-work-site・nta・pref・管轄ガイド）----
   Q&A ページに 2 つ（監修カードの直後／原文と編集注のあと）。見出し「スポンサーリンク」は実テキスト（_includes/ad-unit.njk）。 */
.ad-unit { margin: 2.25rem 0; text-align: center; min-height: 1px; }
.ad-unit__label { display: block; font-size: .68rem; letter-spacing: .18em; color: var(--color-brown-light); margin: 0 0 .4rem; }
.ad-unit .adsbygoogle { display: block; }
.ad-unit:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }   /* 配信が無かった枠は見出しごと隠す */
@media print { .ad-unit { display: none; } }
