/**
 * NARITA TIME — Top Page v3 (front-page.php 全面再設計)
 *
 * 設計書 NARITA_TIME_TOP_DESIGN_v3.md 準拠。
 * 見本 full-mockup-v3_2.html + hero-prototype-v2.html を本番トークン(--ntm-*)へ
 * 読み替えて移植。クラスは全て ntm-fp- 接頭辞で名前空間を切り、既存
 * top.css / v18-bento.css / components.css とのクラス名衝突を完全に回避する
 * (設計書 4章「クラス名衝突」の教訓)。
 *
 * 演出量は 動(Hero) → 静(Facts以降) の緩急(設計書 0-5)。
 * 全アニメーションに prefers-reduced-motion フォールバックを持つ。
 *
 * 画像URLはこのCSSに持たせず front-page.php からインライン出力する
 * (ダミー→成田実写への差し替えを容易にするため)。
 *
 * @package naritatime
 */

/* ============================================================
   0. 共通ヘルパー(front-page スコープ)
   ============================================================ */

.ntm-fp-wrap {
    max-width: var(--ntm-content-max);
    margin: 0 auto;
    padding: 0 var(--ntm-padding-pc);
}

.ntm-fp-eyebrow {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .9rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--ntm-terracotta);
}

/* スクロール・リビール(top-v3.js が .is-in を付与) */
.ntm-fp-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--ntm-ease-out), transform .9s var(--ntm-ease-out);
}
.ntm-fp-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* JS無効/未実行時のフォールバック：演出を切って全要素を表示し、開幕カーテンは隠す
   (html.ntm-js は header.php が同期付与。大企業/行政向けの no-JS 堅牢性) */
html:not(.ntm-js) .ntm-fp-reveal,
html:not(.ntm-js) .ntm-fp-post { opacity: 1 !important; transform: none !important; }
html:not(.ntm-js) .ntm-fp-curtain { display: none !important; }
/* 詩の1行目は JS が文字分割する。JS無効時は aria-label から本文を描画 */
html:not(.ntm-js) .ntm-fp-pl1::after { content: attr(aria-label); }

/* ============================================================
   1. front-page 専用ヘッダー挙動
   既存 .ntm-header を body.home でのみ「Hero上=透明mix-blend →
   スクロールで solid」に上書き(他ページは一切変更しない)。
   ※ app.js が currentScroll>100 で .is-scrolled を付与する。
   ============================================================ */

body.home .ntm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    mix-blend-mode: difference;
    color: #fff;
    transition: background var(--ntm-transition-normal),
                color var(--ntm-transition-normal),
                border-color var(--ntm-transition-normal);
}
body.home .ntm-header .ntm-logo-en,
body.home .ntm-header .ntm-logo-tagline,
body.home .ntm-header .ntm-nav-link,
body.home .ntm-header .ntm-search-toggle,
body.home .ntm-header .ntm-menu-toggle {
    color: #fff;
}
body.home .ntm-header .ntm-menu-toggle-bar {
    background: currentColor;
}

/* スクロール後は mix-blend を解いて solid なアイボリー帯に着地 */
body.home .ntm-header.is-scrolled {
    mix-blend-mode: normal;
    background: rgba(248, 245, 238, .92); /* --ntm-paper @ .92 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--ntm-hairline);
    color: var(--ntm-indigo);
}
body.home .ntm-header.is-scrolled .ntm-logo-en,
body.home .ntm-header.is-scrolled .ntm-nav-link,
body.home .ntm-header.is-scrolled .ntm-search-toggle,
body.home .ntm-header.is-scrolled .ntm-menu-toggle {
    color: var(--ntm-indigo);
}
body.home .ntm-header.is-scrolled .ntm-logo-tagline {
    color: var(--ntm-terracotta);
}

/* ============================================================
   2. 開幕カーテン(hero-prototype-v2 由来・物語の幕開け)
   ============================================================ */

.ntm-fp-curtain {
    position: fixed;
    inset: 0;
    z-index: var(--ntm-z-modal);
    pointer-events: none;
}
.ntm-fp-curtain span {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--ntm-indigo-deep);
    transition: transform 1.4s cubic-bezier(.76, 0, .24, 1);
}
.ntm-fp-curtain-top { top: 0; transform: translateY(0); }
.ntm-fp-curtain-bot { bottom: 0; transform: translateY(0); }
.ntm-fp-curtain.is-open .ntm-fp-curtain-top { transform: translateY(-100%); }
.ntm-fp-curtain.is-open .ntm-fp-curtain-bot { transform: translateY(100%); }
.ntm-fp-curtain-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    background: none;
    color: #fff;
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: .4em;
    opacity: 1;
    transition: opacity .5s;
}
.ntm-fp-curtain.is-open .ntm-fp-curtain-seal { opacity: 0; }

