:root {
  --yellow: #f7f812;
  --red: #e90f47;
  --c: var(--yellow);        /* 今の色。APEX に入ると赤 */
  --bg: #0b0b0d;
  --line: rgba(255, 255, 255, .12);
  --text: #f2f2f2;
  --muted: #9a9aa2;
  --display: "Anton", "Noto Sans JP", sans-serif;
  --sans: "Inter", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--c); color: #000; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- 地面 ---------- */
#ground, .ground-fallback { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.ground-fallback { background: #2a2a2c url("/assets/web/ground_team.jpg") center / cover; z-index: -3; }

.draft-bar {
  position: relative; z-index: 60; background: #000; color: var(--muted);
  font-size: 12px; text-align: center; padding: 6px 16px; border-bottom: 1px solid var(--line);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0));
}
.nav__logo { position: relative; display: block; width: 104px; height: 44px; }
.nav__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.nav__links { display: flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:not(.nav__cta):hover { color: var(--c); }
.nav__cta { background: var(--c); color: #000; padding: 8px 18px; transition: background .5s; }
.nav__toggle { display: none; width: 32px; height: 32px; position: relative; }
.nav__toggle span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 11px; }
.nav__toggle span:last-child { top: 19px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: calc(100svh - 30px); margin-top: -68px;
  padding: 0 clamp(16px, 4vw, 40px) clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: flex-end;
  pointer-events: none;
}
.hero > * { pointer-events: auto; }
.hero__kicker { font-size: 12px; font-weight: 800; letter-spacing: .3em; margin: 0 0 8px; text-shadow: 0 1px 12px #000; }
.hero__title {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(52px, 8.5vw, 128px); line-height: .88; text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.hero__title span { display: block; opacity: 0; transform: translateY(30%); animation: rise .9s var(--ease) forwards 1.6s; }
.hero__title span + span { animation-delay: 1.72s; }
.hero__color { color: var(--c); transition: color .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; right: clamp(16px, 4vw, 40px); bottom: clamp(28px, 5vw, 56px);
  writing-mode: vertical-rl; font-size: 11px; font-weight: 800; letter-spacing: .3em;
}

/* ---------- TICKER（100 Thieves の型） ---------- */
.ticker { background: var(--c); color: #000; overflow: hidden; transition: background .5s; transform: rotate(-1.2deg) scale(1.02); }
.ticker__track { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker span, .ticker i { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); line-height: 1; padding: 14px 20px; white-space: nowrap; font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__sp { display: inline-flex; align-items: center; gap: 14px; }   /* スポンサー：ロゴ＋テキスト（2026-10-31） */
.ticker__sp img { height: 1.7em; margin: -.25em 0; width: auto; max-width: 9em; object-fit: contain; display: block; }
.ticker__sp b { font-weight: 400; }

/* ---------- PANEL：地面の上に重ねる板 ---------- */
.panel { position: relative; padding: clamp(88px, 12vw, 160px) 0; background: rgba(8, 8, 10, .86); }
.panel + .panel { border-top: 1px solid var(--line); }
.label {
  display: inline-block; margin: 0 0 28px; padding: 2px 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  background: var(--c); color: #000; transform: rotate(-2deg); transition: background .5s;
}
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; margin: 0; font-size: clamp(56px, 10vw, 150px); }
.hl { color: var(--c); transition: color .5s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- ABOUT ---------- */
.about__big { font-size: clamp(34px, 6vw, 80px); font-weight: 900; line-height: 1.15; margin: 0 0 40px; letter-spacing: -.01em; }
.about__body { max-width: 640px; color: #cfcfd4; margin-left: auto; }

/* ---------- APEX ---------- */
.panel--apex { background: rgba(8, 8, 10, .7); }
.apex__head { margin-bottom: 0; }
.apex__head .display { color: var(--c); transition: color .5s; }
.apex__lead { color: #cfcfd4; margin: 20px 0 0; }
/* ---------- RESULTS ---------- */
.next {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: 32px; border: 2px solid var(--c); margin-bottom: 40px; transition: border-color .5s;
}
.next__tag { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--c); transition: color .5s; }
.next__name { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin: 4px 0; }
.next__meta { margin: 0; color: var(--muted); }
.results { border-top: 1px solid var(--line); }
.results__row { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.results__row time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.results__row strong { font-family: var(--display); font-weight: 400; font-size: 32px; }

/* ---------- NEWS ---------- */
.news { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.news__item--big { grid-row: span 2; }
.news__thumb { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.news__item--big .news__thumb { aspect-ratio: 4 / 3; }
.news__item time { font-size: 12px; color: var(--muted); }
.news__item h3 { font-size: 17px; margin: 4px 0 0; line-height: 1.6; transition: color .2s; }
.news__item--big h3 { font-size: clamp(20px, 2.4vw, 28px); }
.news__item:hover h3 { color: var(--c); }

/* ---------- PARTNERS ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partners__slot { aspect-ratio: 3 / 2; display: grid; place-items: center; border: 1px dashed var(--line); font-family: var(--display); letter-spacing: .1em; color: #444; font-size: 22px; }
.partners__note { color: var(--muted); font-size: 14px; margin-top: 24px; }

/* ---------- CONTACT ---------- */
.contact { text-align: center; background: rgba(8, 8, 10, .55); }
.contact__title { margin-bottom: 28px; }
.contact p { color: #d6d6da; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; padding: 14px 28px; border: 2px solid var(--text); font-weight: 800; font-size: 14px; letter-spacing: .06em; transition: transform .2s var(--ease), background .5s, border-color .5s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--text); }
.btn--solid { background: var(--c); border-color: var(--c); color: #000; }

/* ---------- FOOTER ---------- */
.footer { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(16px, 4vw, 40px); background: #000; color: var(--muted); font-size: 12px; }
.footer__logo { width: 88px; }


/* ---------- 写真の枠 ----------
   img の画像が無いあいだは、data-need（何を置けばいいか）を枠に書く */
.ph { position: relative; margin: 0; overflow: hidden; background: #151518; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(.9); transition: transform .8s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph.is-missing { border: 1px dashed rgba(255,255,255,.25); }
.ph.is-missing img { display: none; }
.ph.is-missing::after {
  content: attr(data-need); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 12px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted);
}
.ph::before {                          /* フィルムの粒（写真の上にうっすら） */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background: url("assets/web/ground.jpg") center / 300%;
}

/* APEX の見出しの写真 */
.apex__head { position: relative; isolation: isolate; padding: clamp(24px, 4vw, 48px); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; }
.apex__ph { position: absolute; inset: 0; z-index: -1; }
.apex__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.9), rgba(8,8,10,.2)); }
.apex__ph.is-missing::after { background: none; }

/* 問い合わせ：シャッターに吹いたロゴ */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background: url("assets/web/parts/wall_contact.jpg") 53% 30% / cover; } /* 落書きの壁に本物のロゴを吹き付けたもの（work/spray.py） */
.contact .wrap { position: relative; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(0,0,0,.95); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav__links a { padding: 12px 0; font-size: 16px; }
  .nav__cta { margin-top: 8px; padding: 10px 20px !important; }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .news { grid-template-columns: 1fr; }
  .news__item--big { grid-row: auto; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .results__row { grid-template-columns: 1fr auto; }
  .results__row time { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__title span, .reveal { opacity: 1; transform: none; }
}

/* スクロールしたらナビの下に板を敷く（帯や写真と重なって読めなくなるため） */
.nav { transition: background .3s; }
.nav.is-scrolled { background: rgba(8, 8, 10, .88); backdrop-filter: blur(10px); }
.apex__head .label { align-self: flex-start; } /* 縦並びの中で横いっぱいに伸びないように */
main { overflow-x: clip; } /* 斜めの帯（少し拡大）が横にはみ出さないように */


/* =========================================================
   コラージュ（切り貼りのポスター）
   部品：assets/web/parts/（AI で作って work/cutout.py で切り抜いたもの）
   ========================================================= */
[data-depth] { transition: translate .25s linear; }

/* インクの部品：黒いインクの形を mask にして、好きな色で塗る */
.ink { display: block; background: #0b0b0d; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ink--color { background: var(--c); transition: background .5s; }
.ink-scribbles { --m: url("assets/web/parts/scribbles.png"); aspect-ratio: 1600 / 873; }
.ink-doodles   { --m: url("assets/web/parts/doodles.png");   aspect-ratio: 1600 / 869; }
.ink-splatter  { --m: url("assets/web/parts/splatter.png");  aspect-ratio: 1600 / 873; }

/* ふきだし：紙の部品＋文字は本物 */
.burst {
  display: grid; place-items: center; aspect-ratio: 1400 / 749;
  background: url("assets/web/parts/burst.png") center / contain no-repeat;
  rotate: -8deg; filter: drop-shadow(4px 6px 0 rgba(0,0,0,.35));
}
.burst span { font-family: var(--display); color: #0b0b0d; line-height: .9; text-align: center; font-size: clamp(18px, 2.2vw, 30px); }

/* STREET */
.street { background: rgba(8, 8, 10, .92); overflow: hidden; }
.street__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.street__type { font-size: clamp(56px, 8vw, 128px); }
.street__text p { color: #cfcfd4; margin-top: 28px; max-width: 420px; }
.collage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.6); rotate: -1.5deg; }
.collage .l { position: absolute; }
.l-paper { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage > .ink-scribbles { top: -3%; left: -8%; width: 116%; opacity: .85; }
.l-logo { top: 7%; left: 7%; width: 86%; rotate: -7deg; filter: drop-shadow(5px 7px 0 rgba(0,0,0,.4)); }
.collage .ink-doodles { bottom: -2%; left: -5%; width: 110%; opacity: .16; }
.l-sitting { bottom: 2%; left: -12%; width: 124%; max-width: none; }
.polaroid { margin: 0; background: #f3f1ea; padding: 5% 5% 16%; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.polaroid > img:first-child { width: 100%; aspect-ratio: 1; object-fit: cover; background: #dcd8cf; filter: contrast(1.1) saturate(.85); }
.pol-1 { top: 45%; left: 2%; width: 33%; rotate: -9deg; }
.pol-2 { top: 33%; right: 3%; width: 31%; rotate: 7deg; }
.pol-2 > img:first-child { object-fit: contain; padding: 6%; }
.polaroid .tape { position: absolute; top: -9%; left: 28%; width: 46%; rotate: -5deg; opacity: .95; }
.polaroid .ink-scribbles { position: absolute; left: -12%; top: 8%; width: 125%; opacity: .9; rotate: 12deg; }
.collage > .ink-splatter { bottom: -6%; right: -14%; width: 72%; opacity: .9; }
.collage__cap { bottom: 2.5%; left: 4%; font-size: 9px; font-weight: 800; letter-spacing: .14em; line-height: 1.5; color: #0b0b0d; }

/* 区切り：網点の3人 */
.break { position: relative; height: min(92vh, 860px); overflow: hidden; background: #d8d6d0; }
.break__paper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.break__type {
  position: absolute; z-index: 1; top: 6%; left: 0; right: 0; text-align: center;
  color: #0b0b0d; font-size: clamp(64px, 12vw, 200px); white-space: nowrap;
}
.hl-ink { color: var(--c); -webkit-text-stroke: 3px #0b0b0d; transition: color .5s; }
.break__splat { position: absolute; left: 18%; top: 34%; width: 64%; opacity: .95; }
.break__fig { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(1100px, 94%); }
.break__fig img { width: 100%; }
.break__mask { position: absolute; left: 70%; top: -7%; width: 24%; rotate: -14deg; }   /* 3人目の顔を隠すスプレー */
.break__burst { position: absolute; z-index: 3; right: 5%; top: 30%; width: clamp(140px, 17vw, 240px); }
.break__chain { position: absolute; z-index: 3; left: -3%; bottom: -5%; width: clamp(160px, 24vw, 340px); rotate: 12deg; }

/* 試合：コントローラーを部門の色に刷る */
.matches__top { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 40px; align-items: stretch; }
.matches__top .next { margin-bottom: 0; }
.matches__ph { position: relative; margin: 0; background: var(--c); isolation: isolate; min-height: 260px; display: grid; place-items: center; transition: background .5s; }
.matches__ph > img:first-child { width: 92%; filter: grayscale(1) contrast(1.35); mix-blend-mode: multiply; }
.matches__burst { position: absolute; top: -12%; right: -10%; width: 58%; }

/* スニーカー＋破れた紙 */
.kicks { position: relative; height: min(78vh, 720px); overflow: hidden; background: #111; }
.kicks__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: contrast(1.15) saturate(.8); }
.kicks::after { content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; background: url("assets/web/ground.jpg") center / 280%; }
.kicks__solid, .kicks__outline span, .kicks__side { font-family: var(--display); text-transform: uppercase; line-height: .86; }
.kicks__solid { position: absolute; z-index: 1; right: 3%; top: 8%; font-size: clamp(64px, 13vw, 210px); color: var(--c); transition: color .5s; }
.kicks__outline { position: absolute; z-index: 1; right: 3%; top: calc(8% + clamp(56px, 11.2vw, 181px)); display: flex; flex-direction: column; }
.kicks__outline span { font-size: clamp(64px, 13vw, 210px); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.kicks__outline span:nth-child(n+3) { -webkit-text-stroke-color: rgba(255,255,255,.45); }
.kicks__side {
  position: absolute; z-index: 1; left: 2.5%; top: 6%; writing-mode: vertical-rl; rotate: 180deg;
  font-size: clamp(36px, 6vw, 96px); color: transparent; -webkit-text-stroke: 2px #fff; letter-spacing: .04em;
}
.kicks__torn { position: absolute; z-index: 2; left: -2%; bottom: -3px; width: 104%; max-width: none; filter: brightness(.07); }


@media (max-width: 860px) {
  .street__grid { grid-template-columns: 1fr; }
  .matches__top { grid-template-columns: 1fr; }
  .matches__ph { min-height: 220px; }
  .break { height: 620px; }
  .break__burst { top: 26%; right: 3%; }
}
/* 紙の画像は四隅に机が写っている → 拡大して端を切る */
.l-paper, .break__paper { scale: 1.18; }
/* 破れ目だけを下に敷く（紙全体だと写真を隠しすぎる） */
.kicks__torn { bottom: -4%; }
/* 3人は高さで決める：上の「WE ARE ASNA.」と重ならないように */
.break__fig { width: fit-content; height: 72%; }
.break__fig img { height: 100%; width: auto; max-width: none; }
@media (max-width: 860px) { .break__fig { height: 58%; } .break__type { top: 8%; } }
@media (max-width: 860px) {
  .break__fig { width: 100%; height: auto; }
  .break__fig img { width: 100%; height: auto; }
}
.kicks__torn { bottom: -9%; }
@media (max-width: 860px) {
  .break { height: 500px; }
  .break__splat { top: 42%; left: 10%; width: 80%; }
  .break__burst { top: 22%; }
}


/* =========================================================
   サイバー（Watch Dogs 風：1ビットの点々、昔のパソコンの窓、ピクセルのステッカー）
   蛍光色の役は、ASNA の黄（APEX では赤）がやる
   ========================================================= */
.sticker { filter: drop-shadow(3px 5px 0 rgba(0,0,0,.35)); }

/* ABOUT：白い紙 */
.about-light { background: #f1f0ec; color: #0b0b0d; overflow: hidden; min-height: 760px; }
.about-light .about__body { color: #333; margin-left: 0; }
.about-light .about__big { max-width: 560px; }
.about-light .about { position: relative; z-index: 1; }
.about-light__ph {
  position: absolute; right: -4%; bottom: 0; height: 100%; width: auto; max-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%); mask: linear-gradient(90deg, transparent 0, #000 22%);
}
.about-light__st { position: absolute; z-index: 2; left: 38%; bottom: 8%; width: clamp(160px, 18vw, 260px); rotate: -10deg; }
.about-light .label { color: #0b0b0d; }

/* SYSTEM */
.cyber { position: relative; height: min(100vh, 900px); min-height: 640px; overflow: hidden; background: #000; }
.cyber__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; image-rendering: pixelated; }
.cyber__hand { position: absolute; left: -6%; bottom: -4%; width: min(760px, 62%); image-rendering: pixelated; mix-blend-mode: screen; opacity: .9; }
.cyber::after {                                  /* 画面の走査線とちらつき */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  animation: flicker 4s steps(2) infinite;
}
@keyframes flicker { 50% { opacity: .6; } }

.win { position: absolute; z-index: 2; background: #000; border: 2px solid #d9d9d9; box-shadow: 6px 6px 0 rgba(255,255,255,.12); font-family: "Courier New", monospace; color: #e8e8e8; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: #d9d9d9; color: #000; font: 700 13px/1 "Courier New", monospace; letter-spacing: .06em; }
.win__bar span { flex: 1; }
.win__bar i { width: 14px; height: 12px; border: 2px solid #000; background: #d9d9d9; }
.win__body { margin: 0; padding: 14px 16px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.cyber__win { top: 16%; right: 8%; width: min(560px, 86%); min-height: 280px; }
.cyber__win .win__body { min-height: 250px; }
.term-ok { color: var(--c); font-weight: 700; transition: color .5s; }
.caret { display: inline-block; width: 8px; height: 1em; background: #e8e8e8; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cyber__win2 { left: 34%; bottom: 12%; width: min(330px, 70%); }
.bar { height: 14px; border: 2px solid #d9d9d9; padding: 2px; }
.bar span { display: block; height: 100%; width: 0; background: var(--c); transition: width .2s linear, background .5s; }
.cyber__win2 p { margin: 8px 0 0; font-size: 12px; }
.cyber__st { position: absolute; z-index: 3; width: clamp(64px, 7vw, 110px); }
.st-1 { top: 10%; left: 6%; rotate: -12deg; }
.st-2 { top: 12%; left: 20%; rotate: 9deg; }
.st-3 { bottom: 10%; right: 6%; rotate: 8deg; }
.st-4 { top: 6%; right: 40%; rotate: -6deg; width: clamp(80px, 9vw, 140px); }
.st-5 { bottom: 30%; right: 36%; rotate: 14deg; }
.st-6 { top: 44%; left: 44%; rotate: -14deg; }

/* 解読されていく文字 */
[data-decode].is-decoding { font-variant-numeric: tabular-nums; }

/* ステッカーを散らす */
.matches__st { position: absolute; left: -8%; bottom: -14%; width: 46%; rotate: -12deg; z-index: 2; }
.partners { position: relative; }
.partners__st { position: absolute; right: 2%; top: -150px; width: clamp(130px, 14vw, 200px); rotate: 12deg; }
.panel#partners .wrap { position: relative; }

/* グリッチ：マウスを乗せると一瞬ずれて色が割れる */
.glitch:hover img { animation: glitch .45s steps(2) 1; }
@keyframes glitch {
  0%   { clip-path: inset(10% 0 60% 0); translate: -8px 0; filter: hue-rotate(90deg) saturate(3); }
  25%  { clip-path: inset(50% 0 20% 0); translate: 8px 0; }
  50%  { clip-path: inset(30% 0 40% 0); translate: -4px 0; filter: invert(1); }
  75%  { clip-path: inset(70% 0 5% 0); translate: 6px 0; }
  100% { clip-path: inset(0); translate: 0; filter: none; }
}

@media (max-width: 860px) {
  .about-light { min-height: 0; padding-bottom: 0; }
  .about-light__ph { position: relative; right: auto; height: auto; width: 150%; margin: 24px 0 0 -30%; -webkit-mask: none; mask: none; }
  .about-light__st { left: auto; right: 4%; bottom: 20%; }
  .cyber { height: 760px; }
  .cyber__win { top: 20%; right: 5%; }
  .cyber__win2 { left: 5%; bottom: 8%; }
  .cyber__hand { width: 110%; left: -20%; }
  .st-6, .st-5 { display: none; }
  .partners__st { top: -110px; }
}
@media (prefers-reduced-motion: reduce) { .cyber::after { animation: none; } }
.matches__st { left: -6%; bottom: -20%; width: 32%; }
.about-light .about__body { max-width: 440px; }
@media (max-width: 860px) { .about-light .about__body { max-width: none; } }
@media (max-width: 860px) { .about-light__st { top: 60px; bottom: auto; right: 3%; width: 120px; } }
/* About：コントローラーのステッカー（右上、人物の頭の横） */
.about-light__pad { position: absolute; z-index: 2; right: 5%; top: 14%; width: clamp(150px, 17vw, 250px); rotate: 12deg; }
@media (max-width: 860px) { .about-light__pad { top: 60px; right: auto; left: 3%; width: 130px; rotate: -10deg; } }

/* コード画面とバーコード */
.ink-barcode       { --m: url("assets/web/parts/barcode.png");       aspect-ratio: 949 / 492; }
.ink-barcode-stamp { --m: url("assets/web/parts/barcode_stamp.png"); aspect-ratio: 858 / 469; }
.apex__ph--code img { filter: grayscale(1) contrast(1.3) brightness(.9); }
.apex__ph--code::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--c); mix-blend-mode: multiply; opacity: .85; transition: background .5s; }
.break__barcode { position: absolute; z-index: 3; right: 4%; bottom: 6%; width: clamp(120px, 14vw, 210px); rotate: -6deg; }
@media (max-width: 860px) { .break__barcode { bottom: auto; top: 18%; left: 4%; right: auto; width: 110px; } }

/* CRT：普段はきれいな画面、ときどき一瞬だけグリッチ版 */
.crt { position: relative; background: #000; overflow: hidden; aspect-ratio: 2000 / 1091; max-height: 92vh; width: 100%; }
.crt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crt__glitch { opacity: 0; }
.crt.is-glitch .crt__glitch, .crt:hover .crt__glitch { opacity: 1; }
.crt.is-glitch .crt__img:first-child { translate: -6px 0; }

/* About：写真は右 6 割に収めて、人物に寄せて切る（左の煙と缶が文字にかぶらないように） */
.about-light__ph {
  right: 0; top: 0; bottom: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: 80% 50%;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 16%); mask: linear-gradient(90deg, transparent 0, #000 16%);
}
.about-light .about__big, .about-light .about__body { max-width: min(460px, 38vw); }
.about-light__st { left: 40%; bottom: 6%; }
@media (max-width: 860px) {
  .about-light__ph { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 24px 0 0; object-position: 78% 50%; -webkit-mask: none; mask: none; }
  .about-light .about__big, .about-light .about__body { max-width: none; }
  .about-light__st { left: auto; }
}
/* お問い合わせ：壁の写真は上に帯で見せ（ロゴが隠れないように）、文字は下の地面の暗いところから */
.contact { padding: calc(100vw * .545 * .66) 0 clamp(80px, 10vw, 140px); }
.contact__bg { inset: 0 0 auto 0; height: calc(100vw * .545); background-position: center; background-size: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.1) 0%, rgba(8,8,10,.15) 55%, rgba(8,8,10,.85) 80%, #08080a 100%); }
.contact__title { font-size: clamp(48px, 7.5vw, 112px); }
@media (max-width: 860px) {
  .contact__bg { height: calc(100vw * .545 * 1.35); background-size: cover; }
  .contact { padding-top: calc(100vw * .545 * 1.35 * .74); }
}
.contact { background: #08080a; } /* 下の 3D の地面が透けないように */

/* 選手の一覧（仮：カードにはしない。名前・役割・X だけ） */
.roster { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.roster__row { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.roster__role { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--c); transition: color .5s; }
.roster__name { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); line-height: 1; }
.roster__x { font-size: 13px; font-weight: 800; border-bottom: 2px solid var(--c); }
@media (max-width: 860px) { .roster__row { grid-template-columns: 1fr auto; } .roster__role { grid-column: 1 / -1; } }

/* About の本文：意味の切れ目で改行（<br>）。入りきらない幅では、文節の切れ目で折り返す */
.about-light .about__body p { word-break: auto-phrase; text-wrap: pretty; }
br.sp { display: none; }                         /* スマホだけで効かせる改行 */
@media (max-width: 860px) { br.sp { display: inline; } }

/* =========================================================
   部門（トップの一覧・部門のページ）
   ========================================================= */
body[data-division] .ground-fallback { background-image: var(--ground-img); }

/* トップ：部門の一覧 */
.divisions-top { background: rgba(8, 8, 10, .72); }
.divisions-top .display { margin-bottom: 48px; }
.div-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.div-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px;
  padding: 24px 22px 20px; min-height: 250px; overflow: hidden;
  background: rgba(12, 12, 15, .85); border: 1px solid var(--line);
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.div-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--div); transform: scaleX(.2); transform-origin: left; transition: transform .45s var(--ease); }
.div-card:hover, .div-card:focus-visible { border-color: var(--div); transform: translateY(-4px); background: rgba(12, 12, 15, .6); }
.div-card:hover::before { transform: scaleX(1); }
.div-card__logo { width: 62%; margin-bottom: 14px; transition: transform .45s var(--ease); filter: drop-shadow(3px 4px 0 rgba(0,0,0,.4)); }
.div-card:hover .div-card__logo { transform: rotate(-4deg) scale(1.06); }
.div-card__sub { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--div); }
.div-card__name { font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.div-card__go { align-self: end; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--div); }
.div-card__tag { align-self: end; justify-self: start; font-size: 11px; font-weight: 800; padding: 3px 10px; border: 1px solid var(--muted); color: var(--muted); }
.div-card.is-paused { opacity: .55; }
.div-card.is-paused .div-card__logo { filter: grayscale(.85) drop-shadow(3px 4px 0 rgba(0,0,0,.4)); }
.div-card.is-paused:hover { opacity: .9; }
.div-card.is-paused:hover .div-card__logo { filter: none; }

/* 部門の札（NEWS） */
.news__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { --div: var(--c); font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 2px 8px; border: 1px solid var(--div); color: var(--div); }
.news { grid-template-rows: auto; }

/* SNS のアイコン */
.sns { display: flex; gap: 10px; align-items: center; }
.sns:empty { display: none; }
.sns__a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); transition: border-color .2s, background .2s, color .2s; }
.sns__a:hover { background: var(--c); border-color: var(--c); color: #000; }
.sns__a i { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.sns--big { justify-content: center; margin-top: 28px; }
.sns--big .sns__a { width: 48px; height: 48px; }
.sns--big .sns__a i { width: 20px; height: 20px; }
.footer { gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .div-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .div-card { min-height: 190px; padding: 16px 14px; }
  .div-card__name { font-size: 24px; }
}

/* 部門のページ */
.hero--division { pointer-events: none; }
.hero--division .hero__title span { opacity: 1; transform: none; animation: none; color: var(--c); }
.hero__lead { margin: 16px 0 0; max-width: 520px; color: #e0e0e4; text-shadow: 0 1px 12px #000; }
.div-status { display: inline-block; margin: 14px 0 0; padding: 4px 12px; font-size: 13px; font-weight: 800; border: 1px solid #fff; background: rgba(0,0,0,.6); }
.div-note { text-align: center; }
.div-note p { font-size: clamp(16px, 2vw, 20px); color: #d6d6da; margin: 0; }
.div-others { background: rgba(8, 8, 10, .9); }
.div-grid--small .div-card { min-height: 170px; }
.div-grid--small .div-card__logo { width: 50%; }
.roster__row .sns { justify-self: end; }
.roster__row .sns__a { width: 32px; height: 32px; }
.roster__row .sns__a i { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .roster__row .sns { justify-self: start; grid-column: 1 / -1; }
}
.div-status { align-self: flex-start; }
.div-status[hidden], .sns[hidden] { display: none; }
/* SNS：URL がまだ無いものは、押せない薄い表示 */
.sns__a.is-off { opacity: .35; cursor: default; }
.sns__a.is-off:hover { background: none; border-color: var(--line); color: var(--text); }

/* =========================================================
   B：全部門をひらいた一覧・大会告知・大会結果・トピック・ギャラリー
   ========================================================= */
.sec-title { font-size: clamp(48px, 8vw, 110px); margin-bottom: 40px; }
.divisions-full { background: rgba(8, 8, 10, .8); }
.divisions-full > .wrap > .display { margin-bottom: 48px; }

/* 活動中の部門：左に部門、右に選手 */
.div-block { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 56px); padding: 36px 0; border-top: 1px solid var(--line); }
.div-block:last-child { border-bottom: 1px solid var(--line); }
.div-block__head { position: relative; display: grid; align-content: start; gap: 4px; }
.div-block__logo { width: 70%; margin-bottom: 18px; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.45)); transition: transform .45s var(--ease); }
.div-block__head:hover .div-block__logo { transform: rotate(-4deg) scale(1.05); }
.div-block__no { position: absolute; top: 0; right: 0; font-family: var(--display); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--div); opacity: .8; }
.div-block__sub { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--div); }
.div-block__name { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: .95; margin: 0; }
.div-block__lead { color: #cfcfd4; margin: 10px 0 0; }
.div-block__go { margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--div); }
.div-block__members { list-style: none; margin: 0; padding: 0; align-self: center; border-top: 2px solid var(--div); }
.div-block__members li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.div-block__members .m-role { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--div); }
.div-block__members .m-name { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.div-block__members .sns__a { width: 30px; height: 30px; }
.div-block__members .sns__a i { width: 13px; height: 13px; }
.div-block__members .div-block__empty { display: block; color: var(--muted); font-size: 14px; }

/* 休止中の部門：1行ずつ */
.div-paused { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.div-paused__label { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--muted); }
.div-paused__row { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 12px 14px; border: 1px solid var(--line); opacity: .6; transition: opacity .2s, border-color .2s; }
.div-paused__row:hover { opacity: 1; border-color: var(--div); }
.div-paused__row img { grid-row: 1 / 3; width: 64px; filter: grayscale(.8); }
.div-paused__row:hover img { filter: none; }
.div-paused__row span { font-family: var(--display); font-size: 24px; line-height: 1; }
.div-paused__row small { grid-column: 2; font-size: 11px; color: var(--muted); }
.div-paused__row i { grid-row: 1 / 3; grid-column: 3; font-style: normal; color: var(--div); }

/* 大会告知 */
.up-list { display: grid; gap: 12px; }
.up { position: relative; display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--div); background: rgba(12, 12, 15, .75); }
.up--first { padding: 32px 28px; border-color: var(--div); }
.up__date b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; color: var(--div); }
.up--first .up__date b { font-size: 64px; }
.up__date small { color: var(--muted); font-size: 13px; }
.up__body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 40px); line-height: 1.05; margin: 8px 0 0; }
.up__btn { padding: 10px 20px; }
.up__burst { position: absolute; right: 180px; top: -34px; width: 150px; }

/* 大会結果：部門の札の列を足す */
.results__row--div { grid-template-columns: 130px 150px 1fr auto; }
.results__row--div .chip { justify-self: start; }

/* ギャラリー */
.gallery { background: rgba(8, 8, 10, .9); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
.gal { position: relative; padding: 0; border: 0; overflow: hidden; background: #151518; cursor: zoom-in; }
.gal--big { grid-column: span 2; grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(.9); }
.gal:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gal__cap { position: absolute; left: 0; bottom: 0; padding: 6px 10px; font-family: var(--display); font-size: 16px; letter-spacing: .04em; color: #000; background: var(--c); transform: translateY(100%); transition: transform .3s var(--ease); }
.gal:hover .gal__cap, .gal:focus-visible .gal__cap { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 12px; padding: 24px; background: rgba(0,0,0,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox p { margin: 0; font-family: var(--display); font-size: 20px; color: var(--c); }
.lightbox__close { position: absolute; top: 16px; right: 20px; font-size: 40px; line-height: 1; color: #fff; }

@media (max-width: 860px) {
  .div-block { grid-template-columns: 1fr; padding: 28px 0; }
  .div-block__logo { width: 60%; }
  .div-block__members li { grid-template-columns: 1fr auto; }
  .div-block__members .m-role { grid-column: 1 / -1; }
  .div-paused { grid-template-columns: 1fr; }
  .up { grid-template-columns: 80px 1fr; gap: 12px; padding: 16px; }
  .up--first { padding: 22px 16px; }
  .up__date b { font-size: 32px; }
  .up--first .up__date b { font-size: 40px; }
  .up__btn { grid-column: 1 / -1; justify-self: start; }
  .up__burst { right: 8px; top: -30px; width: 110px; }
  .results__row--div { grid-template-columns: 1fr auto; }
  .results__row--div time, .results__row--div .chip { grid-column: 1; }
  .results__row--div strong { grid-column: 2; grid-row: 1 / 4; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}

/* 選手1人（.mem）：アイコン・役割・名前・SNS。トップと部門のページで共通
   アイコンや名前が無いところは WANTED（募集中の札） */
.div-block__members li.mem, .roster li.mem {
  display: grid; grid-template-columns: 56px 110px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid var(--line);
}
.roster li.mem { grid-template-columns: 72px 130px 1fr auto; padding: 16px 4px; }
.mem { --mc: var(--div, var(--c)); }
.mem__icon { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #1a1a1f; border: 2px solid var(--mc); }
.mem__icon--wanted {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(-45deg, #141418 0 6px, #1b1b21 6px 12px); border: 2px dashed var(--mc);
}
.mem__icon--wanted i { font-family: var(--display); font-style: normal; font-size: 30px; color: var(--mc); opacity: .35; line-height: 1; }
.mem__icon--wanted b { position: absolute; left: -12%; right: -12%; top: 50%; translate: 0 -50%; rotate: -18deg; text-align: center;
  background: var(--mc); color: #000; font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .12em; padding: 1px 0; }
.roster .mem__icon--wanted b { font-size: 13px; }
.mem__role { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mc); }
.mem__name { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1; }
.roster .mem__name { font-size: clamp(28px, 4vw, 44px); }
.mem.is-wanted .mem__name { color: transparent; -webkit-text-stroke: 1.5px var(--mc); letter-spacing: .04em; }
.mem__apply { justify-self: end; font-size: 12px; font-weight: 800; color: #000; background: var(--mc); padding: 6px 12px; white-space: nowrap; }
.mem__apply:hover { filter: brightness(1.15); }
.mem .sns { justify-self: end; }
.mem .sns__a { width: 30px; height: 30px; } .mem .sns__a i { width: 13px; height: 13px; }
@media (max-width: 860px) {
  .div-block__members li.mem, .roster li.mem { grid-template-columns: 52px 1fr auto; column-gap: 12px; row-gap: 2px; }
  .mem__icon { grid-row: 1 / 3; }
  .mem__role { grid-column: 2; grid-row: 1; }
  .mem__name { grid-column: 2; grid-row: 2; }
  .mem .sns, .mem__apply { grid-column: 3; grid-row: 1 / 3; }
  .mem .sns { flex-wrap: wrap; justify-content: flex-end; max-width: 80px; }
}
/* About の見出しを英字に（B）：トップの見出しと同じ太い書体 */
.about__big--en { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: .01em; }
/* About の見出し：トップの「FIND YOUR COLOR」と同じ書き方（同じ書体・大きさ・行の詰め・COLOR だけ差し色・柔らかい影）
   白い地なので「FIND YOUR」だけ黒に */
.about__big--en { font-size: clamp(52px, 8.5vw, 128px); line-height: .88; text-transform: uppercase; text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.about__color { color: var(--c); text-shadow: 0 4px 30px rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.25); }
/* COLOR に細い黒ふち（白い地で黄色が溶けないように） */
.about__color { -webkit-text-stroke: 3px #0b0b0d; paint-order: stroke fill; }   /* ふちの半分は文字の内側に隠れるので、見えるのは約1.5px */
/* COLOR をなじませる：ぼかした影をやめる（白い地で浮いて見えるため）。
   ふちは FIND YOUR と同じ黒で細く、影は紙に刷ったような少しずれた薄い影だけ */
.about__big--en, .about__big--en span { text-shadow: none; }
.about__color { -webkit-text-stroke: 2px #0b0b0d; paint-order: stroke fill; text-shadow: 3px 3px 0 rgba(11,11,13,.12); }
/* 試し：COLOR の黒ふちを外す（薄い刷りの影だけ残す） */
.about__color { -webkit-text-stroke: 0; }
/* About の見出しの後ろに、スプレーで横にひと吹きした帯（形は work/spray_band.py）
   FIND YOUR の後ろは黄、COLOR の後ろは黒。文字は帯の上に乗る */
.about__find, .about__color { position: relative; display: inline-block; z-index: 0; padding: 0 .08em; }
.about__find::before, .about__color::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -12%; top: -2%; bottom: -30%;
  -webkit-mask: var(--band) center / 100% 100% no-repeat; mask: var(--band) center / 100% 100% no-repeat;
}
.about__find::before { --band: url("assets/web/parts/spray_band_1.png"); background: var(--c); rotate: -1.5deg; }
.about__color::before { --band: url("assets/web/parts/spray_band_2.png"); background: #0b0b0d; rotate: 1deg; left: -14%; right: -16%; }
.about__color { text-shadow: none; }
.about__big--en { margin-bottom: 56px; }
/* 帯の芯は画像の縦の半分ほど → 文字の高さの約2倍の箱にすると、芯が文字を覆う */
.about__find::before, .about__color::before { top: -48%; bottom: -58%; }
.about__find::before { left: -7%; right: -9%; }
.about__color::before { left: -9%; right: -12%; }
/* COLOR（文字と黒い帯ごと）を少し下げる：上の黄色い帯との重なりを減らす */
.about__color { top: .14em; }
.about__big--en { margin-bottom: calc(56px + .14em); }
/* COLOR の黒い帯を上へ伸ばし、文字の上の端より上から吹いたように */
.about__color::before { top: -82%; bottom: -60%; }
/* COLOR 全体を黒い帯の濃い所で覆う：帯を上下左右に広げる（両端の細く抜ける所・下のかすれが文字にかからないように） */
.about__color::before { top: -85%; bottom: -85%; left: -16%; right: -18%; }
.about__big--en { margin-bottom: calc(72px + .14em); }

/* =========================================================
   下のページ（お問い合わせ・オーナー紹介）
   ========================================================= */
.hero--sub { height: auto; min-height: 80svh; pointer-events: none; }   /* 見出しをロゴの下に置く（ロゴと重ねない）*/
.hero--sub .hero__title span { opacity: 1; transform: none; animation: none; }
.hero--sub .hero__title { font-size: clamp(48px, 8vw, 116px); }

/* お問い合わせ */
.form-panel { background: rgba(8, 8, 10, .9); }
.form-wrap { max-width: 760px; }
.form-lead { color: #d6d6da; margin: 0 0 32px; }
.cform { display: grid; gap: 22px; }
.cform__row { display: grid; gap: 8px; position: relative; }
.cform__label { font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.cform__label b { font-size: 10px; background: var(--c); color: #000; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.cform input, .cform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.cform textarea { resize: vertical; min-height: 180px; line-height: 1.7; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--c); background: rgba(255,255,255,.07); }
.cform__count { justify-self: end; font-size: 12px; color: var(--muted); }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__note { font-size: 12px; color: var(--muted); margin: 0; }
.cform__err { margin: 0; padding: 10px 14px; border-left: 3px solid #ff4d6d; background: rgba(255,77,109,.1); color: #ffb3c1; font-size: 14px; }
.cform__send { justify-self: start; min-width: 220px; cursor: pointer; font-family: inherit; }
.cform__send:disabled { opacity: .6; cursor: wait; }
.cform__done { text-align: center; padding: 40px 0; }
.cform__done .display { font-size: clamp(64px, 12vw, 140px); margin-bottom: 20px; }
.cform__done p { color: #d6d6da; }
.cform__done .btn { margin-top: 20px; }
.form-wrap .sns--big { margin-top: 48px; }

/* オーナー紹介 */
.owner-panel { background: rgba(8, 8, 10, .9); }
.owner-empty { color: var(--muted); text-align: center; }
.owner { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.owner + .owner { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.owner__icon { position: relative; aspect-ratio: 1; background: #141418; border: 3px solid var(--c); box-shadow: 10px 10px 0 var(--c); rotate: -2deg; overflow: hidden; }
.owner__icon img { width: 100%; height: 100%; object-fit: cover; }
.owner__icon .owner__noimg { object-fit: contain; padding: 18%; opacity: .5; }
.owner__name { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1; margin: 0 0 24px; }
.owner__text { color: #d6d6da; max-width: 640px; }
.owner__text p { margin: 0 0 1.2em; }
.owner .sns { margin-top: 24px; }
@media (max-width: 860px) {
  .owner { grid-template-columns: 1fr; }
  .owner__icon { max-width: 260px; }
  .cform__send { justify-self: stretch; }
}
/* 「FIND YOUR」「COLOR」は1行ずつ固定（途中で折り返さない）。見出しには横幅の上限をかけない */
.about__find, .about__color { white-space: nowrap; }
.about-light .about__big--en { max-width: none; }

/* =========================================================
   アートギャラリー A・B（main.js の galleryA / galleryB）
   ========================================================= */
/* A：左に大きく1枚、右に一覧 */
.gA { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.gA__main { margin: 0; position: sticky; top: 90px; }
.gA__view { display: block; width: 100%; padding: 0; border: 0; background: #0f0f12; cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 10px 10px 0 var(--c); }
.gA__view img { width: 100%; height: 100%; object-fit: contain; transition: opacity .16s ease, transform .6s var(--ease); }
.gA__main.is-swap img { opacity: 0; transform: scale(.985); }
.gA__view:hover img { transform: scale(1.02); }
.gA__main figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 22px; }
.gA__main figcaption b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.gA__main figcaption span { font-size: 13px; color: var(--muted); }
.gA__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gA__thumb { position: relative; padding: 0; border: 2px solid transparent; background: #141418; aspect-ratio: 1; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.gA__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.7); transition: filter .25s; }
.gA__thumb:hover img, .gA__thumb.is-on img { filter: none; }
.gA__thumb.is-on { border-color: var(--c); transform: translateY(-3px); }
.gA__thumb.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }

/* B：横向きの輪（3D）。--rot で回る。奥の絵ほど暗い（--lit） */
.gB { position: relative; }
.gB__stage { position: relative; height: clamp(360px, 46vw, 560px); perspective: 1400px; perspective-origin: 50% 40%; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; outline: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.gB__stage:active { cursor: grabbing; }
.gB__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(-7deg) rotateY(var(--rot, 0deg)); }   /* 少し上から見下ろす → 輪の形が見える */
.gB__card { position: absolute; left: 0; top: 0; width: clamp(170px, 20vw, 280px); aspect-ratio: 3 / 4; padding: 0; border: 0; background: #111;
  transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(var(--r)); backface-visibility: hidden; cursor: pointer;
  filter: brightness(var(--lit, 1)); box-shadow: 0 20px 40px rgba(0,0,0,.5); transition: box-shadow .3s; }
.gB__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gB__card.is-front { box-shadow: 0 0 0 3px var(--c), 0 24px 50px rgba(0,0,0,.6); cursor: zoom-in; }
.gB__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; max-width: 640px; margin: 18px auto 0; }
.gB__arrow { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.gB__arrow:hover { background: var(--c); color: #000; border-color: var(--c); }
.gB__cap { margin: 0; text-align: center; min-height: 56px; }
.gB__cap b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; }
.gB__cap span { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .gA { grid-template-columns: 1fr; }
  .gA__main { position: static; }
  .gA__thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gB__stage { height: 380px; perspective: 900px; }
  .gB__card { width: 150px; }
}
/* A：大きい絵が画面の縦に収まるように（縦長の絵でもはみ出さない） */
.gA__view { aspect-ratio: auto; height: min(68vh, 680px); }
@media (max-width: 860px) { .gA__view { height: auto; aspect-ratio: 4 / 5; } }
/* 2026-09-30：ギャラリーの黄色の枠をやめる。A と B を続けて出すときの間 */
.gA__view { box-shadow: none; }
.gA__thumb.is-on { border-color: transparent; }
.gA__thumb.is-on::after { display: none; }
.gB__card.is-front { box-shadow: 0 24px 50px rgba(0,0,0,.6); }
.gal-both > .gA + .gB { margin-top: clamp(56px, 8vw, 110px); }
.lightbox p:empty { display: none; }
/* B：真ん中に来た絵を大きく（--s は main.js が回転に合わせて入れる） */
.gB__card { transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(var(--r)) scale(var(--s, 1)); }
.gB__stage { height: clamp(420px, 52vw, 640px); }
@media (max-width: 860px) { .gB__stage { height: 440px; } }
.gB__card { transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(calc(var(--r) + var(--z, 0px))) scale(var(--s, 1)); }

/* 2026-09-30 オーナー：ALL DIVISIONS. の見出しを上へ・小さく */
.divisions-full { padding-top: clamp(48px, 6vw, 80px); }
.divisions-full > .wrap > .display { font-size: clamp(40px, 5.5vw, 80px); margin-bottom: 32px; }

/* 2026-09-30 オーナー：区画の見出しは ALL DIVISIONS. の大きさにそろえる（最初の画面の大見出しは別） */
.sec-title, .contact__title, .about-light .about__big--en { font-size: clamp(40px, 5.5vw, 80px); margin-bottom: 32px; }
/* About の FIND YOUR COLOR：後ろのスプレー（黄・黒）を外し、文字は黒 1色 */
.about__find::before, .about__color::before { display: none; }
.about__find, .about__color { color: #0b0b0d; top: 0; padding: 0; -webkit-text-stroke: 0; text-shadow: none; }
/* 2026-09-30 オーナー：COLOR を少し下げる */
.about__color { top: .12em; }
.about-light .about__big--en { margin-bottom: calc(32px + .12em); }

/* 2026-10-01 実績（ACHIEVEMENTS）：部門ごとの札。部門の色の線と、結果を大きく */
.ach { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.ach__div { display: block; color: inherit; text-decoration: none; border-top: 4px solid var(--div); background: rgba(255,255,255,.03); padding: 22px 24px 8px; transition: background .3s; }
.ach__div:hover { background: rgba(255,255,255,.07); }
.ach__name { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--div); margin-bottom: 10px; }
.ach__div ul { list-style: none; margin: 0; padding: 0; }
.ach__div li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; }
.ach__div li strong { grid-column: 1 / -1; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; }
.ach__div li span { font-size: 14px; color: #d6d6da; }
.ach__div li time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 2026-10-01 代表紹介：コメント（代表のひとこと）を、紹介文の下に大きく */
.owner__comment { margin: 36px 0 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--c); max-width: 640px; }
.owner__comment-label { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--c); margin: 0 0 10px; }
.owner__comment p:not(.owner__comment-label) { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.75; font-weight: 700; color: #f2f2f4; margin: 0; }
.owner__comment p, .owner__text p { word-break: auto-phrase; text-wrap: pretty; }
/* 2026-10-05 名前はあるがアイコンが無い選手：部門の色のロゴを小さく */
.mem__icon--logo { display: grid; place-items: center; overflow: hidden; }
.mem__icon--logo img { width: 82%; height: auto; opacity: .9; }

/* 2026-10-05 オーナー：選手のアイコンを大きく。名前の下に X のアカウント名（押すと X へ） */
.div-block__members li.mem { grid-template-columns: 88px 100px 1fr auto; gap: 16px; padding: 14px 4px; }
.roster li.mem { grid-template-columns: 120px 130px 1fr auto; gap: 20px; padding: 18px 4px; }
.mem__who { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mem__x { align-self: flex-start; font-size: 13px; font-weight: 700; color: #bdbdc4; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.mem__x:hover { color: var(--mc); border-bottom-color: var(--mc); }
.roster .mem__x { font-size: 14px; }
@media (max-width: 860px) {
  .div-block__members li.mem, .roster li.mem { grid-template-columns: 76px 1fr auto; column-gap: 14px; }
  .mem__who { grid-column: 2; grid-row: 2; }
  .mem__x { font-size: 12px; }
}

/* 2026-10-05 DIVISIONS 別案：右側の選手を縦長カードで横に並べる（参考：海外チームの Roster） */
.div-block--cards { grid-template-columns: 4fr 8fr; }
.pcs { min-width: 0; align-self: center; }
.pcs__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 40px; }
.pcs__tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.pcs__tabs[hidden], .pcs__arrows[hidden] { display: none; }
.pcs__tabs button { border: 0; background: none; color: #e6e6ea; font: inherit; font-size: 13px; font-weight: 800; line-height: 1; padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.pcs__tabs button.is-on { background: #fff; color: #0b0b0d; }
.pcs__arrows { display: flex; gap: 6px; margin-left: auto; }
.pcs__arrows button { width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.pcs__arrows button:disabled { opacity: .3; cursor: default; }
.pcs__track { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pcs__track::-webkit-scrollbar { display: none; }
.pc { --mc: var(--div, var(--c)); position: relative; flex: 0 0 clamp(170px, 15vw, 210px); aspect-ratio: 3 / 4.4; scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.14); border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, #101014 0%, #101014 45%, color-mix(in srgb, var(--mc) 45%, #101014) 100%); transition: border-color .25s; }
.pc[hidden] { display: none; }
.pc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc__img--logo { display: grid; place-items: center; padding-bottom: 35%; }
.pc__img--logo img { width: 70%; opacity: .85; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.4)); }
.pc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,8,12,.55) 65%, rgba(8,8,12,.95) 100%); pointer-events: none; }
.pc__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pc__role { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mc); text-shadow: 0 1px 6px #000; }
.pc__name { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7); overflow-wrap: anywhere; }
.pc .mem__x { align-self: center; font-size: 12px; }
.pc .sns { justify-content: center; gap: 4px; }
.pc .sns__a { width: 30px; height: 30px; background: none; border: 0; }
.pc .sns__a i { width: 15px; height: 15px; }
.pc.is-wanted .pc__name { color: transparent; -webkit-text-stroke: 1.5px var(--mc); }
.pc:hover { border-color: var(--mc); }
@media (max-width: 860px) {
  .div-block--cards { grid-template-columns: 1fr; }
  .pc { flex-basis: 46%; }
}
.pc__img { object-position: center 20%; }
/* 2026-10-05 4人が PC で1列に収まるよう、カードは幅を分け合う（狭いときは矢印で送る） */
@media (min-width: 861px) { .pc { flex: 1 0 150px; max-width: 210px; } }
/* 2026-10-05 オーナー：名前・アカウント名・ロゴがアイコンにかかりすぎ → アイコンは上の正方形、文字はその下に分ける */
.pc { aspect-ratio: auto; display: flex; flex-direction: column; background: color-mix(in srgb, var(--mc) 18%, #101014); }
.pc__img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1; flex: none; background: #101014; }
.pc__img--logo { padding-bottom: 0; }
.pc::after { display: none; }
.pc__body { position: relative; inset: auto; padding: 14px 10px 12px; flex: 1; justify-content: flex-start; border-top: 2px solid var(--mc); }
.pc__name { text-shadow: none; }
.pc__role { text-shadow: none; }

/* 2026-10-05 選手の説明の札（アイコンにカーソルで出る） */
[data-tip-name] { cursor: help; outline: none; }
[data-tip-name]:focus-visible { box-shadow: 0 0 0 3px var(--mc, var(--c)); }
.ptip { --mc: var(--c); position: absolute; z-index: 60; width: min(300px, calc(100vw - 24px)); padding: 16px 18px 14px;
  background: #121216; border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--mc); border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55); pointer-events: none; animation: ptip-in .16s ease-out; }
.ptip[hidden] { display: none; }
@keyframes ptip-in { from { opacity: 0; transform: translateY(4px); } }
.ptip__role { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mc); }
.ptip__name { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 4px 0 8px; color: #fff; }
.ptip__text { margin: 0; font-size: 13px; line-height: 1.75; color: #d6d6da; word-break: auto-phrase; }
.ptip__text.is-empty { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ptip { animation: none; } }
.hero__title .hero__code { color: #F7F912; }   /* 2026-10-05 カラーコードの文字は、その色そのもの */
/* 2026-10-05 オーナー：ASNA を大きく、カラーコードは ASNA より小さく */
.hero__title { font-size: clamp(88px, 15vw, 220px); line-height: .86; }
.hero__title .hero__code { font-size: clamp(34px, 5.2vw, 80px); line-height: 1; margin-top: .1em; letter-spacing: .02em; }

/* 2026-10-05 オーナー：部門の番号（01・02・03）→ カラーコード。その色の文字で。部門は押しても飛ばない */
.div-block__code { font-size: clamp(22px, 2.4vw, 34px); -webkit-text-stroke: 0; opacity: 1; letter-spacing: .03em; top: 4px; }
.div-block--cards .div-block__logo { width: 62%; }
.div-block--cards .div-block__head { cursor: default; }
.div-block--cards .div-block__head:hover .div-block__logo { transform: none; }
.div-paused__row { cursor: default; }
/* 2026-10-05 お問い合わせの完了表示 */
.cform__done-tag { display: inline-block; margin: 0 0 18px; padding: 6px 14px; background: var(--c); color: #0b0b0d; font-weight: 900; font-size: 14px; letter-spacing: .1em; }
.cform__done-demo { font-size: 12px; color: var(--muted); }
.cform[hidden] { display: none; }   /* 送ったらフォームを消す（.cform の display に hidden が負けていた） */
.cform__done .cform__done-tag { color: #0b0b0d; }

/* お知らせの記事（2026-11-01：シートの「本文」がある行を押すと重ねて開く） */
.news-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px 16px; background: rgba(0,0,0,.88); overflow-y: auto; }
.news-modal[hidden] { display: none; }
.news-modal__box { position: relative; width: min(760px, 100%); background: #111; border: 1px solid rgba(255,255,255,.12); padding: 0 0 32px; margin: auto; }
.news-modal__box > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-modal__box .news__meta, .news-modal__box h2, .news-modal__body { margin-left: clamp(18px, 4vw, 36px); margin-right: clamp(18px, 4vw, 36px); }
.news-modal__box .news__meta { margin-top: 20px; }
.news-modal__box time { font-size: 12px; color: var(--muted); }
.news-modal__box h2 { font-size: clamp(20px, 3vw, 28px); line-height: 1.5; margin-top: 8px; margin-bottom: 16px; }
.news-modal__body { font-size: 15px; line-height: 2; color: rgba(255,255,255,.88); }
.news-modal__close { position: absolute; top: 8px; right: 12px; z-index: 1; width: 44px; height: 44px; font-size: 32px; line-height: 1; color: #fff; background: rgba(0,0,0,.55); border-radius: 50%; }
