/* 藤東クリニック インサイト — 光の窓（ガラス越しに、動画とデータを見る）
   医院の建築（弧を描くガラスの壁・格子・間接照明）を画面の骨組みにする。主役は「動画の窓」。
   健康ガイド（beauty・光庭）と同じ家族の色と形。時間や季節で色は変えない。 */

:root {
  color-scheme: light;
  /* 文字と面 */
  --ink: #17201b;
  --ink-soft: #55615a;
  --paper: #ffffff;
  --wash: #f4f7f5;
  /* 緑はやさしく使う（fujito-brand）: 医院の緑 #359267 はロゴと小さな印だけ。
     線・点はやわらかい緑、塗りは淡い緑、文字だけ少し濃い緑。濃い緑で面やボタンを塗らない */
  --brand: #359267;
  --brand-soft: #7dbc9c;
  --brand-dark: #277552;
  --tint: #e8f4ed;
  --tint-soft: #f4f9f6;
  --tint-line: #bcdccb;
  --ghost: #f1f4f1;
  --line: #dce1dd;
  --line-strong: #b9c4bd;
  --caution: #a43a3a;
  --caution-tint: #fbf1ef;
  /* ガラス */
  --glass: rgb(255 255 255 / 0.82);
  --glass-strong: rgb(255 255 255 / 0.92);
  --glass-edge: rgb(23 32 27 / 0.1);
  --mullion: rgb(23 32 27 / 0.16);
  --shadow: 0 22px 44px -28px rgb(23 32 27 / 0.28);
  --shadow-deep: 0 34px 60px -34px rgb(23 32 27 / 0.36);
  /* 光（杏色。あたたかさは光として、hover にだけ） */
  --mark: rgb(255 223 168 / 0.6);
  --sun: #fff2d2;
  --sky: #dfeee6;
  /* 文字・寸法 */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --mincho-text: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --gothic: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --measure: 720px;
  --band: clamp(72px, 10vh, 88px);
  --arc: clamp(22px, 3.6vw, 52px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-dark); text-underline-offset: 4px; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand-dark); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- ヘッダー（すりガラス） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px var(--gutter);
  background: rgb(255 255 255 / 0.74);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--glass-edge);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { flex: none; width: 30px; height: 30px; fill: var(--brand); }
