@charset "UTF-8";
/* ==========================================================================
   緋色の研究  v6  style.css
   方向：青・白・黒。幾何学図形（円・半円・三角・四角・線）と記事の写真が、スクロールとともに絡み合う。読む場所は白く静かに。
         図形はすべてコードで描く（素材画像なし）。本文の赤字は持ち主のものなので、そのまま。文字は極太ゴシックを大きく、余白を広く。
   目次
     1. 変数・土台          2. ヘッダー
     3. トップの舞台（stage：図形と写真の4場面）・ほかのページの図形（geo）・しぼり込み   4. 流れる写真の帯（reel）
     5. 記事の一覧（feed）・ページ送り   6. 一覧ページの題
     7. 記事ページの外側    8. 記事本文（.entry-content）★
     9. 前後の記事・関連記事・コメント   10. フッター
    11. 404   12. 出現アニメーション   13. 動きを減らす設定・印刷
   ========================================================================== */

/* 1. 変数・土台 ----------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --blue: #1b2d64;           /* 第7版：紺（もとは青 #1537c4） */
  --gold: #f4a20c;           /* 第7版：差し色の山吹色 */
  --white: #ffffff;
  --ink: #0d0d10;
  --night: #0b0b0f;          /* 暗い面 */
  --mute: #7c7f8a;
  --mute-on-dark: #9a9aa3;
  --line: #e3e5ec;
  --line-on-dark: rgba(255, 255, 255, .16);
  --hi: #1b2d64;             /* 第4版までは緋色。第5版は青（部品の差し色） */
  --hi-deep: #1b2d64;

  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --pad: clamp(20px, 5vw, 72px);    /* 画面の左右の余白 */
  --w-read: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; line-break: strict;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: bottom; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; }
::selection { background: var(--hi); color: #fff; }

.wrap { padding-inline: var(--pad); }
.read { width: min(100% - 40px, var(--w-read)); margin-inline: auto; }
.num { font-feature-settings: "tnum"; letter-spacing: .04em; }

/* 2. ヘッダー ------------------------------------------------------------- */
.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--pad);
}
.is-dark-top .site-header { color: #fff; }
.brand-wrap { font-size: inherit; line-height: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: inherit; font-weight: inherit; }
.brand::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--hi); flex: none; }
.brand__name { font-weight: 900; font-size: 19px; letter-spacing: .14em; line-height: 1; white-space: nowrap; }
.brand__kana { font-size: 10px; font-weight: 500; letter-spacing: .3em; opacity: .65; white-space: nowrap; }
.site-nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.site-nav a { position: relative; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* 3. トップの舞台（stage） -------------------------------------------------- */
/* 青・白・黒の幾何学図形（円・半円・三角・四分円・四角・枠・線）と、記事の写真13枚が、
   スクロールに合わせて 4つの場面（散らばり → 織り目 → 格子 → カテゴリー）へ移っていく。
   図形はすべて CSS と JS で描く（素材画像なし）。写真とカテゴリーは本物のリンク。
   JS が動いたときだけ <html class="stage-on"> が付き、「.stage-on …」の決まりが効く。
   付かないとき（JSなし・動きを減らす設定）は、題名 → 写真の格子 → カテゴリーの札 のふつうの並び。 */
.hero { position: relative; }
.stage { position: relative; padding: 120px var(--pad) 40px; }
.stage__title { position: relative; text-align: center; padding: clamp(60px, 14vh, 150px) 0; }
.stage__title h1 { font-size: clamp(40px, 8vw, 112px); margin-left: .24em; }      /* 形は 12c の .mark */
.stage__cue { display: none; }

.stage__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px; list-style: none; }
.ph { position: relative; display: block; overflow: hidden; background: #e2e4ec; text-decoration: none; }
.ph img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ph span { display: block; padding: 7px 10px; background: #fff; font-size: 11px; line-height: 1.5; }

.stage__cats { margin-top: clamp(64px, 9vw, 120px); }
.stage__cats-in { max-width: 1200px; margin: 0 auto; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 28px; list-style: none; }
.ctile a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 4px; border-top: 1px solid var(--ink); text-decoration: none; transition: color .3s, border-color .3s; }
.ctile__slot { display: none; flex: none; width: clamp(44px, 5.2vw, 72px); aspect-ratio: 1; border-radius: 50%; }
.ctile__name { font-weight: 500; font-size: clamp(14px, 1.35vw, 18px); line-height: 1.5; letter-spacing: .06em; }
.ctile small { flex: none; white-space: nowrap; margin-left: auto; font-size: 12px; color: var(--blue); letter-spacing: .08em; }
.ctile a:hover, .ctile a:focus-visible { color: var(--blue); border-color: var(--blue); }

/* ここから JS が動いたとき */
.stage-on .hero { height: 300vh; }
.stage-on .stage { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; }
@supports (height: 100svh) { .stage-on .stage { height: 100svh; } }
.stage-on .stage__title { position: absolute; z-index: 10; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0; pointer-events: none; will-change: opacity, transform; }
.stage-on .stage__cue { display: block; position: absolute; z-index: 10; left: 50%; bottom: 26px; width: 1px; height: 56px; background: var(--ink); transform-origin: top; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stage-on .stage__photos { display: block; position: absolute; inset: 0; }
.stage-on .stage__photos li { display: contents; }
.r { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform; pointer-events: none; }
.r.blue { background: var(--blue); mix-blend-mode: multiply; }
.r.black { background: var(--ink); }
.r.out { border: 1px solid var(--ink); }
.r.circle { border-radius: 50%; }
.r.half { border-radius: 999px 999px 0 0; }
.r.quarter { border-radius: 100% 0 0 0; }
.r.blue.tri { width: 0 !important; height: 0 !important; background: none; border: solid transparent; border-width: 0 50px 100px; border-bottom-color: var(--blue); }   /* 三角は枠線で描く（100×100 の箱と同じ大きさ） */
.stage-on .ph { z-index: 3; will-change: transform, clip-path; }
.stage-on .ph.is-live { pointer-events: auto; }
.stage-on .ph img { width: 100%; height: 100%; aspect-ratio: auto; filter: grayscale(1) contrast(1.05); transition: filter .9s ease; }
.stage-on .ph::after { content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: screen; opacity: var(--tint, .75); transition: opacity .9s ease; pointer-events: none; }
.stage-on .ph:hover img, .stage-on .ph:focus-visible img, .stage-on .ph.is-hot img { filter: none; }
.stage-on .ph:hover::after, .stage-on .ph:focus-visible::after, .stage-on .ph.is-hot::after { opacity: 0; }
.stage-on .ph span { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: 0; border-bottom: 7px solid #fff; opacity: var(--cap, 0); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.stage-on .stage__cats { position: absolute; z-index: 8; inset: 0; margin: 0; display: flex; align-items: center; padding: 90px var(--pad) 40px; opacity: 0; visibility: hidden; pointer-events: none; }
.stage-on .stage__cats.is-live { pointer-events: auto; }
.stage-on .stage__cats-in { width: 100%; }
.stage-on .cgrid { grid-template-columns: repeat(4, 1fr); }
.stage-on .ctile__slot { display: block; }
.stage-on .ctile a { padding: clamp(10px, 1.6vh, 20px) 4px; }

.more { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-decoration: none; }
.more::after { content: "→"; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; transition: transform .45s var(--ease); }
.more:hover::after { transform: translateX(8px); }
@keyframes drift { to { transform: translateX(-50%); } }

/* 3b. ほかのページの図形（題のそばに置く小さな構成。スクロールで少しだけ動く） ----- */
.geo { position: absolute; z-index: 0; right: var(--pad); top: clamp(84px, 11vw, 130px); width: clamp(120px, 20vw, 280px); aspect-ratio: 1; pointer-events: none; --sy: 0; }
.geo i { position: absolute; display: block; }
.geo .g1 { right: 0; top: 0; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); mix-blend-mode: multiply; transform: translate(calc(var(--sy) * -18%), calc(var(--sy) * 30%)); }
.geo .g2 { left: 4%; top: 30%; width: 50%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--ink); transform: rotate(calc(-18deg + var(--sy) * 70deg)); }
.geo .g3 { left: 22%; bottom: 0; width: 46%; aspect-ratio: 1; border: 1px solid var(--ink); transform: rotate(calc(45deg + var(--sy) * 90deg)); }
.geo .g4 { left: -14%; top: 58%; width: 128%; height: 1px; background: var(--ink); transform: rotate(calc(-24deg + var(--sy) * 24deg)); }
.geo .g5 { right: 6%; bottom: 8%; width: 20%; aspect-ratio: 1; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateY(calc(var(--sy) * -120%)) rotate(calc(var(--sy) * 60deg)); }
.geo i { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }

/* 3c. その場でしぼり込むボタン・ほかのカテゴリーへの帯 ----------------------- */
.filter { margin-bottom: clamp(36px, 6vw, 72px); }
.filter .chips { margin-top: 0; }
.filter__sub { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--line); }
.filter__sub[hidden] { display: none; }
.filter__sub .chip { border-color: var(--line); font-size: 12px; padding: 5px 14px; }
.filter__sub .chip[aria-current] { border-color: var(--ink); }
.chip[aria-current] small { opacity: .8; }
.block__head--tight { margin-bottom: clamp(20px, 3vw, 36px); }

