/* Telephonovision：見た目（手書き。tools/build_site.py は上書きしない）
   決まり：白い地、今の標準的なゴシック体、そろえた余白と罫、大きな写真。
   使わない：セピア、紙の質感、走査線・ノイズ、ドット文字、昔の広告風の飾り。 */
:root {
  --bg: #fff;
  --ink: #111;
  --sub: #6b6b6b;
  --rule: #d9d9d9;
  --u: 8px;                 /* 余白の単位 */
  --gut: clamp(16px, 4vw, 56px);
  --gap: clamp(6px, 1vw, 14px);
  --row: clamp(180px, 30vw, 460px);   /* 写真をならべる行の、目安の高さ */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* 日本語と英語を並べて出す：日本語が先、英語は少し小さく、うすく */
[lang="en"] { color: var(--sub); }
h1 [lang], nav a [lang] { display: block; }

/* ---- アンテナの絵（Telephonovision の目印）。すべてのページの頭に出る。
   回せることは知らせない：案内の文字も、手の形のカーソルも出さない。たてになぞると、ページが動く */
.mark { padding: calc(var(--u) * 3 + env(safe-area-inset-top)) var(--gut) calc(var(--u) * 1); }
.mark canvas, .mark img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; max-height: 62vh; object-fit: cover; }   /* 横幅いっぱいの帯（左右の余白は写真の行と同じ）。横に写る範囲は、元の写真と同じ */
@media (max-width: 700px) { .mark canvas, .mark img { aspect-ratio: 3 / 2; } }
/* トップだけは、元の写真と同じ画角：正方形。画面の高さにおさまる大きさ */
.mark.home canvas, .mark.home img { aspect-ratio: 1; max-height: none; width: min(100%, max(240px, calc(100vh - 220px))); width: min(100%, max(240px, calc(100dvh - 220px))); }
.mark canvas { touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---- 上の帯 */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: flex-end; justify-content: space-between; gap: calc(var(--u) * 3);
  padding: calc(var(--u) * 2) var(--gut);
  padding-top: calc(var(--u) * 2 + env(safe-area-inset-top));
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
nav { display: flex; gap: calc(var(--u) * 3); overflow-x: auto; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a { font-size: 12px; line-height: 1.35; white-space: nowrap; padding-bottom: 2px; border-bottom: 1px solid transparent; }
nav a [lang="en"] { font-size: 11px; }
nav a[aria-current="page"] { border-bottom-color: var(--ink); }
@media (hover: hover) { nav a:hover { border-bottom-color: var(--ink); } }

/* ---- 本文 */
main { padding: 0 var(--gut) calc(var(--u) * 12); }
h1 {
  margin: 0; padding: calc(var(--u) * 6) 0 calc(var(--u) * 3);
  font-size: clamp(26px, 4.2vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em;
}
h1 [lang="en"] { font-size: .5em; font-weight: 400; letter-spacing: 0; margin-top: .4em; }

/* まとまり（旧サイトの1つのグリッド＝1つのまとまり） */
.g { margin: 0 0 calc(var(--u) * 9); }
.g .ph { display: flex; flex-wrap: wrap; gap: var(--gap); }
.g .ph::after { content: ""; flex: 100 1 0; }           /* 最後の行だけ大きくなりすぎないように */
.g figure, .g .work { margin: 0; flex: var(--ar) 1 calc(var(--ar) * var(--row)); min-width: 0; }
.g.one .ph::after { content: none; }
.g.one figure { flex: 1 1 100%; }
.g.one img { width: 100%; max-height: 92vh; object-fit: contain; object-position: left top; }
.g img { width: 100%; cursor: zoom-in; background: #f4f4f4; }
.g video { display: block; width: 100%; height: auto; background: #f4f4f4; }
/* main.js が行を組んだあと：どの行も左右の端がそろう（幅は main.js が1枚ずつ決める） */
.g .ph.j::after { content: none; }
.g .ph.j figure, .g .ph.j .work { flex: 0 0 auto; }

/* 作品一覧：各作品のメインビジュアル。押すと作品の詳細へ */
.g.list { --row: clamp(200px, 26vw, 400px); }
.g.list .ph { row-gap: calc(var(--u) * 4); }
.g.list img { cursor: pointer; }
.work { display: block; }
.work .cap { margin-top: var(--u); border-top: 0; padding-top: 0; }
.nopic { display: block; aspect-ratio: 3 / 2; background: #f4f4f4; }
/* 作品のページの中に置く、アンテナの 3D の絵（正方形。ページの頭の絵と同じ仕組み） */
.g3d { position: relative; }
.g3d canvas, .g3d img { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* 外のサイトへのリンク（写真のまとまりのあとに出す） */
.ext { margin: calc(var(--u) * 2) 0 0; font-size: 14px; }
.ext a { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* 作品の詳細：上にカテゴリーへのもどり道と番号、下に前後の作品 */
.crumb {
  display: flex; justify-content: space-between; align-items: flex-end; gap: calc(var(--u) * 2);
  margin: 0; padding: calc(var(--u) * 5) 0 calc(var(--u) * 2);
  font-size: 15px; font-weight: 600; line-height: 1.35;
}
.crumb a [lang] { display: block; }
.crumb a [lang="en"] { font-size: 12px; font-weight: 400; }
.crumb .no { font-size: 12px; font-weight: 400; color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.crumb + .cap { margin: 0 0 calc(var(--u) * 3); }
.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: calc(var(--u) * 2); overflow: visible;
  border-top: 1px solid var(--rule); padding-top: calc(var(--u) * 2);
}
.pager a { font-size: 12px; border: 0; }
.pager a [lang] { display: block; }
.pager .up { text-align: center; }
.pager .next { text-align: right; }
figcaption { font-size: 11px; color: var(--sub); padding-top: var(--u); }
.cap {
  margin: calc(var(--u) * 1.5) 0 0; padding-top: var(--u);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 5em 1fr; column-gap: calc(var(--u) * 2);
  font-size: 12px; line-height: 1.5;
}
.cap .y { grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
.cap [lang] { grid-column: 2; }
.cap.free { grid-template-columns: 1fr; }      /* 年が無いキャプション：文だけ */
.cap.free [lang] { grid-column: 1; }

/* 映像と音 */
.video { position: relative; aspect-ratio: 16 / 9; max-width: 1400px; background: #f4f4f4; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: tr; border-top: 1px solid var(--rule); max-width: 900px; }
.tracks li {
  counter-increment: tr; display: grid; grid-template-columns: 3em 1fr; align-items: center;
  border-bottom: 1px solid var(--rule); padding: var(--u) 0;
}
.tracks li::before { content: counter(tr, decimal-leading-zero); font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
.audio iframe { display: block; width: 100%; height: 75px; border: 0; }
.audio audio { display: block; width: 100%; height: 40px; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.audio.sc iframe { height: 166px; }

/* 音声のプレーヤー（無線機のような形）。いまの製品の見た目：明るい灰色の筐体、黒い表示窓、細い罫。古びた効果は付けない */
.radio { display: grid; grid-template-columns: 112px minmax(0, 1fr); max-width: 640px; background: #ececea; border: 1px solid #c9c9c6; border-radius: 10px; overflow: hidden; }
.rd-grille { border-right: 1px solid #c9c9c6; background-image: radial-gradient(circle, #8b8b88 1.3px, transparent 1.6px); background-size: 8px 8px; background-position: center; margin: 14px; border: 0; }
.rd-body { padding: 14px 16px 14px 2px; display: grid; row-gap: 12px; min-width: 0; }
.rd-disp { display: grid; grid-template-columns: auto 1fr auto; align-items: end; column-gap: 14px; padding: 10px 12px; background: #161616; color: #e9e9e6; border-radius: 4px; font-variant-numeric: tabular-nums; }
.rd-ch { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.rd-ch i, .rd-vol i { font-style: normal; font-size: 10px; letter-spacing: .08em; color: #9a9a97; }
.rd-ch b { font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.rd-ch em { font-style: normal; font-size: 12px; color: #9a9a97; }
.rd-time { font-size: 12px; color: #c9c9c6; text-align: right; white-space: nowrap; line-height: 1.2; }
.rd-meter { width: 96px; height: 28px; display: block; }
.rd-scale { position: relative; height: 34px; border-bottom: 1px solid #a9a9a6; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
.rd-tick { position: absolute; bottom: 0; width: 1px; height: 7px; background: #8b8b88; }
.rd-tick.num { height: 12px; background: #4a4a48; }
.rd-tick.num::after { content: attr(data-n); position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #6b6b6b; font-variant-numeric: tabular-nums; }
.rd-needle { position: absolute; top: 0; bottom: -1px; width: 2px; margin-left: -1px; background: #111; transition: left .12s ease-out; }
.rd-ctl { display: flex; align-items: center; gap: 10px; }
.rd-ctl button { -webkit-appearance: none; appearance: none; border: 1px solid #a9a9a6; background: #f7f7f5; border-radius: 50%; width: 36px; height: 36px; padding: 0; position: relative; cursor: pointer; flex: none; }
.rd-ctl button:active { background: #dededb; }
.rd-ctl .rd-play { width: 48px; height: 48px; border-color: #111; }
.rd-ctl button::before { content: ""; position: absolute; left: 50%; top: 50%; border: 6px solid transparent; }
.rd-prev::before { border-right-color: #111 !important; transform: translate(-75%, -50%); }
.rd-next::before { border-left-color: #111 !important; transform: translate(-25%, -50%); }
.rd-play::before { border-width: 8px 0 8px 13px !important; border-left-color: #111 !important; transform: translate(-40%, -50%); }
.radio.on .rd-play::before { border: 0 !important; width: 13px; height: 13px; background: #111; transform: translate(-50%, -50%); }
.rd-vol { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.rd-vol input { width: 120px; max-width: 30vw; accent-color: #111; }
/* 動画のプレーヤー（モニターのような形）。音声のプレーヤーと同じ筐体・同じ部品 */
.tv { max-width: 900px; background: #ececea; border: 1px solid #c9c9c6; border-radius: 10px; padding: 14px 16px; display: grid; row-gap: 12px; grid-template-columns: minmax(0, 1fr); }   /* 列の幅を枠におさめる（操作の並びが長いと、iPhone で画面が右へはみ出していた。2026-12-05） */
.tv-screen { background: #111; border-radius: 4px; overflow: hidden; }
.tv-screen .video { max-width: none; background: #111; }
.tv.tall .tv-screen .video { aspect-ratio: var(--ar, 9 / 16); max-height: min(82vh, 860px); margin: 0 auto; }   /* 縦長の動画：枠を縦に伸ばす（main.js が --ar に動画の縦横を入れる） */
/* 動画の上では、マウスに反応しない（操作は筐体のボタンで）。画面いっぱいのあいだだけ、ブラウザの標準の操作を使う */
.tv-screen video { pointer-events: none; }
.tv-screen video:fullscreen { pointer-events: auto; }
.tv-ctl { gap: 10px; }
.tv.on .rd-play::before { border: 0 !important; width: 13px; height: 13px; background: #111; transform: translate(-50%, -50%); }
.rd-ctl .tv-full::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 10px; border: 1.5px solid #111; transform: translate(-50%, -50%); }
.tv-time { display: flex; align-items: baseline; gap: 12px; padding: 6px 10px; background: #161616; color: #e9e9e6; border-radius: 4px; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.2; }
.tv-ch { display: flex; align-items: baseline; gap: 5px; }
.tv-ch i { font-style: normal; font-size: 10px; letter-spacing: .08em; color: #9a9a97; }
.tv-ch b { font-size: 18px; font-weight: 500; }
.tv-ch em { font-style: normal; color: #9a9a97; }
.tv.one .rd-scale, .tv.one .rd-prev, .tv.one .rd-next, .tv.one .tv-ch { display: none; }
/* YouTube の番組を再生する筐体（.tv.yt）。画面は 4:3（2009年ごろの記録の形）。再生するまでは、番組の名前を出しておく */
.yt-box { position: relative; aspect-ratio: 4 / 3; max-height: 70vh; margin: 0 auto; background: #111; }
.yt-box iframe, .yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cover { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; border: 0; border-radius: 0; background: #161616; color: #e9e9e6; font: inherit; cursor: pointer; display: grid; align-content: center; justify-items: center; row-gap: 8px; padding: 16px; text-align: center; }
.yt-cn { font-size: 15px; line-height: 1.5; max-width: 32em; }
.yt-cp { font-size: 12px; color: #9a9a97; font-variant-numeric: tabular-nums; }
.yt-note { font-size: 11px; color: #9a9a97; margin-top: 8px; }
.yt-cover { z-index: 2; }
/* 動画の上にかぶせる、すきとおった板。マウスを動画に乗せても、YouTube の部品は反応しない（操作は、筐体のボタンで行う） */
.yt-shield { position: absolute; inset: 0; z-index: 1; }
.tv.yt.live .yt-cover { display: none; }
/* チャプター（番組の中の動画1本＝1つ）。番号のボタンと、シークバーの切れ目の印 */
.yt-chap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 11px; line-height: 1; }
.yt-chap:empty { display: none; }
.yt-chap::before { content: "CHAPTER"; font-size: 10px; letter-spacing: .08em; color: #9a9a97; margin-right: 6px; }
.yt-chap button { -webkit-appearance: none; appearance: none; border: 1px solid #a9a9a6; background: #f7f7f5; color: #111; border-radius: 3px; min-width: 30px; height: 26px; padding: 0 6px; font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
.yt-chap button:active { background: #dededb; }
.yt-chap button.cur { background: #111; border-color: #111; color: #f7f7f5; }
.yt-chap button.bad { color: #9a9a97; text-decoration: line-through; }
.yt-chap button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.tv-seek .yt-mk { position: absolute; top: 4px; width: 1px; height: 12px; background: #6b6b6b; pointer-events: none; }
/* 画面いっぱい：筐体ごと広げる（動画がいちばん広く、ボタンは下に残る） */
.tv.yt:fullscreen { max-width: none; width: 100%; height: 100%; box-sizing: border-box; border: 0; border-radius: 0; grid-template-rows: minmax(0, 1fr); grid-auto-rows: auto; }
.tv.yt:fullscreen .tv-screen { min-height: 0; }
.tv.yt:fullscreen .yt-box { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; }
.tv.yt.bad .yt-cover { display: grid; }
.yt-row { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 12px; line-height: 1.4; }
.yt-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yt-skip { flex: 0 1 auto; min-width: 0; color: #6b6b6b; font-size: 11px; }
.yt-skip a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.yt-skip a:hover { color: #111; }
.yt-skip.cut { color: #c8201e; }
.yt-skip.cut a:hover { color: #8f1512; }
.yt-row:has(.yt-skip.cut) { flex-wrap: wrap; row-gap: 2px; }
.yt-row:has(.yt-skip.cut) .yt-name { flex-basis: 100%; }
@media (max-width: 560px) { .yt-row { flex-wrap: wrap; row-gap: 2px; } .yt-skip { white-space: normal; } }
.ytv .yt-list { margin: 0; padding-left: 1.4em; font-size: 12px; line-height: 1.7; }
.ytv .yt-list a { margin-left: .8em; }
.tv.yt .rd-scale .rd-tick.num::after { font-size: 9px; }
.tv-seek:focus-visible, .tv-ctl button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 560px) { .tv { padding: 12px; } .tv .rd-vol { display: none; } .tv-ctl { flex-wrap: wrap; row-gap: 10px; } .tv-time { order: -1; flex: 1 0 100%; justify-content: space-between; } .tv-full { margin-left: auto; } }   /* 狭い画面：音量のつまみは出さない（iPhone はページから音量を変えられない。本体のボタンで変える）。表示窓を1段めに広げ、ボタンを2段めに並べて、枠におさめる（2026-12-05） */
/* シークバー（再生の位置）：みぞの中を、濃い線がのびる。先に丸いつまみ。押す・なぞるで、位置を動かす */
.rd-seek, .tv-seek { position: relative; height: 20px; margin: 0 7px; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
.rd-seek::after, .tv-seek::after { content: ""; position: absolute; left: -7px; right: -7px; top: 8px; height: 4px; border-radius: 2px; background: #c9c9c6; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .12); }
.rd-seek span, .tv-seek span { position: absolute; left: -7px; top: 8px; height: 4px; width: 0; padding-right: 14px; box-sizing: content-box; border-radius: 2px; background: #111; z-index: 1; }
.rd-seek span::after, .tv-seek span::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #f7f7f5; border: 1px solid #111; box-sizing: border-box; }
.rd-seek.hold span::after, .tv-seek.hold span::after { background: #111; }
/* 筐体の刻印：筐体よりわずかに暗い字に、上のふちへ細い影、下のふちへ細い明るい線。へこんで彫られたように見える。控えめに */
.rd-logo { justify-self: end; margin-top: -2px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #d3d3d0;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .22), 0 1px 0 rgba(255, 255, 255, .95); -webkit-user-select: none; user-select: none; }
.radio.one .rd-scale, .radio.one .rd-prev, .radio.one .rd-next, .radio.one .rd-ch em { display: none; }
.rd-scale:focus-visible, .rd-seek:focus-visible, .rd-ctl button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 560px) {
  .radio { grid-template-columns: minmax(0, 1fr); }
  .rd-grille { display: none; }
  .rd-body { padding: 12px; }
  .rd-disp { grid-template-columns: auto 1fr; }
  .rd-meter { grid-column: 1 / 3; width: 100%; }
  .radio .rd-vol { display: none; }
}

/* トップ：カテゴリーへの入口 */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: calc(var(--u) * 3); border-top: 1px solid var(--rule); }
.entry a { padding: calc(var(--u) * 1.5) 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.entry a [lang] { display: block; }
.entry a [lang="en"] { font-size: 12px; font-weight: 400; }
@media (max-width: 700px) {
  .entry { grid-template-columns: 1fr; }
  .entry a { border-bottom: 1px solid var(--rule); }
  .top { flex-direction: column; align-items: flex-start; gap: var(--u); }
  nav { width: 100%; }
  .g figure, .g .work { flex-basis: 100%; }                         /* せまい画面では、1枚ずつ縦にならべる */
  .g { margin-bottom: calc(var(--u) * 6); }
}

/* CV・Contact */
.langsw { display: inline-flex; border: 1px solid var(--ink); margin-bottom: calc(var(--u) * 4); }
.langsw button { font: inherit; font-size: 12px; padding: 6px 14px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.langsw button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.todo { color: var(--sub); }
.cv { max-width: 44em; }
.cform { max-width: 36em; display: grid; gap: calc(var(--u) * 3); margin-bottom: calc(var(--u) * 7); }
.cform label { display: grid; gap: 6px; }
.cl { font-size: 12px; line-height: 1.35; }
.cl [lang="en"] { font-size: 11px; color: var(--sub); margin-left: .6em; }
.cform input, .cform textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 0; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.cform textarea { resize: vertical; min-height: 10em; line-height: 1.6; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); }
.cform button { justify-self: start; font: inherit; font-size: 13px; padding: 10px 22px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.cform button:disabled { opacity: .5; cursor: default; }
.cform button [lang="en"] { margin-left: .6em; opacity: .7; font-size: 11px; }
.cform-msg { margin: 0; font-size: 13px; }
.cform-msg.bad { color: #c8201e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail { font-size: 15px; margin: 0; }
/* 無いアドレスのページ（404.html。2026-12-05） */
.nf p { max-width: 36em; margin: calc(var(--u) * 1.5) 0 0; }
.nf p [lang] { display: block; }
.nf p [lang="en"] { color: var(--sub); margin-top: .3em; }
.nf-home a { color: inherit; }
.nf-home a [lang] { display: inline; }
.nf-home a [lang="en"] { margin-left: .6em; }
.mail .cl { display: block; margin-bottom: 6px; }
.mail a { color: inherit; }
.cv h2 { font-size: 12px; font-weight: 600; letter-spacing: .02em; margin: calc(var(--u) * 7) 0 calc(var(--u) * 2); padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.cv-bio p { margin: 0 0 1em; line-height: 1.85; }
.cv-bio { margin-bottom: calc(var(--u) * 5); }
.cv-list { margin: 0; }
.cv-list > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 0 1em; padding: 4px 0; }
.cv-list dt { color: var(--sub); font-variant-numeric: tabular-nums; }
.cv-list dd { margin: 0; }
.cv-list dd p { margin: 0 0 2px; }
.cv-links { list-style: none; margin: 0; padding: 0; }
.cv-links li { padding: 4px 0; }
.cv a { color: inherit; }

footer { padding: calc(var(--u) * 3) var(--gut) calc(var(--u) * 4 + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); font-size: 11px; color: var(--sub); }

/* 写真を大きく見る */
.lb { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lb img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; width: auto; height: auto; object-fit: contain; }
.lb .n { position: fixed; left: var(--gut); bottom: calc(var(--u) * 2 + env(safe-area-inset-bottom)); font-size: 11px; color: var(--sub); font-variant-numeric: tabular-nums; }
.lb button { position: fixed; top: 0; bottom: 0; width: 22%; border: 0; background: none; cursor: pointer; font-size: 0; }
.lb .prev { left: 0; } .lb .next { right: 0; }

/* 下書き用：アドレスの最後に ?draft を付けると、まとまりの番号が見える（キャプションを入れる場所の目印） */
html.draft .work[data-g]::after { content: attr(data-g); display: block; margin-top: 4px; font-size: 11px; color: #fff; background: #111; padding: 1px 6px; width: fit-content; }
html.draft .g:not(.list)[data-g]::before { content: attr(data-g); display: inline-block; margin-bottom: 4px; padding: 1px 6px; font-size: 11px; background: #111; color: #fff; }