.brand-name { font-family: var(--mincho); font-weight: 500; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: 0.12em; line-height: 1.4; }
.brand-name span { display: inline-block; }
.brand-name span + span { margin-left: 0.5em; }
.nav-wide ul, .nav-narrow ul { display: flex; gap: clamp(18px, 2.4vw, 34px); margin: 0; padding: 0; list-style: none; }
.nav-wide a { position: relative; display: block; padding: 10px 0; color: var(--ink-soft); font-size: 14px; letter-spacing: 0.1em; text-decoration: none; transition: color 0.3s; }
.nav-wide a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brand-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-wide a:hover, .nav-wide a[aria-current="page"] { color: var(--brand-dark); }
.nav-wide a:hover::after, .nav-wide a[aria-current="page"]::after { transform: scaleX(1); }
.nav-narrow { display: none; position: relative; }
.nav-narrow summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; border: 1px solid var(--glass-edge); border-radius: 12px; background: var(--glass-strong); }
.nav-narrow summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-narrow[open] .bars { background: transparent; }
.nav-narrow[open] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-narrow[open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-narrow nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; background: rgb(255 255 255 / 0.97); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-narrow ul { flex-direction: column; gap: 0; }
.nav-narrow a { display: block; padding: 13px 16px; color: var(--ink); font-size: 15px; letter-spacing: 0.08em; text-decoration: none; border-radius: 10px; }
.nav-narrow a:hover, .nav-narrow a[aria-current="page"] { background: var(--tint); color: var(--brand-dark); }

/* ---------- ボタン・札 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; background: var(--tint); color: var(--brand-dark); border: 1px solid var(--tint-line); border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-decoration: none; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.btn:hover { background: #dcefe4; border-color: var(--brand-soft); box-shadow: 0 10px 24px -16px rgb(39 117 82 / 0.5); }
.btn-quiet { background: var(--paper); font-weight: 400; border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--tint-soft); box-shadow: none; }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: block; padding: 4px 14px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 13px; letter-spacing: 0.08em; text-decoration: none; transition: background 0.3s, border-color 0.3s; }
.chips a:hover { background: #dcefe4; border-color: var(--brand-soft); }
.card-no { font-family: var(--mincho); font-weight: 500; color: var(--brand-dark); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 再生の印（小）: カードの絵の左下 */
.play-mark { position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; background: rgb(255 255 255 / 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23277552' d='M9 6.4v11.2a.5.5 0 0 0 .77.42l8.6-5.6a.5.5 0 0 0 0-.84l-8.6-5.6A.5.5 0 0 0 9 6.4Z'/%3E%3C/svg%3E") center / 16px no-repeat; border: 1px solid rgb(255 255 255 / 0.9); border-radius: 50%; box-shadow: 0 6px 14px -8px rgb(23 32 27 / 0.5); transition: transform 0.5s var(--ease); }
a:hover .play-mark { transform: scale(1.12); }
/* 再生の印（大）: 動画の窓のまん中 */
.player-button { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(60px, 7vw, 84px); height: clamp(60px, 7vw, 84px); margin: calc(clamp(60px, 7vw, 84px) / -2); background: rgb(255 255 255 / 0.88); border: 1px solid rgb(255 255 255 / 0.95); border-radius: 50%; box-shadow: 0 18px 36px -18px rgb(23 32 27 / 0.55), 0 0 0 0 var(--mark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s; }
.player-button svg { width: 44%; height: 44%; margin-left: 6%; fill: var(--brand-dark); }
a:hover .player-button, a:focus-visible .player-button { transform: scale(1.08); background: #fff; box-shadow: 0 18px 36px -18px rgb(23 32 27 / 0.55), 0 0 0 12px var(--mark); }

/* ---------- 上の段: ガラスの壁と、最新の動画の窓 ---------- */
.stage { position: relative; padding: clamp(18px, 3vw, 40px) var(--gutter) clamp(28px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.stage-light { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky) 0%, #f3f8f5 48%, var(--paper) 100%); overflow: hidden; }
.stage-light::before, .stage-light::after { content: ""; position: absolute; border-radius: 50%; will-change: transform; }
.stage-light::before { right: -18vmax; top: -30vmax; width: 76vmax; height: 76vmax; background: radial-gradient(closest-side, var(--sun) 0%, rgb(255 255 255 / 0) 70%); animation: drift-a 90s ease-in-out infinite alternate; }
.stage-light::after { left: -20vmax; top: 10%; width: 60vmax; height: 40vmax; background: radial-gradient(closest-side, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0)); animation: drift-b 120s ease-in-out infinite alternate; }
.is-offscreen .stage-light::before, .is-offscreen .stage-light::after { animation-play-state: paused; }
@keyframes drift-a { to { transform: translate3d(-4vw, 3vh, 0); } }
@keyframes drift-b { to { transform: translate3d(8vw, -2vh, 0); } }

.stage-wall {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  grid-template-rows: minmax(0, 1fr) var(--band) auto;
  grid-template-areas: "title screen" "search screen" "strip strip";
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--mullion);
  border-left: 1px solid var(--mullion);
  border-radius: 0 var(--arc) 0 0;
  box-shadow: var(--shadow);
}
.stage-wall > * { position: relative; min-width: 0; min-height: 0; border-right: 1px solid var(--mullion); border-bottom: 1px solid var(--mullion); }
.pane { background: var(--glass); }

.pane-title { grid-area: title; container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(22px, 3vw, 44px); background: var(--glass-strong); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.2em; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--brand-soft); }
.hero-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 3.2vw, 42px); font-size: clamp(24px, 8.4cqi, 48px); line-height: 1.6; letter-spacing: 0.06em; }
.hero-title span { display: block; white-space: nowrap; }
.hero-lead { max-width: 28em; color: var(--ink-soft); font-size: clamp(14px, 1.2vw, 15.5px); line-height: 2; }
.facts { display: flex; flex-wrap: wrap; gap: 6px clamp(20px, 3vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: row-reverse; align-items: baseline; gap: 8px; }
.facts dd { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.facts dt { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.16em; }

.screen { grid-area: screen; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); text-decoration: none; border-top-right-radius: calc(var(--arc) - 1px); overflow: hidden; }
.screen-img { position: relative; flex: 1; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ghost); }
.screen-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.screen:hover .screen-img img { transform: scale(1.03); }
.screen-band { position: relative; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: var(--band); padding: 14px clamp(16px, 2vw, 28px) 16px; background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--mullion); }
.screen-band::after, .win-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--mark), rgb(255 223 168 / 0)); opacity: 0; pointer-events: none; transition: opacity 0.6s; }
.screen:hover .screen-band::after, .win:hover .win-band::after { opacity: 0.85; }
.screen-band > *, .win-band > * { position: relative; z-index: 1; }
.screen-meta, .win-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--ink-soft); font-size: 12.5px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.screen-label { padding: 1px 12px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 12px; letter-spacing: 0.14em; }
.screen-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: var(--mincho-text); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; line-height: 1.65; letter-spacing: 0.04em; }

