/* ==========================================================================
   DJ Tozy — main stylesheet (mobile first)
   White, clean & cinematic base + geometric gradient accent.
   LE0D section: "DJ Tozy from LE0D" — same light palette, gradient accents.
   Fonts (Google Fonts): Syncopate / Zen Dots (LE0D) / Space Grotesk / Zen Kaku Gothic New / JetBrains Mono
   Icons: Font Awesome 6

   ベースはスマホ用。画面が広くなるほど min-width で拡張する。
     md  : (min-width: 641px)  タブレット
     lg  : (min-width: 961px)  PC（2カラム）
     xl  : (min-width: 1081px) PC ナビゲーション
   ========================================================================== */

:root {
  --bg: #f7f7f5;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-hover: #ffffff;
  --line: rgba(14, 14, 20, 0.1);
  --line-strong: rgba(14, 14, 20, 0.28);
  --text: #0e0e14;
  --text-soft: #3a3946;
  --muted: #6e6c7a;
  --cyan: #00b4d8;
  --violet: #6b3df5;
  --magenta: #e0249a;
  --header-bg: rgba(247, 247, 245, 0.94);
  --shadow: 0 30px 60px -30px rgba(14, 14, 20, 0.18);
  --grad: linear-gradient(115deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 100%);

  --font-display: "Syncopate", "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 56px;          /* ガラスヘッダーの高さ */
  --header-top: 10px;        /* 画面上端からの浮き */
  --header-inset: 10px;      /* 画面左右からの余白 */
  --header-offset: calc(var(--header-h) + var(--header-top)); /* コンテンツが避けるべき高さ */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}
@media (min-width: 641px) {
  :root { --header-h: 60px; --header-top: 16px; --header-inset: 24px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 641px) {
  body { font-size: 16px; }
}
:lang(ja) body, body:lang(ja) { font-feature-settings: "palt"; }

/* 改行ルール: 和文は文節で折り返し、少ない文字だけが次の行に落ちる“段落ち”を防ぐ */
body { line-break: strict; overflow-wrap: anywhere; }
:lang(ja) { word-break: auto-phrase; }
p, li, dd, dt, figcaption, blockquote { text-wrap: pretty; }
h1, h2, h3, h4, summary { text-wrap: balance; }
.nowrap { white-space: nowrap; }
/* 句単位のまとまり: 改行は句と句の間でだけ起こる */
.phrase { display: inline-block; max-width: 100%; }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
a:hover { color: var(--violet); }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary, select, input, textarea { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; } /* ダブルタップズームの遅延をなくす */
:focus-visible { outline: 1px solid var(--cyan); outline-offset: 4px; }
/* アンカー移動時にフォーカスを移すセクション等には枠線を出さない */
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--text); color: var(--bg); }

.screen-reader-text, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  padding: 8px 16px; background: var(--text); color: var(--bg);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.muted { color: var(--muted); }

/* ---------- Background layers ---------- */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.particles canvas { display: block; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@media (max-width: 640px) {
  .grain { animation: none; } /* スマホではフィルム粒子を静止させて描画負荷を下げる */
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.site-header, .site-main, .site-footer { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center; justify-items: center; gap: 24px;
  background: var(--bg);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { width: 96px; height: 96px; }
.loader-mark path, .loader-mark circle[stroke-width] {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw 1.6s var(--ease) forwards;
}
.loader-mark g[fill] circle { opacity: 0; animation: fade .4s 1.2s forwards; }
.loader-text {
  margin: 0; font-family: var(--font-display); font-size: 12px; letter-spacing: .5em;
  text-align: center; opacity: 0; animation: fade .6s .6s forwards;
}
.loader-text span { display: block; margin-top: 8px; font-size: 10px; color: var(--muted); letter-spacing: .3em; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (min-width: 641px) {
  .loader-mark { width: 120px; height: 120px; }
}

/* ---------- Header: Liquid Glass ---------- */
/* 画面上部に浮かぶガラスのカプセル。
   ガラス効果 (backdrop-filter) はヘッダー本体ではなく ::before に掛ける。
   本体に掛けると、中にある position: fixed のモバイルメニューがヘッダー内に閉じ込められるため。
   同じ理由でセンタリングに transform は使わない。 */
.site-header {
  position: fixed; top: var(--header-top); z-index: 50;
  left: max(var(--header-inset), env(safe-area-inset-left)); right: max(var(--header-inset), env(safe-area-inset-right));
  max-width: 1240px; margin-inline: auto;
  height: var(--header-h); border-radius: 999px; isolation: isolate;
  transition: top .4s var(--ease);
}
/* ガラス本体: 背景を強くぼかし、彩度を上げて透かす */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .32) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%) brightness(1.04);
  backdrop-filter: blur(18px) saturate(180%) brightness(1.04);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),      /* 上端のハイライト */
    inset 0 -1px 1px rgba(255, 255, 255, .45),     /* 下端の照り返し */
    inset 0 0 20px rgba(255, 255, 255, .35),       /* ガラスの厚み */
    0 12px 32px -12px rgba(14, 14, 20, .22),       /* 浮遊感 */
    0 1px 3px rgba(14, 14, 20, .06);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
/* 縁の光: 斜めに走るハイライトと、端にわずかなプリズム色 */
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(115deg,
    rgba(255, 255, 255, .95) 0%, rgba(0, 180, 216, .35) 12%, rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 68%, rgba(224, 36, 154, .28) 88%, rgba(255, 255, 255, .9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.site-header.is-scrolled::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .5) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .45),
    inset 0 0 20px rgba(255, 255, 255, .4),
    0 16px 40px -14px rgba(14, 14, 20, .28),
    0 1px 3px rgba(14, 14, 20, .08);
}
/* ぼかし非対応ブラウザ / 透明度を下げる設定では不透明に */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(255, 255, 255, .94); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.admin-bar .site-header { top: calc(46px + var(--header-top)); }
@media (min-width: 783px) {
  .admin-bar .site-header { top: calc(32px + var(--header-top)); }
}

