/* ==========================================================================
   都市型水族館・マイクロミュージアム運営レポート / urban-micro-aquarium
   デザイン: 深海水槽・コースティック光・都市の曲面・気泡
   ========================================================================== */
:root {
  --bg: #f1f9fa;
  --surface: #ffffff;
  --ink: #062b3a;
  --muted: #4b6a75;
  --accent: #14b8c4;
  --accent-2: #0a4a63;
  --accent-deep: #08707f;
  --glow: #8af5ea;
  --aqua-soft: #d9f2f1;
  --line: #cfe4e7;
  --footer-bg: #031620;
  --font-head: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::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.015em;
}

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: 44px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(1.9rem, 3.9vw, 3.4rem); line-height: 1.42; }
h2 { font-size: 1.62rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

.nowrap { white-space: nowrap; }

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

/* ------------------------------ header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #041d2a;
  color: #eafcfb;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #eafcfb;
  margin-right: auto;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #0d5b76, #062d3f);
  border: 1.5px solid var(--accent);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 0.98rem; font-family: var(--font-head); font-weight: 600; }
.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: rgba(210, 250, 250, 0.72);
  font-family: var(--font-mono);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(234, 252, 251, 0.4);
  border-radius: 6px;
  padding: 9px 10px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: #eafcfb; transition: transform 0.2s, opacity 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.84rem;
  white-space: nowrap;
  color: rgba(234, 252, 251, 0.86);
  border-radius: 4px;
}
.global-nav a:hover { color: #fff; background: rgba(20, 184, 196, 0.16); }
.global-nav a[aria-current="page"] { color: var(--glow); }
.global-nav a.is-compare { color: var(--glow); }
.no-scroll { overflow: hidden; }

@media (max-width: 1279px) {
  .menu-toggle { display: flex; }
  .global-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 62px;
    height: calc(100vh - 62px);
    background: #041d2a;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 16px 20px 36px;
    z-index: 25;
  }
  .global-nav.is-open { transform: translateX(0); box-shadow: -8px 0 28px rgba(0, 0, 0, 0.4); }
  .global-nav ul { flex-direction: column; }
  .global-nav a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid rgba(138, 245, 234, 0.16); }
}

/* ------------------------------ hero ------------------------------ */
.hero-block {
  position: relative;
  overflow: hidden;
  color: #eafcfb;
  background:
    radial-gradient(ellipse 70% 50% at 18% 12%, rgba(20, 184, 196, 0.26), transparent 62%),
    radial-gradient(ellipse 55% 45% at 88% 22%, rgba(138, 245, 234, 0.15), transparent 66%),
    linear-gradient(160deg, #06374c 0%, #041d2a 52%, #020f17 100%);
}
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(108deg, rgba(138, 245, 234, 0.07) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(74deg, rgba(20, 184, 196, 0.055) 0 2px, transparent 2px 64px);
  mix-blend-mode: screen;
}
.hero-block::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -54vw;
  width: 168vw;
  height: 62vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
  pointer-events: none;
}
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 78%, rgba(138, 245, 234, 0.30) 0 3px, transparent 4px),
    radial-gradient(circle at 15% 58%, rgba(138, 245, 234, 0.22) 0 5px, transparent 6px),
    radial-gradient(circle at 24% 88%, rgba(138, 245, 234, 0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 68%, rgba(138, 245, 234, 0.18) 0 4px, transparent 5px),
    radial-gradient(circle at 56% 82%, rgba(138, 245, 234, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 62%, rgba(138, 245, 234, 0.24) 0 5px, transparent 6px),
    radial-gradient(circle at 86% 84%, rgba(138, 245, 234, 0.20) 0 2px, transparent 3px),
    radial-gradient(circle at 94% 58%, rgba(138, 245, 234, 0.16) 0 4px, transparent 5px);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 22px 96px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--glow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero-block h1 { color: #f4ffff; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35); }
.hero-block h1 .glow-line {
  display: block;
  color: var(--glow);
  font-size: 0.62em;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.hero-lead { font-size: 1rem; color: rgba(226, 250, 250, 0.82); margin: 18px 0 24px; }
.hero-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-fill { background: var(--accent); color: #02222b; font-weight: 700; }
.btn-fill:hover { background: var(--glow); color: #02222b; }
.btn-line { border-color: rgba(138, 245, 234, 0.6); color: #eafcfb; }
.btn-line:hover { background: rgba(138, 245, 234, 0.14); color: #fff; }

.hero-figure { position: relative; }
.hero-tank {
  position: relative;
  border-radius: 150px 150px 18px 18px;
  padding: 9px;
  background: linear-gradient(155deg, rgba(138, 245, 234, 0.85), rgba(20, 184, 196, 0.25) 42%, rgba(4, 29, 42, 0.9));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hero-tank::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto 14px;
  height: 38%;
  border-radius: 130px 130px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 142px 142px 12px 12px;
}
.tank-plate {
  position: relative;
  z-index: 3;
  margin: -30px 22px 0;
  background: rgba(3, 24, 34, 0.94);
  border: 1px solid rgba(138, 245, 234, 0.5);
  border-radius: 10px;
  padding: 13px 16px 11px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(226, 250, 250, 0.8);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.tank-plate b { color: var(--glow); font-weight: 500; }

/* ------------------------------ page band (下層) ------------------------------ */
.page-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 88% 10%, rgba(20, 184, 196, 0.3), transparent 62%),
    linear-gradient(150deg, #06374c, #031a26 70%);
  color: #f1ffff;
  border-bottom: 3px solid var(--accent);
}
.page-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(106deg, rgba(138, 245, 234, 0.07) 0 2px, transparent 2px 54px);
}
.page-band .container { position: relative; padding-top: 40px; padding-bottom: 38px; }
.page-band .eyebrow { color: var(--glow); margin-bottom: 8px; }
.band-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  color: #f4ffff;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(138, 245, 234, 0.65);
}
.page-band .band-lead { margin: 14px 0 0; color: rgba(226, 250, 250, 0.82); max-width: 920px; font-size: 0.95rem; }

/* ------------------------------ index sections ------------------------------ */
.index-section { padding: 12px 0 26px; }
.intro-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 4px 4px 16px 16px;
  padding: 32px 34px;
  box-shadow: 0 18px 40px rgba(6, 43, 58, 0.06);
}
.intro-block h2 { margin-top: 0; }
.layer-list { list-style: none; counter-reset: layer; margin: 22px 0; padding: 0; }
.layer-list li {
  counter-increment: layer;
  display: flex;
  gap: 15px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.layer-list li::before {
  content: "0" counter(layer);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-deep);
  flex: none;
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.layer-list strong { flex: none; min-width: 168px; font-family: var(--font-head); font-weight: 600; }
.stance-title { font-size: 1.14rem; margin-top: 26px; }
.stance-list { list-style: none; padding: 0; margin: 14px 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: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--glow);
}
.after-list { margin-top: 18px; }

.waterline {
  height: 26px;
  max-width: 1140px;
  margin: 6px auto;
  background:
    radial-gradient(circle at 12px 13px, var(--accent) 0 4px, transparent 4.5px),
    radial-gradient(circle at 44px 13px, rgba(20, 184, 196, 0.45) 0 2.5px, transparent 3px),
    radial-gradient(circle at 66px 13px, var(--accent) 0 3px, transparent 3.5px);
  background-size: 96px 26px;
  background-repeat: repeat-x;
  opacity: 0.55;
  pointer-events: none;
}

.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px 4px 14px 14px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(6, 43, 58, 0.05);
}
.page-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 55%, var(--glow));
}
.page-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-deep);
  letter-spacing: 0.18em;
}
.page-card .icon {
  color: var(--accent-2);
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: var(--aqua-soft);
  box-sizing: content-box;
}
.page-card h3 { margin: 0; font-size: 1.03rem; line-height: 1.55; }
.page-card p { margin: 0; font-size: 0.89rem; color: var(--muted); }
.page-card .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--accent-2);
  border-radius: 3px;
  padding: 2px 8px;
  align-self: flex-start;
}
.page-card.is-compare {
  background: linear-gradient(150deg, #0a4a63, #04202e);
  border-color: #0a4a63;
  color: #f1ffff;
}
.page-card.is-compare::before { background: linear-gradient(90deg, var(--glow), var(--accent)); }
.page-card.is-compare .num { color: var(--glow); }
.page-card.is-compare h3 a, .page-card.is-compare p { color: #eafcfb; }
.page-card.is-compare .icon { color: var(--glow); background: rgba(138, 245, 234, 0.12); }
.page-card.is-compare .badge { background: var(--glow); color: #04202e; }

.latest-commentary {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.latest-commentary .container { padding-top: 26px; padding-bottom: 26px; }
.latest-commentary h2 { font-size: 1.3rem; }
.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 { font-family: var(--font-mono); color: var(--accent-deep); flex: none; }
.latest-commentary:not(:has(li)) { display: none; }

/* ------------------------------ layout ------------------------------ */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  padding-top: 40px;
  padding-bottom: 58px;
}
.article { min-width: 0; }
.article > section { margin-bottom: 42px; }
.updated {
  display: inline-block;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
h2.sec {
  border-left: 5px solid var(--accent);
  padding-left: 14px;
  margin-top: 34px;
}
h2.sec::after {
  content: "";
  display: block;
  height: 2px;
  width: 54px;
  background: linear-gradient(90deg, var(--accent), var(--glow));
  margin-top: 10px;
}
h3 { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.section-lead { color: var(--muted); }
.note, .source-note {
  font-size: 0.84rem;
  color: var(--muted);
  background: #e8f5f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}
.figure-frame {
  border-radius: 4px 4px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.figure-frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meter-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(138, 245, 234, 0.35);
  background: #04202e;
  color: #eafcfb;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.meter-strip b { color: var(--glow); font-weight: 500; }

/* ------------------------------ compare table ------------------------------ */
.scroll-hint { font-size: 0.8rem; color: var(--muted); margin: 0 0 8px; }

.table-card {
  background: linear-gradient(150deg, #0a4a63, #04202e);
  color: #eafcfb;
  border-radius: 4px 4px 14px 14px;
  padding: 22px 18px 16px;
  box-shadow: 0 18px 36px rgba(6, 43, 58, 0.18);
}
.table-card .table-note { color: #b7dfe1; font-size: 0.78rem; margin: 10px 0 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  border-collapse: collapse;
  min-width: 880px;
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.7;
}
.compare-table.wide { min-width: 1020px; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.compare-table thead th {
  background: #073b50;
  color: #f1ffff;
  font-weight: 500;
  font-size: 0.8rem;
  border-color: #0d536b;
}
.compare-table tbody tr:nth-child(even) td, .compare-table tbody tr:nth-child(even) th { background: #f3fbfb; }
.compare-table th[scope="row"] { font-weight: 500; background: #e8f5f5; min-width: 170px; }
.player-h { font-size: 1.14rem; }
.player-list { list-style: none; margin: 12px 0 0; padding: 0; }
.player-list li { padding: 5px 0 5px 20px; position: relative; }
.player-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ------------------------------ sidebar ------------------------------ */
.sidebar { min-width: 0; }
.sidebar nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-2);
  border-radius: 4px 4px 12px 12px;
  padding: 18px 18px 14px;
  margin-bottom: 20px;
}
.sidebar nav h2 {
  font-size: 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-weight: 700;
}
.sidebar nav ul, .sidebar nav ol { margin: 0; padding: 0 0 0 4px; list-style: none; }
.sidebar nav li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem; }
.sidebar nav li:last-child { border-bottom: none; }
.ad-slot {
  background: linear-gradient(150deg, #0a4a63, #04202e);
  color: #eafcfb;
  border-radius: 4px 4px 12px 12px;
  padding: 18px;
  margin-bottom: 20px;
}
.ad-slot span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.2em; color: var(--glow); }
.ad-slot strong { display: block; margin: 4px 0 6px; font-size: 1rem; font-family: var(--font-head); font-weight: 600; }
.ad-slot p { margin: 0 0 10px; font-size: 0.84rem; color: #c5e4e6; }
.ad-slot a {
  display: inline-block;
  background: var(--glow);
  color: #04202e;
  border-radius: 6px;
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 700;
}
.ad-slot a:hover { background: #fff; color: #04202e; }

/* ------------------------------ related ------------------------------ */
.related-sites { padding: 8px 0 18px; }
.related-sites h2 { font-size: 1.4rem; }
.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-left: 3px solid var(--accent);
  border-radius: 4px 10px 10px 4px;
  padding: 13px 16px;
}
.related-sites li a strong { display: block; font-size: 0.95rem; }
.related-sites li a span { font-size: 0.83rem; color: var(--muted); }
.related-sites li a:hover { border-left-color: var(--accent-2); background: #f7fdfd; }
.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-top: 3px solid var(--accent);
  border-radius: 4px 4px 12px 12px;
  padding: 14px 16px;
}
.related-grid h3 { border: none; padding: 0; margin: 0 0 6px; font-size: 1rem; }
.related-grid p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ------------------------------ disclaimer / footer ------------------------------ */
.site-disclaimer { background: #dff0f1; border-top: 1px solid var(--line); }
.site-disclaimer p { max-width: 1140px; margin: 0 auto; padding: 18px 22px; font-size: 0.82rem; color: #315460; }
.site-footer { background: var(--footer-bg); color: #dff0f1; position: relative; }
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background:
    radial-gradient(circle at 10px 2px, var(--accent) 0 3px, transparent 3.5px) 0 0 / 26px 5px repeat-x,
    linear-gradient(90deg, rgba(20, 184, 196, 0.35), rgba(138, 245, 234, 0.1));
}
.footer-grid { max-width: 1140px; margin: 0 auto; padding: 40px 22px 10px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-grid h2 { font-size: 1rem; color: #fff; border-left: 3px solid var(--accent); padding-left: 10px; font-family: var(--font-body); font-weight: 700; }
.footer-grid p { font-size: 0.86rem; color: #a9c9cf; }
.footer-grid nav { display: flex; flex-direction: column; }
.footer-grid nav a { padding: 6px 0; font-size: 0.88rem; color: #dff0f1; border-bottom: 1px dashed rgba(223, 240, 241, 0.14); }
.footer-grid nav a:hover { color: var(--glow); }
.footer-note { max-width: 1140px; margin: 0 auto; padding: 8px 22px 18px; font-size: 0.77rem; color: #89acb4; border-top: 1px solid rgba(223, 240, 241, 0.1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; max-width: 1140px; margin: 0 auto; padding: 6px 22px; font-size: 0.83rem; }
.footer-links a { color: #dff0f1; }
.footer-links a:hover { color: var(--glow); }
.copyright { text-align: center; padding: 14px 22px 22px; margin: 0; font-size: 0.76rem; color: #7c9aa2; font-family: var(--font-mono); }

/* ------------------------------ blog ------------------------------ */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px 4px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 24px rgba(6, 43, 58, 0.05);
}
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: 2;
}
.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-family: var(--font-mono); font-size: 0.74rem; color: var(--accent-deep); }
.blog-card h2, .blog-card h3 { margin: 0; font-size: 1.05rem; }
.blog-card p { margin: 0; font-size: 0.87rem; color: var(--muted); }

/* ------------------------------ article extras ------------------------------ */
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.84rem; color: var(--muted); margin-bottom: 12px; }
.post-meta span { border: 1px solid var(--line); border-radius: 3px; padding: 1px 10px; background: var(--surface); }
.article-eyecatch { border: 1px solid var(--line); border-radius: 4px 4px 14px 14px; overflow: hidden; margin: 18px 0; }
.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 34px; }
.article-content h2 { font-size: 1.4rem; border-left: 5px solid var(--accent); padding-left: 12px; }
.article-content h3 { font-size: 1.08rem; }
.article-content ul, .article-content ol { padding-left: 22px; }
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: 4px 4px 12px 12px; padding: 16px 18px; margin-bottom: 28px; }
.share-box h2 { font-size: 1.05rem; margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; }
.share-links { display: flex; gap: 12px; flex-wrap: wrap; }
.share-links a { border: 1px solid var(--accent-2); border-radius: 5px; padding: 6px 16px; font-size: 0.85rem; }
.share-links a:hover { background: var(--accent-2); color: #fff; }

/* ------------------------------ 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; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 16px 64px; }
  .hero-figure { order: -1; }
  .hero-tank { border-radius: 90px 90px 14px 14px; }
  .hero-image { border-radius: 84px 84px 8px 8px; }
  .tank-plate { margin: -24px 10px 0; }
  .hero-block::after { bottom: -74vw; width: 190vw; height: 76vw; }
  .intro-block { padding: 24px 20px; }
  .layer-list li { flex-wrap: wrap; gap: 8px 12px; }
  .layer-list strong { min-width: auto; }
  .page-grid, .blog-cards, .related-sites ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.6rem, 5.6vw, 2.2rem); }
  .brand-text strong { font-size: 0.86rem; }
  .brand-text small { display: none; }
  .page-band .container { padding-top: 30px; padding-bottom: 28px; }
  .band-title { font-size: 1.35rem; }
}
@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 */