.pane-search { grid-area: search; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 0 clamp(18px, 2.4vw, 32px); background: rgb(255 255 255 / 0.95); }
.pane-search > label { flex: none; color: var(--brand-dark); font-size: 13px; letter-spacing: 0.16em; }
.pane-search input { flex: 1; min-width: 0; height: 48px; padding: 0 4px; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); font: inherit; font-size: 16px; }
.pane-search input::placeholder { color: #6b766f; }
.pane-search input:focus { outline: none; border-bottom-color: var(--brand-dark); box-shadow: 0 1px 0 var(--brand-dark); }
.pane-search button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 50%; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.pane-search button:hover { background: #dcefe4; border-color: var(--brand-soft); }
.pane-search button svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-dark); stroke-width: 1.8; stroke-linecap: round; }
.suggest { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); z-index: 20; padding: 8px; background: rgb(255 255 255 / 0.97); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.suggest a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 8px; color: var(--ink); font-size: 14px; line-height: 1.6; text-decoration: none; border-radius: 10px; }
.suggest a:hover, .suggest a:focus-visible { background: var(--tint); }
.suggest img { width: 72px; height: 41px; object-fit: cover; border-radius: 6px; }
.suggest p { padding: 10px 12px; color: var(--ink-soft); font-size: 14px; }
.suggest .suggest-all { display: block; padding: 10px 12px; color: var(--brand-dark); }

/* つづけて見る: 格子の窓 */
.strip { grid-area: strip; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); }
.win { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; overflow: hidden; }
.win + .win { border-left: 1px solid var(--mullion); }
.win-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ghost); }
.win-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.win:hover .win-img img { transform: scale(1.04); }
.win-band { position: relative; flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px clamp(12px, 1.4vw, 20px) 16px; background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--mullion); }
.win-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: clamp(13px, 1.05vw, 14.5px); line-height: 1.65; }