.feed.feed--flat { grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.2vw, 30px); }
.feed--flat .entry:nth-child(n) { grid-column: auto; grid-row: auto; margin: 0; animation: card-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.feed--flat .entry:nth-child(n) .entry__fig { aspect-ratio: 16 / 9; }
.feed--flat .entry:nth-child(n) .entry__title { font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; margin-top: 6px; }
.feed--flat .entry__meta { margin-top: 12px; font-size: 11px; }
@keyframes card-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.catbar { padding-block: clamp(40px, 6vw, 72px) 0; }
.catbar__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--hi-deep); margin-bottom: 14px; }
.catbar .chips { margin-top: 0; }
.archive-head .catbar { padding-block: 0; margin-top: clamp(24px, 3.5vw, 44px); }
.archive-head .chips--kids { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.archive-head .chips--kids .chip { border-color: var(--line); font-size: 12px; padding: 5px 14px; }

/* 4. 流れる写真の帯 ------------------------------------------------------- */
.reel { background: var(--night); padding: 14px 0 clamp(56px, 9vw, 120px); overflow: hidden; }
.reel__row { display: flex; width: max-content; gap: 10px; list-style: none; animation: drift 90s linear infinite; }
.reel__row + .reel__row { margin-top: 10px; animation-duration: 120s; animation-direction: reverse; }
.reel:hover .reel__row { animation-play-state: paused; }
.reel__row li { flex: none; }
.reel__row a { position: relative; display: block; width: clamp(150px, 17vw, 250px); aspect-ratio: 16 / 9; overflow: hidden; background: #1b1b22; }
.reel__row img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.62); transition: filter .5s, transform .8s var(--ease); }
.reel__row a:hover img, .reel__row a:focus-visible img { filter: none; transform: scale(1.08); }

/* 5. 記事の一覧 ----------------------------------------------------------- */
.block { padding-block: clamp(72px, 11vw, 150px) 0; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(36px, 6vw, 80px); }
.block__title { font-weight: 900; font-size: clamp(52px, 11vw, 150px); line-height: .95; letter-spacing: -.01em; }
.block__title sup { font-size: .16em; font-weight: 700; letter-spacing: .08em; color: var(--hi); vertical-align: top; position: relative; top: .5em; margin-left: .5em; }
.block__note { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--mute); padding-bottom: .9em; white-space: nowrap; }

.feed { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 7vw, 110px) clamp(20px, 3vw, 44px); list-style: none; align-items: start; }
.entry { grid-column: span 4; min-width: 0; }
.entry:nth-child(5n+1) { grid-column: span 7; }
.entry:nth-child(5n+2) { grid-column: span 5; margin-top: clamp(40px, 9vw, 130px); }
.entry:nth-child(10n+6) { grid-column: 6 / span 7; grid-row: auto; }
.entry:nth-child(10n+7) { grid-column: 1 / span 5; }
.feed { grid-auto-flow: dense; }
.entry__link { display: block; text-decoration: none; }
.entry__fig { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #dddbd4; }
.entry:nth-child(5n+2) .entry__fig { aspect-ratio: 4 / 5; }
.entry:nth-child(5n+3) .entry__fig, .entry:nth-child(5n+4) .entry__fig, .entry:nth-child(5n) .entry__fig { aspect-ratio: 4 / 3; }
.entry__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.entry__link:hover .entry__fig img { transform: scale(1.06); }
.entry__fig::after {            /* 触れると出る緋色の丸い矢印 */
  content: "→"; position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--hi); color: #fff; font-size: 17px; font-weight: 700;
  transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease);
}
.entry__link:hover .entry__fig::after, .entry__link:focus-visible .entry__fig::after { transform: none; }
.entry__meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.entry__meta span { color: var(--hi-deep); }
.entry__title { margin-top: 8px; font-weight: 900; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.entry__title span { background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.entry__link:hover .entry__title span { background-size: 100% 2px; }
.entry:nth-child(5n+1) .entry__title { font-size: clamp(22px, 2.9vw, 40px); line-height: 1.38; margin-top: 10px; }
.entry:nth-child(5n+2) .entry__title { font-size: clamp(19px, 2vw, 27px); line-height: 1.45; }
.entry__excerpt { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--mute); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.entry:nth-child(5n+1) .entry__excerpt { font-size: 14px; max-width: 34em; }

/* ページ送り */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: clamp(10px, 2.4vw, 30px); margin-top: clamp(72px, 10vw, 140px); font-weight: 900; font-size: clamp(20px, 3vw, 34px); line-height: 1; }
.pager a, .pager span { position: relative; padding: 10px 4px; text-decoration: none; color: var(--mute); transition: color .3s; }
.pager a:hover { color: var(--ink); }
.pager [aria-current] { color: var(--ink); }
.pager [aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--hi); }
.pager__arrow { color: var(--ink) !important; font-weight: 500; }
.pager__gap { font-weight: 500; }

/* 6. 一覧ページの題 ------------------------------------------------------- */
.crumbs { padding-top: 96px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; }
.crumbs li + li::before { content: "/"; margin: 0 .8em; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--hi-deep); }

.archive-head { padding-block: clamp(20px, 4vw, 48px) clamp(40px, 7vw, 96px); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 7vw, 96px); }
.archive-head__title { font-weight: 900; font-size: clamp(54px, 13vw, 190px); line-height: 1; letter-spacing: -.01em; }
.archive-head__title sup { font-size: .14em; font-weight: 700; letter-spacing: .08em; color: var(--hi); vertical-align: top; position: relative; top: .7em; margin-left: .6em; }
.archive-head__page { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: clamp(20px, 3vw, 36px); }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .3s, color .3s; }
.chip small { font-size: 11px; opacity: .6; }
.chip:hover, .chip[aria-current] { background: var(--ink); color: var(--bg); }

