/* =========================================================
   needless to say — Official Website
   Theme: Military / Army
   ========================================================= */

:root {
  --ink: #0e100b;
  --olive-950: #12140e;
  --olive-900: #181b13;
  --olive-800: #22261a;
  --olive-700: #323824;
  --olive-600: #454d33;
  --olive-500: #5d6644;
  --khaki: #b9b08a;
  --sand: #e4ddc3;
  --sand-dim: #a8a288;
  --orange: #ff5a00;
  --orange-hi: #ff7a2e;
  --danger: #ff4a3d;
  --ok: #9ccc4a;

  --f-stencil: "Black Ops One", "Noto Sans JP", sans-serif;
  --f-mono: "Share Tech Mono", ui-monospace, monospace;
  --f-body: "Noto Sans JP", system-ui, sans-serif;

  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* 迷彩パターン（SVG） */
  --camo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Crect width='480' height='480' fill='%23181b13'/%3E%3Cg fill='%23222619'%3E%3Cpath d='M20 60c40-40 110-30 130 10s-10 90-60 90-110-60-70-100z'/%3E%3Cpath d='M300 20c60-10 120 30 110 80s-80 50-110 30-60-100 0-110z'/%3E%3Cpath d='M180 250c50-30 130 0 130 50s-60 80-120 60-60-80-10-110z'/%3E%3Cpath d='M390 300c40 0 90 40 70 90s-90 40-100 0 0-90 30-90z'/%3E%3Cpath d='M-20 360c40-20 100 10 100 50s-60 70-100 40z'/%3E%3C/g%3E%3Cg fill='%231d2016'%3E%3Cpath d='M120 170c30-20 80-10 80 20s-40 50-70 40-30-40-10-60z'/%3E%3Cpath d='M330 180c30-10 70 10 60 40s-50 30-70 10 0-40 10-50z'/%3E%3Cpath d='M60 290c20-10 60 0 60 30s-40 40-60 20-20-40 0-50z'/%3E%3Cpath d='M220 420c30-20 90-10 90 20s-60 50-90 30-20-40 0-50z'/%3E%3C/g%3E%3Cg fill='%23141610'%3E%3Cpath d='M240 90c20-10 50 0 50 20s-30 30-50 20-20-30 0-40z'/%3E%3Cpath d='M20 210c20-10 40 0 40 20s-30 20-40 10z'/%3E%3Cpath d='M420 440c20-10 50 0 40 20s-40 20-50 0z'/%3E%3Cpath d='M150 360c20-10 40 10 30 30s-40 10-40-10z'/%3E%3C/g%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--olive-950);
  color: var(--sand);
  font-family: var(--f-body);
  line-height: 1.8;
  letter-spacing: .03em;
  overflow-x: hidden;
}
body::after { /* フィルムノイズ */
  content: "";
  position: fixed; inset: 0;
  background: var(--noise);
  opacity: .07;
  pointer-events: none;
  z-index: 900;
  mix-blend-mode: overlay;
}
body.is-locked { overflow: hidden; }
/* 全体背景：落書きの壁（スクロールしても中央の「NEEDLESS TO SAY」が見えるよう固定）
   iOS Safari は background-attachment: fixed が効かないため、position: fixed の疑似要素で固定する */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(12,12,10,.25) 0%, rgba(12,12,10,.55) 55%, rgba(12,12,10,.85) 100%),
    url("../assets/img/bg-wall.jpg") center / cover no-repeat;
}
@media (orientation: portrait) {
  body::before {
    background:
      radial-gradient(ellipse at center, rgba(12,12,10,.25) 0%, rgba(12,12,10,.55) 55%, rgba(12,12,10,.85) 100%),
      url("../assets/img/bg-wall-sp.jpg") center / cover no-repeat;
  }
}

main { overflow-x: clip; } /* 傾けたテープで横スクロールが出ないように */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--f-mono); letter-spacing: .12em; }
.accent { color: var(--orange); }
.container { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--orange); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--orange); color: var(--ink); padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- Boot screen ---------- */
.boot {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--ink);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: clamp(12px, 3.2vw, 16px);
  color: var(--khaki);
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  clip-path: inset(0 0 0 0);
}
.boot.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.boot__inner { width: min(560px, 88vw); }
.boot__line { margin: 0 0 .4em; opacity: 0; white-space: nowrap; overflow: hidden; }
.boot__line.is-on { opacity: 1; animation: type .45s steps(28) both; }
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }
.boot__bar { margin-top: 1.2em; height: 6px; border: 1px solid var(--olive-500); }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 1.1s linear; }
.boot.is-loading .boot__bar span { width: 100%; }
/* 言語の選択（初回のみ） */
.boot__lang { margin-top: 2em; animation: langIn .5s var(--ease) both; }
.boot__lang[hidden] { display: none; }
@keyframes langIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.boot__ask { margin: 0 0 1em; color: var(--sand); }
.boot__ask span { color: var(--khaki); font-family: var(--f-body); font-size: .9em; }
.boot__langs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.boot__btn {
  padding: 16px 12px; border: 1px solid var(--olive-500); background: rgba(14,16,11,.6);
  color: var(--sand); font-family: var(--f-stencil); font-size: clamp(15px, 4vw, 24px); letter-spacing: .1em;
  cursor: pointer; transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}