.words { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; max-width: var(--max); margin: clamp(16px, 2vw, 24px) auto 0; }
.words-label { margin-right: 6px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.16em; }
.words a { padding: 5px 15px; background: #fff; border: 1px solid var(--glass-edge); border-radius: 999px; color: var(--ink); font-size: 14px; text-decoration: none; transition: background 0.3s, border-color 0.3s; }
.words a:hover { background: var(--tint); border-color: var(--brand-soft); }
.words .words-more { margin-left: auto; padding: 5px 4px; background: none; border: 0; border-radius: 0; color: var(--brand-dark); letter-spacing: 0.1em; }
.words .words-more:hover { background: none; text-decoration: underline; }
.words-more span { display: inline-block; margin-left: 10px; transition: transform 0.4s var(--ease); }
.words-more:hover span { transform: translateX(6px); }

/* ---------- 節の共通 ---------- */
.sec { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; max-width: var(--max); margin: 0 auto clamp(32px, 4vw, 56px); }
.sec-kicker { width: 100%; color: var(--brand-dark); font-size: 13px; letter-spacing: 0.22em; }
.sec-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(25px, 3vw, 38px); line-height: 1.55; letter-spacing: 0.1em; }
.sec-title span { display: block; }
.sec-lead { color: var(--ink-soft); font-size: 15px; }
.sec-more a { font-size: 14px; letter-spacing: 0.08em; text-decoration: none; }
.sec-more a span { display: inline-block; margin-left: 8px; transition: transform 0.4s var(--ease); }
.sec-more a:hover span { transform: translateX(6px); }

/* ---------- カード（窓） ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); max-width: var(--max); margin: 0 auto; }
.card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px; background: var(--paper); border: 1px solid var(--glass-edge); border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.card a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, var(--mark), rgb(255 223 168 / 0)); opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.card a:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card a:hover::after { opacity: 0.7; }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ghost); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { position: relative; z-index: 1; padding: 14px 10px 12px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.card-meta .card-no { font-size: 13px; }
.card-theme { color: var(--brand-dark); }
.card-title { margin-top: 6px; font-size: 15.5px; font-weight: 600; line-height: 1.7; letter-spacing: 0.03em; }
.card-excerpt { margin-top: 6px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; }

/* ---------- テーマ（窓の格子） ---------- */
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--mullion); border-left: 1px solid var(--mullion); }
.themes li { border-right: 1px solid var(--mullion); border-bottom: 1px solid var(--mullion); }
.themes a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); height: 100%; color: var(--ink); text-decoration: none; transition: background 0.5s; }
.theme-img { display: block; min-height: 148px; overflow: hidden; background: var(--ghost); border-right: 1px solid var(--mullion); }
.theme-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.themes a:hover .theme-img img { transform: scale(1.05); }
.theme-body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 1.5vw, 20px); overflow: hidden; }
.theme-body::after { content: ""; position: absolute; inset: auto 0 0 0; height: 80%; background: linear-gradient(to top, var(--mark), rgb(255 223 168 / 0)); opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.themes a:hover { background: var(--tint-soft); }
.themes a:hover .theme-body::after { opacity: 0.8; }
.theme-body > * { position: relative; z-index: 1; }
.theme-name { font-family: var(--mincho); font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: 0.08em; line-height: 1.5; text-wrap: balance; }
.theme-lead { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.theme-count { margin-top: auto; padding-top: 6px; color: var(--brand-dark); font-size: 12px; letter-spacing: 0.16em; }

/* ---------- 年ごとにたどる（一本の線の上に、年が並ぶ） ---------- */
.years-sec { background: var(--wash); }
.years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.year { position: relative; display: flex; flex-direction: column; padding: 30px clamp(14px, 2vw, 28px) 6px 0; }
.year::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--brand-soft); border-radius: 50%; transition: background 0.4s, box-shadow 0.4s; }
.year:hover::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 7px var(--mark); }
.year-head { display: block; color: var(--ink); text-decoration: none; }
.year-num { display: block; font-family: var(--mincho); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.15; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.year-head:hover .year-num { color: var(--brand-dark); }
.year-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 6px; color: var(--brand-dark); font-size: 14px; letter-spacing: 0.14em; }
.year-range { color: var(--ink-soft); font-family: var(--mincho); font-size: 13px; letter-spacing: 0.06em; }
.year-list { flex: 1; margin: 20px 0 0; padding: 0; list-style: none; }
.year-list li { border-top: 1px solid var(--line); }
.year-list a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 12px 0; color: var(--ink); font-size: 13.5px; line-height: 1.7; text-decoration: none; }
.year-list a:hover { color: var(--brand-dark); text-decoration: underline; }
.year-list .card-no { margin-right: 10px; font-size: 13px; }
.year-more { padding-top: 14px; border-top: 1px solid var(--line); }
.year-more a { font-size: 13.5px; letter-spacing: 0.06em; text-decoration: none; }
.year-more a:hover { text-decoration: underline; }
.year-more span { display: inline-block; margin-left: 8px; transition: transform 0.4s var(--ease); }
.year-more a:hover span { transform: translateX(6px); }

