/* ==========================================================
   Bug&Lavi Project — style

   目次
    1. 色・書体などの決まり（変数）
    2. 土台
    3. ヘッダー・メニュー
    4. 共通の部品（見出し・ボタン・配信ボタン）
    5. 下層ページの見出し
    6. TOP：キービジュアル・入口・台詞・お知らせの帯
    7. TOP：NEWS／MUSIC／STORY／VIDEO／SHORTS
    8. TOP：奥行きと区切り（区画の模様・巨大な英字・声の帯）
    9. ABOUT
   10. MUSIC（一覧）・作品の詳細
   11. NEWS（一覧）
   12. CONTACT・規約
   13. GAME
   14. フッター
   15. 隠し要素（のぞくラヴィ・隠れキャラ・歩くラヴィ）
   16. 迷子のページ（404）
   17. 画像の保存対策
   18. 動きを減らす設定
   ========================================================== */


/* ==========================================================
   1. 色・書体などの決まり
   配色「深夜の端末」（2026-10-29 決定）：黒に近い紺／主役の光は青緑／ピンクは差し色／黄は状態表示だけ。
   色はここの変数で指定し、グラデーションで色を混ぜない
   ========================================================== */
:root {
  --ink: #05070f;          /* 背景 */
  --ink-2: #0b1020;        /* 面 */
  --ink-3: #121a33;
  --line: rgba(120, 220, 210, .16);
  --text: #dde6ff;
  --mute: #93a0c4;
  --sky: #3fe0d0;          /* 主役の光（青緑） */
  --pink: #ff4f9a;         /* 差し色 */
  --carrot: #ffc24b;       /* 状態の表示だけ */
  /* 透明度を変えて使うときの同じ色：rgba(var(--sky-rgb), .3) */
  --ink-rgb: 5, 7, 15;
  --ink-2-rgb: 11, 16, 32;
  --ink-3-rgb: 18, 26, 51;
  --text-rgb: 221, 230, 255;
  --sky-rgb: 63, 224, 208;
  --pink-rgb: 255, 79, 154;

  --f-en: "Orbitron", "Zen Maru Gothic", sans-serif;
  --f-mono: "DotGothic16", ui-monospace, monospace;   /* ラヴィの台詞だけに使う */
  --f-ja: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --header-h: 76px;
}
@media (max-width: 960px) { :root { --header-h: 64px; } }