/* 選択中の表示は is-selected だけで行う（マウスを乗せる・キーボードで移ると main.js が付け替える）
   ※ :hover や :focus-visible も使うと、最初にフォーカスした JAPANESE と、マウスを乗せた ENGLISH の両方が光ってしまうため */
.boot__btn:focus { outline: none; }
.boot__btn.is-selected { color: var(--orange); border-color: var(--orange); background: rgba(255,90,0,.08); outline: none; transform: translateY(-2px); }
.boot__btn { position: relative; white-space: nowrap; }
.boot__btn::before { content: ">"; position: absolute; left: clamp(6px, 2vw, 16px); opacity: 0; transition: opacity .25s; } /* 幅を取らないので文字が折り返さない */
.boot__btn.is-selected::before { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: transform .4s var(--ease);
}
/* スクロール後のヘッダー背景（すりガラス）
   ※ header 本体に backdrop-filter を付けると、中の position:fixed のスマホメニューが
     ヘッダーの高さに閉じ込められて背景が透けるため、疑似要素に付けている */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
  pointer-events: none;
}
.header.is-scrolled::before {
  background: rgba(14, 16, 11, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--olive-700);
}
/* ヘッダーのロゴ（Tシャツ用ロゴをサンド色にしたもの） */
.header__logo { display: block; line-height: 0; transition: opacity .4s, transform .4s var(--ease); }
.header__logo img { height: 48px; width: auto; transition: filter .3s; }
.header__logo:hover img { filter: drop-shadow(0 0 10px rgba(255,90,0,.7)); }
.hero-visible .header__logo { opacity: 0; transform: translateY(-10px); pointer-events: none; }

.nav, .menu-btn { margin-left: auto; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav__num { display: none; }
  .nav__list a { letter-spacing: .08em; }
}
/* 言語切り替え（JP / EN） */
.lang-switch {
  display: flex; align-items: center; margin-left: clamp(16px, 2.4vw, 32px);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em;
  border: 1px solid var(--olive-600); position: relative; z-index: 1100;
}
.lang-switch__item { padding: 6px 10px; line-height: 1; color: var(--khaki); text-decoration: none; transition: color .25s, background .25s; }
.lang-switch__item.is-current { background: var(--orange); color: var(--ink); }
a.lang-switch__item:hover, a.lang-switch__item:focus-visible { color: var(--orange); }
.nav__list { display: flex; gap: clamp(10px, 1.9vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative;
  font-family: var(--f-stencil); font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .12em;
  text-decoration: none; color: var(--sand);
  display: flex; align-items: baseline; gap: 6px;
  padding: 6px 0;
}
.nav__num { font-family: var(--f-mono); font-size: 11px; color: var(--orange); }
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__list a.is-active { color: var(--orange); }

.menu-btn {
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--olive-500); background: rgba(14,16,11,.6);
  position: relative; z-index: 1100;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--sand);
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; width: 14px; background: var(--orange); }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(.35) contrast(1.1) brightness(.62) sepia(.25);
  animation: slowzoom 18s ease-out both;
}
@keyframes slowzoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.22); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at center, rgba(14,16,11,.15) 0%, rgba(14,16,11,.75) 75%),
    linear-gradient(to bottom, rgba(14,16,11,.55), transparent 30%, transparent 60%, var(--olive-950));
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(185,176,138,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,176,138,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero__scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
}
.hero__scan::after { /* 走査線 */
  content: ""; position: absolute; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255,90,0,.07), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan { from { top: -120px; } to { top: 100%; } }

