/* ==========================================================================
   屋内キッズパーク・遊び場レポート / indoor-playground-biz
   デザイン: 明るい多色パーク・遊具の丸み・カラードット
   ========================================================================== */
:root {
  --bg: #fff8ee;
  --surface: #ffffff;
  --ink: #26303b;
  --muted: #6b7480;
  --muted-ink: #5b636f;
  --accent: #ef6a3d;
  --accent-deep: #c9481c;
  --accent-2: #2fa3a0;
  --teal-deep: #1d6f6d;
  --accent-3: #f2c230;
  --line: #efe1cd;
  --footer-bg: #26303b;
  --font-head: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.012em;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-deep); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.spacer-lg { height: 40px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.9rem, 3.9vw, 3.4rem); }
h2 { font-size: clamp(1.32rem, 2.1vw, 1.62rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.02rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--teal-deep);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------ dots motif ------------------------------ */
.dot-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 26px 0 6px;
}
.dot-row span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.dot-row span:nth-child(2) { background: var(--accent-2); }
.dot-row span:nth-child(3) { background: var(--accent-3); }

/* ------------------------------ header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffdf8;
  border-bottom: 2px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  white-space: nowrap;
  min-width: 0;
}
.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-2);
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 1rem; font-family: var(--font-head); font-weight: 800; }
.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--muted-ink);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  cursor: pointer;
  flex: none;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1px; flex-wrap: nowrap; }
.global-nav a {
  display: block;
  padding: 6px 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--ink);
}
.global-nav a:hover { background: #ffeedd; color: var(--accent-deep); }
.global-nav a[aria-current="page"] { background: #ffe4d3; color: var(--accent-deep); font-weight: 700; }
.global-nav a.is-compare { color: var(--teal-deep); font-weight: 700; }
.no-scroll { overflow: hidden; }

@media (max-width: 1099px) {
  .menu-toggle { display: flex; }
  .global-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    height: calc(100vh - 64px);
    background: #fffdf8;
    border-top: 2px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 14px 20px 40px;
    z-index: 29;
  }
  .global-nav.is-open { transform: translateX(0); box-shadow: -8px 0 24px rgba(38, 48, 59, 0.16); }
  .global-nav ul { flex-direction: column; }
  .global-nav a { padding: 12px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .global-nav a[aria-current="page"] { border-radius: 10px; }
}

/* ------------------------------ hero ------------------------------ */
.hero-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(242, 194, 48, 0.22) 0 46px, transparent 47px),
    radial-gradient(circle at 88% 82%, rgba(47, 163, 160, 0.16) 0 58px, transparent 59px),
    radial-gradient(circle at 72% 10%, rgba(239, 106, 61, 0.14) 0 30px, transparent 31px),
    var(--bg);
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 46px 22px 58px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-board {
  background: var(--surface);
  border: 4px solid var(--accent-2);
  border-radius: 28px;
  padding: 26px 28px 28px;
  box-shadow: 0 16px 34px rgba(38, 48, 59, 0.1);
  position: relative;
}
.board-dots { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.board-dots li {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.board-dots li:nth-child(2) { background: var(--accent-2); }
.board-dots li:nth-child(3) { background: var(--accent-3); }
.board-dots li:nth-child(4) { background: #f5b7a1; }
.board-dots li:nth-child(5) { background: #a9d8d6; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
}
.hero-board h1 { margin: 0; }
.hero-board h1 .accent-line { color: var(--accent-deep); }
.hero-lead { margin: 16px 0 22px; font-size: 0.98rem; color: var(--muted-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-align: center;
}
.btn-fill {
  background: linear-gradient(180deg, #f4773f, var(--accent));
  color: #2a1109;
  box-shadow: 0 4px 0 var(--accent-deep);
}
.btn-fill:hover { color: #2a1109; background: linear-gradient(180deg, #f88a58, #f4773f); }
.btn-line { border: 2px solid var(--accent-2); color: var(--teal-deep); background: var(--surface); }
.btn-line:hover { background: #eaf6f5; color: var(--teal-deep); }

.hero-figure { position: relative; padding: 6px; }
.hero-figure::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -8px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-3);
  opacity: 0.85;
  pointer-events: none;
}
.hero-figure::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: -12px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.55;
  pointer-events: none;
}
.hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(38, 48, 59, 0.16);
}
.hero-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-dot-sm {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  pointer-events: none;
}

/* ------------------------------ page band ------------------------------ */
.page-band {
  background: #fffdf8;
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(47, 163, 160, 0.12);
  pointer-events: none;
}
.page-band .container { padding-top: 28px; padding-bottom: 24px; position: relative; z-index: 1; }
.band-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}
.page-band .eyebrow { margin-bottom: 4px; }

/* ------------------------------ layout ------------------------------ */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 38px;
  padding-top: 34px;
  padding-bottom: 54px;
}
.article { min-width: 0; }
.article > section { margin-bottom: 38px; }
.updated {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 3px 14px;
  font-size: 0.8rem;
  color: var(--muted-ink);
  margin: 0 0 18px;
}
h2.sec { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
h2.sec::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  transform: translateY(-2px);
}
h2.sec::after {
  content: "";
  display: block;
  flex-basis: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0 34px, var(--accent-2) 34px 68px, var(--accent-3) 68px 102px, var(--line) 102px 100%);
}
h3 { border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.section-lead { color: var(--muted-ink); margin-top: 0; }
.note, .source-note {
  font-size: 0.85rem;
  color: var(--muted-ink);
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
}
.post-login { display: none; }

.figure-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: #fff;
}
.figure-frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
  background: #fff5e8;
  color: var(--ink);
  padding: 8px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}