/* ==========================================================
   2. 土台
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--pink); color: var(--ink); }

/* 背景：ごく薄い走査線＋グリッド */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background: repeating-linear-gradient(0deg, rgba(var(--sky-rgb), .025) 0 1px, transparent 1px 3px), var(--ink);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--sky-rgb), .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--sky-rgb), .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ==========================================================
   3. ヘッダー・メニュー
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body:not(.home) .site-header {
  background: rgba(var(--ink-rgb), .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.logo img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
/* ロゴ（Bug-and-Lavi-logo-kit の統一版・白文字） */
.logo .logo-img { width: auto; height: 46px; border: 0; border-radius: 0; background: none; }

.gnav ul { display: flex; gap: clamp(14px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.gnav a { display: flex; flex-direction: column; align-items: center; position: relative; padding: 6px 0; }
.gnav .en { font-family: var(--f-en); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; }
.gnav .en i { font-size: 8px; opacity: .6; vertical-align: 2px; }
.gnav .ja { font-size: 9.5px; color: var(--mute); letter-spacing: .1em; line-height: 1.4; }
.gnav a::after {
  content: ""; position: absolute; bottom: -2px; left: 50%; width: 0; height: 1px;
  background: var(--sky); transition: width .4s var(--ease), left .4s var(--ease);
}
.gnav a:hover::after, .gnav a.is-current::after { width: 100%; left: 0; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(35deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-35deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; padding: var(--header-h) var(--pad) 24px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility .5s;
  /* 背景はメニューの箱そのものに、不透明で塗る。
     中に置いた背景用の箱（.drawer-bg）に塗ると、メニューの中身が画面より長くてスクロールしたとき、背景も一緒に流れて下が透ける。
     すりガラス効果（backdrop-filter）は、スマホで画面全体に使うと描画に失敗して真っ黒になることがあるため使わない */
  background: var(--ink); overscroll-behavior: contain;
}
.drawer-bg { display: none; }
/* 上下の中央寄せは margin:auto で行う（justify-content:center だと、画面が低いとき上にはみ出した分がスクロールできず、ロゴに重なる） */
.drawer ul { list-style: none; margin: auto 0 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
/* 文字は隠さず、少し下から浮き上がるだけにする（スマホで動きが止まっても、メニューが見えなくならないように） */
.drawer a { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; transform: translateY(14px); transition: transform .7s var(--ease); }
.drawer .en { font-family: var(--f-en); font-size: clamp(24px, 7vw, 34px); font-weight: 600; letter-spacing: .06em; }
.drawer .en i { font-size: .4em; vertical-align: .6em; opacity: .6; }
.drawer .ja { font-size: 12px; color: var(--mute); }
.drawer-sns { display: flex; gap: 22px; margin: 32px 0 auto; font-size: 22px; }
.menu-open .drawer { visibility: visible; opacity: 1; }
.menu-open .drawer a { transform: none; }
.menu-open .drawer li:nth-child(2) a { transition-delay: .04s; }
.menu-open .drawer li:nth-child(3) a { transition-delay: .08s; }
.menu-open .drawer li:nth-child(4) a { transition-delay: .12s; }
.menu-open .drawer li:nth-child(5) a { transition-delay: .16s; }
.menu-open .drawer li:nth-child(6) a { transition-delay: .2s; }
.menu-open .drawer li:nth-child(7) a { transition-delay: .24s; }
html.menu-open, .menu-open body { overflow: hidden; }
/* メニューを開いている間、ロゴはメニューの下に隠す（閉じるボタンだけ残す） */
.site-header .logo { transition: opacity .3s, visibility .3s; }
.menu-open .site-header .logo { opacity: 0; visibility: hidden; }
.menu-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }

@media (max-width: 960px) {
  .gnav { display: none; }
  .menu-toggle { display: block; }
  .logo img { width: 34px; height: 34px; }
  .logo .logo-img { height: 40px; }
}


/* ==========================================================
   4. 共通の部品
   ========================================================== */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-title { margin: 0; line-height: 1; }
.section-title .en {
  display: block; font-family: var(--f-en); font-weight: 700;
  font-size: clamp(32px, 6.4vw, 84px); letter-spacing: 0;
}
.section-title .ja {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: .2em;
}
.section-title .ja::before { content: ""; width: 28px; height: 1px; background: var(--pink); }
/* 小さな見出しラベル（MUSIC・ABOUT ページ）。トップの区画番号（01〜05）は出さない */
.num { font-family: var(--f-ja); font-size: 12px; color: var(--sky); letter-spacing: .06em; display: block; margin-bottom: 14px; }
.section-title .num { display: none; }

.more-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-en); font-size: 12px; font-weight: 500; letter-spacing: .18em;
  padding: 16px 26px; border: 1px solid var(--line); border-radius: 2px;
  position: relative; overflow: hidden; transition: color .4s var(--ease), border-color .4s;
}
.more-link::before {
  content: ""; position: absolute; inset: 0; background: var(--sky); z-index: -1;
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.more-link i { transition: transform .4s var(--ease); }
.more-link:hover { color: var(--ink); border-color: transparent; }
.more-link:hover::before { transform: none; }
.more-link:hover i { transform: translateX(4px); }

.grad-text { color: var(--sky); }

/* スクロール表示 */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ストリーミングボタン */
.stream-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stream-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.stream-btn i { font-size: 17px; }
.stream-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: var(--text); }  /* 各社の色の背景にすると白いアイコンの見え方が公式と変わるため、明るくするだけ */
/* Apple Music：公式のアイコン・バッジだけを使う（形や色は変えない。バッジは高さ30px以上、周りに余白） */
.brand-icon { width: 22px; height: 22px; display: block; flex: none; }
/* YouTube：透明な余白を切り落とした素材を、マーク本体の高さ24px（最低24dp）で表示する。周りの余白は三角形の大きさ（約8px）以上 */
.brand-icon.is-wide { width: auto; height: 24px; }
.am-badge { display: inline-flex; align-items: center; margin: 2px 4px; transition: transform .4s var(--ease); }
.am-badge img { height: 46px; width: auto; display: block; }
.am-badge:hover { transform: translateY(-2px); }
/* Spotify・YouTube：Apple のバッジと同じ体裁（黒地・灰色の細い枠・高さ46px）。アイコンは公式のカラー、周りに余白（Spotify はアイコンの高さの半分以上） */
.listen-badge {
  /* 高さ46px：枠線(1px)を除いて、アイコンの上下に Spotify の指定（アイコンの高さの半分＝11px）以上の余白を取る */
  display: inline-flex; align-items: center; gap: 11px; height: 46px; margin: 2px 4px; padding: 0 14px 0 11px;
  background: #000; border: 1px solid #a6a6a6; border-radius: 7px; color: #fff;
  font-family: -apple-system, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif; transition: transform .4s var(--ease);
}
.listen-badge:hover { transform: translateY(-2px); }
.lb-icon { width: 22px; height: 22px; display: block; }
.lb-icon.is-wide { width: auto; height: 24px; }
.lb-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.lb-text b { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.lb-text small { font-size: 9.5px; letter-spacing: .04em; margin-top: 2px; }

.loading { font-family: var(--f-ja); color: var(--mute); letter-spacing: .06em; font-size: 12px; }
.loading::after { content: "_"; animation: blink 1s steps(1) infinite; }


/* ==========================================================
   5. 下層ページの見出し
   ========================================================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(60px, 10vw, 130px)) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 0; line-height: .95; }
.page-hero h1 .en {
  display: block; font-family: var(--f-en); font-weight: 700;
  font-size: clamp(38px, 11vw, 150px); letter-spacing: 0;
}
.page-hero h1 .ja { display: block; margin-top: 18px; font-size: 14px; color: var(--mute); letter-spacing: .3em; font-weight: 500; }
.page-hero .crumb { font-family: var(--f-ja); font-size: 11px; color: var(--mute); letter-spacing: .06em; margin-bottom: 20px; }
.page-hero .crumb a:hover { color: var(--sky); }

/* 見出しのグリッチ：23秒に1回、青緑で小さくずれるだけ */
.glitch { position: relative; display: inline-block; }
.glitch::before {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0;
  color: var(--sky); animation: glitch-quiet 23s infinite steps(1);
}
@keyframes glitch-quiet {
  0%, 97.4%, 100% { opacity: 0; transform: none; clip-path: none; }
  97.5% { opacity: .7; transform: translate(-2px, 0); clip-path: inset(40% 0 45% 0); }
  98.2% { opacity: 0; }
}


/* ==========================================================
   6. TOP：キービジュアル・入口・台詞・お知らせの帯
   ========================================================== */
/* キービジュアル（バナー1）。夜っぽく：彩度と明るさを落とし、夜の色を重ねる */
.kv {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink);
  height: min(52.5vw, calc(100vh - 120px)); height: min(52.5vw, calc(100svh - 120px)); min-height: 320px;
}
.kv-visual { position: absolute; inset: 0; cursor: pointer; opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 2.4s var(--ease); }
.is-loaded .kv-visual { opacity: 1; transform: none; }
.kv-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%; pointer-events: none; filter: saturate(.72) brightness(.78) contrast(1.05); }
.kv-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: rgba(var(--ink-3-rgb), .5);
}
.kv-visual::after { content: ""; position: absolute; inset: 0; }   /* 画像の保存対策の膜 */
/* スクロールで少し奥へ沈む（--kv-y・--kv-s は site.js が入れる） */
.home .kv-visual picture { display: block; height: 100%; transform: translate3d(0, var(--kv-y, 0px), 0) scale(var(--kv-s, 1)); transform-origin: 50% 60%; will-change: transform; }
/* 控えめなグリッチ（押したとき・ときどき、絵が一瞬ゆらぐ） */
.kv-visual.is-flicker { animation: flicker .45s steps(2) 1; }
@keyframes flicker {
  0% { clip-path: inset(0); translate: 0 0; filter: drop-shadow(0 0 40px rgba(var(--sky-rgb), .35)); }
  20% { clip-path: inset(18% 0 62% 0); translate: -6px 0; filter: drop-shadow(-3px 0 0 rgba(var(--sky-rgb), .8)) drop-shadow(3px 0 0 rgba(var(--pink-rgb), .8)); }
  40% { clip-path: inset(0); translate: 3px 0; opacity: .6; }
  60% { clip-path: inset(55% 0 20% 0); translate: 5px 0; }
  100% { clip-path: inset(0); translate: 0 0; opacity: 1; }
}
/* 下端を夜の色へなじませる */
.kv::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }

/* キャッチと入口カード */
.hero-kicker {
  font-family: var(--f-ja); font-size: 12px; letter-spacing: .06em; color: var(--sky);
  display: flex; align-items: center; gap: 12px; margin: 0 0 28px; width: fit-content;
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; background: var(--sky); box-shadow: 0 0 12px var(--sky); }
.hero-lead { margin: 28px 0 0; font-size: clamp(14px, 1.4vw, 17px); line-height: 2.2; max-width: 36em; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); width: fit-content; }
.hero-lead em { font-style: normal; color: var(--pink); }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease) .7s, transform 1.2s var(--ease) .7s; }
.is-loaded .fade-up { opacity: 1; transform: none; }

.gatebar { position: relative; z-index: 2; margin-top: -72px; padding-bottom: clamp(48px, 7vw, 96px); }
.gatebar-inner {
  max-width: 1480px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: clamp(24px, 4vw, 56px); align-items: end;
}
.gatebar .hero-kicker { margin: 0 0 14px; }
.gatebar .hero-lead { margin: 0; font-size: 14px; line-height: 2; max-width: 24em; }