.hero__content {
  width: min(100% - var(--gutter) * 2, 900px);
  display: grid; justify-items: center; gap: clamp(16px, 3vh, 32px);
  padding-top: var(--header-h);
  text-align: center;
}
.hero__tag { margin: 0; font-size: clamp(11px, 1.6vw, 14px); color: var(--khaki); }
.hero__logo { margin: 0; width: min(78vw, 640px); }
.hero__logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6));
}
body.is-ready .hero__logo img { animation: logoIn 1.1s var(--ease) both, glitch 5s 2s infinite; }
@keyframes logoIn {
  0% { opacity: 0; transform: scale(1.25); filter: blur(12px) drop-shadow(0 0 0 transparent); clip-path: inset(0 0 100% 0); }
  60% { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
}
@keyframes glitch {
  0%, 94%, 100% { transform: translate(0); clip-path: inset(0 0 0 0); }
  95% { transform: translate(-6px, 2px); clip-path: inset(20% 0 55% 0); }
  96% { transform: translate(6px, -2px); clip-path: inset(60% 0 10% 0); }
  97% { transform: translate(-3px, 0); clip-path: inset(0 0 0 0); }
}

.next-mission {
  display: grid; grid-template-columns: auto auto; column-gap: 18px; row-gap: 2px;
  align-items: baseline; text-align: left; text-decoration: none;
  padding: 14px 22px;
  background: rgba(14,16,11,.72);
  border: 1px solid var(--olive-500);
  border-left: 4px solid var(--orange);
  backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), border-color .3s;
}
.next-mission:hover { transform: translateY(-3px); border-color: var(--orange); }
.next-mission__label { grid-column: 1 / -1; font-size: 11px; color: var(--orange); }
.next-mission__label::before { content: "▶ "; animation: blink 1s steps(2) infinite; }
.next-mission__date { font-family: var(--f-stencil); font-size: clamp(28px, 5vw, 40px); line-height: 1.1; }
.next-mission__venue { font-weight: 700; font-size: clamp(14px, 2.2vw, 18px); }
.next-mission__count { grid-column: 1 / -1; font-size: 12px; color: var(--khaki); }
@keyframes blink { 50% { opacity: 0; } }

.hud { position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--khaki); display: grid; gap: 2px; }
.hud--tl { top: calc(var(--header-h) + 16px); left: var(--gutter); }
.hud--tl span:first-child { color: var(--danger); animation: blink 1.4s steps(2) infinite; }
.hud--tr { top: calc(var(--header-h) + 16px); right: var(--gutter); text-align: right; }
.hud--bl { bottom: 28px; left: var(--gutter); }
.hud--tl::before, .hud--tr::before {
  content: ""; position: absolute; width: 18px; height: 18px; top: -10px;
  border: 2px solid var(--orange);
}
.hud--tl::before { left: -10px; border-right: 0; border-bottom: 0; }
.hud--tr::before { right: -10px; border-left: 0; border-bottom: 0; }

.radar {
  width: 84px; height: 84px; border-radius: 50%; position: relative; overflow: hidden;
  border: 1px solid rgba(156,204,74,.5);
  background:
    radial-gradient(circle, transparent 32%, rgba(156,204,74,.25) 33%, transparent 34%, transparent 65%, rgba(156,204,74,.25) 66%, transparent 67%),
    linear-gradient(transparent 49.5%, rgba(156,204,74,.3) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(156,204,74,.3) 50%, transparent 50.5%),
    rgba(14,16,11,.6);
}
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(156,204,74,.55), transparent 25%);
  animation: sweep 3s linear infinite;
}
.radar__dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); top: 30%; left: 62%; animation: ping 3s infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes ping { 0%, 20% { opacity: 0; } 25% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,90,0,.7); } 60% { box-shadow: 0 0 0 10px rgba(255,90,0,0); } 100% { opacity: .2; } }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; text-decoration: none; font-size: 11px; color: var(--khaki);
}
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--orange), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--sand); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 48px; } }

/* ---------- Tape (警告テープ) ---------- */
.tape {
  position: relative; z-index: 2;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--ink) 18px 36px);
  padding: 6px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin-block: -14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.tape__track { display: flex; width: max-content; background: var(--ink); animation: marquee 32s linear infinite; }
.tape__track span {
  font-family: var(--f-stencil); font-size: clamp(14px, 2vw, 18px); letter-spacing: .1em;
  color: var(--orange); padding: 6px 0; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section ---------- */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.section--camo { background: transparent; } /* 迷彩は背景の壁に置き換え（--camo は残してある） */
.section--camo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: none;
}
.section--dark { background: rgba(10,11,8,.55); }
.section > .container { position: relative; }

.section__head { margin-bottom: clamp(36px, 6vw, 64px); }
.section__num { margin: 0 0 6px; font-size: 12px; color: var(--orange); }
.section__title {
  margin: 0;
  font-family: var(--f-stencil); font-weight: 400;
  font-size: clamp(34px, 9.4vw, 104px); line-height: 1;
  letter-spacing: .04em;
  color: var(--sand);
  display: flex; align-items: center; gap: .3em;
}
.section__title::after {
  content: ""; flex: 1; height: 2px; min-width: 40px;
  background: repeating-linear-gradient(90deg, var(--olive-500) 0 10px, transparent 10px 16px);
}

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

