/* ============================================================
   nikoツール「触れる取扱説明書」 2026-11-11 採用
   土台は ittou.css(一棟、建てる。)。ここはこのページだけの部品
   ============================================================ */

.nk .hero__eyebrow { margin-bottom: 18px; }

/* ============ HERO ============ */
.nh { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; padding-top: 112px; padding-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 1000px) { .nh { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.nh__title { display: flex; align-items: center; gap: .18em; font-family: var(--f-big); font-weight: 400; font-size: clamp(48px, 6vw, 104px); line-height: 1.05; white-space: nowrap; }
.nh__icon { width: .92em; height: .92em; flex: none; border: var(--line) solid var(--ink); border-radius: .22em; box-shadow: 5px 5px 0 var(--ink); rotate: -6deg; animation: nod 3.2s var(--ease) infinite; }
@keyframes nod { 0%, 70%, 100% { rotate: -6deg; } 78% { rotate: 4deg; } 86% { rotate: -9deg; } }
.nh__catch { margin-top: 16px; font-weight: 900; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.4; }
.nh__catch em { font-style: normal; white-space: nowrap; background: linear-gradient(transparent 60%, var(--yellow) 60% 92%, transparent 92%); }
.nh__lead { margin: 16px 0 26px; max-width: 34em; font-weight: 700; color: var(--ink-soft); }
.nk-spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nk-spec span { padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 13px; }

.nh__pc { position: relative; justify-self: center; width: min(100%, 560px); padding: 0 0 26px; }
.win { position: relative; margin: 0; border: var(--line) solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 12px 12px 0 var(--green-deep); rotate: 1.4deg; }
.win img { width: 100%; height: auto; }
.win__row {
  position: absolute; left: 3%; width: 94%; top: var(--y); height: 12.2%; /* カード1枚の高さ(74px) ÷ 画像の高さ(606px) */
  border: 3px solid transparent; border-radius: 12px;
  color: transparent; font-size: 0;
  transition: border-color .2s, background .2s, transform .3s var(--spring);
}
.win__row:hover, .win__row:focus-visible { border-color: var(--ink); background: rgba(255,202,58,.28); transform: translateX(-4px); outline: none; }
.win__row::after { content: "試す →"; position: absolute; right: 22%; top: 50%; translate: 0 -50%; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 900; opacity: 0; transition: opacity .2s; }
.win__row:hover::after, .win__row:focus-visible::after { opacity: 1; }
.win figcaption { position: absolute; left: 12px; bottom: 10px; display: grid; padding: 4px 14px; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--yellow); font-weight: 900; font-size: 13px; line-height: 1.5; box-shadow: 3px 3px 0 var(--ink); rotate: -3deg; pointer-events: none; }
.win figcaption small { font-size: 11px; font-weight: 800; }

.buddy { position: absolute; right: -18px; bottom: -6px; width: clamp(86px, 10vw, 120px); animation: bob 2.6s ease-in-out infinite; }
.buddy img { width: 100%; border: var(--line) solid var(--ink); border-radius: 26%; box-shadow: 4px 4px 0 var(--ink); }
.buddy__say { position: absolute; right: 70%; bottom: 92%; white-space: nowrap; padding: 4px 14px; border: var(--line) solid var(--ink); border-radius: 16px 16px 4px 16px; background: var(--white); font-weight: 900; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); transition: transform .35s var(--spring); }
.buddy__say.is-pop { animation: say .45s var(--spring); }
@keyframes say { from { transform: scale(.6) rotate(-6deg); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }

/* ============ セクション共通 ============ */
.nsec { padding-block: clamp(72px, 10vw, 130px); }
.nsec .ttl { font-size: clamp(32px, 5.4vw, 74px); }

/* ============ 作業台(触れる加工図) ============ */
.bench { margin-top: clamp(28px, 4vw, 48px); }
.bench__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line) solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; overflow: hidden; background: var(--white); }
.bench__tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 8px 6px; border-left: 2px solid var(--ink); font-weight: 900; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.25; transition: background .25s; }
.bench__tabs button:first-child { border-left: 0; }
.bench__tabs button small { position: absolute; top: 6px; right: 8px; padding: 0 7px; border: 1.5px dashed var(--ink); border-radius: 999px; background: var(--ply); font-size: 10px; }
.bench__tabs button:hover { background: var(--paper-2); }
.bench__tabs button[aria-selected="true"] { background: var(--yellow); }
.bench__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ink); }
.bench__tabs .tool__icon { width: 40px; height: 40px; border-radius: 12px; box-shadow: 2px 2px 0 var(--ink); background: var(--paper); }
.bench__tabs .tool__icon svg { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .bench__tabs { grid-template-columns: 1fr 1fr; }
  .bench__tabs button:nth-child(3) { border-left: 0; }
  .bench__tabs button:nth-child(n+3) { border-top: 2px solid var(--ink); }
  .bench__tabs .tool__icon { width: 32px; height: 32px; }
}