.gate { display: grid; gap: 14px; margin-top: clamp(32px, 5vh, 56px); width: min(560px, 100%); }
.gatebar .gate { width: 100%; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gate-card {
  position: relative; display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 18px;
  padding: 18px 22px; text-align: left; width: 100%;
  background: rgba(var(--ink-2-rgb), .62); border: 1px solid var(--line); border-top-color: transparent; border-left: 2px solid var(--c, var(--sky)); border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(var(--text-rgb), .6);   /* 影ではなく、上の辺だけ光る */
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.gate-card:hover, .gate-card:focus-visible { transform: translateX(8px); background: rgba(var(--ink-3-rgb), .75); outline: none; }
.gate-card:focus-visible { box-shadow: -8px 0 30px -12px var(--c, var(--sky)); }
.gatebar .gate-card { grid-template-columns: 44px 1fr 14px; gap: 14px; padding: 16px 18px; }
.gatebar .gate-card:hover { transform: translateY(-4px); }
.gate-card.is-news { --c: var(--sky); }
.gate-card.is-music { --c: var(--pink); }
.gate-card.is-novel { --c: var(--text); }
.gate-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--c); font-size: 17px; }
.gatebar .gate-icon { width: 44px; height: 44px; }
.gate-icon.is-img { border-radius: 6px; overflow: hidden; border: 0; }
.gate-icon img { width: 100%; height: 100%; object-fit: cover; }
.gate-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.gate-label { font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em; color: var(--c); }
.gate-title { font-weight: 700; font-size: 15.5px; margin: 3px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gate-sub { font-size: 12px; color: var(--mute); }
.gate-go { color: var(--mute); font-size: 12px; transition: transform .4s var(--ease), color .3s; }
.gate-card:hover .gate-go { transform: translateX(4px); color: var(--c); }
.gate-badge {
  position: absolute; top: -10px; right: 16px; font-family: var(--f-ja); font-size: 10px; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 2px; color: var(--ink); background: var(--pink);
}
.gate .gate-card:nth-child(2) { transition-delay: 0s; }

@media (max-width: 1100px) {
  .gatebar-inner { grid-template-columns: 1fr; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-lead { margin-top: 18px; }
  .gate { margin-top: 8px; width: min(560px, 100%); }
}
@media (max-width: 900px) {
  /* 狭い画面：バナー全体を見せる（ロゴが絵の中にあるので切らない） */
  .kv { height: auto; min-height: 0; aspect-ratio: 1731 / 909; margin-top: var(--header-h); }
  .kv::after { height: 22%; }
  .gatebar { margin-top: -20px; }
  .gatebar .gate { grid-template-columns: 1fr; }
  .gatebar .hero-kicker { font-size: 10.5px; letter-spacing: .16em; }
}
@media (max-width: 760px) {
  .gate-card { padding: 14px 16px; grid-template-columns: 44px 1fr 16px; gap: 14px; }
  .gate-icon { width: 44px; height: 44px; }
  .hero-kicker { font-size: 10.5px; }
}

/* ラヴィの台詞：画面下の会話ウィンドウ（昔のゲーム風）。どの幅でも顔にかぶらない */
.hero-whisper {
  position: fixed; z-index: 90; left: 50%; bottom: max(20px, env(safe-area-inset-bottom));
  width: min(600px, calc(100% - 32px)); translate: -50% 0;
  display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px;
  background: rgba(var(--ink-rgb), .9); border: 2px solid rgba(var(--text-rgb), .85); border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(var(--ink-rgb), .9), 0 0 0 5px rgba(var(--pink-rgb), .5), 0 20px 50px -10px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none;
}
.hero-whisper.is-on { opacity: 1; transform: none; }
.whisper-face { width: 72px; height: 72px; object-fit: contain; object-position: center top; image-rendering: auto; background: rgba(var(--sky-rgb), .08); border: 1px solid var(--line); border-radius: 4px; }
.whisper-body { position: relative; min-width: 0; }
.whisper-name {
  position: absolute; top: -30px; left: -4px; font-family: var(--f-en); font-size: 11px; font-weight: 700; letter-spacing: .2em;
  padding: 3px 12px; background: var(--pink); color: var(--ink); border-radius: 3px;
}
.whisper-text { margin: 0; font-family: "DotGothic16", var(--f-ja); font-size: 16px; line-height: 1.8; letter-spacing: .06em; min-height: 1.8em; }
.whisper-text::after { content: "▼"; font-size: 10px; color: var(--pink); margin-left: 6px; vertical-align: 2px; animation: blink 1s steps(1) infinite; }
/* 吹き出しモード（顔の横にスペースがあるとき） */
.hero-whisper.is-bubble {
  position: absolute; left: 0; top: 0; bottom: auto; translate: none; width: auto; max-width: 360px;
  display: block; padding: 14px 20px;
  border-radius: 18px;
  box-shadow: 0 0 0 4px rgba(var(--ink-rgb), .85), 0 0 0 5px rgba(var(--pink-rgb), .5), 0 16px 40px -10px rgba(0, 0, 0, .6);
  z-index: 5;
}
.hero-whisper.is-bubble .whisper-face, .hero-whisper.is-bubble .whisper-name { display: none; }
/* 会話欄（狭い画面）：ふだんは閉じていて、ラヴィを押すとバナーの下に開く */
.whisper-slot { display: none; }
@media (max-width: 1099px) {
  .whisper-slot {
    display: block; max-height: 0; overflow: hidden; margin: 0; padding: 0 5px;
    transition: max-height .5s var(--ease), margin .5s var(--ease), padding .5s var(--ease);
  }
  .whisper-slot.is-open { max-height: 220px; margin: 0 0 22px; padding: 34px 5px 5px; }
  .hero-whisper.is-slot {
    position: relative; left: auto; bottom: auto; translate: none; width: 100%; z-index: 1;
    opacity: 0; transform: translateY(-8px); pointer-events: auto; transition: opacity .4s, transform .5s var(--ease);
  }
  .whisper-slot.is-open .hero-whisper.is-slot { opacity: 1; transform: none; }
  .gatebar { margin-top: 0; }
  .gatebar-head { padding-top: 24px; }
}
@media (max-width: 760px) {
  .hero-whisper { grid-template-columns: 56px 1fr; padding: 12px 14px 12px 12px; }
  .whisper-face { width: 56px; height: 56px; }
  .whisper-text { font-size: 14.5px; }
}

/* お知らせの帯（流れる文字） */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: rgba(var(--ink-2-rgb), .5); }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker-track span { font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; padding: 16px 28px; white-space: nowrap; }
.ticker-track .dot { color: var(--pink); padding: 16px 0; }


/* ==========================================================
   7. TOP：NEWS／MUSIC／STORY／VIDEO／SHORTS
   ========================================================== */
/* ---- NEWS ---- */
.news-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); }
.news-layout .section-head { flex-direction: column; align-items: flex-start; margin: 0; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 110px 90px 1fr 24px; align-items: center; gap: 20px;
  padding: 26px 8px; position: relative; transition: padding .4s var(--ease), background .4s;
}
.news-row:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(var(--sky-rgb), .07), transparent); }
.news-row .date { font-family: var(--f-ja); font-size: 13px; color: var(--mute); letter-spacing: .06em; }
.news-row .title { font-weight: 500; }
.news-row i { color: var(--mute); transition: transform .4s var(--ease), color .3s; }
.news-row:hover i { transform: translateX(4px); color: var(--sky); }
.cat {
  font-family: var(--f-ja); font-size: 10.5px; letter-spacing: .06em; text-align: center;
  padding: 3px 10px; border-radius: 2px; border: 1px solid currentColor; justify-self: start; line-height: 1.6;
}
.cat-MUSIC { color: var(--sky); }
.cat-NOVEL { color: var(--pink); }
.cat-INFO { color: var(--text); }
.cat-GOODS, .cat-SHOP { color: var(--carrot); }
.badge-new { font-family: var(--f-ja); font-size: 10px; color: var(--ink); background: var(--pink); padding: 1px 7px; border-radius: 4px; margin-left: 10px; vertical-align: 2px; letter-spacing: .06em; }
@media (max-width: 860px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-layout .section-head { flex-direction: row; align-items: flex-end; }
  .news-row { grid-template-columns: auto auto 1fr; gap: 6px 14px; padding: 20px 4px; }
  .news-row .title { grid-column: 1 / -1; }
  .news-row i { display: none; }
}