/* ---------- LIVE ---------- */
.live-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.live-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 24px;
  padding: 22px 24px 22px 28px;
  background: linear-gradient(135deg, var(--olive-800), var(--olive-900));
  border: 1px solid var(--olive-600);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: transform .35s var(--ease), background .35s;
}
.live-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--olive-500); }
.live-card.is-next::before { background: var(--orange); }
.live-card:hover { transform: translateX(6px); background: linear-gradient(135deg, var(--olive-700), var(--olive-900)); }
.live-card__date { display: grid; align-content: center; justify-items: center; min-width: 96px; border-right: 1px dashed var(--olive-500); padding-right: 22px; }
.live-card__md { font-family: var(--f-stencil); font-size: clamp(34px, 5vw, 46px); line-height: 1; }
.live-card__dow { font-family: var(--f-mono); font-size: 13px; color: var(--orange); margin-top: 6px; letter-spacing: .2em; }
.live-card__year { font-family: var(--f-mono); font-size: 11px; color: var(--sand-dim); }
.live-card__label { font-family: var(--f-mono); font-size: 11px; color: var(--khaki); letter-spacing: .18em; }
.live-card__venue { margin: 0; font-size: clamp(18px, 2.6vw, 24px); font-weight: 900; line-height: 1.4; }
.live-card__venue small { font-family: var(--f-mono); font-weight: 400; font-size: .6em; color: var(--sand-dim); margin-right: .4em; }
.live-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--sand-dim); }
.live-card__meta a { color: var(--khaki); text-underline-offset: 3px; }
.live-card__meta a:hover { color: var(--orange); }
.live-card__count { font-family: var(--f-mono); color: var(--orange); letter-spacing: .12em; }
.live-card.is-past { opacity: .5; }
.live-card.is-past .live-card__count { color: var(--sand-dim); }
.live-card .stamp { position: absolute; right: 18px; top: 14px; font-size: 12px; }
.live-card.has-flyer { grid-template-columns: auto 1fr auto; align-items: center; }
.live-card.has-flyer .stamp { right: 96px; top: 12px; z-index: 2; background: rgba(14,16,11,.85); mix-blend-mode: normal; }
.live-card__body { display: grid; gap: 6px; min-width: 0; }
.live-card__title { margin: 0; font-size: 13px; font-weight: 700; color: var(--khaki); }
.live-card__act { margin: 0; font-size: 14px; color: var(--sand); }
.live-card__act .mono { color: var(--orange); margin-right: .2em; }
.live-card__info { margin: 2px 0 4px; display: grid; gap: 2px; font-size: 13px; }
.live-card__info div { display: flex; gap: 10px; }
.live-card__info dt { flex: none; width: 56px; font-size: 11px; color: var(--sand-dim); padding-top: 2px; }
.live-card__info dd { margin: 0; }
.live-card__flyer {
  width: 116px; padding: 0; border: 1px solid var(--olive-500); background: #000;
  position: relative; overflow: hidden; align-self: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
  transform: rotate(2deg); transition: transform .35s var(--ease), border-color .35s;
}
.live-card__flyer img { width: 100%; height: auto; }
.live-card__flyer span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0; font-size: 10px; text-align: center;
  background: rgba(14,16,11,.8); color: var(--sand); opacity: 0; transition: opacity .3s;
}
.live-card__flyer:hover { transform: rotate(0) scale(1.05); border-color: var(--orange); }
.live-card__flyer:hover span, .live-card__flyer:focus-visible span { opacity: 1; }

.stamp {
  display: inline-block;
  font-family: var(--f-stencil); letter-spacing: .15em;
  color: var(--orange);
  border: 2px solid currentColor;
  padding: 2px 10px;
  transform: rotate(-8deg);
  opacity: .9;
  mix-blend-mode: screen;
}

.unit-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.unit-photo__frame { position: relative; padding: 10px; border: 1px solid var(--olive-600); background: rgba(14,16,11,.6); }
.unit-photo__frame img { filter: sepia(.2) contrast(1.05); transition: filter .5s; }
.unit-photo:hover img { filter: none; }
.unit-photo figcaption { margin-top: 10px; font-size: 11px; color: var(--khaki); }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--orange); }
.corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- DISCOGRAPHY ---------- */
.release { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.release__art { position: relative; }
.release__jacket {
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px var(--olive-600);
  transform: perspective(900px) rotateY(8deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.release__jacket:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.release__jacket::after { /* つや */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%);
}
.release__art .stamp { position: absolute; right: -8px; bottom: 18px; font-size: clamp(16px, 2.4vw, 22px); background: rgba(14,16,11,.8); mix-blend-mode: normal; }
.release__type { margin: 0; font-size: 12px; color: var(--orange); }
.release__title { margin: 4px 0 24px; font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.2; letter-spacing: .08em; }
.release__roman { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: .32em; font-weight: 400; letter-spacing: .3em; color: var(--khaki); }

.player {
  border: 1px solid var(--olive-600);
  background: linear-gradient(180deg, var(--olive-900), var(--ink));
  padding: 16px 18px 14px;
  position: relative;
}
.player::before { /* ネジ */
  content: ""; position: absolute; top: 6px; left: 6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--olive-500); box-shadow: calc(100% - 0px) 0 0 transparent;
}
.player__viz {
  width: 100%; height: 70px; display: block;
  background:
    linear-gradient(rgba(156,204,74,.07) 1px, transparent 1px) 0 0 / 100% 17.5px,
    linear-gradient(90deg, rgba(156,204,74,.07) 1px, transparent 1px) 0 0 / 30px 100%,
    #0a0c08;
  border: 1px solid var(--olive-700);
}
.player__now { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 4px; min-width: 0; }
.player__status { font-size: 11px; color: var(--khaki); flex: none; }
.player.is-playing .player__status { color: var(--ok); }
.player__title { font-weight: 900; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__seek { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 12px; color: var(--sand-dim); }
.player__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.player__vol { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--sand-dim); }
.player__vol input { width: 96px; }
.player .i-pause { display: none; }
.player.is-playing .i-pause { display: block; }
.player.is-playing .i-play { display: none; }

/* range（シークバー / 音量） */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--orange) var(--p, 0%), var(--olive-700) var(--p, 0%));
}
input[type="range"]::-moz-range-track { height: 4px; background: var(--olive-700); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 16px; margin-top: -6px; background: var(--sand); border: 2px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 14px; border-radius: 0; background: var(--sand); border: 2px solid var(--ink); }