/* ============================================================
   3. ① HERO(写真 × 詩。動・最大)
   ============================================================ */

.ntm-fp-hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ntm-indigo-deep);
}
.ntm-fp-hero-bg { position: absolute; inset: 0; z-index: 1; }
.ntm-fp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: ntmFpKenburns 36s infinite;
    will-change: transform, opacity;
}
.ntm-fp-hero-slide:nth-child(1) { animation-delay: 0s; }
.ntm-fp-hero-slide:nth-child(2) { animation-delay: 9s; }
.ntm-fp-hero-slide:nth-child(3) { animation-delay: 18s; }
.ntm-fp-hero-slide:nth-child(4) { animation-delay: 27s; }
@keyframes ntmFpKenburns {
    0%   { opacity: 0; transform: scale(1.05) translate(2%, 1%); }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.18) translate(-2%, -1.5%); }
}

.ntm-fp-hero-ov {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* どんな写真（明るいネオン等）でも白文字が読めるよう、詩の中央に確実な暗幕を敷く */
    background:
        linear-gradient(180deg, rgba(19, 27, 46, .45), rgba(19, 27, 46, .3) 38%, rgba(19, 27, 46, .6)),
        radial-gradient(115% 80% at 50% 52%, rgba(19, 27, 46, .55) 0%, rgba(19, 27, 46, .15) 55%, transparent 75%);
}

/* フィルムの粒状感(極薄ノイズ) */
.ntm-fp-hero-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: .06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 飛行機の軌跡(線を描き、先端を飛行機=点が getPointAtLength で飛ぶ) */
.ntm-fp-hero-trail { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ntm-fp-hero-trail path {
    fill: none;
    stroke: rgba(255, 255, 255, .55);
    stroke-width: 1.2;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: ntmFpDraw 6s 1.8s forwards cubic-bezier(.4, 0, .2, 1);
}
.ntm-fp-hero-trail .ntm-fp-plane {
    fill: #fff;
    opacity: 0;
    animation: ntmFpPlaneShow 6s 1.8s forwards;
}
@keyframes ntmFpDraw { to { stroke-dashoffset: 0; } }
@keyframes ntmFpPlaneShow { 0% { opacity: 0; } 15% { opacity: .9; } 90% { opacity: .9; } 100% { opacity: 0; } }

/* 詩のキネティック登場 */
.ntm-fp-hero-poem {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #fff;
    padding: 0 1.5rem;
    transform: translateY(var(--ntm-fp-parallax, 0));
}
.ntm-fp-pe {
    display: block;
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: clamp(.85rem, 1.4vw, 1.05rem);
    letter-spacing: .5em;
    text-transform: uppercase;
    opacity: 0;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
    animation: ntmFpFadeUp 1.4s 1.2s forwards var(--ntm-ease-out);
}
.ntm-fp-pl1 {
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.6vw, 3.4rem);
    letter-spacing: .14em;
    margin-bottom: .45em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}
.ntm-fp-pl1 .ntm-fp-ch {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    transform-origin: bottom;
    animation: ntmFpCharIn .9s forwards var(--ntm-ease-out);
}
@keyframes ntmFpCharIn { to { opacity: 1; transform: none; } }
.ntm-fp-pl2,
.ntm-fp-pl3 {
    display: block;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.05rem, 2.1vw, 1.5rem);
    letter-spacing: .18em;
    line-height: 1.9;
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    animation: ntmFpLineReveal 1.5s forwards var(--ntm-ease-out);
    text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}