/* ---- MUSIC ---- */
.music-feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.feature-jacket { position: relative; aspect-ratio: 1; }
.feature-jacket::before {   /* --bg は site.js・index.html が絶対URLで入れる（このファイルは css/ にあるので、相対URLだとずれる） */
  content: ""; position: absolute; inset: 8% -6% -6% 8%; z-index: -1;
  background: var(--bg) center / cover; filter: blur(50px) saturate(1.4); opacity: .6;
}
.feature-jacket img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 -1px 0 rgba(var(--text-rgb), .7); }
.feature-jacket .vinyl {
  position: absolute; top: 4%; right: -12%; width: 92%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #111 0 16%, #1b1b22 16.5% 17%, #0c0c10 17.5% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform 1.2s var(--ease);
}
.feature-jacket .vinyl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px);
}
.music-feature:hover .vinyl { transform: translateX(10%) rotate(40deg); }
.feature-info .label { font-family: var(--f-ja); color: var(--pink); font-size: 12px; letter-spacing: .06em; }
.feature-info h3 { font-family: var(--f-en); font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; margin: 14px 0 12px; letter-spacing: 0; word-break: break-word; }
.feature-info .meta { color: var(--mute); font-size: 13px; margin: 0 0 32px; }
.feature-info .stream-list { margin-bottom: 28px; }
@media (max-width: 760px) {
  .music-feature { grid-template-columns: 1fr; }
  .feature-jacket { width: 82%; }
}

