/* トップ（index.html）だけの見た目。NOT A HOTEL のサイトの作りに寄せる（2026-11-13）。
   写真の上の白い題、写真のタイル、黒い地を細い線で区切った番号つきの枠、写真に重ねた一文。
   英字と数字の見出しは Bebas Neue（SIL OFL。assets/fonts/ に同梱）。日本語は端末の太いゴシック。 */

@font-face {
  font-family: "TCCSG Display";
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

body.nah-home {
  --nh-black: #0b0c0d;
  --nh-white: #f6f5f1;
  --nh-dim: #a9a8a2;
  --nh-rule: rgba(246, 245, 241, 0.18);
  --nh-display: "TCCSG Display", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
}
:where(body.nah-home main) :where(h1, h2, h3) { margin: 0; font-family: var(--sans); letter-spacing: 0; }
/* 見出しの色は site.css の決まり（墨色）に勝たせて、黒い地では白くする */
body.nah-home main :is(h1, h2, h3) { color: inherit; }
.nh-sp { display: none; }
:where(body.nah-home main) :where(p, ul, ol, figure, address) { margin: 0; padding: 0; }
:where(body.nah-home main) :where(ul, ol) { list-style: none; }

/* 写真はすべて白黒で見せる（カラーの原本も混ざっているので、ここでそろえる） */
body.nah-home main img { filter: grayscale(1); }

/* ---------- 冒頭: 画面いっぱいの明るい写真。題は下の白い面に墨色で載せる ---------- */
.nh-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: calc(100svh - 62px); background: var(--bg); color: var(--ink); }
.nh-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* 冒頭の写真は重ねておき、選ばれた1枚だけを見せる。切り替えは1秒かけて溶かす（NOT A HOTEL の実測と同じ） */
body.nah-home .nh-hero .nh-hero__img { opacity: 0; transition: opacity 1s ease-in-out; }
body.nah-home .nh-hero .nh-hero__img.is-active { opacity: calc(1 - var(--dim, 0) * 0.85); }
.nh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(247, 246, 243, 0.97) 0%, rgba(247, 246, 243, 0.9) 40%, rgba(247, 246, 243, 0) 66%); }
.nh-hero__inner { min-width: 0; padding-top: 96px; padding-bottom: clamp(24px, 4vh, 44px); text-align: center; }
.nh-hero__event { font-size: 15px; font-weight: 700; line-height: 1.5; }
.nh-hero h1 { margin-top: 10px; font-size: clamp(44px, 7.4vw, 108px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-feature-settings: "palt"; }
.nh-hero__sub { margin-top: clamp(12px, 2vh, 22px); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; line-height: 1.6; }
.nh-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(18px, 2.8vh, 28px); }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 176px; min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.nh-btn:hover { background: var(--ink); color: #fff; }
.nh-btn--solid { background: var(--ink); color: #fff; }
.nh-btn--solid:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.nh-hero__facts { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 22px; margin-top: clamp(16px, 2.6vh, 26px); font-size: 14px; font-weight: 600; }
.nh-hero__facts time { font-family: var(--nh-display); font-size: 26px; font-weight: 400; letter-spacing: 0.04em; line-height: 1; }
.nh-hero__facts a { color: var(--ink); }

/* ---------- 見出しの組（各段共通） ---------- */
.nh-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 40px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 48px); }
.nh-head h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.4; }
.nh-head p { max-width: 38em; font-size: 15px; line-height: 1.9; }
.nh-more { margin-top: clamp(32px, 4vw, 52px); text-align: center; }
.nh-more a { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 52px; padding: 0 28px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.nh-more a:hover { background: var(--ink); color: #fff; }

/* ---------- 物語のあとの段（14件と、締めの一言） ---------- */
.nh-turnsec { padding-top: clamp(80px, 11vw, 168px); padding-bottom: clamp(80px, 11vw, 168px); color: var(--ink); }

/* ---------- 黒い地: 5つの章と、2つの数字 ---------- */
.nh-dark { padding: 0 0 clamp(72px, 9vw, 128px); color: var(--ink); }

.nh-dark .nh-head p { color: var(--body); }
.nh-chs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.nh-ch { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5.6; padding: 20px 18px; border-radius: 6px; background: #17191b; color: #fff; text-decoration: none; }
.nh-ch img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.7s var(--ease); }
/* 触れたカードだけカラーに戻す。ほかの写真は白黒のまま */
body.nah-home main .nh-ch:is(:hover, :focus-visible, :active) img { filter: grayscale(0); }
.nh-ch::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 7, 8, 0.86) 0%, rgba(6, 7, 8, 0.2) 46%, rgba(6, 7, 8, 0) 62%, rgba(6, 7, 8, 0.3) 82%, rgba(6, 7, 8, 0.78) 100%); }
.nh-ch:is(:hover, :focus-visible) img { transform: scale(1.05); }
.nh-ch__n { position: absolute; top: 16px; left: 18px; font-family: var(--nh-display); font-size: 22px; letter-spacing: 0.04em; line-height: 1; }
.nh-ch strong { font-size: clamp(18px, 1.7vw, 25px); font-weight: 800; line-height: 1.4; }
.nh-ch small { margin-top: 6px; color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; line-height: 1.5; }
/* ---------- 物語の場面: 画面いっぱいの写真、見出し1つ、大きな数字1組 ---------- */
.nh-scene { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; background: var(--bg); color: var(--ink); }
.nh-scene > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.nh-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(247, 246, 243, 0.97) 0%, rgba(247, 246, 243, 0.94) 46%, rgba(247, 246, 243, 0.6) 58%, rgba(247, 246, 243, 0) 76%); }
/* .wrap は content-box なので、幅いっぱいにするときは左右の余白ぶんを含めて数える */
.nh-scene__inner { box-sizing: border-box; width: 100%; max-width: calc(1284px + var(--pad) * 2); min-width: 0; padding-top: 40svh; padding-bottom: clamp(36px, 6vh, 72px); }
.nh-scene__n { font-family: var(--nh-display); font-size: 26px; letter-spacing: 0.04em; line-height: 1; }
.nh-scene__n span { color: var(--muted); }
.nh-scene h3 { max-width: 22em; margin-top: 16px; font-size: clamp(24px, 3.4vw, 46px); font-weight: 800; line-height: 1.4; font-feature-settings: "palt"; }
/* 場面ごとの図。数字は墨色、比べる相手は灰色 */
.nh-viz { max-width: 720px; margin-top: clamp(20px, 3vh, 36px); }
.nh-bar { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: center; gap: 0 14px; margin-top: 10px; }
.nh-bar__label { color: var(--body); font-size: 14px; font-weight: 700; line-height: 1.4; }
.nh-bar__track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nh-bar__track i { flex: none; width: calc((100% - 7.5em) * var(--v) / var(--max)); height: 22px; background: #a9a8a2; }
.nh-bar__track b { color: var(--muted); font-family: var(--nh-display); font-size: 40px; font-weight: 400; line-height: 1; white-space: nowrap; }
.nh-bar small, .nh-dots__label small { margin-left: 3px; font-family: var(--sans); font-size: 0.34em; font-weight: 800; }
.nh-bar.is-strong .nh-bar__track i { height: 34px; background: var(--ink); }
.nh-bar.is-strong .nh-bar__track b { color: var(--ink); font-size: clamp(56px, 6.4vw, 88px); }
.nh-slope { display: block; width: 100%; max-width: 640px; height: auto; overflow: visible; }
.nh-slope path { fill: none; stroke: #8f8e88; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.nh-slope circle { fill: #8f8e88; }
.nh-slope text { fill: var(--body); font-family: var(--sans); font-size: 18px; font-weight: 700; }
.nh-slope .is-strong path { stroke: var(--ink); stroke-width: 5; }
.nh-slope .is-strong circle { fill: var(--ink); }
.nh-slope .is-strong text { fill: var(--ink); font-size: 23px; font-weight: 800; }
.nh-slope .nh-slope__axis { fill: var(--muted); font-size: 15px; }
.nh-viz--dots { display: grid; gap: 22px; max-width: 760px; }
.nh-dotset { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: end; gap: 6px clamp(20px, 3vw, 44px); }
.nh-dotset__name { grid-column: 1 / -1; font-size: 15px; font-weight: 800; }
.nh-dots { display: grid; grid-template-columns: repeat(14, 18px); gap: 10px; }
.nh-dots i { width: 18px; height: 18px; border: 1.5px solid #8f8e88; border-radius: 50%; }
.nh-dots i.is-on { border-color: var(--ink); background: var(--ink); }
.nh-dots__label { display: flex; align-items: baseline; gap: 14px; font-size: 15px; font-weight: 800; }
.nh-dots__label b { font-family: var(--nh-display); font-size: clamp(56px, 6.4vw, 88px); font-weight: 400; line-height: 0.86; }
.nh-scene__note { max-width: 46em; margin-top: clamp(16px, 2.4vh, 28px); color: var(--body); font-size: 14px; line-height: 1.8; }
.nh-scene__note a { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.nh-scene__note svg { width: 13px; height: 13px; }

/* ---------- 物語のあとの一言 ---------- */
.nh-turn { text-align: center; }
.nh-turn__lead { margin-bottom: clamp(28px, 4vw, 56px); font-size: clamp(18px, 2.2vw, 30px); font-weight: 800; line-height: 1.7; }
.nh-turn h2 { font-size: clamp(40px, 8vw, 120px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; font-feature-settings: "palt"; }

/* ---------- 写真に重ねた一文（明るい写真の床の上に、墨色で） ---------- */
.nh-statement { background: var(--bg); color: var(--ink); }
.nh-statement__photo { position: relative; isolation: isolate; display: grid; place-items: end start; min-height: min(92svh, 860px); padding: 80px var(--pad) clamp(48px, 8vh, 96px); overflow: hidden; }
.nh-statement__photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.nh-statement__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(247, 246, 243, 0.97) 0%, rgba(247, 246, 243, 0.92) 44%, rgba(247, 246, 243, 0) 76%); }
.nh-statement__text { width: 100%; max-width: 1284px; }
.nh-statement h2 { font-size: clamp(26px, 4vw, 58px); font-weight: 800; line-height: 1.45; font-feature-settings: "palt"; }
.nh-statement__text p { margin-top: clamp(16px, 2.4vw, 32px); font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; line-height: 1.7; }

/* ---------- 会場へのアクセス: 黒い地に、地名の大きな英字、3つの行、白黒を反転した地図 ---------- */
.nh-access { padding: clamp(72px, 9vw, 128px) 0; background: var(--nh-black); color: var(--nh-white); }
.nh-access__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-bottom: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--nh-rule); }
.nh-access__top h2 { padding-bottom: 0.5em; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.4; }
.nh-access__place { font-family: var(--nh-display); font-size: clamp(88px, 19vw, 280px); letter-spacing: 0.01em; line-height: 0.82; }
.nh-access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); margin-top: clamp(32px, 4vw, 56px); }
.nh-route li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 0 8px; padding: 20px 0; border-bottom: 1px solid var(--nh-rule); line-height: 1.5; }
.nh-route li:first-child { padding-top: 0; }
.nh-route span { color: var(--nh-dim); font-family: var(--nh-display); font-size: 22px; letter-spacing: 0.04em; line-height: 1; }
.nh-route b { font-size: clamp(20px, 2vw, 28px); font-weight: 800; }
.nh-route small { color: var(--nh-dim); font-size: 14px; font-weight: 600; }
.nh-access address { margin-top: 22px; color: var(--nh-dim); font-size: 14px; font-style: normal; }
.nh-access__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nh-access .nh-btn { min-width: 0; min-height: 48px; padding: 0 22px; border-color: var(--nh-rule); background: transparent; color: var(--nh-white); font-size: 14px; }
.nh-access .nh-btn:hover, .nh-access .nh-btn--solid { border-color: var(--nh-white); background: var(--nh-white); color: var(--nh-black); }
.nh-access .nh-btn--solid:hover { background: transparent; color: var(--nh-white); }
/* 地図は Google の埋め込みを白黒にして反転し、黒い地になじませる。描かれないときは下の一文が見える */
.nh-map { position: relative; overflow: hidden; min-height: 420px; border-radius: 6px; background: #17191b; }
.nh-map p { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--nh-dim); font-size: 14px; text-align: center; }
body.nah-home main .nh-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.88); }
@media (hover: none) { .nh-map iframe { pointer-events: none; } }