.ntm-fp-pl2 { animation-delay: 2.2s; }
.ntm-fp-pl3 { animation-delay: 2.6s; }
@keyframes ntmFpLineReveal { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ntmFpFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: .85; transform: none; } }

/* タグライン(右下・フロート) */
.ntm-fp-hero-tag {
    position: absolute;
    z-index: 4;
    right: 2rem;
    bottom: 2.2rem;
    text-align: right;
    color: #fff;
    opacity: 0;
    animation: ntmFpFadeUp 1.6s 3.2s forwards var(--ntm-ease-out);
}
.ntm-fp-hero-tag .ntm-fp-float { animation: ntmFpFloat 5s 4s ease-in-out infinite; }
.ntm-fp-hero-tag .b { font-family: var(--ntm-font-serif); font-weight: 700; font-size: .95rem; letter-spacing: .1em; }
.ntm-fp-hero-tag .r { display: inline-block; width: 32px; height: 1px; background: var(--ntm-terracotta); margin: .45rem 0; }
.ntm-fp-hero-tag .j { display: block; font-size: .68rem; letter-spacing: .3em; opacity: .85; }
@keyframes ntmFpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* スクロール誘導 */
.ntm-fp-hero-scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 1.8rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    color: #fff;
    opacity: 0;
    animation: ntmFpFadeUp 1.6s 3.4s forwards var(--ntm-ease-out);
}
.ntm-fp-hero-scroll .l {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .65rem;
    letter-spacing: .4em;
    text-transform: uppercase;
}
.ntm-fp-hero-scroll .ln {
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, #fff, transparent);
    position: relative;
    overflow: hidden;
}
.ntm-fp-hero-scroll .ln::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--ntm-terracotta);
    animation: ntmFpScrollDot 2.2s infinite cubic-bezier(.7, 0, .3, 1);
}
@keyframes ntmFpScrollDot { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(230%); } }

/* ============================================================
   4. ②' LIVE 成田の今(SNSの鼓動・動の余韻)
   ============================================================ */

.ntm-fp-live { padding: 6.5rem 0; background: var(--ntm-paper); }
.ntm-fp-live-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.6rem;
    flex-wrap: wrap;
}
.ntm-fp-live-hl { display: flex; align-items: center; gap: .9rem; }
.ntm-fp-live-dot { position: relative; width: 9px; height: 9px; flex-shrink: 0; }
.ntm-fp-live-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--ntm-terracotta); }
.ntm-fp-live-dot span::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--ntm-terracotta);
    animation: ntmFpLivePulse 2s var(--ntm-ease-out) infinite;
}
@keyframes ntmFpLivePulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.5); opacity: 0; } }
.ntm-fp-live-t {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .85rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--ntm-terracotta);
}
.ntm-fp-live-t b {
    display: block;
    font-family: var(--ntm-font-serif);
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: .08em;
    color: var(--ntm-indigo);
    margin-top: .15rem;
}
.ntm-fp-live-sub {
    font-family: var(--ntm-font-serif);
    font-size: .92rem;
    line-height: 1.9;
    color: var(--ntm-slate);
    text-align: right;
}
.ntm-fp-live-sub a {
    display: inline-block;
    margin-top: .6rem;
    font-family: var(--ntm-font-en);
    font-size: .78rem;
    letter-spacing: .12em;
    color: var(--ntm-indigo);
    text-decoration: none;
    border-bottom: 1px solid var(--ntm-terracotta);
    padding-bottom: 2px;
}
.ntm-fp-live-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--ntm-hairline);
    border: 1px solid var(--ntm-hairline);
}
.ntm-fp-post {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ntm-paper);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px) scale(.97);
    transition: opacity .7s var(--ntm-ease-out), transform .7s var(--ntm-ease-out);
}
.ntm-fp-post.is-in { opacity: 1; transform: none; }
.ntm-fp-post-m { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ntm-paper-deep); }
.ntm-fp-post-m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92);
    transition: transform 1.2s var(--ntm-ease-out);
}
.ntm-fp-post:hover .ntm-fp-post-m img { transform: scale(1.07); }
.ntm-fp-post-m::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(19, 27, 46, .55));
    opacity: .85;
}
.ntm-fp-post-reel { position: absolute; top: 9px; right: 9px; z-index: 2; color: #fff; }
.ntm-fp-post-reel svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.ntm-fp-post-new {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    font-family: var(--ntm-font-en);
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: #fff;
    background: var(--ntm-terracotta);
    padding: 3px 7px;
}
.ntm-fp-post-d {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: .7rem .8rem;
    color: #fff;
    font-family: var(--ntm-font-en);
    font-size: .62rem;
    letter-spacing: .1em;
}

/* ============================================================
   5. ② FACTS of Narita(写真背景版・静まる転換点)
   構造: .row > .row-inner(高さ固定) > (.row-bg / .row-ov / .row-content)
   高さは必ず .row-inner に固定する(設計書 4章②の教訓)。
   ============================================================ */

.ntm-fp-facts { padding: 6.5rem 0; background: var(--ntm-snow); }
.ntm-fp-facts-h { text-align: center; margin-bottom: 3.5rem; }
.ntm-fp-facts-h h2 {
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--ntm-indigo);
    line-height: 1.5;
    margin: 1rem 0 .6rem;
}
.ntm-fp-facts-h p {
    font-size: clamp(.92rem, 1.5vw, 1.05rem);
    line-height: 1.95;
    color: var(--ntm-slate);
}
.ntm-fp-board { border: 1px solid var(--ntm-hairline); background: var(--ntm-hairline); position: relative; overflow: hidden; }
/* 全桁着地後の「光の一閃」（完成の合図） */
.ntm-fp-board::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .16) 50%, transparent 58%);
    transform: translateX(-130%);
}
.ntm-fp-board.is-swept::after { transform: translateX(130%); transition: transform 1.1s ease; }