/* 作品カード（TOP の横スクロール・MUSIC ページの一覧で共通） */
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
.release-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 22vw, 260px); gap: clamp(16px, 2.4vw, 32px);
  /* overflow-y: hidden … カードの登場アニメーション（下から浮き上がる）の分だけ縦にも動いてしまうのを防ぐ
     overscroll-behavior-x … 端まで行ったときにページごと引っぱられないようにする */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 24px;
  scrollbar-width: thin; scrollbar-color: rgba(var(--sky-rgb), .35) transparent;
}
.release-scroller > * { scroll-snap-align: start; }
.release-card { text-align: left; display: block; width: 100%; }
.release-jacket { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--ink-2); box-shadow: 0 -1px 0 rgba(var(--text-rgb), .7); }
.release-jacket img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.release-jacket::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; }
.release-play {
  position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--ink); font-size: 14px;
  opacity: 0; transform: translateY(10px) scale(.9); transition: all .5s var(--ease);
}
.release-play i { margin-left: 3px; }
.release-card:hover .release-jacket img, .release-card:focus-visible .release-jacket img { transform: scale(1.06); filter: brightness(.8); }
.release-card:hover .release-play, .release-card:focus-visible .release-play { opacity: 1; transform: none; }
.release-meta { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--f-ja); font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.release-type { color: var(--sky); }
.release-title { margin: 6px 0 0; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.release-sub { margin: 2px 0 0; font-size: 12px; color: var(--mute); line-height: 1.5; }
.release-card:focus-visible { outline: 2px solid var(--sky); outline-offset: 6px; border-radius: 4px; }

/* ---- STORY ---- */
.story {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(100px, 16vw, 220px) 0;
}
/* 背景の絵は区画より上下に10%はみ出しているので、はみ出し分は透明にし、区画の端から長めに溶かす */
.story-bg {
  position: absolute; inset: -10% 0; z-index: -2; background: url("../img/thumb/haikyo.jpg") center / cover; filter: saturate(.7) brightness(.45);
  -webkit-mask-image: linear-gradient(transparent 0 100px, rgba(0, 0, 0, .35) 220px, #000 42%, #000 58%, rgba(0, 0, 0, .35) calc(100% - 220px), transparent calc(100% - 100px));
  mask-image: linear-gradient(transparent 0 100px, rgba(0, 0, 0, .35) 220px, #000 42%, #000 58%, rgba(0, 0, 0, .35) calc(100% - 220px), transparent calc(100% - 100px));
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-text p { font-size: clamp(15px, 1.5vw, 18px); line-height: 2.4; margin: 0 0 1.4em; text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.story-text .quote { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1.8; margin-bottom: 1.2em; }
.story-visual { position: relative; }
.story-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.story-visual .frame {
  position: absolute; inset: 6% 6% 0; border: 1px solid rgba(var(--sky-rgb), .3); z-index: -1;
}
.story-visual .frame::before, .story-visual .frame::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--sky);
}
.story-visual .frame::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.story-visual .frame::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }
.story-visual .tag {
  position: absolute; left: 0; bottom: 12%; font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em;
  background: rgba(var(--ink-rgb), .8); border: 1px solid var(--line); padding: 10px 14px; line-height: 1.8;
}
.story-visual .tag b { color: var(--pink); font-weight: 400; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 460px; margin: 0 auto; }
}

/* ---- VIDEO ---- */
.video-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.video-grid > .is-main { grid-row: 1 / 3; }
.video-card { position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; background: var(--ink-2); box-shadow: inset 0 1px 0 rgba(var(--text-rgb), .6); }
.video-grid > :not(.is-main) { aspect-ratio: auto; }
/* サムネイルは枠に合わせて敷くだけにする（画像の元の縦横比で、枠の高さが変わってしまうのを防ぐ） */
.video-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--ink-rgb), .85), transparent 55%); }
.video-card:hover > img { transform: scale(1.05); }
/* 動画のタイトルと公開日 */
.video-card .cap {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: flex; align-items: flex-end; gap: 12px;
  font-family: var(--f-ja); font-size: 14px; letter-spacing: .04em; font-weight: 700;
}
.video-card .cap .brand-icon { flex: none; }
.video-card .cap-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; }
.video-card .cap-text small { font-family: var(--f-ja); font-weight: 400; font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.video-grid > :not(.is-main) .cap { font-size: 12.5px; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (min-width: 761px) { .video-card.is-clone { display: none; } }  /* 写しはスマホの回転式だけで使う */
@media (max-width: 760px) {
  /* スマホは回転式の横スクロール。真ん中の1本を大きく見せ、両端に前後の動画を薄くのぞかせる
     （2本を横に並べると、YouTube のプレーヤーが小さすぎて再生できないため） */
  .video-grid {
    display: flex; gap: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: 9vw;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid > .video-card {
    flex: 0 0 82vw; aspect-ratio: 16 / 9; scroll-snap-align: center;
    opacity: .4; transform: scale(.94); transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .video-grid > .video-card.is-active { opacity: 1; transform: none; }
  /* 前後の動画は94%に縮むので、YouTube のマークは26pxにして縮んでも24px以上に保つ */
  .video-grid .video-card .cap .brand-icon.is-wide { height: 26px; }
  .video-card .cap { left: 12px; bottom: 8px; }
}

/* ---- SHORTS（縦長の動画を4本並べる。スマホは横スクロール） ---- */
.shorts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-card.is-short { aspect-ratio: 9 / 16; }
.video-card.is-short .cap { left: 14px; right: 14px; bottom: 14px; gap: 10px; font-size: 12.5px; }
.video-card.is-short .cap-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 760px) {
  .shorts-grid {
    display: flex; gap: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad); scrollbar-width: none;
  }
  .shorts-grid::-webkit-scrollbar { display: none; }
  .shorts-grid > .video-card { flex: 0 0 62vw; scroll-snap-align: start; }
}


/* ==========================================================
   8. TOP：奥行きと区切り
   部品（.dp-bg・.dp-ghost・.dp-band・#dp-dust）は site.js の setupDepth が足す。
   --bgy・--pt・is-blur は setupFocusDepth、帯の光は setupWaveLight
   ========================================================== */
/* 区画は水平に区切り、背景のずらし分が帯の側にはみ出さないよう、区画の中で切る */
[data-world] { isolation: isolate; clip-path: inset(0); }

/* ---- 区画ごとの模様。地の色は塗らず、上下の端で溶かす（区切りは帯だけにする） ----
   背景は上下に80pxはみ出させて、スクロールでゆっくり動かす。はみ出し分（約90px）は完全に透明にする */
.dp-bg {
  position: absolute; inset: -80px 0; z-index: -1; overflow: hidden; pointer-events: none;
  translate: 0 calc(var(--bgy, 0) * 1px);
  -webkit-mask-image: linear-gradient(transparent 0 90px, #000 320px, #000 calc(100% - 320px), transparent calc(100% - 90px));
  mask-image: linear-gradient(transparent 0 90px, #000 320px, #000 calc(100% - 320px), transparent calc(100% - 90px));
}
.dp-bg::before, .dp-bg::after { content: ""; position: absolute; inset: 0; }
/* NEWS＝受信ログ：細い走査線 */
[data-world="news"] .dp-bg::before { background: repeating-linear-gradient(0deg, rgba(var(--sky-rgb), .055) 0 1px, transparent 1px 4px); }
[data-world="news"] .dp-bg::after {
  background: linear-gradient(180deg, transparent, rgba(var(--sky-rgb), .07) 50%, transparent);
  height: 40%; inset: auto 0 auto 0; top: -40%; animation: dp-scan 9s linear infinite;
}
@keyframes dp-scan { to { top: 100%; } }
/* MUSIC＝音の波形：ゆっくり流れる波 */
[data-world="music"] .dp-bg::before, [data-world="music"] .dp-bg::after {
  inset: auto 0; height: 220px; width: 200%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='220' viewBox='0 0 600 220'%3E%3Cpath d='M0 110 C 50 20 100 20 150 110 S 250 200 300 110 S 400 20 450 110 S 550 200 600 110' fill='none' stroke='%23ffb3d4' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 50% / 600px 220px;
}
[data-world="music"] .dp-bg::before { top: 18%; opacity: .16; animation: dp-wave 26s linear infinite; }
[data-world="music"] .dp-bg::after { top: 52%; opacity: .09; animation: dp-wave 44s linear infinite reverse; scale: 1 1.6; }
@keyframes dp-wave { to { transform: translateX(-600px); } }
/* VIDEO＝スクリーン：縦の細い線 */
[data-world="video"] .dp-bg::before { background: repeating-linear-gradient(90deg, rgba(var(--sky-rgb), .035) 0 1px, transparent 1px 90px); }
/* SHORTS＝点 */
[data-world="shorts"] .dp-bg::before { background: radial-gradient(rgba(var(--pink-rgb), .10) 1px, transparent 1.5px) 0 0 / 26px 26px; }

/* ---- 見出しの後ろの巨大な英字（スクロールで本文よりゆっくり動く。--py は site.js が入れる） ---- */
.dp-ghost {
  position: absolute; right: -1vw; top: 50%; margin: 0;
  font-family: var(--f-en); font-weight: 800; line-height: .8; white-space: nowrap;
  font-size: clamp(110px, 25vw, 380px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--text-rgb), .13);
  transform: translate3d(0, calc(-50% + var(--py, 0px)), 0); will-change: transform;
}
[data-world="music"] .dp-ghost { -webkit-text-stroke-color: rgba(var(--pink-rgb), .15); right: auto; left: -1vw; }
[data-world="shorts"] .dp-ghost { -webkit-text-stroke-color: rgba(var(--pink-rgb), .15); right: auto; left: -1vw; }
.story .dp-ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .10); z-index: -1; }

/* ---- 見出しは背景より少しだけ速く動く／入ってくる区画のピントが合う ---- */
[data-world] .section-title { translate: 0 calc(var(--pt, 0) * 1px); }
.home .section > .wrap, .home .story > .wrap { transition: filter .5s ease, opacity .5s ease; }
.home .is-blur > .wrap { filter: blur(5px); opacity: .5; }

/* ---- 区切りの帯＝声の波形。区画を行き来するときだけ、波形の上を光が通る ---- */
.dp-band { position: relative; z-index: 3; display: flex; align-items: center; padding: 24px 0; }
.dp-band:has(+ [hidden]) { display: none; }   /* SHORTS が出ないときは、その上の帯も出さない */
.dp-band svg { width: 100%; height: 22px; display: block; }
.dp-band line { stroke: var(--sky); stroke-width: 1; opacity: .35; transition: opacity .5s ease; }
.dp-band line.is-lit { opacity: 1; transition: none; }

/* ---- 区画に入った瞬間だけ：光の線が1本通り、背景がかすかに乱れる（is-cut は site.js が付ける） ---- */
[data-world]::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--sky-rgb), .9) 30%, rgba(var(--sky-rgb), .9) 70%, transparent);
}
[data-world].is-cut::after { animation: dp-sweep .9s var(--ease) 1; }
[data-world].is-cut .dp-bg { animation: dp-jolt .42s steps(2) 1; }
@keyframes dp-sweep { 0% { top: 0; opacity: .9; } 100% { top: 55%; opacity: 0; } }
@keyframes dp-jolt {
  0% { transform: translateX(-10px); filter: hue-rotate(18deg) brightness(1.5); }
  50% { transform: translateX(6px); filter: brightness(1.2); }
  100% { transform: none; filter: none; }
}