.p-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--olive-800); border: 1px solid var(--olive-600);
  transition: background .2s, border-color .2s, transform .1s;
}
.p-btn svg { width: 18px; height: 18px; fill: currentColor; }
.p-btn:hover { border-color: var(--orange); color: var(--orange); }
.p-btn:active { transform: scale(.94); }
.p-btn--main { width: 54px; height: 54px; background: var(--orange); border-color: var(--orange); color: var(--ink); }
.p-btn--main:hover { background: var(--orange-hi); color: var(--ink); }
.p-btn--main svg { width: 22px; height: 22px; }

.tracklist { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--olive-700); counter-reset: t; }
.track {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 12px 8px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--olive-700);
  transition: background .2s, padding-left .25s var(--ease);
}
.track:hover { background: rgba(93,102,68,.18); padding-left: 16px; }
.track__no { font-family: var(--f-mono); color: var(--sand-dim); font-size: 13px; }
.track__title { font-weight: 700; font-size: 16px; }
.track__time { font-family: var(--f-mono); font-size: 12px; color: var(--sand-dim); }
.track.is-current { background: rgba(255,90,0,.08); }
.track.is-current .track__no, .track.is-current .track__title { color: var(--orange); }
.eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: var(--orange); animation: eq .8s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.player.is-playing ~ .tracklist .track.is-current .eq { display: flex; }
.player.is-playing ~ .tracklist .track.is-current .track__noText { display: none; }

/* Bandcamp 埋め込みプレーヤー */
.bandcamp { position: relative; padding: 14px; border: 1px solid var(--olive-600); background: linear-gradient(180deg, var(--olive-900), var(--ink)); }
.bandcamp__label { margin: 0 0 10px; font-size: 11px; color: var(--khaki); }
.bandcamp__player { display: block; width: 100%; height: 373px; border: 0; background: #333; }
.release__more { margin-top: 28px; }
.release__more p { margin: 0 0 10px; font-size: 14px; color: var(--sand-dim); }
.release__more .btn { margin: 0 10px 10px 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--f-stencil); letter-spacing: .12em; text-decoration: none;
  border: 1px solid var(--orange); color: var(--orange); background: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange); transform: translateX(-101%); transition: transform .35s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }

/* ---------- MOVIE ---------- */
.movies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.movie { margin: 0; }
.movie__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border: 1px solid var(--olive-600);
}
.movie__frame iframe, .movie__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.movie__play {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none;
  display: grid; place-items: center;
}
.movie__play img { filter: grayscale(.4) brightness(.7) sepia(.2); transition: filter .5s, transform .8s var(--ease); }
.movie__play:hover img { filter: none; transform: scale(1.05); }
.movie__icon {
  position: relative; z-index: 1;
  width: 84px; height: 84px; border: 2px solid var(--orange); border-radius: 50%;
  display: grid; place-items: center; background: rgba(14,16,11,.55);
  transition: transform .35s var(--ease), background .35s;
}
.movie__icon::before, .movie__icon::after { /* 照準 */
  content: ""; position: absolute; background: var(--orange);
}
.movie__icon::before { width: 2px; height: 120px; }
.movie__icon::after { height: 2px; width: 120px; }
.movie__icon svg { width: 28px; height: 28px; fill: var(--orange); position: relative; z-index: 1; margin-left: 4px; }
.movie__icon { box-shadow: 0 0 0 10px rgba(14,16,11,.35); }
.movie__icon::before, .movie__icon::after { opacity: .5; clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%, 0 75%, 100% 75%, 100% 100%, 0 100%); }
.movie__play:hover .movie__icon { transform: scale(1.1); background: rgba(255,90,0,.2); }
.movie__cap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 12px; }
.movie__cap strong { font-size: 17px; }
.movie__cap span { font-family: var(--f-mono); font-size: 12px; color: var(--sand-dim); }