/* Solari フリップの各桁 */
.ntm-fp-num { perspective: 420px; }
.ntm-fp-digit { display: inline-block; transform-origin: center; will-change: transform; }
.ntm-fp-digit--sep { will-change: auto; }
.ntm-fp-digit.is-rolling { animation: ntmFpFlap .12s ease-in-out infinite; }
@keyframes ntmFpFlap { 0%, 100% { transform: rotateX(20deg); } 50% { transform: rotateX(-20deg); } }
.ntm-fp-digit.is-land { animation: ntmFpLand .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ntmFpLand {
    0%   { transform: translateY(-5px); text-shadow: 0 0 14px var(--ntm-terracotta), 0 0 6px var(--ntm-terracotta); }
    100% { transform: none; text-shadow: none; }
}
/* 単位の遅延スライド（JS有効時のみ隠す。no-JSは常時表示） */
html.ntm-js .ntm-fp-num .u { opacity: 0; transform: translateX(8px); transition: opacity .5s var(--ntm-ease-out), transform .5s var(--ntm-ease-out); }
html.ntm-js .ntm-fp-num .u.is-in { opacity: .8; transform: none; }

.ntm-fp-facts-row { display: block; margin-bottom: 1px; }
.ntm-fp-facts-row:last-child { margin-bottom: 0; }
.ntm-fp-row-inner { position: relative; height: 140px; overflow: hidden; }
.ntm-fp-facts-row--feat .ntm-fp-row-inner,
.ntm-fp-facts-row--accent .ntm-fp-row-inner { height: 180px; }
.ntm-fp-row-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.8);
    transition: transform 1.4s var(--ntm-ease-out);
}
.ntm-fp-row-inner:hover .ntm-fp-row-bg { transform: scale(1.05); }
.ntm-fp-row-ov { position: absolute; inset: 0; z-index: 1; }
.ntm-fp-row-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 2rem;
}
.ntm-fp-row-meta .en {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    display: block;
    margin-bottom: .2rem;
}
.ntm-fp-row-meta .jl {
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    display: block;
}
.ntm-fp-row-meta .ds {
    font-family: var(--ntm-font-serif);
    font-size: .82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    margin-top: .4rem;
    max-width: 30em;
}
.ntm-fp-num {
    font-family: var(--ntm-font-en);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: .15em;
}
.ntm-fp-num .u { font-family: var(--ntm-font-serif); font-size: .3em; font-weight: 400; color: rgba(255, 255, 255, .8); }
.ntm-fp-facts-row--feat .ntm-fp-num { font-size: clamp(2.6rem, 6vw, 3.8rem); }