/* ---- ページ全体に漂う粒（奥・中・手前の3層） ---- */
#dp-dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

@media (max-width: 760px) {
  .dp-ghost { font-size: 34vw; -webkit-text-stroke-width: .8px; }
}


/* ==========================================================
   9. ABOUT
   ========================================================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-intro .lead { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.7; margin: 0 0 32px; }
.about-intro p { margin: 0 0 1.3em; color: var(--text); }
.about-visual { position: relative; }
.about-visual img { width: 100%; }
.about-visual::before {
  content: ""; position: absolute; inset: 15% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sky-rgb), .25), transparent 70%); filter: blur(30px);
}
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } .about-visual { order: -1; } }

.profile-card {
  display: grid; grid-template-columns: 360px 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: rgba(var(--ink-2-rgb), .6);
}
.profile-card + .profile-card { margin-top: 24px; }
.profile-side { padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.profile-side .name-en { font-family: var(--f-en); font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; line-height: 1; margin: 0; }
.profile-side .name-ja { color: var(--mute); margin: 12px 0 28px; font-size: 13px; letter-spacing: .2em; }
.profile-side dl { margin: 0; font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.profile-side dt { font-family: var(--f-ja); color: var(--sky); font-size: 11px; letter-spacing: .06em; padding-top: 3px; }
.profile-side dd { margin: 0; line-height: 1.7; }
.profile-body { padding: clamp(28px, 4vw, 56px); }
.profile-body p { margin: 0 0 1.4em; }
.profile-body p:last-child { margin: 0; }
.profile-body .note { font-size: 12px; color: var(--mute); }
@media (max-width: 860px) { .profile-card { grid-template-columns: 1fr; } .profile-side { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Q&A */
.qa-list { display: grid; gap: 16px; }
.qa-item { border: 1px solid var(--line); border-radius: 10px; background: rgba(var(--ink-2-rgb), .5); transition: border-color .4s; }
.qa-item[open] { border-color: rgba(var(--sky-rgb), .4); }
.qa-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 16px;
  padding: 22px clamp(18px, 3vw, 32px); font-weight: 700; font-size: clamp(14px, 1.4vw, 16px);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item .q { font-family: var(--f-en); font-size: 22px; color: var(--sky); }
.qa-item .pm { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.qa-item .pm::before, .qa-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--text); translate: -50% -50%; transition: rotate .4s var(--ease); }
.qa-item .pm::after { rotate: 90deg; }
.qa-item[open] .pm::after { rotate: 0deg; }
.qa-answer { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 0 clamp(18px, 3vw, 32px) 28px; }
.qa-answer img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--pink); background: #fff; }
.bubble { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 20px 24px; line-height: 2.1; font-size: 14.5px; }
.bubble .a { font-family: var(--f-en); color: var(--pink); font-size: 18px; display: block; margin-bottom: 4px; }
@media (max-width: 600px) { .qa-answer { grid-template-columns: 1fr; } .qa-answer img { width: 56px; height: 56px; } }

/* クリエイター */
.creator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.creator { padding: 32px; border: 1px solid var(--line); border-radius: 10px; position: relative; overflow: hidden; }
.creator::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.creator:hover::before { transform: none; }
.creator .role { font-family: var(--f-ja); font-size: 11px; color: var(--sky); letter-spacing: .06em; }
.creator h3 { font-size: 24px; margin: 10px 0 12px; line-height: 1.4; }
.creator p { margin: 0; font-size: 13px; color: var(--mute); line-height: 2; }
@media (max-width: 760px) { .creator-grid { grid-template-columns: 1fr; } }


/* ==========================================================
   10. MUSIC（一覧）・作品の詳細
   ========================================================== */
.artist-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* 作品の詳細（モーダル） */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal-bg { position: absolute; inset: 0; background: rgba(var(--ink-rgb), .8); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.modal-panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow-y: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal-bg { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-lock { overflow: hidden; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(var(--ink-rgb), .7); z-index: 3; border: 1px solid var(--line); }
.modal-close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: var(--text); rotate: 45deg; }
.modal-close span + span { rotate: -45deg; }
.modal-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.modal-jacket { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px); display: grid; place-items: center; isolation: isolate; }
.modal-jacket::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: var(--bg) center / cover; filter: blur(60px) saturate(1.3) brightness(.6); }
.modal-jacket img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .6); }
.modal-info { padding: clamp(28px, 4vw, 52px); }
.modal-label { font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em; color: var(--pink); margin: 0; }
.modal-title { font-family: var(--f-en); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; margin: 12px 0 4px; word-break: break-word; }
.modal-sub { color: var(--mute); margin: 0; }
.modal-artist { font-size: 13px; color: var(--mute); margin: 8px 0 28px; }
@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal-panel { border-radius: 16px 16px 0 0; max-height: 92svh; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-jacket { padding: 48px 20% 24px; }
}


/* ==========================================================
   11. NEWS（一覧）
   ========================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter-bar button {
  font-family: var(--f-en); font-size: 11.5px; letter-spacing: .14em; padding: 9px 18px; border-radius: 2px;
  border: 1px solid var(--line); color: var(--mute); transition: all .3s;
}
.filter-bar button:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.filter-bar button.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }

.news-articles { display: grid; gap: 20px; }
.news-article {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 10px;
  background: rgba(var(--ink-2-rgb), .45); scroll-margin-top: calc(var(--header-h) + 20px);
}
.news-article.no-image { grid-template-columns: 1fr; }
.news-article .thumb { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.news-article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-article .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.news-article .meta .date { font-family: var(--f-ja); font-size: 13px; color: var(--mute); letter-spacing: .06em; }
.news-article h2 { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; margin: 0 0 18px; }
.news-article .body p { margin: 0 0 1em; }
.news-article .body a:not(.stream-btn):not(.am-badge):not(.listen-badge) { color: var(--sky); border-bottom: 1px solid currentColor; }
@media (max-width: 700px) {
  .news-article { grid-template-columns: 1fr; }
  .news-article .thumb { max-width: 200px; }
}


/* ==========================================================
   12. CONTACT・規約
   ========================================================== */
.form-intro { color: var(--text); margin: 0 0 40px; }
.form { display: grid; gap: 28px; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 10px; letter-spacing: .1em; }
.field .req { font-family: var(--f-ja); font-size: 10px; color: var(--ink); background: var(--pink); padding: 0 7px; border-radius: 3px; font-weight: 400; letter-spacing: .06em; }
.field .opt { font-family: var(--f-ja); font-size: 10px; color: var(--mute); border: 1px solid var(--line); padding: 0 7px; border-radius: 3px; font-weight: 400; letter-spacing: .06em; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: rgba(var(--sky-rgb), .06); box-shadow: 0 0 0 4px rgba(var(--sky-rgb), .12); }
.form-consent { font-size: 13px; color: var(--mute); margin: 0; }
.form-consent a { color: var(--sky); border-bottom: 1px solid currentColor; }
.submit-btn {
  justify-self: center; min-width: 260px; padding: 20px 40px; border-radius: 2px;
  background: var(--sky); color: var(--ink); font-family: var(--f-en); font-weight: 700; letter-spacing: .2em; font-size: 14px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(var(--sky-rgb), .6); }