/* ---------- GALLERY (slider) ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; margin-inline: calc(var(--gutter) * -1); }
.slider__track {
  list-style: none; margin: 0; padding: 40px var(--gutter);
  align-items: center;
  display: flex; gap: clamp(12px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider { --h: min(560px, 64vh); }
.slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  position: relative;
}
.slide button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--olive-600); background: #000; position: relative; overflow: hidden;
  transition: box-shadow .6s var(--ease), border-color .6s;
}
.slide img { height: var(--h); width: auto; max-width: 88vw; object-fit: cover; background: var(--olive-800); filter: grayscale(.6) brightness(.55); transition: filter .6s; }
/* 中央の写真を少し大きくポップアップ */
.slide { transform: scale(.86); transition: transform .7s var(--ease); z-index: 1; }
.slide.is-active { transform: scale(1.06); z-index: 2; }
.no-anim .slide, .no-anim .slide img, .no-anim .slide button { transition: none !important; }
.slide.is-active img { filter: none; }
.slide.is-active button { border-color: var(--orange); box-shadow: 0 24px 50px rgba(0,0,0,.65), 0 0 0 1px var(--orange), 0 0 30px rgba(255,90,0,.25); }
.slide__no { position: absolute; left: 12px; top: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--sand); background: rgba(14,16,11,.7); padding: 2px 8px; letter-spacing: .15em; }
.slider__ui { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 24px; }
.slider__count { margin: 0; font-size: 14px; min-width: 90px; text-align: center; }
.slider__count #sCur { color: var(--orange); font-size: 20px; }
.slider__bar { width: min(320px, 70%); height: 4px; margin: 16px auto 0; background: var(--olive-700); }
.slider__bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s var(--ease); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
  display: none; place-items: center;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(8,9,6,.94); }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border: 1px solid var(--olive-500); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lightbox__close, .lightbox__nav {
  position: fixed; background: rgba(14,16,11,.7); border: 1px solid var(--olive-500); color: var(--sand);
  width: 52px; height: 52px; font-size: 30px; line-height: 1;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 40px; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- CONTACT ---------- */
.form {
  border: 1px solid var(--olive-600);
  background: linear-gradient(180deg, rgba(34,38,26,.7), rgba(14,16,11,.7));
  padding: clamp(22px, 5vw, 48px);
  position: relative;
}
.form::before {
  content: "TRANSMISSION FORM // CLASSIFIED";
  position: absolute; top: -10px; left: 20px; padding: 0 10px;
  background: var(--olive-950); font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--khaki);
}
.form__note { margin: 0 0 20px; font-size: 13px; color: var(--sand-dim); }
.req { color: var(--orange); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* iOSのズーム防止に16px */
  color: var(--sand); background: rgba(10,12,8,.8);
  border: 1px solid var(--olive-600); border-radius: 0;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,0,.18);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field__err { margin: 6px 0 0; font-size: 13px; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.field__count { margin: 6px 0 0; text-align: right; font-size: 11px; color: var(--sand-dim); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--orange); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select select option { background: var(--olive-900); }
/* 個人情報の同意チェック */
.privacy-note { margin: 0 0 12px; font-size: 13px; color: var(--sand-dim); line-height: 1.7; }
.field .check { display: inline-flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.field .check input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; }
.check__box {
  display: block; flex: none; width: 22px; height: 22px; position: relative;
  border: 1px solid var(--olive-500); background: rgba(10,12,8,.8);
  transition: border-color .2s, background .2s;
}
.check__box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 7px; height: 12px;
  border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0);
  transition: transform .2s var(--ease);
}
.check input:checked + .check__box { background: var(--orange); border-color: var(--orange); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px dashed var(--orange); outline-offset: 3px; }
.field--agree.is-invalid .check__box { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--send {
  width: 100%; justify-content: center;
  font-size: 22px; padding: 16px;
  background: transparent;
}
.btn--send::after { content: "▶"; font-size: .7em; transition: transform .3s; }
.btn--send:hover::after { transform: translateX(6px); }
.btn--send[disabled] { pointer-events: none; opacity: .7; }
.btn--send.is-sending::before { transform: none; animation: sending 1.2s linear infinite; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--orange-hi) 14px 28px); background-size: 40px 40px; }
.btn--send.is-sending { color: var(--ink); }
@keyframes sending { to { background-position: 40px 0; } }
.form__result { white-space: pre-line; margin: 16px 0 0; font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; }
.form__result.is-ok { color: var(--ok); }
.form__result.is-ng { color: var(--danger); }

/* ---------- Footer ---------- */
.footer {
  padding: 64px var(--gutter) 40px;
  display: grid; justify-items: center; gap: 18px;
  border-top: 1px solid var(--olive-700);
  background: rgba(10,11,8,.72);
}
/* フッターのロゴ：古い洋館にあるような赤い額縁（額縁ごと画像 logo-footer-framed.jpg）
   ふだんは少し傾いて掛かっていて、カーソルを当てるとまっすぐに、クリックすると釘を支点に揺れる */