/* ---------- このサイトと藤東クリニック ---------- */
.about { background: var(--wash); }
.about-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; }
.about-photos { position: relative; padding: 0 0 clamp(48px, 7vw, 96px) 0; }
.frame { padding: 8px; background: var(--paper); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.frame img { display: block; width: 100%; height: auto; border-radius: 8px; }
.frame-1 { width: 86%; border-radius: var(--radius) var(--arc) var(--radius) var(--radius); }
.frame-1 img { border-radius: 8px calc(var(--arc) - 8px) 8px 8px; }
.frame-2 { position: absolute; right: 0; bottom: 0; width: 52%; }
.about-text > * + * { margin-top: 20px; }
.about-text .sec-title { margin-top: 10px; }
.about-links, .sign-links { display: flex; flex-wrap: wrap; gap: 12px; }
.lost-links { margin-top: 28px; }

/* ---------- フッター ---------- */
.site-footer { padding: clamp(48px, 6vw, 80px) var(--gutter) 40px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(32px, 6vw, 96px); align-items: start; max-width: var(--max); margin: 0 auto; }
.footer-logo { display: block; width: clamp(170px, 18vw, 220px); color: var(--brand); }
.footer-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.footer-addr { color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; grid-column: 1; }
.footer-nav { grid-column: 2; grid-row: 1 / 3; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; }
.footer-nav a { padding: 8px 0; color: var(--ink); font-size: 14px; letter-spacing: 0.06em; text-decoration: none; }
.footer-nav a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; letter-spacing: 0.16em; }