.form-recaptcha { font-size: 11px; color: var(--mute); line-height: 1.8; margin: 18px 0 0; }
.form-recaptcha a { color: var(--sky); }
.grecaptcha-badge { visibility: hidden; } /* 右下の reCAPTCHA マークは、フォーム下の文で代替（Google が認める方法） */

.legal { color: var(--text); font-size: 14px; }
.legal h2 { font-size: 17px; margin: 48px 0 14px; padding-left: 16px; border-left: 2px solid var(--sky); line-height: 1.6; }
.legal h3 { font-size: 15px; margin: 28px 0 10px; line-height: 1.6; }
.legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: .6em; }
.legal a { color: var(--sky); border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.legal .policy-date { margin-top: 48px; color: var(--mute); font-size: 13px; }


/* ==========================================================
   13. GAME
   ========================================================== */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.game-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(var(--ink-2-rgb), .6); display: flex; flex-direction: column; }
.game-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--ink-2); }
.game-info { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; align-items: flex-start; }
.game-title { margin: 0; font-size: 17px; line-height: 1.5; }
.game-info p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.9; flex: 1; }


/* ==========================================================
   14. フッター
   ========================================================== */
.site-footer { position: relative; border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 120px); background: linear-gradient(transparent, var(--ink-2)); }
.footer-marquee { overflow: hidden; border-bottom: 1px solid var(--line); }
.footer-marquee > div { display: flex; width: max-content; }
.footer-marquee span {
  font-family: var(--f-en); font-weight: 700; font-size: clamp(40px, 8vw, 110px); line-height: 1.3; padding: 0 .3em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--text-rgb), .22);
}
.footer-marquee .dot { -webkit-text-stroke: 0; color: var(--pink); font-size: clamp(20px, 3vw, 40px); align-self: center; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--pad) 40px;
  display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 40px; align-items: start;
}
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; margin-bottom: 16px; }
.footer-brand img.footer-logo { width: 230px; height: auto; border-radius: 0; background: none; margin: 0 0 4px -8px; }
/* キャッチコピー：フッターに来たとき・のぞくラヴィを押したときに、ラヴィの言葉に変わる */
.footer-copy { font-size: 12px; color: var(--mute); margin: 14px 0 0; min-height: 1.8em; transition: color .4s; }
.footer-copy.is-lavi { font-family: "DotGothic16", var(--f-ja); color: var(--pink); letter-spacing: .06em; font-size: 13px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 56px; }
.footer-nav a { font-family: var(--f-en); font-size: 12px; letter-spacing: .15em; color: var(--mute); transition: color .3s; }
.footer-nav a i { font-size: .8em; margin-left: 2px; }
.footer-nav a:hover { color: var(--text); }
.footer-sns { display: flex; gap: 12px; }
.footer-sns a, .drawer-sns a {
  /* 52px：YouTube のマーク（34×24px）の周りに8px以上、Spotify（22px）の周りに11px以上の余白を取る */
  width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 18px;
  transition: background .3s, color .3s, border-color .3s;
}
/* メニュー内の丸は、メニューの文字リンク用の指定（.drawer a）を打ち消して中央に置く */
.drawer .drawer-sns a { display: grid; place-items: center; place-content: center; padding: 0; transform: none; }
/* ホバーでもアイコンは公式の白のまま（色を変えない）。丸だけ明るくする */
.footer-sns a:hover, .drawer-sns a:hover { background: rgba(255, 255, 255, .12); border-color: var(--text); }
.copyright { text-align: center; font-family: var(--f-ja); font-size: 11px; color: var(--mute); letter-spacing: .06em; padding: 24px var(--pad) 32px; margin: 0; border-top: 1px solid var(--line); }
.copyright small { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .04em; opacity: .8; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
}


/* ==========================================================
   15. 隠し要素
   ========================================================== */
/* ---- フッターのふちからのぞく小さなラヴィ ---- */
.peek { position: absolute; right: clamp(20px, 8vw, 120px); top: 0; width: 64px; height: 44px; overflow: hidden; translate: 0 -100%; z-index: 2; }
.peek img { width: 64px; height: auto; transform: translateY(26px); transition: transform .5s var(--ease); }
.peek:hover img, .peek:focus-visible img, .peek.is-talking img { transform: translateY(4px); }
.peek:focus-visible { outline: none; }

/* ---- 隠れキャラ集め（2026-10-09） ----
   ノベルの登場人物4人が、ページごとに1人ずつ、部品のふちの向こうからのぞいている。部品は site.js の setupFriends が足す。
   名前はサイトに出さない決まりなので、画像は番号（friend_1〜4）で扱う */
/* 置き場所：目印の部品のすぐ上（高さ0の箱）。キャラは、その部品のふちの向こうから頭だけのぞく */
/* --g-hide＝ふだん沈んでいる深さ、--g-up＝ときどき顔を上げたときの深さ（大きいほど隠れる） */
.g-peek-host { position: relative; height: 0; z-index: 4; pointer-events: none; --g-hide: 48px; --g-up: 34px; }
.g-peek-wrap { position: absolute; bottom: 0; width: 96px; height: 70px; }   /* 左右の位置は site.js が入れる */
.g-peek {
  position: absolute; inset: 0; width: 100%; overflow: hidden; pointer-events: none; cursor: pointer;   /* 押せるのは、見えている頭の部分だけ（まわりの部品のじゃまをしない） */
  -webkit-tap-highlight-color: transparent;
}
.g-peek img {
  position: absolute; left: 50%; top: 0; height: 200px; width: auto; max-width: none; translate: -50% 0; pointer-events: auto;
  transform: translateY(var(--g-hide)); transition: transform .5s var(--ease); animation: g-peek-idle 11s ease-in-out infinite;
}
@keyframes g-peek-idle { 0%, 78%, 100% { transform: translateY(var(--g-hide)); } 85%, 93% { transform: translateY(var(--g-up)); } }
/* 押せる範囲：見えている頭だけだと携帯で押しにくいので、頭のまわりに透明な的を足す */
.g-peek::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 72px; height: 44px; translate: -50% 0; pointer-events: auto; }
.g-peek:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
/* 見つかった瞬間：びくっと飛び上がって、すぐ引っ込む */
.g-peek.is-found img { animation: g-peek-found .95s var(--ease) forwards; }
@keyframes g-peek-found {
  0% { transform: translateY(var(--g-hide)); }
  16% { transform: translateY(2px); }
  24% { transform: translateY(8px); }
  32%, 52% { transform: translateY(4px); }
  100% { transform: translateY(80px); }
}
.g-peek.is-away img { animation: none; transform: translateY(80px); }
/* 「！」のしるし（箱の外に出すので、キャラとは別の部品） */
.g-bang {
  position: absolute; bottom: 62px; left: 35px; width: 26px; height: 26px; display: grid; place-items: center;
  font-family: var(--f-en); font-weight: 800; font-size: 16px; color: var(--ink); background: var(--pink); border-radius: 50% 50% 50% 4px;
  opacity: 0; transform: scale(.3) translateY(10px); pointer-events: none;
}
.g-bang.is-on { animation: g-bang .9s var(--ease) forwards; }
@keyframes g-bang { 0% { opacity: 0; transform: scale(.3) translateY(10px); } 18%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
/* 見つけた数（最初の1人を見つけるまでは出さない） */
.g-chip {
  position: fixed; left: 14px; bottom: 14px; z-index: 85; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border-radius: 2px; background: rgba(var(--ink-rgb), .88); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em; color: var(--mute);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .5s var(--ease), translate .5s var(--ease);
}
.g-chip.is-on { opacity: 1; translate: none; pointer-events: auto; }
.g-chip.is-all { border-color: rgba(var(--pink-rgb), .6); color: var(--pink); }
.g-slots { display: flex; gap: 4px; }
.g-slot {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden; position: relative; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--ink-2); color: var(--mute); font-size: 12px;
}
.g-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-slot.is-new { animation: g-slot-pop .7s var(--ease); }
@keyframes g-slot-pop { 0% { scale: .2; } 60% { scale: 1.25; } 100% { scale: 1; } }
.g-hint {
  position: fixed; left: 14px; bottom: 58px; z-index: 85; max-width: min(280px, calc(100vw - 28px)); padding: 10px 14px; border-radius: 10px;
  background: rgba(var(--ink-rgb), .94); border: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--text);
  opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.g-hint.is-on { opacity: 1; translate: none; }