/* 行ごとのオーバーレイ(背景写真は front-page.php がインライン出力) */
.ntm-fp-facts-row--feat .ntm-fp-row-ov   { background: linear-gradient(100deg, rgba(19, 27, 46, .9), rgba(19, 27, 46, .62)); }
.ntm-fp-facts-row--accent .ntm-fp-row-ov { background: linear-gradient(100deg, rgba(194, 83, 58, .9), rgba(194, 83, 58, .6)); }
.ntm-fp-facts-row--r3 .ntm-fp-row-ov,
.ntm-fp-facts-row--r4 .ntm-fp-row-ov     { background: linear-gradient(100deg, rgba(19, 27, 46, .86), rgba(19, 27, 46, .58)); }

.ntm-fp-board-q { background: var(--ntm-paper); padding: 2.2rem 1.8rem; text-align: center; }
.ntm-fp-board-q p {
    font-family: var(--ntm-font-serif);
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    line-height: 1.95;
    color: var(--ntm-indigo);
}
.ntm-fp-board-q b { color: var(--ntm-terracotta); }

/* ============================================================
   6. ★ 風景帯(Facts → Stories の区切り・パララックス)
   ============================================================ */

.ntm-fp-band {
    position: relative;
    height: 60vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ntm-fp-band-bg {
    position: absolute;
    inset: -15% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: saturate(.85) brightness(.62); /* 明るい写真でも白文字が読めるよう画像自体を落とす */
}
/* 全面の暗幕＋中央の追加スクリム（テキストの背後を確実に暗く） */
.ntm-fp-band-ov {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 27, 46, .5), rgba(19, 27, 46, .58)),
        radial-gradient(ellipse 85% 75% at 50% 50%, rgba(19, 27, 46, .45), transparent 78%);
}
.ntm-fp-band-txt { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 1.5rem; }
.ntm-fp-band-txt .e {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    opacity: .85;
}
.ntm-fp-band-txt h3 {
    font-family: var(--ntm-font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3.6vw, 2.6rem);
    line-height: 1.9;
    letter-spacing: .1em;
    margin-top: 1rem;
    color: #fff; /* :where(h1..h6) の indigo を上書き（暗背景で白文字に） */
    text-shadow: 0 2px 24px rgba(0, 0, 0, .65), 0 0 2px rgba(0, 0, 0, .5);
}

/* ============================================================
   7. ③ STORIES(取材記事・写真主役)
   ============================================================ */

.ntm-fp-stories { padding: 6.5rem 0; background: var(--ntm-paper); }
.ntm-fp-sec-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.8rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.ntm-fp-sec-h h2 {
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--ntm-indigo);
    letter-spacing: .04em;
}
.ntm-fp-sec-h h2 small {
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: .5em;
    color: var(--ntm-slate);
    margin-left: .8rem;
    letter-spacing: .1em;
}
.ntm-fp-sec-more {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .95rem;
    letter-spacing: .1em;
    color: var(--ntm-indigo);
    text-decoration: none;
    border-bottom: 1px solid var(--ntm-terracotta);
    padding-bottom: 2px;
}
/* 主役記事(横長・写真半分) */
.ntm-fp-st-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
    background: var(--ntm-snow);
    border: 1px solid var(--ntm-hairline);
    overflow: hidden;
}
.ntm-fp-st-lead-img { aspect-ratio: 16/11; overflow: hidden; background: var(--ntm-paper-deep); }
.ntm-fp-st-lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.94);
    transition: transform 1.2s var(--ntm-ease-out);
}
.ntm-fp-st-lead:hover .ntm-fp-st-lead-img img { transform: scale(1.05); }
.ntm-fp-st-lead-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.ntm-fp-st-cat {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ntm-terracotta);
}
.ntm-fp-st-lead-body h3 {
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    line-height: 1.6;
    color: var(--ntm-indigo);
    margin: .7rem 0;
    letter-spacing: .03em;
}
.ntm-fp-st-lead-body p { font-size: .9rem; line-height: 1.9; color: var(--ntm-slate); }
.ntm-fp-st-date { font-family: var(--ntm-font-en); font-size: .72rem; letter-spacing: .1em; color: var(--ntm-slate); margin-top: 1rem; }