/* ---------- 当日の流れ: 大きな番号の3列 ---------- */
.nh-flowsec { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); color: var(--ink); }
.nh-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.nh-flow li { padding: 24px 28px 8px 0; }
.nh-flow li + li { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.nh-flow li > span { display: block; font-family: var(--nh-display); font-size: clamp(64px, 7vw, 104px); line-height: 0.9; }
.nh-flow h3 { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 800; line-height: 1.6; }

/* ---------- 締め ---------- */
.nh-close { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 14vw, 200px) 0; background: var(--nh-black); color: #fff; text-align: center; }
.nh-close > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nh-close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 7, 8, 0.62); }
.nh-close h2 { font-size: clamp(32px, 5.4vw, 80px); font-weight: 800; line-height: 1.3; font-feature-settings: "palt"; }
.nh-close h2 + p { margin-top: 20px; font-size: 15px; font-weight: 600; }

.nh-close .nh-btn { border-color: rgba(255, 255, 255, 0.6); background: rgba(8, 9, 10, 0.72); color: #fff; }
.nh-close .nh-btn:hover, .nh-close .nh-btn--solid { border-color: #fff; background: #fff; color: #0b0c0d; }
.nh-close .nh-btn--solid:hover { background: rgba(8, 9, 10, 0.72); color: #fff; }

/* 足元は締めの黒とつなげる */
body.nah-home .site-footer { margin-top: 0; }

/* ---------- 点検（2026-11-13）で足したもの ---------- */
/* 写真がAI生成であることの断り。冒頭と各場面の写真の近くに小さく出す（会場や研究の現場の記録写真に見えないように） */
.nh-ai { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.6; }
.nh-hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin-top: 14px; }
.nh-scene .nh-ai { margin-top: 10px; }
.nh-statement .nh-ai { position: absolute; right: var(--pad); top: 14px; }
/* 写真の切り替えを止める、文字だけのボタン */
.nh-pause { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.nh-pause[hidden] { display: none; }
/* 場面の並びに変化をつける: 2つ目は文字と図を右に寄せる */
/* 広い画面では、文字（左）と図（右）を2列に置いて高さを抑え、写真を上半分にしっかり見せる。2つ目の場面は左右を入れ替える */
@media (min-width: 1000px) {
  .nh-scene__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 104px); align-items: end; padding-top: 30svh; }
  .nh-scene__inner > * { grid-column: 1; }
  .nh-scene__inner > .nh-viz { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin-top: 0; }
  .nh-scene--right .nh-scene__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .nh-scene--right .nh-scene__inner > * { grid-column: 2; }
  .nh-scene--right .nh-scene__inner > .nh-viz { grid-column: 1; }
}
/* 狭い画面では中身が縦に長いので、写真は上の余白の中で見せ、文字の始まる高さから下は紙色で覆う */
@media (max-width: 999px) {
  .nh-scene::after { background: linear-gradient(to bottom, rgba(247, 246, 243, 0) 0, rgba(247, 246, 243, 0) 18svh, rgba(247, 246, 243, 0.94) 33svh, rgba(247, 246, 243, 0.97) 100%); }
  .nh-scene__inner { padding-top: 34svh; }
}
/* 当日の流れの中の、お題への入口 */
.nh-flow h3 a { color: inherit; text-decoration-color: rgba(20, 20, 19, 0.35); text-underline-offset: 0.22em; }
/* 地図: 触れない端末（スマホ）では、地図全体を Google マップへのリンクにする */
.nh-map__open { position: absolute; inset: 0; display: none; }
@media (hover: none) { .nh-map__open { display: block; } }
/* キーボードの枠: 黒い地と写真の上では白く。章のカードは幕（clip-path）に切られないよう内側に描き、選ばれたらすぐ幕を開ける */
body.nah-home .nh-access :is(a, button):focus-visible, body.nah-home .nh-close :is(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body.nah-home .nh-ch:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
body.nah-home .nh-motion [data-unveil] .nh-ch:focus-visible, .nh-motion [data-unveil] .nh-ch:focus-visible { clip-path: inset(0 round 6px); }
@media (max-width: 760px) {
  .nh-hero__foot { justify-content: flex-start; }
  .nh-dotset { grid-template-columns: 1fr; }
}
@media print { .nh-ai, .nh-pause { display: none; } }

/* ---------- 物語の語り（2026-11-14）: 場面のあいだの1文 ---------- */
.nh-say { padding: clamp(104px, 15vw, 220px) var(--pad); color: var(--ink); font-size: clamp(26px, 4.4vw, 64px); font-weight: 800; line-height: 1.45; text-align: center; font-feature-settings: "palt"; }
@media (max-width: 760px) {
  .nh-say { text-align: left; }
}

/* ---------- 動き（nah.js が html.nh-motion を付けたときだけ。付かなければ全部そのまま見える） ---------- */
/* 写真の窓: 冒頭・一文・締めの写真は画面に固定し、段がその上を通り過ぎる。親の clip-path が窓になる */
@media screen {
  .nh-hero, .nh-statement__photo, .nh-scene, .nh-close { clip-path: inset(0); }
  .nh-hero__img, .nh-statement__photo img, .nh-scene > img, .nh-close > img { position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .nh-hero__img.is-active { animation: nh-drift 32s ease-out both; }
  .nh-hero__inner > * { animation: nh-rise 1s var(--ease) both; }
  .nh-hero__inner > :nth-child(2) { animation-delay: 0.08s; }
  .nh-hero__inner > :nth-child(3) { animation-delay: 0.16s; }
  .nh-hero__inner > :nth-child(4) { animation-delay: 0.24s; }
  .nh-hero__inner > :nth-child(5) { animation-delay: 0.32s; }

  .nh-motion [data-rise] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 0.1s); }
  .nh-motion [data-rise].is-in { opacity: 1; transform: none; }

  /* 場面の図: 棒は伸び、線は左から引かれ、点は順に灯る */
  .nh-motion .nh-viz .nh-bar__track i { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease) 0.25s; }
  .nh-motion .nh-viz.is-in .nh-bar__track i { transform: none; }
  .nh-motion .nh-viz .nh-bar__track b { opacity: 0; transition: opacity 0.6s var(--ease) 1s; }
  .nh-motion .nh-viz.is-in .nh-bar__track b { opacity: 1; }
  .nh-motion .nh-slope path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); transition-delay: calc(0.3s + var(--i, 0) * 0.35s); }
  .nh-motion .nh-viz.is-in .nh-slope path { stroke-dashoffset: 0; }
  .nh-motion .nh-slope g circle:nth-of-type(2), .nh-motion .nh-slope g text:nth-of-type(2) { opacity: 0; transition: opacity 0.5s var(--ease); transition-delay: calc(1.5s + var(--i, 0) * 0.35s); }
  .nh-motion .nh-viz.is-in .nh-slope g circle:nth-of-type(2), .nh-motion .nh-viz.is-in .nh-slope g text:nth-of-type(2) { opacity: 1; }
  .nh-motion .nh-dots i { opacity: 0; transform: scale(0.4); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.5s var(--ease) 1.9s, border-color 0.5s var(--ease) 1.9s; transition-delay: calc(0.2s + var(--i, 0) * 0.03s), calc(0.2s + var(--i, 0) * 0.03s), 1.9s, 1.9s; }
  .nh-motion .nh-dots i.is-on { border-color: #8f8e88; background: transparent; }
  .nh-motion .nh-viz.is-in .nh-dots i { opacity: 1; transform: none; }
  .nh-motion .nh-viz.is-in .nh-dots i.is-on { border-color: var(--ink); background: var(--ink); }
  .nh-motion .nh-dots__label { opacity: 0; transition: opacity 0.7s var(--ease) 2.2s; }
  .nh-motion .nh-viz.is-in .nh-dots__label { opacity: 1; }

  .nh-motion [data-lines] .nh-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
  .nh-motion [data-lines] .nh-line > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.12s); }
  .nh-motion [data-lines].is-in .nh-line > span { transform: none; }

  /* 幕はカード（a）に掛ける。li に掛けると、隠れている間は「画面に入った」と判定されず、現れなくなる */
  .nh-motion [data-unveil] .nh-ch { clip-path: inset(100% 0 0 0 round 6px); transition: clip-path 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.1s); }
  .nh-motion [data-unveil].is-in .nh-ch { clip-path: inset(0 round 6px); }
  .nh-motion [data-unveil] .nh-ch img { transform: scale(1.12); }
  .nh-motion [data-unveil].is-in .nh-ch img { transform: scale(1); transition: transform 1.4s var(--ease) calc(var(--i, 0) * 0.1s), filter 0.7s var(--ease); }
  .nh-motion [data-unveil].is-in .nh-ch:is(:hover, :focus-visible) img { transform: scale(1.05); transition: transform 1.2s var(--ease), filter 0.7s var(--ease); }
}
@keyframes nh-drift { from { transform: scale(1.1) translateX(-1.2%); } to { transform: scale(1.02) translateX(0); } }
@keyframes nh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 幅ごと ---------- */
@media (max-width: 1080px) {
  .nh-chs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .nh-chs li { flex: 0 0 min(64vw, 300px); scroll-snap-align: center; }
}
@media (max-width: 760px) {
  .nh-hero { min-height: calc(100svh - 56px); }
  .nh-hero__inner { text-align: left; }
  .nh-sp { display: inline; }
  .nh-hero h1 { font-size: clamp(44px, 14.4vw, 72px); }
  .nh-actions { justify-content: flex-start; }
  .nh-btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .nh-hero__facts { justify-content: flex-start; }
  .nh-head, .nh-access__grid { grid-template-columns: 1fr; }
  .nh-bar { grid-template-columns: 1fr; }
  .nh-bar__label { margin-bottom: 2px; }
  .nh-dots { grid-template-columns: repeat(14, 14px); gap: 7px; }
  .nh-dots i { width: 14px; height: 14px; }
  .nh-slope text { font-size: 25px; }
  .nh-slope .is-strong text { font-size: 29px; }
  .nh-slope .nh-slope__axis { font-size: 23px; }
  .nh-scene__note a { display: flex; margin: 8px 0 0; min-height: 44px; }
  .nh-map { min-height: 300px; }
  .nh-flow { grid-template-columns: 1fr; }
  .nh-flow li, .nh-flow li + li { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-strong); }
  .nh-flow li > span { font-size: 56px; }
  .nh-flow h3 { margin-top: 0; }
  .nh-access .nh-btn { flex: 0 1 auto; }
  .nh-statement h2 { text-align: left; }
  .nh-statement__photo { place-items: end start; min-height: 72svh; }
  .nh-close { text-align: left; }
  .nh-close .nh-actions { justify-content: flex-start; }
}
@media print {
  .nh-hero, .nh-dark, .nh-scene, .nh-statement, .nh-access, .nh-close { background: #fff; color: #000; }
  .nh-scene { min-height: 0; }
  .nh-scene > img, .nh-scene::after { display: none; }
  .nh-scene__inner { padding-top: 24px; }
  .nh-map { display: none; }
  .nh-hero__img, .nh-statement__photo img, .nh-close > img, .nh-hero::after, .nh-statement__photo::after, .nh-close::after { display: none; }
}

/* 基調講演の7つの部（2026-11-22。特設ページから講演のスライドと話す内容へ） */
.nh-flow h3 small { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.6; }
.nh-talk .nh-actions { margin-top: 36px; }
@media (min-width: 1081px) {
  .nh-talk .nh-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .nh-talk .nh-flow li > span { font-size: clamp(44px, 4.4vw, 68px); }
  .nh-talk .nh-flow li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
}

/* 2026-11-22 最初の一人になる3つ（台本 88）。基調講演の節と同じ小さな説明を、ほかの列にも使う */
.nh-first .nh-head h2 { line-height: 1.5; }