/* 4人そろったとき：ラヴィからの一言 */
.g-clear {
  position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 20px;
  background: rgba(var(--ink-rgb), .72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease);
}
.g-clear.is-on { opacity: 1; pointer-events: auto; }
.g-clear-card {
  width: min(440px, 100%); padding: 30px 26px 24px; border-radius: 14px; text-align: center;
  background: rgba(var(--ink-3-rgb), .96); border: 1px solid rgba(var(--pink-rgb), .5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: translateY(16px) scale(.97); transition: transform .7s var(--ease);
}
.g-clear.is-on .g-clear-card { transform: none; }
.g-clear-label { font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em; color: var(--pink); margin: 0 0 16px; }
.g-clear-friends { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 92px; margin-bottom: 14px; }
.g-clear-friends img { height: 82px; width: auto; }
.g-clear-friends img.is-lavi { height: 92px; }
.g-clear-text { font-family: var(--f-mono); font-size: clamp(15px, 4vw, 18px); line-height: 1.9; margin: 0 0 20px; }
.g-clear-close { font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; padding: 10px 22px; border: 1px solid var(--line); border-radius: 2px; }
.g-clear-close:hover { border-color: var(--pink); color: var(--pink); }

/* ---- 歩くドット絵ラヴィ（site.js の setupWalker） ---- */
.g-walker { position: fixed; left: 0; bottom: 0; z-index: 80; pointer-events: none; will-change: transform; }
.g-walker-body { display: block; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.g-walker img { display: block; height: 92px; width: auto; transform-origin: 50% 100%; animation: g-walk .46s steps(2) infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.g-walker.is-left img { scale: -1 1; }
@keyframes g-walk { 0% { transform: translateY(0) rotate(-2.5deg); } 50% { transform: translateY(-5px) rotate(2.5deg); } }
.g-walker.is-stop img { animation: g-walk-stop .5s var(--ease) 1; }
@keyframes g-walk-stop { 0% { transform: translateY(0); } 40% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
.g-walker-say {
  position: absolute; left: 50%; bottom: 100%; translate: -50% 0; margin-bottom: 6px; padding: 7px 12px; border-radius: 10px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--text);
  background: rgba(var(--ink-rgb), .94); border: 1px solid rgba(var(--pink-rgb), .5); opacity: 0; transition: opacity .3s;
}
.g-walker.is-stop .g-walker-say { opacity: 1; }

@media (max-width: 760px) {
  .g-peek-host { --g-hide: 42px; --g-up: 30px; }
  .g-peek-wrap { width: 84px; height: 62px; }
  .g-peek img { height: 176px; }
  .g-bang { bottom: 54px; left: 29px; }
  .g-walker img { height: 72px; }
  .g-chip { left: 10px; bottom: 10px; }
  .g-hint { left: 10px; bottom: 54px; }
}


/* ==========================================================
   16. 迷子のページ（404.html）
   ========================================================== */
.nf { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: calc(var(--header-h) + 40px) var(--pad) 60px; position: relative; overflow: hidden; isolation: isolate; }
.nf::before {   /* 走査線 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(var(--sky-rgb), .04) 0 1px, transparent 1px 4px);
}
.nf-inner { text-align: center; max-width: 560px; }
.nf-code {
  position: relative; display: inline-block; margin: 0; font-family: var(--f-en); font-weight: 800; line-height: 1;
  font-size: clamp(96px, 30vw, 220px); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--text-rgb), .5);
}
.nf-code::before, .nf-code::after { content: attr(data-text); position: absolute; inset: 0; -webkit-text-stroke: 1.5px; opacity: .55; }
.nf-code::before { -webkit-text-stroke-color: var(--sky); animation: nf-glitch-a 4.2s steps(1) infinite; }
.nf-code::after { -webkit-text-stroke-color: var(--pink); animation: nf-glitch-b 4.2s steps(1) infinite; }
@keyframes nf-glitch-a { 0%, 91%, 100% { transform: none; clip-path: none; } 92% { transform: translate(-6px, 2px); clip-path: inset(10% 0 62% 0); } 95% { transform: translate(5px, -2px); clip-path: inset(58% 0 8% 0); } }
@keyframes nf-glitch-b { 0%, 91%, 100% { transform: none; clip-path: none; } 93% { transform: translate(6px, -1px); clip-path: inset(40% 0 30% 0); } 96% { transform: translate(-4px, 2px); clip-path: inset(5% 0 80% 0); } }
.nf-lavi { height: clamp(120px, 30vw, 170px); width: auto; margin: -28px auto 18px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); position: relative; }
.nf-status { font-family: var(--f-ja); font-size: 11px; letter-spacing: .06em; color: var(--sky); margin: 0 0 14px; }
.nf-say { font-family: var(--f-mono); font-size: clamp(16px, 4.4vw, 20px); line-height: 1.9; margin: 0 0 10px; }
.nf-note { font-size: 13px; color: var(--mute); line-height: 2; margin: 0 0 30px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }


/* ==========================================================
   17. 画像の保存対策（クリックは受け付ける）
   ========================================================== */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }


/* ==========================================================
   18. 動きを減らす設定
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .dp-ghost { transform: translate3d(0, -50%, 0); }
  .home .kv-visual picture { transform: none; }
  #dp-dust { display: none; }
  .dp-bg, [data-world] .section-title { translate: none; }
  .home .is-blur > .wrap { filter: none; opacity: 1; }
  .g-peek.is-found img, .g-peek.is-away img { transform: translateY(80px); }
}