.footer__patch {
  display: block; width: 280px; max-width: 78vw; padding: 0; border: 0; background: none; cursor: pointer;
  transform: rotate(-2deg);
  transform-origin: 50% -14px; /* 額縁の上にある釘を支点にする */
  transition: transform .5s var(--ease);
}
.footer__patch img {
  width: 100%;
  box-shadow: 0 2px 3px rgba(0,0,0,.6), 0 18px 36px rgba(0,0,0,.65);
  transition: box-shadow .5s var(--ease);
}
.footer__patch:hover, .footer__patch:focus-visible { transform: rotate(0) scale(1.03); }
.footer__patch:hover img { box-shadow: 0 3px 5px rgba(0,0,0,.6), 0 26px 50px rgba(0,0,0,.7); }
.footer__patch:focus-visible { outline: 2px solid var(--orange); outline-offset: 8px; }
.footer__patch.is-swing { animation: frameSwing 1.6s cubic-bezier(.3,.6,.4,1); }
@keyframes frameSwing {
  0%   { transform: rotate(0); }
  12%  { transform: rotate(9deg); }
  28%  { transform: rotate(-6.5deg); }
  44%  { transform: rotate(4.2deg); }
  60%  { transform: rotate(-2.6deg); }
  74%  { transform: rotate(1.4deg); }
  88%  { transform: rotate(-.6deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .footer__patch.is-swing { animation: none; } }
.footer__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer__links a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--olive-600);
  font-family: var(--f-stencil); font-size: 14px; letter-spacing: .1em; text-decoration: none; color: var(--khaki);
  transition: color .25s, border-color .25s, background .25s;
}
.footer__links svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.footer__links a:hover { color: var(--orange); border-color: var(--orange); background: rgba(255,90,0,.06); }
.footer__copy { margin: 0; font-size: 11px; color: var(--sand-dim); }