/* ---------- 一覧・検索 ---------- */
.listing-sec { min-height: 60vh; background: linear-gradient(180deg, var(--wash), var(--paper) 420px); }
.listing-sec .sec-head { display: block; }
.listing-sec .sec-title { margin-top: 6px; }
.listing-sec .sec-lead { margin-top: 10px; }
.list-lead { max-width: 40em; margin-top: 14px !important; }
/* 文章のページ（プライバシーポリシー）: 題も本文と同じ幅で中央に */
.page-sec .sec-head { max-width: var(--measure); }
.page-sec .post-layout { margin-top: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tabs a, .tabs span { padding: 5px 16px; border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; letter-spacing: 0.06em; text-decoration: none; font-variant-numeric: tabular-nums; transition: background 0.3s, border-color 0.3s; }
.tabs a:hover { background: var(--tint); border-color: var(--brand-soft); }
.tabs [aria-current] { background: var(--tint); border-color: var(--tint-line); color: var(--brand-dark); font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.pager a:hover { background: var(--tint); border-color: var(--brand-soft); }
.pager [aria-current] { background: var(--tint); border-color: var(--tint-line); color: var(--brand-dark); font-weight: 700; }
.search-form { display: flex; gap: 10px; max-width: 620px; margin-top: 24px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font: inherit; font-size: 16px; }
.search-form input:focus { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.search-form button { height: 52px; padding: 0 28px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.12em; cursor: pointer; }
.search-form button:hover { background: #dcefe4; border-color: var(--brand-soft); }
.search-status { min-height: 1.85em; margin-top: 16px; color: var(--ink-soft); font-size: 14px; }

/* ---------- 動画のページ ---------- */
.post { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(64px, 8vw, 112px); background: linear-gradient(180deg, var(--wash), var(--paper) 620px); }
.post-head { max-width: 980px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.08em; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brand-dark); text-decoration: underline; }
.post-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: clamp(20px, 2.6vw, 30px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; color: var(--ink-soft); font-size: 13px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.post-no { font-family: var(--mincho); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); color: var(--brand-dark); letter-spacing: 0.08em; line-height: 1.2; }
.post-title { margin-top: 12px; font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.6; letter-spacing: 0.06em; }

/* 動画の窓: 右上に弧のあるガラスの窓。押すまで YouTube につながない */
.player { position: relative; margin-top: clamp(16px, 2vw, 24px); padding: 8px; background: var(--paper); border: 1px solid var(--glass-edge); border-radius: var(--radius) var(--arc) var(--radius) var(--radius); box-shadow: var(--shadow-deep); }
.player-poster, .player-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px calc(var(--arc) - 8px) 8px 8px; overflow: hidden; background: #0f1512; }
.player-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.5s; }
.player-poster:hover img { transform: scale(1.02); }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post-layout { max-width: var(--measure); margin: clamp(40px, 5vw, 72px) auto 0; }
.post-lead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(22px, 3vw, 32px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.post-lead-title { display: flex; align-items: center; gap: 12px; font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: 0.16em; }
.post-lead-title::before { content: ""; width: 28px; height: 1px; background: var(--brand-soft); }

.toc { margin-bottom: clamp(32px, 4vw, 48px); padding: 6px 22px; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: inset 0 1px 0 #fff; }
.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-family: var(--mincho-text); font-size: 16px; letter-spacing: 0.2em; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--brand-dark); border-bottom: 1.5px solid var(--brand-dark); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.3s var(--ease); }
.toc[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.toc-list { max-height: 44vh; margin: 0 0 14px; padding: 12px 0 0 1.5em; border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; font-size: 14px; line-height: 1.7; }
.toc-list ol { margin: 0; padding: 0 0 4px 1.2em; list-style: none; font-size: 13px; }
.toc-list li::marker { color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.toc-list a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.toc-list ol a { padding: 4px 0; color: var(--ink-soft); }
.toc-list a:hover { color: var(--brand-dark); text-decoration: underline; }

.prose { font-size: 17px; line-height: 2; letter-spacing: 0.035em; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { position: relative; margin: 3.4em 0 0; padding-top: 28px; font-family: var(--mincho-text); font-weight: 600; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.65; letter-spacing: 0.06em; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 2px; background: var(--brand-soft); }
.prose h2::after { content: ""; position: absolute; left: 64px; right: 0; top: 0.5px; height: 1px; background: var(--line); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { position: relative; margin: 2.6em 0 0; padding-left: 22px; font-size: clamp(18px, 2vw, 20.5px); font-weight: 700; line-height: 1.75; letter-spacing: 0.04em; }
.prose h3::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; background: var(--brand-soft); border-radius: 2.5px; }
.prose h4 { margin: 2.2em 0 0; color: var(--brand-dark); font-size: 17px; font-weight: 700; line-height: 1.8; }
.prose h5 { margin: 2em 0 0; font-size: 16px; font-weight: 700; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 1em; }
.prose strong, .prose b { font-weight: 700; }
.prose p strong, .prose li strong { background: linear-gradient(transparent 68%, var(--mark) 68%); }
.prose a { color: var(--brand-dark); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand-soft); }
.prose ol > li::marker { color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brand-soft); color: var(--ink-soft); }
.prose blockquote > * + * { margin-top: 0.8em; }
.prose hr { height: 1px; border: 0; background: var(--line); }

/* 表: 横に送れる枠 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--tint); color: var(--brand-dark); font-weight: 700; }
.prose thead th { white-space: nowrap; }
.prose tr:last-child > td, .prose tr:last-child > th { border-bottom: 0; }
.prose td + td, .prose th + th, .prose th + td { border-left: 1px solid var(--line); }

/* THE THOR の囲み（公式サイトのときの印をそのまま使う） */
.prose .ep-box, .prose .ep-inbox { position: relative; padding: 22px 26px; border-radius: var(--radius); }
.prose .ep-box > :first-child, .prose .ep-inbox > :first-child { margin-top: 0; }
.prose .ep-box > * + *, .prose .ep-inbox > * + * { margin-top: 1em; }
.prose .ep-inbox { background: var(--tint-soft); border: 1px solid var(--tint-line); }
.prose .ep-box { background: var(--paper); border: 1px solid var(--line); }
.prose .ep-box.brc-Lblue, .prose .ep-inbox.brc-Lblue { border: 1.5px solid var(--brand-soft); background: var(--paper); }
.prose .ep-box.brc-DPred, .prose .ep-box.brc-Vred, .prose .ep-inbox.brc-DPred, .prose .ep-inbox.brc-Vred { border: 1.5px solid #dba9a2; background: var(--caution-tint); }
.prose .ep-box[title], .prose .ep-inbox[title] { margin-top: calc(1.5em + 16px); padding-top: 34px; }
.prose .ep-box[title]::before, .prose .ep-inbox[title]::before { content: attr(title); position: absolute; left: 20px; top: -16px; max-width: calc(100% - 40px); padding: 3px 16px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.8; }
.prose .ep-inbox ul, .prose .ep-inbox ol, .prose .ep-box ul, .prose .ep-box ol { margin-top: 0; margin-bottom: 0; }
.prose .ep-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 26px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 999px; color: var(--brand-dark); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; }
.prose .ep-btn::after { content: "→"; }
.prose a:has(.ep-btn) { text-decoration: none; }
.prose .doctor-comment { padding: 20px 24px; background: var(--paper); border: 1px solid var(--tint-line); border-left: 3px solid var(--brand-soft); border-radius: 4px var(--radius) var(--radius) 4px; }
.prose .doctor-comment > * + * { margin-top: 0.6em; }
.prose .doctor-comment > p:first-child { color: var(--brand-dark); font-size: 14px; letter-spacing: 0.12em; }

/* 図（Mermaid）: 明るい紙にそのまま */
.prose pre.mermaid { margin: 0; background: none; font-family: var(--gothic); white-space: pre-wrap; color: transparent; }
.prose pre.mermaid[data-processed] { color: inherit; }
.prose pre.mermaid svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.prose .ep-box.has-figure, .prose .ep-inbox.has-figure { padding: 24px 14px; background: var(--paper); border: 1px solid var(--line); text-align: center; overflow-x: auto; }
.prose .mermaid-hint { margin-top: 0.6em !important; color: var(--ink-soft); font-size: 12.5px; text-align: center; letter-spacing: 0.08em; }

/* 藤東クリニックより・前後・同じテーマ */
.sign { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; max-width: var(--measure); margin: clamp(56px, 7vw, 88px) auto 0; padding: clamp(22px, 3vw, 34px); background: linear-gradient(to top, var(--mark), rgb(255 223 168 / 0) 60%), var(--paper); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow); }
.sign-mark { width: 44px; height: 44px; fill: var(--brand); }
.sign-title { font-family: var(--mincho); font-weight: 500; font-size: 19px; letter-spacing: 0.14em; }
.sign-text p { margin-top: 4px; color: var(--ink-soft); font-size: 14.5px; }
.sign-links { grid-column: 1 / -1; }
.neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; border-top: 1px solid var(--mullion); border-bottom: 1px solid var(--mullion); }
.neighbor { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px clamp(8px, 1.6vw, 20px) 18px 0; color: var(--ink); text-decoration: none; transition: background 0.4s; }
.neighbor + .neighbor { padding: 18px 0 18px clamp(8px, 1.6vw, 20px); border-left: 1px solid var(--mullion); }
.neighbor-next { grid-template-columns: minmax(0, 1fr) minmax(0, 132px); text-align: right; }
.neighbor-next .neighbor-img { order: 2; }
.neighbor-img { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ghost); }
.neighbor-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.neighbor-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.neighbor-label { color: var(--ink-soft); font-size: 12.5px; letter-spacing: 0.16em; }
.neighbor-no { margin-left: 12px; font-family: var(--mincho); color: var(--brand-dark); letter-spacing: 0.08em; }
.neighbor-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.65; }
a.neighbor:hover { background: var(--tint-soft); }
a.neighbor:hover .neighbor-title { color: var(--brand-dark); }
.neighbor-all, .neighbor-all.neighbor-next { grid-template-columns: minmax(0, 1fr); }
.neighbor-all .neighbor-title { color: var(--brand-dark); font-weight: 400; letter-spacing: 0.08em; }
.neighbor-all .neighbor-title span { display: inline-block; margin-left: 8px; transition: transform 0.4s var(--ease); }
.neighbor-all:hover .neighbor-title span { transform: translateX(6px); }
.related { max-width: var(--max); margin: clamp(64px, 8vw, 104px) auto 0; }
.related .sec-title { margin-bottom: 28px; font-size: clamp(22px, 2.4vw, 30px); }