.header-inner {
  height: 100%; padding: 0 6px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 641px) {
  .header-inner { padding: 0 14px 0 24px; }
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(60deg); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .28em; }

/* mobile: 全画面オーバーレイメニュー */
.nav-toggle {
  display: grid; place-items: center; position: relative; z-index: 60;
  width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; font-size: 18px;
}
.site-nav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px;
  background: rgba(247, 247, 245, .72);
  -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav .menu { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.site-nav .menu a {
  position: relative; display: inline-block; padding: 6px 0;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.site-nav .menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.site-nav .menu a:hover, .site-nav .menu a.is-current, .site-nav .current-menu-item > a { color: var(--text); }
.site-nav .menu a:hover::after, .site-nav .menu a.is-current::after { transform: scaleX(1); transform-origin: left; }
.site-nav .menu-le0d > a {
  color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.site-nav .menu-le0d > a::after { background: var(--grad); }

@media (min-width: 641px) {
  .brand { gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 14px; letter-spacing: .32em; }
}
/* xl: 横並びナビゲーション */
@media (min-width: 1081px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; flex-direction: row; gap: 32px; background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; transition: none;
  }
  .site-nav .menu { flex-direction: row; gap: 28px; }
  .site-nav .menu a { font-size: 10.5px; }
}

.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--muted); font-size: 16px;
}
.social a:hover { color: var(--text); transform: translateY(-2px); }
.social-large a { width: 48px; height: 48px; font-size: 20px; border: 1px solid var(--line); }
.social-large a:hover { border-color: var(--line-strong); background: var(--surface-hover); }
@media (min-width: 1081px) {
  .social-nav a { width: 32px; height: 32px; font-size: 15px; }
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; white-space: nowrap;
  border: 1px solid var(--line-strong); background: transparent;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 11px; }
.btn-le0d { position: relative; border: 0; color: var(--text); isolation: isolate; }
.btn-le0d::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-le0d:hover { background: var(--grad); color: #fff; }
@media (min-width: 641px) {
  .btn { padding: 0 28px; letter-spacing: .22em; }
}

.link-more {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; white-space: nowrap;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.link-more i { transition: transform .4s var(--ease); }
.link-more:hover i { transform: translateX(6px); }
@media (min-width: 641px) {
  .link-more { margin-top: 28px; }
}

/* ---------- Sections ---------- */
.site-main { min-height: 60vh; }
.section { padding: clamp(80px, 14vw, 180px) 0; border-top: 1px solid var(--line); }
.page-section, .single-entry { padding-top: calc(var(--header-offset) + 56px); border-top: 0; }

.section-head { margin-bottom: clamp(40px, 7vw, 88px); container-type: inline-size; }
/* 短い見出しは「見出し幅 ÷ 文字数」で文字サイズを決め、常に1行に収める（Syncopate は 1 文字 ≒ 0.96em 以下） */
.section-head .section-title.is-fit { white-space: nowrap; font-size: clamp(14px, calc(100cqi / var(--chars)), 56px); }
.section-label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.section-label .num { color: var(--text); }
.section-label .line { flex: none; width: 32px; height: 1px; background: var(--line-strong); }
.section-title {
  font-family: var(--font-display); font-size: clamp(22px, 6vw, 56px);
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
}
.sub-head {
  display: flex; align-items: center; gap: 12px; margin: 56px 0 24px; white-space: nowrap;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.empty {
  padding: 24px; border: 1px dashed var(--line); color: var(--muted); font-family: var(--font-ja);
}
.empty i { margin-right: 8px; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.section-foot .link-more { margin-top: 0; }
@media (min-width: 641px) {
  .page-section, .single-entry { padding-top: calc(var(--header-offset) + 80px); }
  .section-label { gap: 16px; margin-bottom: 20px; font-size: 12px; }
  .section-label .line { width: 48px; }
  .section-title { font-size: clamp(26px, 4.6vw, 56px); letter-spacing: .06em; line-height: 1.15; }
  .sub-head { margin: 72px 0 28px; font-size: 13px; letter-spacing: .24em; }
  .empty { padding: 40px; }
  .section-foot { margin-top: 48px; }
}

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-offset) + 32px) 0 104px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-offset) + 12px);
  bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 40%;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero-geometry {
  position: absolute; top: 50%; left: 50%; width: max(140vmin, 520px); height: auto;
  color: rgba(14, 14, 20, .09);
  transform: translate(-50%, calc(-50% + var(--parallax, 0px)));
  pointer-events: none;
}
.hero-geometry g { transform-origin: 300px 300px; animation: spin 180s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-kicker {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px;
  margin: 0 0 32px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero-kicker > span { white-space: nowrap; }
.hero-kicker .sep { color: var(--line-strong); }
.hero-title { margin: 0 auto; max-width: 880px; }
.hero-wordmark { width: 100%; height: auto; }
.hero-tagline {
  position: relative; display: inline-block; margin: 36px 0 12px; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(11px, 3.6vw, 20px); font-weight: 700;
  letter-spacing: .4em; text-transform: uppercase;
}
.hero-sub { margin: 0 auto; max-width: 30em; color: var(--muted); font-family: var(--font-ja); font-size: 14px; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.hero-actions .btn-primary { grid-column: 1 / -1; }
.hero-actions .btn { padding: 0 12px; }

/* glitch on tagline */
.hero-tagline::before, .hero-tagline::after, .glitch::before, .glitch::after {
  content: attr(data-glitch); position: absolute; inset: 0; pointer-events: none; opacity: 0;
}
.hero-tagline::before, .glitch::before { color: var(--cyan); animation: glitch 6s infinite steps(1); }
.hero-tagline::after, .glitch::after { color: var(--magenta); animation: glitch 6s .08s infinite steps(1) reverse; }
@keyframes glitch {
  0%, 92%, 100% { opacity: 0; transform: none; clip-path: none; }
  93% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); }
  95% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); }
  97% { opacity: .8; transform: translate(-1px, 0); clip-path: inset(35% 0 35% 0); }
}