.bench__desk { display: grid; border: var(--line) solid var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--green-night); box-shadow: var(--sh-lg); overflow: hidden; }
@media (min-width: 960px) { .bench__desk { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.sheet { display: grid; grid-template-rows: auto 1fr auto; padding: clamp(10px, 1.4vw, 18px); gap: 8px; }
.sheet__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; color: var(--paper); font-weight: 800; font-size: 13px; }
.sheet__file { font-family: var(--f-en); letter-spacing: .04em; padding: 1px 10px; border-radius: 6px; background: rgba(246,250,238,.12); }
.sheet__hint { color: var(--yellow); }
.sheet__svg { width: 100%; height: auto; background: #fbfdf6; border: var(--line) solid var(--ink); border-radius: 14px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.sheet__note { color: rgba(246,250,238,.7); font-size: 11.5px; font-weight: 700; line-height: 1.6; }

/* 図の中身 */
.sheet__svg text { font-family: var(--f-en); font-weight: 700; }
.g-grid line { stroke: rgba(46,125,50,.12); stroke-width: 6; }
.pnl { fill: #fff; stroke: #1c2b22; stroke-width: 14; transition: fill .35s; }
.pnl.is-on { fill: rgba(255,152,0,.55); }
.pnl.is-sel { fill: rgba(255,152,0,.85); }
.mode-sqm .pnl.is-on { fill: rgba(102,187,106,.5); }
.mode-sqm .pnl.is-sel { fill: rgba(46,125,50,.6); }
.pnl-lbl { font-size: 128px; fill: #1c2b22; text-anchor: middle; dominant-baseline: middle; pointer-events: none; opacity: .3; transition: opacity .3s; }
.pnl-lbl.is-on { opacity: .9; }
.pnl-star { font-size: 150px; fill: #e65100; text-anchor: middle; pointer-events: none; opacity: 0; transition: opacity .3s; }
.pnl-star.is-on { opacity: 1; }
.opn { fill: #fff; stroke: #1c2b22; stroke-width: 14; }
.opn-x { stroke: #1c2b22; stroke-width: 10; }
.dim line { stroke: #2e7d32; stroke-width: 8; }
.dim text { font-size: 140px; fill: #2e7d32; text-anchor: middle; }
.sel-rect { fill: rgba(255,202,58,.18); stroke: #1c2b22; stroke-width: 12; stroke-dasharray: 50 30; pointer-events: none; }

/* チェッカー */
.cmp-old { stroke: #1565c0; stroke-width: 22; fill: none; }
.cmp-new { stroke: #d32f2f; stroke-width: 22; fill: none; }
.cmp-same { stroke: rgba(28,43,34,.35); stroke-width: 12; fill: none; }
.cmp-txt-old { fill: #1565c0; font-size: 150px; text-anchor: middle; }
.cmp-txt-new { fill: #d32f2f; font-size: 150px; text-anchor: middle; }
.cmp-mark circle { fill: #ffca3a; stroke: #1c2b22; stroke-width: 14; }
.cmp-mark text { font-size: 150px; fill: #1c2b22; text-anchor: middle; dominant-baseline: central; }
.cmp-mark.is-done circle { fill: #c3c8bd; }
.cmp-mark.is-now circle { fill: #ff5a3c; }
.cmp-mark.is-now text { fill: #fff; }
.cmp-new, .cmp-txt-new { animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* 締め方 */
.pipe { stroke: #2e7d32; stroke-width: 34; stroke-linecap: round; }
.pipe--h { stroke: #1c2b22; stroke-width: 30; }
.pipe-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sepa { fill: #ffca3a; stroke: #1c2b22; stroke-width: 10; }
.joint { fill: #ff5a3c; stroke: #1c2b22; stroke-width: 10; }

/* 集計結果 */
.readout { display: grid; grid-template-rows: auto 1fr auto; margin: 0 clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px); border: var(--line) solid var(--ink); border-radius: 18px; background: var(--paper); overflow: hidden; }
@media (min-width: 960px) { .readout { margin: clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) 0; } }
.readout__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #22303c; color: var(--white); border-bottom: 4px solid #ffc531; }
.readout__head img { width: 34px; height: 34px; border-radius: 9px; }
.readout__head b { font-weight: 900; font-size: 16px; }
.readout__scope { margin-left: auto; padding: 1px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; white-space: nowrap; }
.readout__body { padding: 14px 16px; display: grid; align-content: start; gap: 8px; min-height: 230px; }
.readout__foot { padding: 10px 16px 14px; border-top: 2px dashed rgba(28,43,34,.3); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 800; font-size: 13px; }
.ro-row { display: flex; align-items: baseline; gap: 10px; padding: 7px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font-weight: 800; animation: rowIn .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(16px) scale(.96); } }
.ro-row__k { font-family: var(--f-en); font-size: 18px; letter-spacing: .02em; }
.ro-row__v { margin-left: auto; font-family: var(--f-big); font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; }
.ro-row__v small { font-family: var(--f-jp); font-weight: 800; font-size: 13px; margin-left: 2px; }
.ro-row__tag { font-size: 11px; padding: 0 8px; border-radius: 999px; background: #ffe0b2; border: 1.5px solid #e65100; color: #e65100; white-space: nowrap; }
.ro-row.is-minus { background: #f1f1ee; color: var(--ink-soft); }
.ro-total { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 900; }
.ro-total b { margin-left: auto; font-family: var(--f-big); font-weight: 400; font-size: 30px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.ro-total small { font-size: 14px; }
.ro-chip { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 900; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.ro-chip:hover { background: var(--yellow); }
.ro-chip[aria-pressed="true"] { background: var(--yellow); }
.ro-diff { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; width: 100%; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); text-align: left; font-weight: 800; animation: rowIn .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 90ms); }
.ro-diff i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-style: normal; font-family: var(--f-en); font-size: 16px; }
.ro-diff small { color: var(--ink-soft); font-size: 12px; }
.ro-diff.is-now { border-width: 3px; box-shadow: 3px 3px 0 var(--ink); }
.ro-diff.is-now i { background: var(--red); color: var(--white); }
.ro-diff.is-done { opacity: .55; }
.ro-diff.is-done i { background: var(--concrete); }
.ro-diff.is-done i::after { content: "✓"; }
.ro-diff.is-done i span { display: none; }
.ro-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 800; }
.ro-legend span::before { content: ""; display: inline-block; width: 18px; height: 5px; margin-right: 6px; vertical-align: middle; border-radius: 3px; background: currentColor; }
.ro-done { font-family: var(--f-en); font-size: 15px; }
.ro-progress { flex: 1; min-width: 80px; height: 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; }
.ro-progress span { display: block; height: 100%; width: var(--p, 0%); background: var(--green); transition: width .5s var(--spring); }

/* 各ツールの説明 */
.tdx { display: grid; gap: 18px 40px; margin-top: 28px; padding: clamp(22px, 3vw, 40px); border: var(--line) solid var(--ink); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-lg); }
@media (min-width: 900px) { .tdx { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.js .tdx:not(.is-active) { display: none; }
.tdx.is-active { animation: rowIn .5s var(--spring); }
.tdx__side { display: grid; align-content: start; gap: 14px; }
.tdx__main { display: grid; align-content: start; gap: 16px; }
.tdx__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-big); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.tool__status { padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-2); font-family: var(--f-jp); font-weight: 800; font-size: 12px; white-space: nowrap; }
.tool__status--dev { background: var(--ply); border-style: dashed; }
.tool__catch { font-weight: 900; font-size: 17px; line-height: 1.6; }
.td__when { padding: 12px 16px; border-radius: 14px; background: var(--paper-2); font-weight: 700; font-size: 15px; line-height: 1.7; }
.td__when b { display: block; font-weight: 900; font-size: 12px; letter-spacing: .1em; color: var(--green-deep); }
.tool__list { display: grid; align-content: start; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.7; }
.tool__list li { position: relative; padding-left: 24px; }
.tool__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--green-mid); }
.tool__list b { font-weight: 900; }
.tool__io { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 14px; border-top: 2px dashed rgba(28,43,34,.35); font-weight: 800; font-size: 12px; }
.tool__io i { font-style: normal; font-family: var(--f-en); font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.tool__io span { padding: 1px 10px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.tool__io .to { font-size: 16px; }
.td__tip { padding-left: 14px; border-left: 4px solid var(--yellow); font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.td__legend { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 800; font-size: 12px; }
.td__legend span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.td__legend span::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 4px; }
.td__legend .c-or::before { background: #ff9800; }
.td__legend .c-gr::before { background: #66bb6a; }
.td__legend .c-pu::before { background: #ab47bc; }
.td__legend .c-no::before { background: var(--white); }
.ink-blue { color: #1565c0; }
.ink-red { color: #d32f2f; }
.tool__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border: var(--line) solid var(--ink); border-radius: 16px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.tool__icon svg { width: 30px; height: 30px; }

/* 動画の枠。届いたら .vid__wait を次に置き換える（ファイルは R2 の /media/niko/ に版数付きの名前で置く。/media は1年キャッシュのため）:
   <video controls preload="none" playsinline poster="img/niko/xxx.jpg" src="/media/niko/xxx-v1.mp4"></video> */
.vid { margin: 0; }
.vid video, .vid__wait { display: block; width: 100%; aspect-ratio: 16 / 9; border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--ink); }
.vid__wait { display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--paper); font-weight: 800; font-size: 14px; background: repeating-linear-gradient(45deg, rgba(246,250,238,.05) 0 12px, transparent 12px 24px), var(--green-night); }
.vid__play { width: 56px; height: 56px; border: var(--line) solid var(--paper); border-radius: 50%; background: var(--yellow); position: relative; opacity: .55; }
.vid__play::before { content: ""; position: absolute; left: 21px; top: 15px; border-left: 17px solid var(--ink); border-block: 11px solid transparent; }
.vid figcaption { margin-top: 8px; font-weight: 800; font-size: 13px; color: var(--ink-soft); }

/* ============ 使い方: キーを押す3つ ============ */
.nsec--how { background: var(--paper-2); border-block: var(--line) solid var(--ink); }
.how { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.press { display: grid; gap: 18px; counter-reset: press; }
.press li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 16px 20px 16px 16px; border: var(--line) solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); counter-increment: press; font-weight: 700; }
.press__key {
  position: relative; display: grid; place-items: center; min-width: 110px; height: 76px; padding: 0 14px;
  border: var(--line) solid var(--ink); border-radius: 16px; background: var(--yellow);
  box-shadow: 0 7px 0 var(--ink); font-family: var(--f-big); font-size: 26px; line-height: 1;
  transition: transform .12s, box-shadow .12s; cursor: pointer;
}
.press__key::before { content: "0" counter(press); position: absolute; left: 8px; top: 4px; font-family: var(--f-en); font-size: 12px; }
.press li:hover .press__key, .press li.is-hit .press__key { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); background: var(--green-mid); }
.points { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 44px); font-weight: 700; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.points li { padding: 16px 20px; border: var(--line) dashed var(--ink); border-radius: var(--r); background: var(--paper); font-size: 15px; line-height: 1.7; }
.points b { display: block; font-weight: 900; font-size: 17px; }

/* ============ ダウンロード: 現場の札 ============ */
.nsec--dl { background: var(--green-night); color: var(--paper); border-bottom: var(--line) solid var(--ink); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.dlx { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: 8px; }
@media (min-width: 960px) { .dlx { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.dl__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dl__meta span { padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; font-size: 13px; }
.dl__btn { margin-top: 24px; font-size: 18px; min-height: 64px; padding-inline: 1.8em; box-shadow: 5px 5px 0 var(--green) !important; }
.dl__btn[aria-disabled="true"] { --bg: var(--concrete); --fg: var(--ink-soft); pointer-events: none; border-style: dashed; }
.dl__pc { margin-top: 14px; font-weight: 800; font-size: 14px; color: var(--yellow); }
@media (min-width: 900px) { .dl__pc { display: none; } }
.env { width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; border: var(--line) solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--white); color: var(--ink); font-size: 15px; }
.env th, .env td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 2px solid rgba(28,43,34,.15); }
.env tr:last-child th, .env tr:last-child td { border-bottom: 0; }
.env th { width: 8.5em; background: var(--paper-2); font-weight: 900; white-space: nowrap; }
.env td { font-weight: 700; }
@media (max-width: 560px) { .env th, .env td { display: block; width: auto; } .env th { padding-bottom: 4px; border-bottom: 0; } }
.dlx__notes { display: grid; gap: 22px; padding-top: 10px; }
.tag { position: relative; padding: 20px 22px 20px 64px; border: var(--line) solid var(--ink); border-radius: 14px 14px 14px 40px; background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); rotate: -1.2deg; }
.tag:nth-child(2) { rotate: 1deg; }
.tag--y { background: var(--yellow); box-shadow: 6px 6px 0 var(--green); }
.tag--r { background: var(--white); box-shadow: 6px 6px 0 var(--red); }
.tag__hole { position: absolute; left: 20px; top: 24px; width: 22px; height: 22px; border: var(--line) solid var(--ink); border-radius: 50%; background: var(--green-night); }
.tag__hole::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 34px; background: var(--paper); translate: -50% 0; rotate: 20deg; transform-origin: 50% 100%; }
.tag b { display: block; font-weight: 900; font-size: 17px; }
.tag p { margin-top: 4px; font-weight: 700; font-size: 14px; line-height: 1.75; }
.tag kbd { padding: 0 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); font-family: inherit; font-weight: 800; font-size: 13px; box-shadow: 0 2px 0 var(--ink); }

/* ============ 感想 ============ */
.share { display: grid; gap: 18px; align-items: center; padding: clamp(24px, 3vw, 40px); border: var(--line) solid var(--ink); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-lg); }
@media (min-width: 900px) { .share { grid-template-columns: 1fr auto; } }
.share b { display: block; font-family: var(--f-big); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); }
.share p { margin-top: 6px; font-weight: 700; color: var(--ink-soft); }

@media (max-width: 600px) {
  .nh { padding-top: 100px; }
  .nh__title { font-size: clamp(44px, 13vw, 64px); }
  .buddy { right: -6px; }
  .press__key { min-width: 86px; height: 64px; font-size: 21px; }
  .readout__body { min-height: 0; }
}
/* ---------- スラブ割付(2026-11-15 追加。タブが5つになった) ---------- */
.bench__tabs { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) {
  .bench__tabs { grid-template-columns: 1fr 1fr; }
  .bench__tabs button:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
}
.obiki { fill: #b98a5a; stroke: #1c2b22; stroke-width: 10; opacity: 0; animation: slabIn .5s var(--ease) forwards; }
.mode-slab .sepa { opacity: 0; animation: slabIn .35s var(--ease) forwards; }
@keyframes slabIn { to { opacity: 1; } }
.slab-t { font-size: 104px; fill: #1c2b22; text-anchor: middle; dominant-baseline: middle; opacity: .75; }
.td__legend .c-wd::before { background: #b98a5a; }
.td__legend .c-ye::before { background: #ffca3a; border-radius: 50%; }

/* 「視差効果を減らす」の端末: 揺れ続ける・点滅し続けるものだけ止める(鋼管を引く動きなどは残す) */
.rm .nh__icon, .rm .buddy, .rm .cmp-new, .rm .cmp-txt-new { animation: none; }