/* ---------- 現れ方（スクロール連動。非対応・JS なしでは最初から見えている） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sec-head, .cards > .card, .themes > li, .years > .year, .about-photos, .about-text { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
  ::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; }
::view-transition-old(root), ::view-transition-new(root) { height: auto; object-fit: none; }

/* ---------- 画面の幅 ---------- */
/* 広い画面では、図の枠だけ本文より広く取る（動画の窓と同じ幅まで。横に長い図が縮みすぎないように） */
@media (min-width: 1100px) {
  .prose .ep-box.has-figure, .prose .ep-inbox.has-figure { margin-left: -130px; margin-right: -130px; }
}
@media (max-width: 1040px) {
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .years { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .year { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 900px) {
  .nav-wide { display: none; }
  .nav-narrow { display: block; }
  .stage-wall { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "title" "screen" "search" "strip"; }
  .pane-title { min-height: min(46vh, 380px); border-top-right-radius: calc(var(--arc) - 1px); }
  .screen { border-radius: 0; }
  .pane-search { height: var(--band); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .win:nth-child(odd) { border-left: 0; }
  .win:nth-child(n + 3) { border-top: 1px solid var(--mullion); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-body { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-nav { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .site-header { min-height: 60px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 14px; letter-spacing: 0.08em; }
  .pane-search > label { display: none; }
  .words-label { width: 100%; }
  .words .words-more { width: 100%; margin: 6px 0 0; padding: 8px 0; }
  .themes { grid-template-columns: 1fr; }
  .theme-img { min-height: 118px; }
  .years { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card a { flex-direction: row; align-items: center; gap: 4px; padding: 8px; }
  .card-img { flex: 0 0 38%; }
  .card-img .play-mark { left: 6px; bottom: 6px; width: 24px; height: 24px; background-size: 13px; }
  .card-body { padding: 4px 8px; }
  .card-title { font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .player { padding: 5px; }
  .post-bar .btn { width: auto; }
  .neighbors { grid-template-columns: 1fr; }
  .neighbor + .neighbor { padding-left: 0; border-left: 0; border-top: 1px solid var(--mullion); }
  .neighbor, .neighbor-next { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); text-align: left; }
  .neighbor-next .neighbor-img { order: 0; }
  .prose { font-size: 16px; line-height: 1.95; }
  .prose .ep-box, .prose .ep-inbox { padding: 18px 18px; }
  .sign { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

/* ---------- 透明・動きを減らす設定 ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgb(255 255 255 / 0.96); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pane, .pane-title, .pane-search, .screen-band, .win-band { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .stage-light, .toc, .sign, .related, .neighbors, .post-bar .btn { display: none; }
  body { font-size: 11pt; }
}