.ntm-fp-st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ntm-fp-st { display: block; text-decoration: none; color: inherit; }
.ntm-fp-st-img { aspect-ratio: 4/3; overflow: hidden; background: var(--ntm-paper-deep); margin-bottom: 1rem; }
.ntm-fp-st-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.94);
    transition: transform 1.1s var(--ntm-ease-out);
}
.ntm-fp-st:hover .ntm-fp-st-img img { transform: scale(1.05); }
.ntm-fp-st-ttl {
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--ntm-indigo);
    margin: .4rem 0;
    letter-spacing: .03em;
}
.ntm-fp-st-soon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed var(--ntm-hairline);
    aspect-ratio: 4/3;
    color: var(--ntm-slate);
}
.ntm-fp-st-soon span {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .9rem;
    letter-spacing: .2em;
    color: var(--ntm-terracotta);
    margin-bottom: .5rem;
}
.ntm-fp-st-soon p { font-size: .85rem; line-height: 1.7; }

/* 画像のマスクリビール（下から拭うように立ち上がる・攻めた演出）。
   LIVE / Stories / Join で統一。JS有効時のみ初期マスク。reveal の is-in で開く。
   no-JS / reduced-motion は無効。 */
html.ntm-js .ntm-fp-st-lead-img,
html.ntm-js .ntm-fp-st-img,
html.ntm-js .ntm-fp-post-m,
html.ntm-js .ntm-fp-jc-bg {
    clip-path: inset(0 0 101% 0);
    transition: clip-path 1.05s var(--ntm-ease-out);
}
.ntm-fp-st-lead.is-in .ntm-fp-st-lead-img,
.ntm-fp-st.is-in .ntm-fp-st-img,
.ntm-fp-post.is-in .ntm-fp-post-m,
.ntm-fp-jc.is-in .ntm-fp-jc-bg { clip-path: inset(0); }

/* ============================================================
   8. ④ 編集宣言(全画面写真パララックス・静)
   ============================================================ */

.ntm-fp-creed {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.ntm-fp-creed-bg {
    position: absolute;
    inset: -15% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: saturate(.85) brightness(.58);
}
.ntm-fp-creed-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 27, 46, .74), rgba(19, 27, 46, .66) 50%, rgba(19, 27, 46, .8));
}
.ntm-fp-creed-in { position: relative; z-index: 2; color: #fff; max-width: 760px; padding: 0 2rem; }
.ntm-fp-creed-in .ntm-fp-eyebrow { color: var(--ntm-sand); }
.ntm-fp-creed-in h2 {
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
    line-height: 1.9;
    letter-spacing: .08em;
    margin: 1.5rem 0;
    color: #fff; /* :where(h1..h6) の indigo を上書き */
    text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.ntm-fp-creed-in h2 b { color: var(--ntm-terracotta); font-weight: 600; }
.ntm-fp-creed-in p {
    font-family: var(--ntm-font-serif);
    font-size: clamp(.95rem, 1.7vw, 1.15rem);
    line-height: 2.2;
    /* base.css の body.ntm-theme p{color:ink}(0,1,2) に勝てないため !important で白を強制 */
    color: rgba(255, 255, 255, .9) !important;
    text-shadow: 0 1px 20px rgba(0, 0, 0, .5);
}
.ntm-fp-creed-sign {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: .2em;
    color: var(--ntm-sand);
    margin-top: 2rem;
}

/* ============================================================
   9. ⑤ JOIN(関わり方・静)
   ============================================================ */

.ntm-fp-join { padding: 6.5rem 0; background: var(--ntm-snow); }
.ntm-fp-join-h { text-align: center; margin-bottom: 3rem; }
.ntm-fp-join-h h2 {
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--ntm-indigo);
    margin: 1rem 0 .6rem;
}
.ntm-fp-join-h p { font-size: .95rem; line-height: 1.9; color: var(--ntm-slate); }
.ntm-fp-join-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; }
.ntm-fp-jc {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: transform .4s var(--ntm-ease-out);
}
.ntm-fp-jc:hover { transform: translateY(-4px); }
.ntm-fp-jc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ntm-ease-out); }
.ntm-fp-jc:hover .ntm-fp-jc-bg { transform: scale(1.06); }
.ntm-fp-jc-ov { position: absolute; inset: 0; }
.ntm-fp-jc--main .ntm-fp-jc-ov { background: linear-gradient(120deg, rgba(31, 42, 68, .92), rgba(31, 42, 68, .7)); }
.ntm-fp-jc--sub .ntm-fp-jc-ov  { background: linear-gradient(120deg, rgba(31, 42, 68, .85), rgba(31, 42, 68, .6)); }
.ntm-fp-jc-body {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ntm-fp-jc .lab {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ntm-sand);
}
.ntm-fp-jc h3 { font-family: var(--ntm-font-serif); font-weight: 600; font-size: 1.35rem; line-height: 1.6; margin: 1rem 0; letter-spacing: .04em; color: #fff; /* :where(h1..h6) の indigo を上書き */ }
.ntm-fp-jc--sub h3 { font-size: 1.15rem; }
.ntm-fp-jc p { font-size: .88rem; line-height: 1.8; color: rgba(255, 255, 255, .88) !important; } /* body.ntm-theme p の墨黒を上書き */
.ntm-fp-jc .go {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .95rem;
    letter-spacing: .1em;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--ntm-sand);
    transition: gap .3s var(--ntm-ease-out);
}
.ntm-fp-jc:hover .go { gap: .9rem; }