/* 7. 記事ページの外側 ----------------------------------------------------- */
.progress { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 3px; background: var(--hi); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.post__head { padding: clamp(104px, 14vw, 170px) var(--pad) clamp(36px, 5vw, 64px); max-width: 1240px; }
.post__cats { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--hi-deep); }
.post__cats a { text-decoration: none; }
.post__cats a:hover { text-decoration: underline; }
.post__title { margin-top: 18px; font-weight: 900; font-size: clamp(28px, 5.2vw, 70px); line-height: 1.3; letter-spacing: .005em; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: clamp(20px, 3vw, 34px); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.post__meta a { text-decoration: none; }
.post__by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.post__by img { width: 26px; height: 26px; border-radius: 50%; }

/* アイキャッチ：ぼかした同じ写真を帯に敷き、写真そのものは元の大きさのまま（引き伸ばさない） */
.post__visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--night); padding: clamp(20px, 5vw, 64px) 20px; isolation: isolate; }
.post__visual-bg { position: absolute; z-index: -1; inset: -12%; background: center / cover no-repeat; filter: blur(38px) brightness(.5) saturate(1.2); }
.post__visual img { display: block; max-width: min(100%, 1000px); max-height: 72vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.js .post__visual img { clip-path: inset(0 0 100% 0); transform: scale(1.06); transition: clip-path 1.2s var(--ease-io) .15s, transform 1.6s var(--ease) .15s; }
.js .post__visual.is-in img { clip-path: inset(0); transform: none; }

.post__body { padding-top: clamp(40px, 6vw, 80px); }

.byline { display: flex; gap: 18px; align-items: flex-start; margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 4px solid var(--ink); }
.byline img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.byline__name { font-weight: 900; font-size: 17px; }
.byline__text { margin-top: 4px; font-size: 13px; line-height: 1.85; color: var(--mute); }

/* 8. 記事本文 .entry-content ---------------------------------------------- */
/* 旧テーマと同じ「16px・段落の間は1文字ぶん」を基準にして、
   pt 指定の大文字・小文字との比率（＝笑いのリズム）を変えない。 */
.entry-content { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-content p { margin: 0 0 1em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }

/* インラインの文字サイズ：パソコンでは元の指定どおり。せまい画面でだけ大きい文字を画面幅に合わせて縮める
   （幅390px：36pt→約37px、24pt→約28px、18pt→約23px、14pt はそのまま。順番と差は保つ） */
.entry-content [style*="font-size: 36pt"], .entry-content [style*="font-size:36pt"] { font-size: clamp(30px, 9.4vw, 48px) !important; line-height: 1.3; }
.entry-content [style*="font-size: 24pt"], .entry-content [style*="font-size:24pt"],
.entry-content [style*="font-size: xx-large"], .entry-content [style*="font-size:xx-large"] { font-size: clamp(25px, 7.2vw, 32px) !important; line-height: 1.4; }
.entry-content [style*="font-size: 18pt"], .entry-content [style*="font-size:18pt"],
.entry-content [style*="font-size: x-large"], .entry-content [style*="font-size:x-large"],
.entry-content [style*="font-size: 24px"] { font-size: clamp(21px, 5.9vw, 24px) !important; line-height: 1.5; }
.entry-content [style*="font-size: 14pt"], .entry-content [style*="font-size:14pt"] { line-height: 1.6; }
.entry-content [style*="font-size: 8pt"], .entry-content [style*="font-size:8pt"] { font-size: 12px !important; color: var(--mute); }
.entry-content [style*="font-size: 10pt"], .entry-content [style*="font-size:10pt"] { font-size: 13.5px !important; }

.entry-content strong, .entry-content b { font-weight: 900; }
.entry-content em, .entry-content i { font-style: normal; font-weight: 700; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 2px; transition: color .2s; }
.entry-content a:hover { color: var(--hi-deep); }

/* 見出し */
.entry-content h2, .entry-content h1 {
  font-weight: 900; font-size: clamp(23px, 3.6vw, 31px); line-height: 1.45;
  margin: 3em 0 1.2em; padding-top: .85em; border-top: 4px solid var(--ink);
}
.entry-content h3 { position: relative; font-weight: 900; font-size: clamp(19px, 2.8vw, 22px); line-height: 1.55; margin: 2.4em 0 1em; padding-left: 1.2em; }
.entry-content h3::before { content: ""; position: absolute; left: 0; top: .52em; width: .62em; height: .62em; background: var(--hi); }
.entry-content h4 { font-weight: 900; font-size: 17px; line-height: 1.6; margin: 2em 0 .9em; padding-bottom: .4em; border-bottom: 1px solid var(--ink); }
.entry-content h5, .entry-content h6 { font-size: 16px; font-weight: 900; margin: 1.8em 0 .8em; }
.entry-content h4.naka-midashi { font-size: 19px; border-bottom: 0; padding-bottom: 0; margin: 1.6em 0 .6em; }
.entry-content .jisage_1 { padding-left: 1em; }
.entry-content .jisage_2 { padding-left: 2em; }
.entry-content .jisage_3 { padding-left: 3em; }
.entry-content .chitsuki_1 { text-align: right; padding-right: 1em; }

/* 画像：元の大きさ・位置の指定のまま。はみ出す時だけ縮む */
.entry-content img { max-width: 100%; height: auto; }
.entry-content a:has(> img) { text-decoration: none; }
.entry-content img.aligncenter, .entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content img.alignleft { float: left; margin: .3em 1.2em .8em 0; }
.entry-content img.alignright { float: right; margin: .3em 0 .8em 1.2em; }
.entry-content img.qwq { border: 1px solid var(--ink); }
.entry-content .wp-caption { max-width: 100%; margin: 0 0 1em; }
.entry-content .wp-caption.aligncenter { margin-inline: auto; }
.entry-content .wp-caption-text { margin: .5em 0 0; font-size: 12px; line-height: 1.6; color: var(--mute); }

/* 引用 */
.entry-content blockquote { margin: 1.6em 0; padding: 1.2em 1.4em; background: var(--white); border-left: 4px solid var(--hi); font-size: 15px; }
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content blockquote cite, .entry-content cite { font-style: normal; font-size: 12px; color: var(--mute); }

/* リスト・線・コード */
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.entry-content li { margin: .25em 0; }
.entry-content ul > li::marker { color: var(--hi); }
.entry-content ol > li::marker { font-weight: 900; color: var(--hi); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content code { font-family: Consolas, Menlo, monospace; font-size: .92em; background: var(--white); padding: .1em .4em; }

/* 表（セルに直接書かれた背景色はそのまま生きる） */
.entry-content table { display: block; width: max-content; max-width: 100%; overflow-x: auto; margin: 1.6em 0; border-collapse: collapse; font-size: 14px; line-height: 1.65; height: auto !important; }
.entry-content th, .entry-content td { border: 1px solid rgba(16, 16, 20, .28); padding: .65em .9em; vertical-align: top; background-color: var(--white); height: auto !important; }
.entry-content th { background-color: var(--ink); color: #fff; font-weight: 700; text-align: left; }

/* YouTube など */
.entry-content .video-container { margin: 1.6em 0; }
.entry-content .video-container .video { position: relative; aspect-ratio: 16 / 9; }
.entry-content .video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-content iframe { max-width: 100%; border: 0; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="youtu.be"], .entry-content iframe[src*="nicovideo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content p:has(> .video-container) { margin: 0; }

/* 吹き出し（HTMLはそのまま。左＝白、右＝墨に白文字。名前は吹き出しの上に小さく） */
.entry-content .sb-type-ln-flat { margin: 0; padding: .6em 0; overflow: visible; color: inherit; clear: both; }
.entry-content .sb-type-ln-flat > [class*="sb-subtype-"] { display: flex; align-items: flex-start; gap: 14px; }
.entry-content .sb-type-ln-flat > .sb-subtype-b, .entry-content .sb-type-ln-flat > .sb-subtype-d { flex-direction: row-reverse; }
.entry-content .sb-speaker { position: relative; flex: 0 0 56px; width: 56px; }
.entry-content .sb-speaker > .sb-icon { height: 56px; }
.entry-content img.sb-icon { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; background: var(--white); }
.entry-content .sb-name { position: absolute; top: -4px; left: calc(100% + 16px); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--mute); white-space: nowrap; }
.entry-content .sb-name strong { font-weight: 700; }
.entry-content .sb-subtype-b .sb-name, .entry-content .sb-subtype-d .sb-name { left: auto; right: calc(100% + 16px); }
.entry-content .sb-content { min-width: 0; max-width: calc(100% - 56px - 14px - 28px); margin-top: 20px; }
.entry-content .sb-speech-bubble { position: relative; padding: .75em 1.15em; line-height: 1.7; background: var(--white); border-radius: 4px 20px 20px 20px; box-shadow: 0 1px 0 rgba(16, 16, 20, .08), 0 10px 26px -14px rgba(16, 16, 20, .28); }
.entry-content .sb-subtype-b .sb-speech-bubble, .entry-content .sb-subtype-d .sb-speech-bubble { background: var(--ink); color: #fff; border-radius: 20px 4px 20px 20px; box-shadow: none; }
/* 墨の吹き出しの中で、黒系の文字色が直接指定されていたら白に戻す（赤字などはそのまま） */
.entry-content .sb-subtype-b .sb-speech-bubble [style*="color: #000"], .entry-content .sb-subtype-b .sb-speech-bubble [style*="color: #111"], .entry-content .sb-subtype-b .sb-speech-bubble [style*="color: #333"],
.entry-content .sb-subtype-d .sb-speech-bubble [style*="color: #000"], .entry-content .sb-subtype-d .sb-speech-bubble [style*="color: #111"], .entry-content .sb-subtype-d .sb-speech-bubble [style*="color: #333"] { color: inherit !important; }
.entry-content .sb-subtype-b .sb-speech-bubble [style*="color: #ff0000"], .entry-content .sb-subtype-d .sb-speech-bubble [style*="color: #ff0000"] { color: #ff5a4d !important; }
.entry-content .sb-subtype-b .sb-speech-bubble a, .entry-content .sb-subtype-d .sb-speech-bubble a { color: #fff; }
.entry-content .sb-speech-bubble p { margin: 0 0 .45em; }
.entry-content .sb-speech-bubble > :last-child { margin-bottom: 0; }

/* ブログカード（記事内の関連リンク。インライン style を上書き） */
.entry-content .blog-card { max-width: 100% !important; margin: 1.6em 0 !important; padding: 16px !important; background: var(--white); border: 0 !important; border-radius: 0 !important; border-left: 4px solid var(--ink) !important; overflow: hidden; }
.entry-content .blog-card-thumbnail { float: left; margin-right: 14px; }
.entry-content .blog-card-thumbnail img { width: 88px !important; height: 88px !important; object-fit: cover; background: #dddbd4; }
.entry-content .blog-card-content { margin-left: 102px !important; line-height: 1.6 !important; }
.entry-content .blog-card-title a { font-weight: 900 !important; font-size: 16px; color: var(--ink) !important; text-decoration: none !important; }
.entry-content .blog-card-title a:hover { color: var(--hi-deep) !important; }
.entry-content .blog-card-excerpt { margin-top: 4px; font-size: 12.5px !important; color: var(--mute) !important; }
.entry-content .blog-card-footer { display: none; }
.entry-content .linkcard { margin: 1.6em 0; }
.entry-content .lkc-card { padding: 16px; background: var(--white); border-left: 4px solid var(--ink); }
.entry-content .lkc-info, .entry-content .lkc-share { font-size: 11px; color: var(--mute); }
.entry-content .lkc-title-text { font-weight: 900; }
.entry-content .lkc-excerpt { font-size: 12.5px; color: var(--mute); }
.entry-content .lkc-thumbnail { float: left; margin-right: 14px; }
.entry-content .lkc-thumbnail-img { width: 88px; height: auto; }

/* Amazon 商品表示の残り：題名だけの控えめな札（言葉は足さない） */
.entry-content .amazonjs_item { margin: 1.4em 0; padding: 13px 18px; background: var(--white); border-left: 4px solid var(--ink); }
.entry-content .amazonjs_indicator { display: block; }
.entry-content .amazonjs_indicator_img, .entry-content .amazonjs_indicator_footer { display: none; }
.entry-content .amazonjs_indicator_title { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.entry-content .amazonjs_indicator_title[href="#"] { color: var(--ink); text-decoration: none; pointer-events: none; cursor: default; }
.entry-content .kaerebalink-box, .entry-content .booklink-box, .entry-content .babylink-box { margin: 1.4em 0; padding: 16px 18px; background: var(--white); border-left: 4px solid var(--ink); font-size: 14px; overflow: hidden; }
.entry-content .kaerebalink-image, .entry-content .booklink-image, .entry-content .babylink-image { float: left; margin: 0 14px 0 0; }
.entry-content .booklink-footer { clear: both; }

/* お知らせ枠・固定ページの部品 */
.entry-content .sp-info, .entry-content .sp-warning, .entry-content .sp-success, .entry-content .sp-danger { margin: 0 0 1.4em; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--ink); }
.entry-content .sp-danger, .entry-content .sp-warning { border-left-color: var(--hi); }
.entry-content .sp-info > :last-child { margin-bottom: 0; }
.entry-content ul.children { margin-bottom: .3em; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content textarea { width: 100%; max-width: 100%; padding: .7em .9em; font: inherit; color: inherit; background: var(--white); border: 1px solid rgba(16, 16, 20, .3); border-radius: 0; }
.entry-content input[type="submit"] { padding: .7em 2.4em; font: inherit; font-weight: 700; color: #fff; background: var(--ink); border: 0; border-radius: 999px; }
.entry-content .screen-reader-response, .entry-content .wpcf7-display-none { display: none; }

/* 9. 前後の記事・関連記事・コメント --------------------------------------- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(72px, 10vw, 140px); background: var(--night); color: #fff; }
.post-nav__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(220px, 30vw, 380px); padding: clamp(24px, 4vw, 56px) var(--pad); overflow: hidden; text-decoration: none; isolation: isolate; }
.post-nav__item + .post-nav__item { border-left: 1px solid var(--line-on-dark); }
.post-nav__next { text-align: right; align-items: flex-end; grid-column: 2; }
.post-nav__prev { grid-column: 1; }
.post-nav__bg { position: absolute; z-index: -1; inset: 0; background: center / cover no-repeat; opacity: .5; filter: grayscale(1) brightness(.5); transform: scale(1.02); transition: opacity .6s, transform 1.4s var(--ease), filter .6s; }
.post-nav__item:hover .post-nav__bg { opacity: .7; transform: scale(1.09); filter: brightness(.75); }
.post-nav__label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #fff; }
.post-nav__prev .post-nav__label::before, .post-nav__next .post-nav__label::after { content: "←"; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hi); font-size: 14px; transition: transform .45s var(--ease); }
.post-nav__next .post-nav__label::after { content: "→"; }
.post-nav__prev:hover .post-nav__label::before { transform: translateX(-6px); }
.post-nav__next:hover .post-nav__label::after { transform: translateX(6px); }
.post-nav__title { margin-top: 16px; max-width: 24em; font-weight: 900; font-size: clamp(16px, 2vw, 25px); line-height: 1.5; text-shadow: 0 1px 20px rgba(0, 0, 0, .6); }

.related { padding-block: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.related__title { font-weight: 900; font-size: clamp(34px, 6.4vw, 84px); line-height: 1; margin-bottom: clamp(24px, 4vw, 48px); }
.related__list { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-bottom: 8px; }
.related__list::-webkit-scrollbar { display: none; }
.related__list .entry { flex: 0 0 clamp(230px, 27vw, 380px); scroll-snap-align: start; margin-top: 0 !important; }
.related__list .entry__excerpt { display: none; }
.related__list .entry .entry__fig { aspect-ratio: 4 / 3 !important; }
.related__list .entry .entry__title { font-size: clamp(15px, 1.4vw, 18px) !important; line-height: 1.55 !important; margin-top: 8px !important; }

.comments { margin-top: clamp(64px, 9vw, 110px); }
.comments__title { font-weight: 900; font-size: 22px; padding-top: 18px; border-top: 4px solid var(--ink); }
.comments__title sup { font-size: 12px; color: var(--hi); margin-left: 8px; }
.comments__list, .comments__list ol { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.comment__name { font-weight: 900; font-size: 14px; }
.comment__date { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--mute); }
.comment__body { margin-top: 6px; font-size: 14.5px; line-height: 1.85; }
.comment__body p + p { margin-top: .6em; }
.comments__list ol { margin-left: 20px; padding-left: 20px; border-left: 2px solid var(--ink); }
.comments__list ol .comment:last-child { border-bottom: 0; }

/* 10. フッター ------------------------------------------------------------ */
.site-footer { margin-top: clamp(96px, 13vw, 180px); background: var(--night); color: #fff; overflow: hidden; }
.site-footer.is-flush { margin-top: 0; border-top: 1px solid var(--line-on-dark); }
.foot-cats { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.foot-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--mute-on-dark); margin-bottom: clamp(18px, 3vw, 32px); }
.bigcats { display: flex; flex-wrap: wrap; gap: .1em .55em; list-style: none; font-weight: 900; font-size: clamp(28px, 5.4vw, 76px); line-height: 1.22; }
.bigcats a { position: relative; text-decoration: none; transition: color .3s; white-space: nowrap; }
.bigcats a:hover { color: var(--hi); }
.bigcats sup { font-size: .2em; font-weight: 700; color: var(--hi); vertical-align: top; position: relative; top: .9em; margin-left: .3em; letter-spacing: .06em; }
.subcats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 40px; list-style: none; margin-top: clamp(32px, 5vw, 56px); padding-top: 26px; border-top: 1px solid var(--line-on-dark); font-size: 13px; }
.subcats__parent { font-weight: 900; font-size: 14px; text-decoration: none; }
.subcats ul { display: flex; flex-wrap: wrap; gap: 2px 16px; list-style: none; margin-top: 6px; color: var(--mute-on-dark); }
.subcats a { text-decoration: none; }
.subcats a:hover { color: #fff; text-decoration: underline; }
.subcats small { margin-left: 4px; opacity: .7; }

.foot-profile { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line-on-dark); max-width: 860px; }
.foot-profile img { width: 76px; height: 76px; border-radius: 50%; background: #fff; }
.foot-profile__name { font-weight: 900; font-size: 18px; }
.foot-profile__text { margin-top: 6px; font-size: 13.5px; line-height: 1.95; color: #cfcfd6; }

/* しめくくり：旧ヘッダーの宇宙の写真とロゴ */
.foot-sign { position: relative; display: grid; place-items: center; min-height: clamp(260px, 40vw, 520px); overflow: hidden; isolation: isolate; }
.foot-sign__bg { position: absolute; z-index: -1; inset: -6%; background: center 40% / cover no-repeat; animation: space 60s ease-in-out infinite alternate; }
.foot-sign::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to bottom, var(--night), rgba(11, 11, 15, .1) 35%, rgba(11, 11, 15, .1) 70%, rgba(11, 11, 15, .75)); }
@keyframes space { from { transform: scale(1) translate(-1.5%, 1%); } to { transform: scale(1.12) translate(1.5%, -1%); } }
.foot-sign img { width: clamp(190px, 26vw, 330px); filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .55)); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 22px 30px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--mute-on-dark); }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* 11. 404 ----------------------------------------------------------------- */
.notfound { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; background: var(--night); color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding: 120px 20px 80px; }
.notfound__reel { position: absolute; z-index: -1; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: .3; transform: rotate(-6deg) scale(1.25); }
.notfound__reel .reel__row + .reel__row { margin-top: 0; }
.notfound__reel .reel__row:nth-child(3) { animation-duration: 150s; animation-direction: normal; }
.notfound__code { font-weight: 900; font-size: clamp(120px, 34vw, 460px); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px #fff; animation: float 7s ease-in-out infinite alternate; }
.notfound__code b { color: var(--hi); -webkit-text-stroke: 0; font-weight: 900; }
@keyframes float { from { transform: translateY(-1.5%) rotate(-1deg); } to { transform: translateY(1.5%) rotate(1deg); } }
.notfound__title { margin-top: clamp(20px, 3vw, 40px); font-weight: 900; font-size: clamp(18px, 2.6vw, 30px); }
.notfound__more { margin-top: 28px; }


/* 12. 出現アニメーション（JS が画面に入った要素へ .is-in を付ける。JS なしなら最初から見える） */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity .9s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .entry[data-reveal] .entry__fig { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.js .entry[data-reveal].is-in .entry__fig { clip-path: inset(0); }
.js .block__title[data-reveal], .js .archive-head__title[data-reveal], .js .post__title[data-reveal] { transform: translateY(.35em); }
.js .block__title[data-reveal].is-in, .js .archive-head__title[data-reveal].is-in, .js .post__title[data-reveal].is-in { transform: none; }
.js .bigcats[data-reveal] { transform: none; opacity: 1; }
.js .bigcats[data-reveal] li { opacity: 0; transform: translateY(.5em); transition: opacity .7s ease, transform 1s var(--ease); transition-delay: calc(var(--n, 0) * 45ms); }
.js .bigcats[data-reveal].is-in li { opacity: 1; transform: none; }

/* 12b. 第5版：青・白・黒の、落ち着いた見た目にそろえる上書き -------------------- */
/* 地は白。文字と線は黒。差し色は青（--hi も青に向けてある）。見出しは小さく、字間を広く。
   本文の赤字（#ff0000）は持ち主のものなので、そのまま赤。青は部品（線・印・ボタン）にだけ使う。 */
html, body { background: #fff; }
body { font-weight: 400; }
.wrap { max-width: 1272px; margin-inline: auto; }

/* ヘッダー */
.brand::before { width: 10px; height: 10px; border-radius: 0; background: var(--blue); }
.brand__name { font-weight: 500; font-size: 15px; letter-spacing: .3em; }
.site-nav { font-weight: 500; font-size: 12px; letter-spacing: .16em; }
.site-nav a::after { height: 1px; }

/* 小さな見出し（青い四角の印＋広い字間） */
.block__title, .related__title, .comments__title, .stage__cats-title {
  display: flex; align-items: center; gap: 16px; font-weight: 500; font-size: 13px; line-height: 1.6; letter-spacing: .5em;
  padding: 0; border: 0; margin-bottom: clamp(28px, 4vw, 44px);
}
.block__title::before, .related__title::before, .comments__title::before, .stage__cats-title::before { content: ""; flex: none; width: 28px; height: 10px; background: var(--blue); }
.block__title sup, .comments__title sup { position: static; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--blue); margin-left: -4px; }
.block { padding-block: clamp(72px, 10vw, 130px) 0; }
.block__head { margin-bottom: 0; }

/* 一覧：細い線の格子。触れると青に反転 */
.feed, .feed.feed--flat { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; padding: 1px; background: none; border: 0; align-items: stretch; }
.entry:nth-child(n), .feed--flat .entry:nth-child(n) { grid-column: auto; grid-row: auto; margin: 0; background: #fff; outline: 1px solid var(--line); }
.entry__link { height: 100%; padding: 18px 18px 26px; transition: background .35s, color .35s; }
.entry__link:hover, .entry__link:focus-visible { background: var(--blue); color: #fff; }
.entry:nth-child(n) .entry__fig, .feed--flat .entry:nth-child(n) .entry__fig { aspect-ratio: 3 / 2; background: #eef0f6; }
.entry__fig::after { display: none; }
.entry__meta, .feed--flat .entry__meta { gap: 2px 14px; margin-top: 16px; font-size: 11px; font-weight: 400; letter-spacing: .14em; }
.entry__meta span { color: var(--blue); }
.entry__link:hover .entry__meta, .entry__link:hover .entry__meta span, .entry__link:hover .entry__excerpt { color: #c9cfe0; }
.entry:nth-child(n) .entry__title, .feed--flat .entry:nth-child(n) .entry__title { margin-top: 8px; font-weight: 500; font-size: 15px; line-height: 1.7; }
.entry__title span { background: none; }
.entry:nth-child(n) .entry__excerpt { max-width: none; margin-top: 8px; font-size: 12px; line-height: 1.8; -webkit-line-clamp: 2; line-clamp: 2; }
.related__list { gap: 1px; }
.related__list .entry { flex-basis: clamp(230px, 24vw, 320px); outline: 1px solid var(--line); }
.related__list .entry .entry__fig { aspect-ratio: 3 / 2 !important; }
.related__list .entry .entry__title { font-size: 14px !important; line-height: 1.7 !important; }

.pager { font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .1em; margin-top: clamp(56px, 8vw, 96px); }
.pager [aria-current]::after { height: 2px; background: var(--blue); }

/* ボタン類：角のない四角 */
.chip { border-radius: 0; font-weight: 500; padding: 8px 16px; letter-spacing: .04em; }
.chip small { color: var(--blue); opacity: 1; margin-left: 4px; }
.chip:hover, .chip[aria-current] { background: var(--ink); color: #fff; }
.chip:hover small, .chip[aria-current] small { color: var(--gold); }
.filter__sub .chip, .archive-head .chips--kids .chip { border-color: var(--line); }
.catbar__label { color: var(--mute); font-weight: 500; letter-spacing: .3em; }

/* カテゴリページの題 */
.crumbs { font-weight: 400; letter-spacing: .14em; }
.archive-head { position: relative; }
.archive-head__title { position: relative; z-index: 1; font-weight: 500; font-size: clamp(38px, 7vw, 96px); line-height: 1.2; letter-spacing: .12em; padding-block: clamp(20px, 5vw, 70px) clamp(10px, 2vw, 24px); }
.archive-head__title sup { font-size: 14px; font-weight: 500; top: 1.2em; margin-left: .8em; color: var(--blue); }
.archive-head .geo { top: -44px; width: clamp(110px, 15vw, 190px); }
.archive-head .catbar, .archive-head .chips { position: relative; z-index: 1; }

/* 記事ページの外側 */
.progress { height: 2px; background: var(--blue); }
.post__head { position: relative; max-width: 1272px; margin-inline: auto; }
.post__cats { position: relative; z-index: 1; font-weight: 500; font-size: 12px; letter-spacing: .2em; color: var(--blue); }
.post__title { position: relative; z-index: 1; max-width: 21em; font-weight: 700; font-size: clamp(25px, 3.5vw, 46px); line-height: 1.5; letter-spacing: .04em; }
.post__meta { position: relative; z-index: 1; font-weight: 400; letter-spacing: .14em; }
.post__visual { background: none; padding: 0 20px clamp(8px, 2vw, 24px); overflow: visible; }
.post__visual-bg { display: none; }
.post__visual img { position: relative; box-shadow: clamp(10px, 1.6vw, 22px) clamp(10px, 1.6vw, 22px) 0 var(--blue); }
.byline { border-top: 1px solid var(--ink); }
.byline__name, .comment__name, .foot-profile__name, .subcats__parent { font-weight: 700; }
.comments__list ol { border-left: 1px solid var(--ink); }

/* 本文の部品：線は黒と細い灰、印は青。赤字は本文のまま */
.entry-content a { text-decoration-color: var(--blue); text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--blue); }
.entry-content h2, .entry-content h1 { font-weight: 700; }
.entry-content h3, .entry-content h4 { font-weight: 700; }
.entry-content blockquote { background: #f6f7fb; border-left: 2px solid var(--blue); }
.entry-content th { background-color: #f1f3f9; color: var(--ink); border-bottom: 1px solid var(--ink); }
.entry-content .sb-speech-bubble { box-shadow: 0 0 0 1px var(--line); }
.entry-content .sb-subtype-b .sb-speech-bubble, .entry-content .sb-subtype-d .sb-speech-bubble { background: #eef1fb; color: var(--ink); box-shadow: 0 0 0 1px #dfe4f6; }
.entry-content .sb-subtype-b .sb-speech-bubble [style*="color: #ff0000"], .entry-content .sb-subtype-d .sb-speech-bubble [style*="color: #ff0000"] { color: #ff0000 !important; }
.entry-content .sb-subtype-b .sb-speech-bubble a, .entry-content .sb-subtype-d .sb-speech-bubble a { color: inherit; }
.entry-content input[type="submit"] { border-radius: 0; }

/* 前後の記事 */
.post-nav { background: #fff; color: var(--ink); border-block: 1px solid var(--ink); }
.post-nav__item { min-height: clamp(180px, 22vw, 280px); transition: background .35s, color .35s; }
.post-nav__item + .post-nav__item { border-left: 1px solid var(--ink); }
.post-nav__item:hover { background: var(--blue); color: #fff; }
.post-nav__bg { inset: auto; right: var(--pad); top: 50%; width: clamp(90px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; opacity: 1; filter: grayscale(1); transform: translateY(-50%); transition: filter .5s, transform .9s var(--ease); }
.post-nav__next .post-nav__bg { right: auto; left: var(--pad); }
.post-nav__item:hover .post-nav__bg { opacity: 1; filter: none; transform: translateY(-50%) scale(1.08); }
.post-nav__label { color: inherit; font-weight: 500; letter-spacing: .3em; }
.post-nav__prev .post-nav__label::before, .post-nav__next .post-nav__label::after { color: #fff; background: var(--ink); }
.post-nav__title { max-width: min(24em, 60%); font-weight: 500; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.7; text-shadow: none; }

/* フッター */
.site-footer { background: #fff; color: var(--ink); border-top: 1px solid var(--ink); }
.site-footer.is-flush { border-top: 0; }
.foot-label { display: flex; align-items: center; gap: 16px; font-weight: 500; letter-spacing: .5em; color: var(--ink); }
.foot-label::before { content: ""; width: 28px; height: 10px; background: var(--blue); }
.bigcats { gap: 0 28px; font-weight: 500; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.5; letter-spacing: .06em; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bigcats a { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 4px; border-top: 1px solid var(--ink); }
.bigcats a:hover { color: var(--blue); border-color: var(--blue); }
.bigcats sup { position: static; font-size: 12px; font-weight: 500; color: var(--blue); }
.subcats { border-top-color: var(--line); }
.subcats ul, .foot-bottom { color: var(--mute); }
.subcats a:hover, .foot-bottom a:hover { color: var(--blue); }
.foot-profile { border-top-color: var(--line); }
.foot-profile img { box-shadow: 0 0 0 1px var(--line); }
.foot-profile__text { color: #44464f; }
.foot-sign { margin-inline: var(--pad); min-height: clamp(200px, 28vw, 380px); }
.foot-sign::after { display: none; }
.foot-bottom { font-weight: 400; }

/* 404：数字の 0 を青い円で */
.notfound { position: relative; background: none; color: var(--ink); min-height: 100vh; }
.notfound__code { display: flex; align-items: center; justify-content: center; gap: .08em; font-weight: 500; font-size: clamp(110px, 26vw, 330px); line-height: 1; letter-spacing: 0; color: var(--ink); -webkit-text-stroke: 0; animation: none; }
.notfound__code b { display: block; width: .74em; aspect-ratio: 1; border-radius: 50%; background: var(--blue); font-size: inherit; color: transparent; overflow: hidden; mix-blend-mode: multiply; animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(.94); } to { transform: scale(1.06); } }
.notfound__title { font-weight: 500; font-size: clamp(15px, 1.8vw, 20px); letter-spacing: .2em; }
.notfound .geo { right: auto; left: 50%; top: 50%; width: min(90vw, 760px); transform: translate(-50%, -56%); opacity: .9; }
.notfound .geo .g1, .notfound .geo .g2, .notfound .geo .g5 { display: none; }
.notfound > div:not(.geo) { position: relative; z-index: 1; }

/* 出現：動きを小さく、静かに */
.js [data-reveal] { transform: translateY(18px); transition: opacity .8s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .block__title[data-reveal], .js .archive-head__title[data-reveal], .js .post__title[data-reveal] { transform: translateY(12px); }
.js .bigcats[data-reveal] li { transform: none; }

/* 12c. 第6版：題名「3」（ひな明朝＋細い円＋青い点＋青い斜線）と、書体・締めくくり ------- */
/* .mark ＝ 題名の組み。大きさは font-size で決まる（em でできている）。
   トップの舞台（大）・ヘッダー（小・線なし）・フッターの締めくくり（中）で同じものを使う。
   入り方：文字が1字ずつ下から → 円が回りながら → 斜線が左から → 青い点。
   消え方：舞台の JS が --out（0→1）を渡すと、文字は上へうすれ、円は広がり、線はたたまれ、点はしぼむ。 */
:root { --serif: "Hina Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; }
.mark { --out: 0; position: relative; isolation: isolate; display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: .24em; }
.mark i { position: absolute; display: block; pointer-events: none; }
.mark .ch { position: relative; display: inline-block; opacity: calc(1 - var(--out) * (1 + var(--k, 0) * .35)); transform: translateY(calc(var(--out) * -.3em)); animation: mk-up 1s var(--ease) backwards; animation-delay: calc(var(--k, 0) * .08s); }
.mark .ch:nth-of-type(2) { --k: 1; } .mark .ch:nth-of-type(3) { --k: 2; } .mark .ch:nth-of-type(4) { --k: 3; } .mark .ch:nth-of-type(5) { --k: 4; }
.mark__ci { left: -.42em; top: 50%; width: 1.9em; height: 1.9em; margin-top: -.95em; border: 1px solid var(--ink); border-radius: 50%; opacity: calc(1 - var(--out) * 1.3); transform: scale(calc(1 + var(--out) * .5)); animation: mk-spin 1.6s var(--ease) backwards; }
.mark__dot { left: 1.15em; top: -.62em; width: .22em; height: .22em; border-radius: 50%; background: var(--blue); transform: scale(calc(1 - var(--out))); animation: mk-pop .7s 1s var(--ease) backwards; }
.mark__sl { left: -25%; right: -25%; top: 62%; height: 1px; background: var(--blue); transform-origin: left; transform: rotate(-8deg) translateX(calc(var(--out) * 45%)) scaleX(calc(1 - var(--out))); animation: mk-draw 1.4s .5s var(--ease) backwards; }
@keyframes mk-up { from { opacity: 0; transform: translateY(.35em); } }
@keyframes mk-pop { from { transform: scale(0); } }
@keyframes mk-draw { from { transform: rotate(-8deg) scaleX(0); } }
@keyframes mk-spin { from { opacity: 0; transform: rotate(-180deg) scale(.4); } }

/* ヘッダーのロゴ：小さい版（円と青い点だけ。線なし・入りの動きなし） */
.brand::before { display: none; }
.brand { margin-left: .5em; }
.brand .mark { font-size: 19px; letter-spacing: .2em; }
.brand .mark__sl { display: none; }
.brand .mark *, .brand .mark { animation: none; }
.brand .mark__ci { transition: transform .8s var(--ease); }
.brand:hover .mark__ci { transform: scale(1.12); }

/* 見出しの書体：ひな明朝（太さは1種類。大きさと字間で強弱をつける）。本文と一覧の題名はゴシックのまま */
.block__title, .related__title, .comments__title, .stage__cats-title, .foot-label { font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: .4em; }
.block__title::before, .related__title::before, .comments__title::before, .stage__cats-title::before, .foot-label::before { width: 22px; height: 1px; }
.block__title sup, .comments__title sup { font-family: var(--font); }
.archive-head__title { font-family: var(--serif); font-weight: 400; letter-spacing: .14em; }
.archive-head__title sup { font-family: var(--font); }
.post__title { max-width: min(21em, calc(100% - clamp(150px, 23vw, 310px))); font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 3.9vw, 52px); line-height: 1.45; letter-spacing: .06em; }
.notfound__title { font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 2vw, 23px); }
.ctile__name, .bigcats { font-family: var(--serif); font-weight: 400; }
.ctile__name { font-size: clamp(15px, 1.5vw, 20px); }
.bigcats { font-size: clamp(16px, 1.6vw, 21px); }
.bigcats sup, .ctile small { font-family: var(--font); }
/* 題はすぐ出す（待たせない） */
.js .archive-head__title, .js .post__title { opacity: 1; transform: none; }

/* 写真：一覧も青く染め、マウスを乗せると元の色がふわっと出る（マウスのある端末だけ。指でさわる端末は元の色のまま） */
@media (hover: hover) {
  .entry__fig { position: relative; }
  .entry__fig img { filter: grayscale(1) contrast(1.05); transition: filter .9s ease, transform 1.2s var(--ease); }
  .entry__fig::after { content: ""; display: block; position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; transform: none; background: var(--blue); mix-blend-mode: screen; opacity: .72; transition: opacity .9s ease; pointer-events: none; }
  .entry__link:hover .entry__fig img, .entry__link:focus-visible .entry__fig img { filter: none; }
  .entry__link:hover .entry__fig::after, .entry__link:focus-visible .entry__fig::after { opacity: 0; }
  .entry__link:hover, .entry__link:focus-visible { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
  .entry__link:hover .entry__meta, .entry__link:hover .entry__excerpt { color: var(--mute); }
  .entry__link:hover .entry__meta span { color: var(--blue); }
  .entry__link:hover .entry__title { color: var(--blue); }
}

/* フッターの締めくくり：線の上に青い半円がのぼり、枠の円と小さな四角。まん中に題名の中くらいの版 */
.foot-end { position: relative; display: grid; place-items: center; height: clamp(230px, 30vw, 400px); margin: clamp(30px, 5vw, 70px) var(--pad) 0; overflow: hidden; border-bottom: 1px solid var(--ink); }
.foot-end .mark { font-size: clamp(24px, 3.4vw, 46px); margin-left: .24em; }
.foot-end__geo i { position: absolute; display: block; }
.foot-end .e1 { right: 9%; bottom: 0; width: clamp(120px, 22%, 300px); aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--blue); mix-blend-mode: multiply; }
.foot-end .e2 { left: 7%; top: 16%; width: clamp(70px, 12%, 160px); aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.foot-end .e3 { left: calc(7% + clamp(70px, 12%, 160px) * .5); top: calc(16% + clamp(70px, 12%, 160px) * .5); bottom: 0; width: 1px; background: var(--ink); }
.foot-end .e4 { right: calc(9% + clamp(120px, 22%, 300px) + 3%); bottom: 14%; width: clamp(10px, 1.4vw, 18px); aspect-ratio: 1; background: var(--ink); }
.js .foot-end[data-reveal] { opacity: 1; transform: none; }
.js .foot-end[data-reveal] .e1 { transform: translateY(100%); transition: transform 1.6s var(--ease) .2s; }
.js .foot-end[data-reveal] .e2 { transform: scale(.4); opacity: 0; transition: transform 1.4s var(--ease), opacity 1s; }
.js .foot-end[data-reveal] .e3 { transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease) .3s; }
.js .foot-end[data-reveal] .e4 { transform: scale(0) rotate(-90deg); transition: transform .9s var(--ease) .9s; }
.js .foot-end.is-in .e1, .js .foot-end.is-in .e2, .js .foot-end.is-in .e3, .js .foot-end.is-in .e4 { transform: none; opacity: 1; }
.js .foot-end:not(.is-in) .mark, .js .foot-end:not(.is-in) .mark * { animation-play-state: paused; }
.foot-bottom { border-top: 0; }

/* スマホ・タブレット ------------------------------------------------------ */
@media (max-width: 900px) {
  .stage-on .cgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .site-header { padding: 16px 20px; }
  .brand__name { font-size: 14px; letter-spacing: .2em; }
  .site-nav { font-size: 11px; gap: 14px; letter-spacing: .06em; }
  .more::after { width: 40px; height: 40px; }

  .stage__title h1 { font-size: 11.5vw; }
  .brand .mark { font-size: 16px; }
  .foot-end { height: 210px; }
  .block__title, .related__title, .comments__title, .stage__cats-title, .foot-label { font-size: 15px; letter-spacing: .3em; }
  .post__title { font-size: clamp(24px, 6.6vw, 31px) !important; max-width: none; }
  .stage-on .cgrid { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .stage-on .stage__cats { padding: 70px 20px 20px; }
  .stage-on .ctile a { gap: 8px; padding: 8px 0; }
  .stage-on .ctile__slot { width: 40px; }
  .ctile__name { font-size: 12.5px; letter-spacing: 0; white-space: nowrap; }
  .ctile small { font-size: 11px; }
  .stage-on .ph span { padding: 4px 6px 0; border-bottom-width: 4px; font-size: 10px; line-height: 1.4; -webkit-line-clamp: 1; line-clamp: 1; }
  .stage-on .stage__cats-title { margin-bottom: 14px; }
  .geo { top: 78px; right: 14px; width: 96px; opacity: .85; }
  .archive-head .geo { top: -30px; width: 88px; }

  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll li { flex: none; }
  .feed, .feed.feed--flat { grid-template-columns: 1fr 1fr; }
  .entry__link { padding: 10px 10px 18px; }
  .entry:nth-child(n) .entry__title, .feed--flat .entry:nth-child(n) .entry__title { font-size: 13.5px; line-height: 1.6; }
  .entry:nth-child(n) .entry__excerpt { display: none; }
  .entry__meta, .feed--flat .entry__meta { margin-top: 10px; font-size: 10px; letter-spacing: .06em; }

  .crumbs { padding-top: 76px; }
  .archive-head__title { letter-spacing: .06em; }
  .post__title { font-size: clamp(22px, 6vw, 28px); line-height: 1.5; padding-right: 0; }
  .post__head { padding-top: 150px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item { grid-column: 1; min-height: 150px; }
  .post-nav__item + .post-nav__item { border-left: 0; border-top: 1px solid var(--ink); }
  .post-nav__bg { width: 84px; right: 20px; }
  .post-nav__next .post-nav__bg { left: 20px; }
  .post-nav__title { max-width: 64%; }
  .foot-profile { grid-template-columns: 1fr; gap: 14px; }
  .foot-sign { margin-inline: 20px; }
  .bigcats { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .post__visual { padding: 0 20px 12px; }
  .post__visual img { max-height: 64vh; }

  .entry-content .sb-type-ln-flat > [class*="sb-subtype-"] { gap: 10px; }
  .entry-content .sb-speaker { flex-basis: 44px; width: 44px; }
  .entry-content .sb-speaker > .sb-icon { height: 44px; }
  .entry-content img.sb-icon { width: 44px; height: 44px; }
  .entry-content .sb-name { left: calc(100% + 12px); }
  .entry-content .sb-subtype-b .sb-name, .entry-content .sb-subtype-d .sb-name { right: calc(100% + 12px); }
  .entry-content .sb-content { max-width: calc(100% - 44px - 10px - 12px); margin-top: 18px; }
  .entry-content .sb-speech-bubble { padding: .65em .95em; }
  .entry-content .blog-card-thumbnail img { width: 64px !important; height: 64px !important; }
  .entry-content .blog-card-content { margin-left: 78px !important; }
  .entry-content .blog-card-excerpt { display: none; }
}

/* 13. 動きを減らす設定・印刷 ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .bigcats[data-reveal] li, .js .foot-end[data-reveal] i { opacity: 1 !important; transform: none !important; }
  .mark__sl { transform: rotate(-8deg) !important; }
  .js .entry[data-reveal] .entry__fig, .js .post__visual img { clip-path: none !important; transform: none !important; }
}
@media print {
  .site-nav, .hero, .geo, .filter, .catbar, .post-nav, .related, .site-footer, .pager, .progress { display: none !important; }
}

/* 12d. 第7版：紺＋山吹色、図形を増やす ------------------------------------------ */
/* 青は紺（--blue）に。山吹色（--gold）は「小さく・少なく」だけ使う差し色：題名の点、図形のいくつか、読み進みの線、ページの最後の小さな四角。
   本文の赤字は持ち主のものなので、そのまま。 */
.r.gold { background: var(--gold); }
.r.gold.tri { width: 0 !important; height: 0 !important; background: none; border: solid transparent; border-width: 0 50px 100px; border-bottom-color: var(--gold); }
.r.gline { background: var(--gold); }
.r.stripe { background: repeating-linear-gradient(45deg, var(--blue) 0 1.2px, transparent 1.2px 6px); mix-blend-mode: multiply; }
.r.dots { background: radial-gradient(circle, var(--blue) 1.1px, transparent 1.5px) 0 0 / 7px 7px; mix-blend-mode: multiply; }
.r.ring { border-radius: 50%; border: 1px solid var(--ink); }
.r.ring.dash { border: 1px dashed var(--blue); }
.r.ring.arc { border: 2px solid transparent; border-top-color: var(--gold); }
.mark__dot { background: var(--gold); }
.progress { background: var(--gold); }
.foot-end .e4 { background: var(--gold); }
.pager [aria-current]::after { background: var(--gold); }
.entry-content h3::before { background: var(--gold); }
.more:hover::after { background: var(--gold); color: var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
/* フッターの締めくくりにも、点線の輪と山吹色の弧を添える */
.foot-end .e5 { left: calc(7% - clamp(70px, 12%, 160px) * .25); top: calc(16% - clamp(70px, 12%, 160px) * .25); width: calc(clamp(70px, 12%, 160px) * 1.5); aspect-ratio: 1; border: 1px dashed var(--blue); border-radius: 50%; animation: spin 60s linear infinite; }
.foot-end .e6 { right: calc(9% - clamp(120px, 22%, 300px) * .1); bottom: calc(clamp(120px, 22%, 300px) * -.6); width: calc(clamp(120px, 22%, 300px) * 1.2); aspect-ratio: 1; border: 2px solid transparent; border-top-color: var(--gold); border-radius: 50%; animation: spin 24s linear infinite reverse; }
.js .foot-end[data-reveal] .e5, .js .foot-end[data-reveal] .e6 { opacity: 0; transition: opacity 1.4s ease .8s; }
.js .foot-end.is-in .e5, .js .foot-end.is-in .e6 { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ほかのページの小さな構成にも、斜線の四角・点線の輪・山吹色の点 */
.geo .g6 { left: -6%; top: -4%; width: 40%; aspect-ratio: 1; background: repeating-linear-gradient(45deg, var(--blue) 0 1px, transparent 1px 6px); mix-blend-mode: multiply; transform: translateY(calc(var(--sy) * 40%)); }
.geo .g7 { right: -10%; top: -10%; width: 82%; aspect-ratio: 1; border: 1px dashed var(--blue); border-radius: 50%; animation: spin 80s linear infinite; }
.geo .g8 { left: 48%; top: 48%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); transform: translate(calc(var(--sy) * 140%), calc(var(--sy) * -200%)); }
@media (prefers-reduced-motion: reduce) { .foot-end .e5, .foot-end .e6, .geo .g7 { animation: none; } }

/* 12e. 第8版：一覧の写真は、スクロールで色づく。一覧にも図形の遊び ------------------- */
/* 写真：画面に入ると、まず紺に染まった白黒で現れ、少しして左から山吹色の線が走り、
   通ったあとから元の色になる（一度色づいたら、そのまま）。マウスを乗せても色は変えない。
   仕組み：::before が下の写真を白黒にする膜、::after が紺の膜＋山吹色の線。2枚を同じ速さで右へ抜く。 */
.entry__fig::after { display: none; }
.entry__fig img, .entry__link:hover .entry__fig img { filter: none; }
.js .entry[data-reveal] .entry__fig::before { content: ""; position: absolute; z-index: 1; inset: 0; -webkit-backdrop-filter: grayscale(1) contrast(1.05); backdrop-filter: grayscale(1) contrast(1.05); clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-io) calc(var(--d, 0s) + .7s); pointer-events: none; }
.js .entry[data-reveal] .entry__fig::after { content: ""; display: block; position: absolute; z-index: 2; inset: 0; width: auto; height: auto; border-radius: 0; transform: none; opacity: .78; mix-blend-mode: screen;
  background: linear-gradient(to right, transparent 0 50%, var(--gold) 50% calc(50% + 3px), var(--blue) calc(50% + 3px)) 100% 0 / 200% 100% no-repeat;
  transition: background-position 1.3s var(--ease-io) calc(var(--d, 0s) + .7s); pointer-events: none; }
.js .entry[data-reveal].is-in .entry__fig::before { clip-path: inset(0 0 0 100%); }
.js .entry[data-reveal].is-in .entry__fig::after { background-position: 0 0; }
.js .entry[data-reveal].is-in .entry__link:hover .entry__fig::after { opacity: .78; }

/* 写真は、スクロールに合わせて枠の中でゆっくり上下する（--py：-1〜1 を JS が渡す） */
.entry__fig img { position: relative; top: -8%; height: 116%; transform: translate3d(0, calc(var(--py, 0) * 6%), 0); transition: transform .7s var(--ease); }
.entry__link:hover .entry__fig img { transform: translate3d(0, calc(var(--py, 0) * 6%), 0) scale(1.05); }

/* 図形だけのマス：記事のあいだに3つ。--p（下から入ると 1、まん中で 0、上へ抜けると -1）で動く */
.gtile { position: relative; overflow: hidden; isolation: isolate; min-height: 300px; background: #fff; outline: 1px solid var(--line); --p: 1; }
.gtile i { position: absolute; display: block; transition: transform .8s var(--ease); }
.gtile--a .t1 { left: 22%; top: 24%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); mix-blend-mode: multiply; transform: translateY(calc(var(--p) * 22%)); }
.gtile--a .t2 { left: 9%; width: 82%; aspect-ratio: 1; top: 50%; margin-top: -41%; border: 1px dashed var(--blue); border-radius: 50%; transform: rotate(calc(var(--p) * 140deg)); }
.gtile--a .t3 { left: 15%; top: 50%; width: 70%; aspect-ratio: 1; margin-top: -35%; transform: rotate(calc(var(--p) * -220deg)); }
.gtile--a .t3::after { content: ""; position: absolute; left: 50%; top: -5%; width: 10%; aspect-ratio: 1; margin-left: -5%; border-radius: 50%; background: var(--gold); }
.gtile--a .t4 { left: -15%; top: 50%; width: 130%; height: 1px; background: var(--ink); transform: rotate(calc(-28deg + var(--p) * 26deg)); }
.gtile--a .t5 { left: 10%; top: 10%; width: 32%; aspect-ratio: 1; background: repeating-linear-gradient(45deg, var(--blue) 0 1px, transparent 1px 6px); mix-blend-mode: multiply; transform: translateX(calc(var(--p) * -40%)) rotate(calc(var(--p) * 30deg)); }

.gtile--b .t1 { left: 14%; bottom: 0; width: 72%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--blue); transform: translateY(calc(40% + var(--p) * 60%)); }
.gtile--b .t2 { left: 10%; top: 10%; width: 44%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; transform: scale(calc(1 - var(--p) * .25)); }
.gtile--b .t3 { right: 16%; top: 18%; width: 17%; aspect-ratio: 1; background: var(--gold); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(calc(var(--p) * -200deg)); }
.gtile--b .t4 { right: 6%; top: 36%; width: 38%; aspect-ratio: 1; background: repeating-linear-gradient(45deg, var(--blue) 0 1px, transparent 1px 6px); mix-blend-mode: multiply; transform: rotate(calc(45deg + var(--p) * 60deg)); }
.gtile--b .t5 { left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }

.gtile--c .t1 { left: 6%; top: 8%; width: 70%; height: 66%; background: radial-gradient(circle, var(--blue) 1.1px, transparent 1.5px) 0 0 / 9px 9px; mix-blend-mode: multiply; transform: translateY(calc(var(--p) * 14%)); }
.gtile--c .t2 { right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 100% 0 0 0; background: var(--blue); mix-blend-mode: multiply; transform-origin: 100% 100%; transform: rotate(calc(var(--p) * -40deg)); }
.gtile--c .t3 { left: 18%; top: 50%; width: 64%; aspect-ratio: 1; margin-top: -32%; border: 2px solid transparent; border-top-color: var(--gold); border-radius: 50%; transform: rotate(calc(var(--p) * -260deg)); }
.gtile--c .t4 { left: 56%; top: 14%; width: 26%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; transform: translateX(calc(var(--p) * 30%)); }
.gtile--c .t5 { left: 28%; top: 22%; width: 2px; height: 56%; background: var(--gold); transform: translateY(calc(var(--p) * 30%)); }

/* 一覧の外側（画面の左右の余白）を、ちがう速さで流れる図形。--ly＝一覧に入ってからのスクロール量（px） */
html, body { overflow-x: clip; }
#list { position: relative; isolation: isolate; }
.drift { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; overflow: hidden; pointer-events: none; --ly: 0; }
.drift i { position: absolute; display: block; will-change: transform; }
.drift .d1 { right: -120px; top: 10%; width: min(28vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); transform: translateY(calc(var(--ly) * -.18px)); }
.drift .d2 { left: -190px; top: 22%; width: 460px; aspect-ratio: 1; border: 1px dashed var(--blue); border-radius: 50%; transform: translateY(calc(var(--ly) * -.08px)) rotate(calc(var(--ly) * .05deg)); }
.drift .d3 { left: 5vw; top: 38%; width: 16px; aspect-ratio: 1; border-radius: 50%; background: var(--gold); transform: translateY(calc(var(--ly) * -.3px)); }
.drift .d4 { right: 3vw; top: 46%; width: 220px; aspect-ratio: 1; background: repeating-linear-gradient(45deg, var(--blue) 0 1px, transparent 1px 7px); transform: translateY(calc(var(--ly) * -.12px)) rotate(calc(var(--ly) * -.02deg)); }
.drift .d5 { left: -60px; top: 62%; width: 320px; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: var(--blue); transform: translateY(calc(var(--ly) * -.22px)) rotate(90deg); }
.drift .d6 { right: -8vw; top: 74%; width: 42vw; height: 1px; background: var(--ink); transform: translateY(calc(var(--ly) * -.1px)) rotate(-28deg); }
.drift .d7 { right: 4vw; top: 84%; width: 300px; aspect-ratio: 1; border: 2px solid transparent; border-top-color: var(--gold); border-radius: 50%; transform: translateY(calc(var(--ly) * -.16px)) rotate(calc(var(--ly) * .12deg)); }
@media (max-width: 760px) { .drift { display: none; } }
@media (prefers-reduced-motion: reduce) { .gtile i, .entry__fig img { transition: none; } }
.notfound .geo .g6 { display: none; }