.meter-strip b { color: var(--accent-deep); }

/* ------------------------------ index ------------------------------ */
.index-section { padding: 10px 0 26px; }
.intro-block {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 28px 30px;
}
.layer-list { list-style: none; counter-reset: layer; margin: 18px 0; padding: 0; }
.layer-list li {
  counter-increment: layer;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.layer-list li:last-child { border-bottom: none; }
.layer-list li::before {
  content: counter(layer, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--accent-2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex: none;
  transform: translateY(4px);
}
.layer-list strong { flex: none; min-width: 168px; font-family: var(--font-head); font-weight: 800; }
.stance-title { font-size: 1.14rem; margin-top: 26px; }
.stance-list { list-style: none; padding: 0; margin: 12px 0 0; }
.stance-list li { padding: 5px 0 5px 22px; position: relative; font-size: 0.94rem; }
.stance-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-3);
}

.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  --card: var(--accent);
}
.page-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: var(--card);
  opacity: 0.24;
}
.page-card:nth-child(3n+2) { --card: var(--accent-2); }
.page-card:nth-child(3n+3) { --card: var(--accent-3); }
.page-card .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}
.page-card:nth-child(3n+2) .num { background: var(--teal-deep); }
.page-card:nth-child(3n+3) .num { background: #8a6407; }
.page-card .icon { color: var(--accent-2); width: 30px; height: 30px; }
.page-card:nth-child(3n+1) .icon { color: var(--accent-deep); }
.page-card:nth-child(3n+3) .icon { color: #a87707; }
.page-card h3 { border: none; padding: 0; font-size: 1.02rem; margin: 0; }
.page-card p { margin: 0; font-size: 0.89rem; color: var(--muted-ink); }
.page-card .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
  background: #e6f4f3;
  border-radius: 999px;
  padding: 2px 10px;
  align-self: flex-start;
}

.latest-commentary { background: var(--surface); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.latest-commentary .container { padding-top: 24px; padding-bottom: 24px; }
.latest-commentary h2 { font-size: 1.24rem; }
.latest-commentary-list { list-style: none; margin: 10px 0 12px; padding: 0; }
.latest-commentary-list li { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.latest-commentary-list time { color: var(--teal-deep); font-weight: 700; flex: none; font-size: 0.88rem; }
.latest-commentary:not(:has(li)) { display: none; }

/* ------------------------------ compare table ------------------------------ */
.table-card {
  background: #f3fbfa;
  border: 2px solid #cfe9e7;
  border-radius: 20px;
  padding: 18px 16px 14px;
}
.table-card .table-note { color: var(--muted-ink); font-size: 0.8rem; margin: 10px 2px 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  border-collapse: collapse;
  min-width: 900px;
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.7;
  border-radius: 12px;
  overflow: hidden;
}
.compare-table th, .compare-table td { border: 1px solid #e3efe9; padding: 10px 12px; text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--teal-deep); color: #fff; font-weight: 700; font-size: 0.82rem; }
.compare-table tbody tr:nth-child(even) td, .compare-table tbody tr:nth-child(even) th { background: #fcf7ef; }
.compare-table th[scope="row"] { font-weight: 700; min-width: 150px; background: #fff4e6; }
.player-h { font-size: 1.1rem; }
.player-list { list-style: none; margin: 12px 0 0; padding: 0; }
.player-list li { padding: 5px 0 5px 20px; position: relative; font-size: 0.94rem; }
.player-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* ------------------------------ sidebar ------------------------------ */
.sidebar { min-width: 0; }
.sidebar nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px 12px;
  margin-bottom: 18px;
}
.sidebar nav h2, .sidebar .sb-head {
  font-size: 0.98rem;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar nav h2::before, .sidebar .sb-head::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-3);
  flex: none;
}
.sidebar nav ul, .sidebar nav ol { margin: 0; padding: 0; list-style: none; }
.sidebar nav li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.87rem; }
.sidebar nav li:last-child { border-bottom: none; }
.ad-slot {
  background: linear-gradient(180deg, #fff6ec, #ffffff);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 18px;
}
.ad-slot span { font-size: 0.64rem; letter-spacing: 0.18em; color: var(--teal-deep); font-weight: 700; }
.ad-slot strong { display: block; margin: 4px 0 6px; font-size: 0.98rem; font-family: var(--font-head); font-weight: 800; }
.ad-slot p { margin: 0 0 10px; font-size: 0.85rem; color: var(--muted-ink); }
.ad-slot a {
  display: inline-block;
  background: var(--accent);
  color: #2a1109;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--accent-deep);
}
.ad-slot a:hover { background: #f4773f; color: #2a1109; }

/* ------------------------------ related ------------------------------ */
.related-sites { padding: 6px 0 16px; }
.related-sites h2 { font-size: 1.32rem; }
.related-sites ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-sites li a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 16px;
  height: 100%;
}
.related-sites li a strong { display: block; font-size: 0.95rem; }
.related-sites li a span { font-size: 0.84rem; color: var(--muted-ink); }
.related-sites li a:hover { border-color: var(--accent-2); }
.related-pages { list-style: none; margin: 14px 0 0; padding: 0; }
.related-pages li { padding: 8px 0; border-bottom: 1px dashed var(--line); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.related-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
}
.related-grid h3 { border: none; padding: 0; margin: 0 0 6px; font-size: 0.98rem; }
.related-grid p { margin: 0; font-size: 0.85rem; color: var(--muted-ink); }

/* ------------------------------ disclaimer / footer ------------------------------ */
.site-disclaimer { background: #fff3e4; border-top: 2px solid var(--line); }
.site-disclaimer p { max-width: 1140px; margin: 0 auto; padding: 18px 22px; font-size: 0.82rem; color: #5b4a3c; }
.site-footer { background: var(--footer-bg); color: #f6efe2; position: relative; }
.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background:
    radial-gradient(circle at 12px 4px, var(--accent) 0 4px, transparent 4.5px) 0 0 / 28px 8px repeat-x,
    radial-gradient(circle at 26px 4px, var(--accent-2) 0 4px, transparent 4.5px) 0 0 / 28px 8px repeat-x,
    radial-gradient(circle at 40px 4px, var(--accent-3) 0 4px, transparent 4.5px) 0 0 / 42px 8px repeat-x;
}
.footer-grid { max-width: 1140px; margin: 0 auto; padding: 38px 22px 10px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-grid h2 { font-size: 1rem; color: #fff; }
.footer-grid p { font-size: 0.86rem; color: #cfc7b9; }
.footer-grid nav { display: flex; flex-direction: column; }
.footer-grid nav a { padding: 6px 0; font-size: 0.87rem; color: #f6efe2; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.footer-grid nav a:hover { color: var(--accent-3); }
.footer-note { max-width: 1140px; margin: 0 auto; padding: 8px 22px 18px; font-size: 0.78rem; color: #b6ada0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; max-width: 1140px; margin: 0 auto; padding: 8px 22px; font-size: 0.84rem; }
.footer-links a { color: #f6efe2; }
.footer-links a:hover { color: var(--accent-3); }
.copyright { text-align: center; padding: 14px 22px 22px; margin: 0; font-size: 0.78rem; color: #b6ada0; }

/* ------------------------------ blog list ------------------------------ */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; }
.blog-card .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card time { font-size: 0.76rem; font-weight: 700; color: var(--teal-deep); }
.blog-card h2, .blog-card h3 { margin: 0; font-size: 1.02rem; border: none; padding: 0; }
.blog-card p { margin: 0; font-size: 0.87rem; color: var(--muted-ink); }
.blog-more { text-align: right; font-size: 0.8rem; color: var(--muted-ink); }

/* ------------------------------ article extras ------------------------------ */
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.84rem; color: var(--muted-ink); margin-bottom: 12px; align-items: center; }
.post-meta span { background: #eaf6f5; color: var(--teal-deep); border-radius: 999px; padding: 1px 12px; font-weight: 700; }
.article-eyecatch { border-radius: 20px; overflow: hidden; margin: 18px 0; border: 1px solid var(--line); }
.article-eyecatch img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-content { font-size: 0.97rem; }
.article-content section { margin: 0 0 32px; }
.article-content h2 { font-size: 1.32rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.article-content h2::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
  transform: translateY(-2px);
}
.article-content h3 { font-size: 1.06rem; }
.article-content ul, .article-content ol { padding-left: 22px; }
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin-bottom: 28px; }
.share-box h2 { font-size: 1rem; margin: 0 0 10px; }
.share-links { display: flex; flex-wrap: wrap; gap: 10px; }
.share-links a { border: 2px solid var(--accent-2); border-radius: 999px; padding: 6px 18px; font-size: 0.86rem; font-weight: 700; color: var(--teal-deep); }
.share-links a:hover { background: #eaf6f5; color: var(--teal-deep); }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1023px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .page-grid, .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 28px 16px 42px; }
  .hero-figure { order: -1; }
  .hero-board { padding: 22px 20px 24px; border-width: 3px; border-radius: 24px; }
  .hero-figure::before { width: 62px; height: 62px; top: -10px; right: -4px; }
  .hero-figure::after { width: 48px; height: 48px; bottom: -10px; left: -6px; }
  .hero-dot-sm { width: 26px; height: 26px; bottom: 16px; right: 10px; }
  .article-content { padding-left: 16px; padding-right: 16px; }
  .page-grid, .blog-cards, .related-sites ul, .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .brand-text strong { font-size: 0.88rem; }
  .brand-text small { display: none; }
  .layer-list strong { min-width: 120px; }
  .intro-block { padding: 22px 18px; }
  .dot-row { padding: 20px 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* LATEST-COMMENTARY:START */
.latest-commentary {
  padding: 3rem 0;
}
/* .container を持たないサイトでも端に張り付かないための保険。
   :where() は詳細度0なので、サイト側の .container 定義が常に優先される。 */
:where(.latest-commentary .container) {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.latest-commentary h2 {
  margin-bottom: 1.25rem;
}
.latest-commentary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-commentary-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.latest-commentary-list time {
  flex: 0 0 auto;
  color: var(--muted, #666);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.latest-commentary-list a {
  flex: 1 1 16rem;
  min-width: 0;
  color: var(--ink, #222);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.latest-commentary-list a:hover {
  color: var(--accent, #0b5);
  text-decoration: underline;
}
.latest-commentary-more {
  margin-top: 1.25rem;
}
.latest-commentary-more a {
  color: var(--accent, #0b5);
  text-decoration: none;
  font-weight: 600;
}
.latest-commentary-more a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .latest-commentary-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
  /* 縦積み時に flex-basis(16rem) が高さに効かないよう auto に戻す */
  .latest-commentary-list a,
  .latest-commentary-list time {
    flex: 0 0 auto;
  }
}
/* LATEST-COMMENTARY:END */