.hero-le0d {
  display: inline-grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; gap: 6px 10px;
  margin-top: 40px; padding: 14px 20px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px);
  font-size: 12px; transition: border-color .4s var(--ease), background .4s var(--ease);
}
.hero-le0d > * { white-space: nowrap; }
.hero-le0d:hover { color: var(--text); border-color: var(--line-strong); background: #fff; box-shadow: var(--shadow); }
.hero-le0d-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-le0d-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .3em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-le0d-tag { grid-column: 1 / -1; grid-row: 2; font-style: italic; color: var(--text); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; z-index: 1; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 40px; background: linear-gradient(var(--text), transparent);
  animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 641px) {
  .hero { padding: calc(var(--header-offset) + 40px) 0 120px; }
  .hero::before { top: calc(var(--header-offset) + 16px); bottom: 24px; }
  .hero-geometry { width: min(120vmin, 1100px); }
  .hero-kicker { gap: 14px; margin-bottom: 40px; font-size: 12px; letter-spacing: .3em; }
  .hero-tagline { margin: 48px 0 16px; letter-spacing: .5em; font-size: clamp(14px, 2vw, 20px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
  .hero-actions .btn { padding: 0 28px; }
  .hero-le0d { display: inline-flex; gap: 16px; margin-top: 64px; padding: 14px 24px; }
  .hero-le0d-label { font-size: 12px; }
  .hero-scroll { bottom: 28px; }
  .hero-scroll::after { height: 56px; }
}

/* 高さの低いスマホ（iPhone SE 375×667 など）: Hero の内容と Scroll の案内を最初の1画面に収める */
@media (max-width: 640px) and (max-height: 740px) {
  .hero { padding: calc(var(--header-offset) + 20px) 0 80px; }
  .hero-kicker { margin-bottom: 20px; }
  .hero-tagline { margin: 24px 0 8px; }
  .hero-sub { line-height: 1.7; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { min-height: 44px; }
  .hero-le0d { margin-top: 24px; padding: 12px 18px; }
  .hero-scroll { bottom: 14px; gap: 6px; }
  .hero-scroll::after { height: 28px; }
}
/* さらに低い画面（初代 iPhone SE 320×568 など）では Scroll の案内を省く */
@media (max-width: 640px) and (max-height: 600px) {
  .hero { padding-bottom: 40px; }
  .hero-scroll { display: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.about-photo { margin: 0; position: relative; max-width: 420px; }
.about-photo img, .about-photo-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.about-photo-placeholder { display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.about-photo figcaption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase;
}
.placeholder-mark { width: 40%; height: auto; opacity: .7; }
.about-text { font-family: var(--font-ja); font-size: 15px; line-height: 2.05; color: var(--text-soft); }
.about-facts { margin: 40px 0 0; border-top: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.about-facts dt i { width: 18px; margin-right: 6px; }
.about-facts dd { margin: 0; }
.about-facts a { border-bottom: 1px solid var(--line-strong); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 2px 12px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.tags-gear li { border-color: var(--line-strong); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
@media (min-width: 641px) {
  .about-text { font-size: 16px; line-height: 2.1; }
  .about-facts { margin-top: 48px; }
  .about-facts > div { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
}
@media (min-width: 961px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
  .about-photo { max-width: none; }
}

/* ---------- LE0D ---------- */
.le0d {
  /* 他セクションと同じ白系。淡いグラデーションの色味とグラデーション罫線で LE0D を強調する */
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(107, 61, 245, .07), transparent 70%),
    radial-gradient(50% 50% at 5% 95%, rgba(0, 180, 216, .06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid transparent;
  border-image: var(--grad) 1;
}
.le0d-bg {
  position: absolute; right: -4vw; bottom: -6vw; z-index: 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(140px, 28vw, 420px);
  line-height: 1; letter-spacing: -.02em; color: transparent; white-space: nowrap;
  -webkit-text-stroke: 1px rgba(14, 14, 20, .06); pointer-events: none; user-select: none;
}
.le0d .container { position: relative; z-index: 1; }
.le0d a:hover { color: var(--violet); }
.le0d-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.le0d-intro { container-type: inline-size; }
.le0d-logo {
  font-family: var(--font-display); font-size: clamp(56px, 16vw, 128px); font-weight: 700;
  letter-spacing: .12em; line-height: 1; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 30px rgba(107, 61, 245, .18));
}
/* LE0D 表記: Syncopate は 0 と O が同形のため、スラッシュ付きゼロ (Ø) を持つ Zen Dots で区別する */
.le0d-type { font-family: "Zen Dots", "Syncopate", sans-serif; font-weight: 400; font-synthesis: none; letter-spacing: .08em; white-space: nowrap; }
.le0d-logo .le0d-type { letter-spacing: .1em; }
@keyframes flicker { 0%, 88%, 92%, 100% { opacity: 1; } 90% { opacity: .2; } }
/* タグラインはカラム幅に合わせて縮め、常に1行で収める */
.le0d-tagline {
  margin: 20px 0 24px; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(10px, 3.2cqi, 17px);
  letter-spacing: .12em; text-transform: uppercase;
}
.le0d-text { max-width: 560px; color: var(--text-soft); font-family: var(--font-ja); line-height: 2.05; }
.le0d-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.le0d-journey { display: grid; gap: 0; border-top: 1px solid var(--line); container-type: inline-size; }
.le0d-journey a {
  display: grid; grid-template-columns: 28px 28px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.le0d-journey a:hover { color: var(--text); background: var(--surface-hover); padding-left: 16px; }
.step-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.step-icon { font-size: 16px; color: var(--cyan); }
.le0d-journey li:nth-child(2) .step-icon { color: var(--violet); }
.le0d-journey li:nth-child(3) .step-icon { color: #a52fd6; }
.le0d-journey li:nth-child(4) .step-icon { color: var(--magenta); }
.step-en {
  font-family: var(--font-display); font-size: clamp(10px, 3.4cqi, 13px); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.step-ja { font-family: var(--font-ja); font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (min-width: 641px) {
  .le0d-tagline { margin: 24px 0 28px; letter-spacing: .28em; }
  .le0d-text { line-height: 2.1; }
  .le0d-actions { margin-top: 40px; }
  .le0d-journey a { grid-template-columns: 44px 36px minmax(0, 1fr) auto; gap: 12px; padding: 22px 8px; }
  .le0d-journey a:hover { padding-left: 20px; }
  .step-en { letter-spacing: .16em; }
}
@media (min-width: 961px) {
  .le0d-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); }
  .le0d-logo { font-size: clamp(56px, 10vw, 128px); }
}

/* ---------- Schedule ---------- */
.event-list { border-top: 1px solid var(--line); }
.event-row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.event-row { position: relative; }
.event-row:hover { background: linear-gradient(90deg, #fff, transparent); }
.event-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-cta { position: relative; z-index: 2; }
.event-date { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: end; font-family: var(--font-mono); }
.event-date .d { grid-row: span 2; font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1; }
.event-date .m { font-size: 11px; letter-spacing: .15em; color: var(--muted); white-space: nowrap; }
.event-date .w { font-size: 11px; letter-spacing: .15em; color: var(--violet); }
.event-title { font-size: 17px; font-weight: 500; letter-spacing: .04em; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.event-meta span { white-space: nowrap; }
.event-meta i { margin-right: 4px; }
.event-cta { justify-self: start; }
.is-past .event-row { opacity: .55; }
.past-events { margin-top: 40px; }
.past-events summary {
  display: flex; align-items: center; min-height: 44px;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 11px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.past-events summary::-webkit-details-marker { display: none; } /* Safari の三角マーク */
.past-events summary::before { content: "+ "; }
.past-events[open] summary::before { content: "− "; }
.past-events .event-list { margin-top: 20px; }
@media (min-width: 641px) {
  .event-row { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px 0; }
  .event-date .d { font-size: 40px; }
  .event-title { font-size: 18px; }
  .event-meta { gap: 6px 20px; }
  .event-cta { justify-self: auto; }
}

/* ---------- Mixes & Live ---------- */
.stream-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
.stream-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); background: var(--surface); container-type: inline-size; }
.stream-card .link-more { margin-top: auto; padding-top: 24px; }
.stream-label { margin-bottom: 8px; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stream-label i { margin-right: 6px; }
.stream-twitch .stream-label i { color: #a970ff; }
.stream-mixcloud .stream-label i { color: #5000ff; }
.stream-title { margin-bottom: 16px; white-space: nowrap; font-family: var(--font-display); font-size: clamp(13px, 4vw, 18px); letter-spacing: .08em; }
.stream-text { color: var(--muted); font-family: var(--font-ja); font-size: clamp(11px, 5.2cqi, 14px); white-space: nowrap; }
.stream-mixcloud:hover { color: var(--text); background: var(--surface-hover); border-color: var(--line-strong); box-shadow: var(--shadow); }
.twitch-player { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.twitch-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.twitch-load {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  border: 0; color: #fff; background:
    radial-gradient(circle at 50% 50%, rgba(145, 70, 255, .3), transparent 60%), #0b0a14;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.twitch-load i {
  display: grid; place-items: center; width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; font-size: 18px; transition: background .4s var(--ease), color .4s var(--ease);
}
.twitch-load:hover i { background: #fff; color: #0b0a14; }
/* ▶ は重心が左 1/3 にあるため、外接矩形を中央に置くと左に寄って見える。右へずらして光学的に中央へ */
.twitch-load i::before { display: block; line-height: 1; transform: translateX(.1em); }

.mix-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mix-card { padding: 20px; border: 1px solid var(--line); background: var(--surface); transition: box-shadow .6s var(--ease); }
.mix-title { font-size: 16px; font-weight: 500; }
.mix-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 20px; font-size: 12px; color: var(--muted); }
.mix-meta span { white-space: nowrap; }
.embed iframe { width: 100%; border: 0; }
@media (min-width: 641px) {
  .stream-grid { gap: 24px; margin-bottom: 56px; }
  .stream-card { padding: 32px; }
  .stream-title { margin-bottom: 20px; font-size: 18px; letter-spacing: .1em; }
  .twitch-load { font-size: 11px; }
  .twitch-load i { width: 64px; height: 64px; }
  .mix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .mix-card { padding: 28px; }
  .mix-title { font-size: 17px; }
}
@media (min-width: 961px) {
  .stream-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

/* ---------- Releases / cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.release-card, .post-card { position: relative; display: flex; flex-direction: column; }
.release-title a::after, .post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.release-art, .post-card-thumb {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); background: var(--surface);
  transition: box-shadow .6s var(--ease);
}
.post-card-thumb { aspect-ratio: 16 / 10; }
.release-art img, .post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.4); }
.release-card:hover img, .post-card:hover img { transform: scale(1.05); filter: none; }
.release-card:hover .release-art, .post-card:hover .post-card-thumb, .mix-card:hover { box-shadow: var(--shadow); }
.release-art-placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.alias-badge {
  position: absolute; top: 8px; left: 8px; padding: 2px 8px; white-space: nowrap;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .12em;
}
.is-le0d .alias-badge { border-color: transparent; background: var(--grad); color: #fff; }
.release-body, .post-card-body { padding-top: 12px; }
.release-title, .post-card-title { font-size: 15px; font-weight: 500; }
.release-meta { margin: 4px 0 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.release-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 16px; color: var(--muted); }
.release-links { position: relative; z-index: 2; } /* カード全体リンクより手前 */
.release-links a { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin: -8px 0; }
.post-card-body time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.post-card-body p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.post-card .link-more { margin-top: 16px; }
/* ニュース等の記事カードはスマホでは1列 */
.post-card { grid-column: 1 / -1; }
@media (min-width: 641px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
  .post-card { grid-column: auto; }
  .alias-badge { top: 12px; left: 12px; padding: 2px 10px; }
  .release-body, .post-card-body { padding-top: 16px; }
  .release-title, .post-card-title { font-size: 16px; }
  .release-meta { font-size: 11px; letter-spacing: .1em; }
}

/* ---------- News ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.news-list a:hover { color: var(--text); }
.news-list time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.news-cat { justify-self: start; padding: 0 10px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.news-title { grid-column: 1 / -1; grid-row: 2; font-family: var(--font-ja); }
.news-arrow { grid-column: 3; grid-row: 1; transition: transform .4s var(--ease); }
.news-list a:hover .news-arrow { transform: translateX(6px); }
@media (min-width: 641px) {
  .news-list a { grid-template-columns: 110px 130px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; }
  .news-title { grid-column: auto; grid-row: auto; }
  .news-arrow { grid-column: auto; grid-row: auto; }
}

/* ---------- Booking ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.booking-info p { font-family: var(--font-ja); color: var(--text-soft); }
.booking-points { margin: 24px 0; border-top: 1px solid var(--line); container-type: inline-size; }
/* 短い項目は常に1行。カラム幅に応じて文字サイズを縮める */
.booking-points > li {
  display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(11px, 4.1cqi, 14px); white-space: nowrap;
}
.booking-points i { flex: none; width: 22px; color: var(--muted); }
/* 機材はタグ単位で折り返す（タグ内は改行しない） */
.booking-points > .booking-gear { flex-wrap: wrap; gap: 10px 12px; white-space: normal; }
.booking-gear-label { display: inline-flex; align-items: center; white-space: nowrap; }
.booking-points .tags-gear li { padding: 2px 10px; border: 1px solid var(--line-strong); font-size: 11px; }
.booking-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; } /* 拡張機能が要素を差し込んでも隣の枠とずれない */
.field span { font-family: var(--font-ja); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
/* ラベルは和文フォールバックで行高が変わるため高さを固定し、横並びの入力枠の上端を揃える */
.field > span { display: flex; align-items: center; gap: .5em; height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; }
.field em { color: var(--magenta); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0;
  background: #fff; color: var(--text); font: inherit; font-size: 16px; /* 16px 未満だと iOS で入力時にズームされる */
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
/* 単一行の入力枠は種類（text / email / select / date）に関係なく高さを固定して揃える */
.field input, .field select {
  height: 56px; padding-top: 0; padding-bottom: 0; line-height: 1.2;
  -webkit-appearance: none; appearance: none;
}
.field input::-webkit-datetime-edit, .field input::-webkit-date-and-time-value { padding: 0; line-height: 1.2; text-align: left; }
.field textarea { line-height: 1.8; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); background: #fff; box-shadow: 0 0 0 3px rgba(14, 14, 20, .06); }
.form-privacy { margin: 0; font-family: var(--font-ja); font-size: 13px; color: var(--muted); }
.form-privacy a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
/* Turnstile ウィジェット（幅は最小 300px。狭い画面でもはみ出さない） */
.turnstile { min-height: 65px; max-width: 100%; overflow: hidden; }
.booking-form .btn { width: 100%; font-family: var(--font-ja); font-size: 14px; letter-spacing: .2em; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border: 1px solid; font-size: 14px; }
.notice-success { border-color: rgba(0, 180, 216, .5); color: #00809a; background: rgba(0, 180, 216, .06); }
.notice-error { border-color: rgba(224, 36, 154, .5); color: #b0157a; background: rgba(224, 36, 154, .05); }
@media (min-width: 641px) {
  .booking-points { margin: 32px 0; }
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field input, .field select, .field textarea { font-size: 15px; }
  .booking-form .btn { width: auto; justify-self: start; }
}
@media (min-width: 961px) {
  .booking-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
}

/* ---------- Single / page ---------- */
.entry-date { margin-top: 16px; font-family: var(--font-mono); color: var(--muted); }
.entry-facts { margin: 0 0 40px; border-top: 1px solid var(--line); }
.entry-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.entry-facts dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.entry-facts dd { margin: 0; }
.entry-thumb { margin: 32px 0; }
.entry-content { font-family: var(--font-ja); line-height: 2.05; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; margin-top: 2.4em; }
.entry-content h3 { font-size: 17px; margin-top: 2em; }
.entry-content a { border-bottom: 1px solid var(--line-strong); }
.entry-content ul { list-style: square; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.6em; }
.entry-content li + li { margin-top: .5em; }
.entry-content .policy-date { margin-top: 3em; text-align: right; color: var(--muted); font-size: 14px; }
.entry-content blockquote { margin: 2em 0; padding-left: 20px; border-left: 2px solid; border-image: var(--grad) 1; color: var(--text-soft); }
.entry-nav { display: grid; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 13px; }
.nav-links .current { background: var(--text); color: var(--bg); }
@media (min-width: 641px) {
  .entry-facts > div { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
  .entry-thumb { margin: 40px 0; }
  .entry-content { line-height: 2.1; }
  .entry-content h2 { font-size: 22px; letter-spacing: .08em; }
  .entry-content h3 { font-size: 18px; }
  .entry-content blockquote { padding-left: 24px; }
  .entry-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 80px; }
  .nav-links { margin-top: 56px; }
  .nav-links .page-numbers { min-width: 40px; height: 40px; }
}

.not-found { min-height: 80vh; display: grid; align-items: center; text-align: center; border-top: 0; }
.not-found-mark { width: 96px; margin: 0 auto 32px; opacity: .8; }
.not-found .section-title { position: relative; display: inline-block; font-size: clamp(64px, 14vw, 160px); }
.not-found p { color: var(--muted); margin: 24px 0 40px; }
@media (min-width: 641px) {
  .not-found-mark { width: 120px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.footer-mark { width: 44px; height: 44px; }
.footer-name { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: .3em; white-space: nowrap; }
.footer-meta { margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; }
.footer-meta i { margin-right: 4px; }
.footer-le0d { text-align: center; }
.footer-kicker { margin: 0 0 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.footer-le0d-link {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .3em; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-le0d-link i { font-size: 12px; color: var(--muted); }
.footer-links { display: grid; justify-items: center; gap: 12px; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 12px; letter-spacing: .1em; }
.footer-menu a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted);
}
.footer-bottom p { margin: 0; white-space: nowrap; }
.back-to-top { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; }
@media (min-width: 641px) {
  .site-footer { padding: 80px 0 32px; }
  .footer-mark { width: 48px; height: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; margin-top: 64px; padding-top: 24px; }
}
@media (min-width: 961px) {
  .footer-grid { grid-template-columns: 1fr auto 1fr; gap: 40px; text-align: left; }
  .footer-brand { justify-content: flex-start; }
  .footer-links { justify-items: end; gap: 16px; }
  .footer-menu { justify-content: flex-end; }
  .footer-links .social { justify-content: flex-end; }
}

/* ==========================================================================
   Liquid Glass — サイト全体のガラス表現
   ヘッダーと同じ「透かし + ぼかし + 縁の光」を、ボタン・カード・リスト・フォーム・
   フッターまで広げる。ガラス越しに色が揺らぐよう、背面に淡い色の光だまりを敷く。
   白ベースは維持し、色はあくまで透けて見える程度に抑える。
   ========================================================================== */
:root {
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, .64) 0%, rgba(255, 255, 255, .36) 100%);
  --glass-fill-strong: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .6) 100%);
  --glass-blur: blur(16px) saturate(180%);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-edge:
    inset 0 1px 1px rgba(255, 255, 255, .95),   /* 上端のハイライト */
    inset 0 -1px 1px rgba(255, 255, 255, .45),  /* 下端の照り返し */
    inset 0 0 18px rgba(255, 255, 255, .35);    /* ガラスの厚み */
  --glass-drop: 0 12px 32px -14px rgba(14, 14, 20, .2), 0 1px 3px rgba(14, 14, 20, .05);
  --glass-drop-hover: 0 22px 48px -18px rgba(14, 14, 20, .28), 0 2px 6px rgba(14, 14, 20, .06);
  --glass-sheen-color: rgba(255, 255, 255, .55);
}
@media (min-width: 641px) {
  :root { --radius-lg: 28px; --radius-md: 18px; }
}

/* 背面の光だまり: ガラスに透けて見える色。固定してスクロールで景色が流れて見えるようにする */
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38vmax 32vmax at 12% 18%, rgba(0, 180, 216, .16), transparent 70%),
    radial-gradient(34vmax 30vmax at 88% 28%, rgba(107, 61, 245, .13), transparent 70%),
    radial-gradient(40vmax 34vmax at 70% 92%, rgba(224, 36, 154, .11), transparent 70%),
    radial-gradient(30vmax 26vmax at 20% 80%, rgba(107, 61, 245, .08), transparent 70%);
  animation: aurora 40s var(--ease) infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3vmax, 2vmax, 0) scale(1.06); }
  100% { transform: translate3d(2vmax, -2vmax, 0) scale(1); }
}
@media (max-width: 640px) {
  body::before { animation: none; } /* スマホでは静止させて描画負荷を下げる */
}

/* ---------- 共通のガラス面 ---------- */
.btn,
.hero-le0d,
.social-large a,
.stream-card,
.mix-card,
.release-art,
.post-card-thumb,
.about-photo-placeholder,
.about-facts,
.le0d-journey,
.event-row,
.news-list,
.booking-points,
.booking-form,
.entry-facts,
.empty,
.notice,
.nav-links .page-numbers,
.tags li,
.news-cat,
.alias-badge {
  /* ポインター位置の照り（JS が要素ごとに --mx / --my を更新。未対応時は上端中央）。
     var(--mx) を要素側で解決させるため :root ではなくここで定義する */
  --glass-sheen: radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), var(--glass-sheen-color), rgba(255, 255, 255, 0) 55%);
  border: 1px solid var(--glass-border);
  background: var(--glass-sheen), var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--glass-drop);
}
/* 小さな部品は影を控えめに */
.tags li, .news-cat, .alias-badge, .nav-links .page-numbers { box-shadow: var(--glass-edge), 0 1px 3px rgba(14, 14, 20, .06); }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px; color: var(--text);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn:hover {
  color: var(--text); border-color: #fff; transform: translateY(-1px);
  background: var(--glass-sheen), var(--glass-fill-strong);
  box-shadow: var(--glass-edge), var(--glass-drop-hover);
}
.btn:active { transform: translateY(0) scale(.98); }
/* 主ボタン: 墨色のガラス */
.btn-primary {
  color: #fff; border-color: rgba(255, 255, 255, .18);
  background:
    radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(40, 40, 52, .9) 0%, rgba(14, 14, 20, .86) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -1px 1px rgba(255, 255, 255, .08),
    0 14px 32px -12px rgba(14, 14, 20, .45);
}
.btn-primary:hover {
  color: #fff; border-color: rgba(255, 255, 255, .28);
  background:
    radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(52, 50, 66, .92) 0%, rgba(14, 14, 20, .9) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .4), inset 0 -1px 1px rgba(255, 255, 255, .1),
    0 20px 40px -14px rgba(14, 14, 20, .5);
}
/* LE0D ボタン: ガラス + グラデーションの縁 */
.btn-le0d { border-color: transparent; }
.btn-le0d::before { border-radius: inherit; padding: 1.5px; }
.btn-le0d:hover {
  color: #fff; background: var(--glass-sheen), var(--grad);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), 0 18px 40px -16px rgba(107, 61, 245, .55);
}

/* ---------- Social ---------- */
.social a { border-radius: 50%; transition: color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease); }
.social-large a { border-radius: 50%; }
.social-large a:hover { border-color: #fff; background: var(--glass-sheen), var(--glass-fill-strong); box-shadow: var(--glass-edge), var(--glass-drop-hover); }

/* ---------- Hero ---------- */
.hero::after { background: linear-gradient(transparent, rgba(247, 247, 245, .7)); }
.hero-le0d { border-radius: var(--radius-lg); }
.hero-le0d:hover { border-color: #fff; background: var(--glass-sheen), var(--glass-fill-strong); box-shadow: var(--glass-edge), var(--glass-drop-hover); }
@media (min-width: 641px) {
  .hero-le0d { border-radius: 999px; }
}

/* ---------- Cards / panels ---------- */
.stream-card, .mix-card, .about-facts, .le0d-journey, .news-list, .booking-points, .booking-form, .entry-facts, .empty, .about-photo-placeholder {
  border-radius: var(--radius-lg);
}
.stream-card, .mix-card { transition: box-shadow .6s var(--ease), background .6s var(--ease), transform .6s var(--ease); }
.stream-mixcloud:hover, .mix-card:hover {
  border-color: #fff; background: var(--glass-sheen), var(--glass-fill-strong);
  box-shadow: var(--glass-edge), var(--glass-drop-hover); transform: translateY(-2px);
}
.twitch-player { overflow: hidden; border: 1px solid var(--glass-border); border-radius: var(--radius-md); box-shadow: var(--glass-edge), var(--glass-drop); }
.twitch-load i {
  border-color: rgba(255, 255, 255, .45);
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 60%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 10px 24px -10px rgba(0, 0, 0, .6);
}

.release-art, .post-card-thumb { border-radius: var(--radius-md); }
.release-art img, .post-card-thumb img { border-radius: inherit; }
.release-card:hover .release-art, .post-card:hover .post-card-thumb { box-shadow: var(--glass-edge), var(--glass-drop-hover); }
.alias-badge { border-radius: 999px; background: var(--glass-sheen), var(--glass-fill-strong); }
.is-le0d .alias-badge { border-color: rgba(255, 255, 255, .5); background: var(--glass-sheen), var(--grad); }

.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--glass-drop); }

/* 罫線区切りのリストは、1枚のガラス板の中の区切り線にする */
.about-facts, .entry-facts { padding: 4px 20px; }
.about-facts > div:last-child, .entry-facts > div:last-child,
.booking-points > li:last-child, .news-list li:last-child a, .le0d-journey li:last-child a { border-bottom: 0; }
.about-facts > div, .entry-facts > div, .booking-points > li, .news-list a, .le0d-journey a { border-bottom-color: rgba(14, 14, 20, .07); }
.booking-points { padding: 4px 18px; }
.news-list { overflow: hidden; }
.news-list a { padding-inline: 18px; transition: background .4s var(--ease); }
.news-list a:hover { background: rgba(255, 255, 255, .55); }
.le0d-journey { overflow: hidden; padding: 0; }
.le0d-journey a { padding-inline: 14px; }
.le0d-journey a:hover { background: rgba(255, 255, 255, .6); padding-left: 24px; }
@media (min-width: 641px) {
  .about-facts, .entry-facts { padding: 6px 28px; }
  .booking-points { padding: 6px 24px; }
  .news-list a { padding-inline: 28px; }
  .le0d-journey a { padding-inline: 20px; }
  .le0d-journey a:hover { padding-left: 32px; }
}

/* スケジュール: 1件ずつ浮かぶガラスのカード */
.event-list { display: grid; gap: 12px; border-top: 0; }
.event-row { padding: 20px; border-radius: var(--radius-lg); transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.event-row:hover {
  border-color: #fff; background: var(--glass-sheen), var(--glass-fill-strong);
  box-shadow: var(--glass-edge), var(--glass-drop-hover); transform: translateY(-2px);
}
@media (min-width: 641px) {
  .event-list { gap: 16px; }
  .event-row { padding: 24px 28px; }
}

/* ---------- Tags / pills ---------- */
.tags li { border-radius: 999px; }
.tags-gear li, .booking-points .tags-gear li { border-color: var(--glass-border); }
.news-cat { border-radius: 999px; }
.nav-links .page-numbers { border-radius: 999px; }
.nav-links .current {
  color: #fff; border-color: rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, rgba(40, 40, 52, .9), rgba(14, 14, 20, .86));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), 0 8px 20px -10px rgba(14, 14, 20, .45);
}

/* ---------- LE0D ---------- */
/* 不透明な白をやめ、背面の光だまりが透けるようにする */
.le0d {
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(107, 61, 245, .08), transparent 70%),
    radial-gradient(50% 50% at 5% 95%, rgba(0, 180, 216, .07), transparent 70%),
    rgba(255, 255, 255, .35);
}

/* ---------- Booking form ---------- */
.booking-form { padding: 20px; }
.field input, .field select, .field textarea {
  border: 1px solid rgba(14, 14, 20, .08); border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 2px rgba(14, 14, 20, .06), inset 0 -1px 0 rgba(255, 255, 255, .8);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(107, 61, 245, .45); background-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 2px rgba(14, 14, 20, .04), 0 0 0 4px rgba(107, 61, 245, .1);
}
.notice { border-radius: var(--radius-md); }
.notice-success { border-color: rgba(0, 180, 216, .4); background: var(--glass-sheen), linear-gradient(180deg, rgba(230, 250, 255, .7), rgba(0, 180, 216, .08)); }
.notice-error { border-color: rgba(224, 36, 154, .4); background: var(--glass-sheen), linear-gradient(180deg, rgba(255, 236, 248, .7), rgba(224, 36, 154, .07)); }
@media (min-width: 641px) {
  .booking-form { padding: 32px; }
}

/* ---------- Mobile nav overlay ---------- */
.site-nav { background: rgba(247, 247, 245, .55); }
@media (min-width: 1081px) {
  .site-nav { background: none; }
}

/* ---------- Footer: 画面下に敷かれたガラス板 ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), 0 -12px 40px -24px rgba(14, 14, 20, .2);
}
.footer-bottom { border-top-color: rgba(14, 14, 20, .07); }
@media (min-width: 641px) {
  .site-footer { border-radius: 40px 40px 0 0; }
}

/* ---------- Fallbacks ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .86));
    --glass-fill-strong: linear-gradient(180deg, #fff, rgba(255, 255, 255, .94));
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-fill: linear-gradient(#fff, #fff);
    --glass-fill-strong: linear-gradient(#fff, #fff);
    --glass-sheen-color: transparent;
    --glass-blur: none;
  }
  body::before { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .grain { display: none; }
  body::before { animation: none; }
}