/* ============================================================
   ★ Map ゲートウェイ（成田の店、ぜんぶ。/ 目玉への入口・軽量）
   ============================================================ */
.ntm-fp-mapcta {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) 0;
    background: var(--ntm-indigo-deep);
}
.ntm-fp-mapcta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.55) brightness(.5) contrast(1.05);
}
.ntm-fp-mapcta-ov {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 27, 46, .82), rgba(19, 27, 46, .9)),
        radial-gradient(120% 90% at 50% 40%, rgba(19, 27, 46, .35), rgba(19, 27, 46, .82));
}
/* 街に灯る店（装飾の光るピン） */
.ntm-fp-mapcta-pins { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ntm-fp-mappin { position: absolute; width: 10px; height: 10px; transform: translate(-50%, -50%); }
.ntm-fp-mappin::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--ntm-terracotta);
    box-shadow: 0 0 8px rgba(194, 83, 58, .85);
}
.ntm-fp-mappin::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--ntm-terracotta);
    animation: ntmFpLivePulse 2.6s var(--ntm-ease-out) infinite;
}
.ntm-fp-mappin--hot { width: 13px; height: 13px; }
.ntm-fp-mappin--hot::before { box-shadow: 0 0 14px rgba(232, 181, 71, .9), 0 0 6px rgba(194, 83, 58, .9); }
.ntm-fp-mappin--hot::after { animation-duration: 2s; }

.ntm-fp-mapcta-in { position: relative; z-index: 2; }
.ntm-fp-mapcta-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ntm-fp-mapcta-head h2 {
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.4;
    letter-spacing: .06em;
    color: #fff; /* :where(h) を上書き */
    margin: 1rem 0 .8rem;
    text-shadow: 0 2px 36px rgba(0, 0, 0, .45);
}
.ntm-fp-mapcta-head p {
    font-family: var(--ntm-font-serif);
    font-size: clamp(.95rem, 1.7vw, 1.15rem);
    line-height: 1.95;
    color: rgba(255, 255, 255, .88) !important; /* body.ntm-theme p を上書き */
}