/* ---------- Crosshair cursor (PC) ---------- */
.crosshair { display: none; }
@media (hover: hover) and (pointer: fine) {
  .crosshair {
    display: block; position: fixed; left: 0; top: 0; z-index: 1200; pointer-events: none;
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid rgba(255,90,0,.8); border-radius: 50%;
    transition: width .2s, height .2s, margin .2s, background .2s, opacity .3s;
    opacity: 0;
  }
  .crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--orange); left: 50%; top: 50%; }
  .crosshair::before { width: 1px; height: 12px; transform: translate(-50%, -50%); }
  .crosshair::after { width: 12px; height: 1px; transform: translate(-50%, -50%); }
  .crosshair.is-visible { opacity: 1; }
  .crosshair.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255,90,0,.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .live-wrap { grid-template-columns: 1fr; }
  .unit-photo { position: relative; top: 0; }
  .release { grid-template-columns: 1fr; }
  .release__art { max-width: 460px; margin-inline: auto; width: 100%; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .lang-switch { margin-left: auto; margin-right: 12px; }
  .menu-btn { margin-left: 0; }
  .lang-switch__item { padding: 8px 9px; }
  .nav {
    position: fixed; inset: 0; z-index: 1050;
    /* 背景：全体と同じ落書きの壁（needlesstosay_raku）。文字が読めるよう暗く重ねる */
    background:
      linear-gradient(rgba(12,12,10,.62), rgba(12,12,10,.62)),
      url("../assets/img/bg-wall-sp.jpg") center / cover no-repeat,
      var(--olive-950);
    display: grid; place-items: center;
    clip-path: circle(0 at calc(100% - 40px) 32px);
    transition: clip-path .6s var(--ease);
    visibility: hidden;
  }
  @media (max-height: 520px) { /* スマホ横向き：5項目が画面に収まるように */
    .nav__list { gap: 2px; }
    .nav__list a { font-size: min(7vw, 7vh); line-height: 1.3; }
  }
  @media (orientation: landscape) {
    .nav { background: linear-gradient(rgba(12,12,10,.62), rgba(12,12,10,.62)), url("../assets/img/bg-wall.jpg") center / cover no-repeat, var(--olive-950); }
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 10px; text-align: left; }
  .nav__list a { font-size: clamp(28px, 8vw, 40px); gap: 14px; }
  .nav__num { font-size: 14px; }
  .nav__list li { opacity: 0; transform: translateX(-24px); transition: opacity .4s, transform .4s var(--ease); }
  .menu-open .nav__list li { opacity: 1; transform: none; }
  .menu-open .nav__list li:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav__list li:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav__list li:nth-child(4) { transition-delay: .18s; }
  .menu-open .nav__list li:nth-child(5) { transition-delay: .24s; }
  .menu-open .nav__list li:nth-child(6) { transition-delay: .30s; }
  .menu-open .nav__list li:nth-child(7) { transition-delay: .36s; }
  .header__logo { position: relative; z-index: 1100; }
  .header__logo img { height: 40px; }
  .menu-open .header__logo { transform: none; opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  .footer__links a span { display: none; }
  .footer__links a { padding: 12px; }
  .footer__links svg { width: 22px; height: 22px; }
  .hud--tr, .hud--bl { display: none; }
  .hud--tl { top: calc(var(--header-h) + 12px); }
  .hero__logo { width: 88vw; }
  .section__title::after { min-width: 0; }
  /* スマホ：写真は横幅に合わせて全員が入るサイズで上部に表示し、ロゴを写真の中央に重ねる
     写真の高さ = 100vw × 1010/1226 ≒ 82.4vw ／ ロゴの高さ = 82vw × 949/1400 ≒ 55.6vw */
  .hero { align-items: start; }
  .hero__bg { inset: var(--header-h) 0 auto 0; }
  .hero__bg img {
    width: 100%; height: auto; aspect-ratio: 1226 / 1010; object-fit: cover;
    filter: grayscale(.2) contrast(1.05) brightness(.85) sepia(.15);
    transform-origin: 50% 35%;
    animation: zoomIn 24s ease-out forwards; /* 写真がゆっくり大きくなる */
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .hero__overlay {
    background:
      linear-gradient(to bottom, rgba(14,16,11,.35), transparent calc(var(--header-h) + 20vw), rgba(14,16,11,.45) calc(var(--header-h) + 60vw), var(--olive-950) calc(var(--header-h) + 90vw));
  }
  .hero { min-height: 0; padding-bottom: 110px; } /* 下の余白を詰める */
  .hero__content { padding-top: calc(var(--header-h) + 13.4vw); gap: 20px; }
  .hero__tag { display: none; }
  .hero__logo { width: 82vw; }
  .hero__logo img { filter: drop-shadow(0 4px 18px rgba(0,0,0,.85)); }
  .movies { grid-template-columns: 1fr; }
  .live-card { grid-template-columns: 1fr; padding: 20px 20px 20px 24px; }
  .live-card__date { grid-row: auto; justify-items: start; border-right: 0; border-bottom: 1px dashed var(--olive-500); padding: 0 0 10px; display: flex; align-items: baseline; gap: 12px; }
  .live-card__dow { margin: 0; }
  .live-card.has-flyer { grid-template-columns: 1fr; }
  .live-card.has-flyer .stamp { right: 18px; top: 14px; }
  .live-card__flyer { width: 58%; max-width: 240px; justify-self: start; margin-top: 6px; transform: none; }
  .live-card__flyer span { opacity: 1; }
  .slider { --h: min(64vw, 56vh); }
  .player__vol { display: none; }
  .player__ctrl { justify-content: center; }
  .next-mission { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 12px 18px; }
}

/* ---------- 動きを減らす設定の人向け ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scan::after, .radar__sweep { display: none; }
}

/* 背の低いスマホ（iPhone SE など）：SCROLL表示を隠して NEXT MISSION と重ならないように */
@media (max-width: 640px) and (max-height: 720px) {
  .scroll-cue { display: none; }
  .hero { padding-bottom: 48px; }
}

/* ---------- Profile ---------- */
.profile { display: grid; gap: clamp(40px, 6vw, 72px); }
.profile__bio { max-width: 880px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--olive-600); background: rgba(14,16,11,.72); }
.profile__bio p:last-child { margin-bottom: 0; }
.profile__bio p { margin: 0 0 1.1em; font-size: clamp(15px, 1.5vw, 17px); line-height: 2; }
.profile__lead { color: var(--orange); font-size: 12px !important; letter-spacing: .2em; line-height: 1.6 !important; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.member figure { margin: 0; }
.member__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--olive-600); background: #000; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(.88); transition: transform .8s var(--ease), filter .5s; }
.member__photo::after { /* 走査線 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
}
.member:hover .member__photo img { transform: scale(1.04); filter: contrast(1.12) brightness(1); }
.member figcaption { display: grid; gap: 2px; padding: 14px 2px 0; border-bottom: 1px dashed var(--olive-600); padding-bottom: 12px; }
.member__part { color: var(--orange); font-size: 13px; letter-spacing: .2em; }
.member__name { font-family: var(--f-stencil); font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .1em; line-height: 1.2; }
.member__id { color: var(--khaki); font-size: 11px; letter-spacing: .2em; }
@media (max-width: 640px) {
  .members { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; width: 100%; }
}

/* ---------- Wanted ---------- */
.wanted {
  position: relative; padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--olive-600); background: rgba(14,16,11,.72);
}
.wanted p { margin: 0 0 1em; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; }
.wanted .stamp { position: absolute; right: clamp(8px, 3vw, 28px); top: -18px; font-size: clamp(13px, 2vw, 18px); background: rgba(14,16,11,.9); mix-blend-mode: normal; }
.wanted__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 24px; padding: 0; }
.wanted__tags li { padding: 7px 12px; border: 1px dashed var(--orange); color: var(--orange); font-size: 13px; letter-spacing: .15em; }
.wanted__cta { margin-top: 12px; }