/* おすすめ店カード */
.ntm-fp-mapcta-shops {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ntm-fp-mapshop { display: block; text-decoration: none; color: inherit; }
.ntm-fp-mapshop-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--ntm-indigo-light);
    margin-bottom: .8rem;
    border: 1px solid rgba(255, 255, 255, .1);
}
.ntm-fp-mapshop-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.92);
    transition: transform 1.1s var(--ntm-ease-out);
}
.ntm-fp-mapshop:hover .ntm-fp-mapshop-img img { transform: scale(1.06); }
.ntm-fp-mapshop-area {
    display: block;
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ntm-sand);
}
.ntm-fp-mapshop-name {
    display: block;
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    margin-top: .25rem;
}

/* CTA ボタン */
.ntm-fp-mapcta-btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin: 0 auto;
    width: fit-content;
    justify-self: center;
    font-family: var(--ntm-font-serif);
    font-weight: 600;
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
    letter-spacing: .06em;
    color: #fff;
    background: var(--ntm-terracotta);
    padding: 1rem 2.2rem;
    text-decoration: none;
    transition: background var(--ntm-transition-normal), gap var(--ntm-transition-normal), transform var(--ntm-transition-normal);
}
.ntm-fp-mapcta-in { display: flex; flex-direction: column; align-items: center; }
.ntm-fp-mapcta-shops { width: 100%; }
.ntm-fp-mapcta-btn:hover { background: var(--ntm-terracotta-deep); gap: 1.1rem; transform: translateY(-2px); }
.ntm-fp-mapcta-arrow { font-family: var(--ntm-font-en); }

/* ============================================================
   10. レスポンシブ
   ============================================================ */

@media (max-width: 900px) {
    .ntm-fp-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .ntm-fp-st-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .ntm-fp-st-lead { grid-template-columns: 1fr; }
    .ntm-fp-join-grid { grid-template-columns: 1fr; }
    .ntm-fp-hero-tag { right: 1.4rem; bottom: 5.5rem; }
    .ntm-fp-mapcta-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ntm-fp-row-inner,
    .ntm-fp-facts-row--feat .ntm-fp-row-inner,
    .ntm-fp-facts-row--accent .ntm-fp-row-inner { height: auto; min-height: 120px; }
    .ntm-fp-row-content { flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.4rem; gap: .8rem; }
}

/* ============================================================
   11. prefers-reduced-motion(全演出の静止フォールバック)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .ntm-fp-curtain { display: none; }
    .ntm-fp-hero-slide { animation: none; opacity: 1; }
    .ntm-fp-hero-slide:nth-child(n+2) { opacity: 0; }
    .ntm-fp-pl1 .ntm-fp-ch,
    .ntm-fp-pl2,
    .ntm-fp-pl3,
    .ntm-fp-pe,
    .ntm-fp-hero-tag,
    .ntm-fp-hero-scroll { animation: none; opacity: 1; transform: none; filter: none; }
    .ntm-fp-hero-tag .ntm-fp-float { animation: none; }
    .ntm-fp-hero-trail path { animation: none; stroke-dashoffset: 0; }
    .ntm-fp-hero-trail .ntm-fp-plane { animation: none; opacity: .9; }
    .ntm-fp-hero-scroll .ln::after { animation: none; }
    .ntm-fp-live-dot span::before { animation: none; }
    .ntm-fp-mappin::after { animation: none; }
    .ntm-fp-reveal,
    .ntm-fp-post { opacity: 1; transform: none; }
    .ntm-fp-post-m img,
    .ntm-fp-st-img img,
    .ntm-fp-st-lead-img img,
    .ntm-fp-row-bg,
    .ntm-fp-band-bg,
    .ntm-fp-creed-bg,
    .ntm-fp-jc-bg { transition: none; }
    /* Facts フリップは停止（数字は即確定・単位は表示・光一閃なし） */
    .ntm-fp-digit.is-rolling,
    .ntm-fp-digit.is-land { animation: none; }
    .ntm-fp-board::after { display: none; }
    html.ntm-js .ntm-fp-num .u { opacity: .8; transform: none; transition: none; }
    /* 画像マスクリビールも無効（即表示） */
    html.ntm-js .ntm-fp-st-lead-img,
    html.ntm-js .ntm-fp-st-img,
    html.ntm-js .ntm-fp-post-m,
    html.ntm-js .ntm-fp-jc-bg { clip-path: none; transition: none; }
}
