:root {
  --ink: #0f1119; --ink2: #181b27; --ink3: #232737; --paper: #f3eee4; --fog: #b9bdca;
  --sodium: #ff9d3c; --red: #ff6a5c; --line: rgba(243, 238, 228, .14);
  --poster: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --hand: "Yusei Magic", "Noto Sans JP", sans-serif;
  --pad: clamp(20px, 4vw, 56px); --on-accent: #1b140c;
}
:root { --ink: #ffffff; --ink2: #f4f5f7; --ink3: #eceef2; --paper: #111318; --fog: #5a5f6e; --line: rgba(17, 19, 24, .12); }
/* 映像の上とプレーヤーは白版でも暗いまま */
.hero, .deck { --ink: #0f1119; --ink2: #181b27; --ink3: #232737; --paper: #f3eee4; --fog: #b9bdca; --line: rgba(243, 238, 228, .14); color: var(--paper); }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; background: var(--ink); color: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.85 var(--ja); overflow-x: clip; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sodium); outline-offset: 3px; }
.nw { white-space: nowrap; }

.top { position: fixed; inset: 0 0 auto; z-index: 20; color: #f3eee4; display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad); transition: background .3s, padding .3s; }
.top.scrolled { color: var(--paper); background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 10px; }
.brand { font: 900 26px/1 var(--poster); letter-spacing: .02em; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; font: 700 19px/1 var(--poster); text-transform: uppercase; letter-spacing: .04em; }
.top nav a { text-decoration: none; }
.top nav a:not(.nav-dm):hover { color: var(--sodium); }
.nav-dm { padding: 9px 18px; border-radius: 999px; background: var(--sodium); color: var(--on-accent); transition: transform .2s; }
.nav-dm:hover { transform: rotate(-4deg) scale(1.06); }

.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #07080c; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, .35) 0%, rgba(7, 8, 12, 0) 25%, rgba(7, 8, 12, .55) 62%, var(--ink) 100%); }
.hero-copy { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(40px, 9vh, 96px); }
.kicker { margin: 0 0 14px; font: 700 clamp(16px, 1.4vw, 20px)/1 var(--poster); letter-spacing: .1em; color: var(--sodium); }
.lead { margin: 0 0 28px; max-width: 24em; font: 900 clamp(26px, 3.3vw, 48px)/1.45 var(--ja); letter-spacing: .01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--sodium); color: var(--on-accent); font-weight: 900; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 157, 60, .35); }
.btn.ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
.btn.line { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn.line:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
.scroll-cue { position: absolute; z-index: 2; right: var(--pad); bottom: 36px; writing-mode: vertical-rl; font: 700 14px/1 var(--poster); letter-spacing: .3em; text-transform: uppercase; color: var(--fog); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0; background: var(--fog); transform-origin: top; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }


.sec { max-width: 1240px; margin: 0 auto; padding: clamp(96px, 14vh, 168px) var(--pad) 0; }
.sec-head { position: relative; margin-bottom: 40px; }
.big { display: block; font: 900 clamp(88px, 17vw, 250px)/.78 var(--poster); text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--paper) 30%, transparent); user-select: none; margin-left: -.03em; }
.sec-head h2, .sec-head .h2 { position: relative; margin: -.55em 0 0; font: 900 clamp(26px, 3vw, 40px)/1.35 var(--ja); word-break: keep-all; overflow-wrap: anywhere; }
.sub { margin: -16px 0 36px; color: var(--fog); }
.more { display: flex; justify-content: center; margin-top: 56px; }
.page-sub .top { color: var(--paper); }
.page-sub main { padding-top: 40px; padding-bottom: clamp(96px, 14vh, 160px); }
.back { display: inline-block; margin-top: 64px; font-weight: 700; color: var(--fog); text-underline-offset: 4px; }

.about { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.intro { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 2; }
.profile-card { position: relative; background: #f7f2e8; color: #111318; border-radius: 6px; padding: 30px 28px 24px; transform: rotate(1.6deg);
  box-shadow: 0 20px 50px rgba(17, 19, 24, .16); }
.profile-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 157, 60, .75); }
.profile { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.profile dt { font-weight: 700; color: #6b6656; }
.profile-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 20px; border-radius: 3px; }
.profile dd { margin: 0; font-weight: 700; }
.services { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: minmax(12em, 18em) 1fr; gap: 8px 40px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.services b { font-size: 18px; }
.services span { color: var(--fog); font-size: 16px; line-height: 1.85; }

.crates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
.sleeve-wrap { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 800px; }
.vinyl { position: absolute; inset: 4%; border-radius: 50%; transition: translate .6s cubic-bezier(.2, .8, .1, 1);
  background: radial-gradient(circle, var(--sodium) 0 16%, #0b0b0d 16.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #141418 0 2px, #1d1d23 2px 4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.vinyl::after { content: ""; position: absolute; inset: 47%; border-radius: 50%; background: var(--ink); }
.sleeve { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transition: transform .4s cubic-bezier(.2, .8, .1, 1); }
.sleeve { background: #000; }
.sleeve::before { content: ""; position: absolute; inset: -10%; background: var(--img) center / cover; filter: blur(18px) brightness(.6); }
.sleeve img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.sleeve::after { content: "▶ PLAY"; position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(15, 17, 25, .85);
  font: 900 15px/1 var(--poster); letter-spacing: .08em; color: #f3eee4; }
.sleeve-wrap:hover .vinyl, .crate.is-playing .vinyl { translate: 36% 0; }
.crate.is-playing .vinyl { animation: spin 1.8s linear infinite; }
.crate.is-playing .sleeve::after { content: "♪ NOW PLAYING"; background: var(--sodium); color: var(--on-accent); }
@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.tags { display: flex; gap: 6px; margin: 18px 0 0; }
.tag { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font: 700 13px/1.5 var(--poster); letter-spacing: .06em; color: var(--fog); }
.tag.free { border-color: transparent; background: var(--sodium); color: var(--on-accent); }
.crate[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; background: none;
  font: 700 18px/1 var(--poster); letter-spacing: .04em; cursor: pointer; }
.chip small { font-size: 13px; color: var(--fog); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip[aria-pressed="true"] small { color: inherit; opacity: .7; }
.crate .name { margin: 8px 0 2px; font: 900 clamp(24px, 2.1vw, 30px)/1.1 var(--poster); letter-spacing: .02em; }
.crate .info { margin: 0; color: var(--fog); font-size: 14px; }
.crate .buy { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #a8530a; text-underline-offset: 4px; }

.ticket { position: relative; display: grid; grid-template-columns: 1fr 220px; background: var(--paper); color: var(--ink); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  -webkit-mask: radial-gradient(circle 18px at calc(100% - 220px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 18px at calc(100% - 220px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 18px at calc(100% - 220px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 18px at calc(100% - 220px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket-main { padding: clamp(28px, 4vw, 48px); }
.ticket-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; }
.ticket-cond { font-weight: 900; font-size: 15px; }
.ticket-label { display: inline-block; margin: 0; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--sodium); color: var(--on-accent);
  font: 900 18px/1 var(--poster); letter-spacing: .06em; }
.ticket-title { margin: 0 0 24px; font: 900 clamp(22px, 2.4vw, 32px)/1.45 var(--ja); }
.rate { margin: 0 0 20px; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 28px; align-items: baseline; }
.rate dt { font-weight: 700; }
.rate dd { margin: 0; font: 900 clamp(30px, 3vw, 40px)/1.1 var(--poster); }
.rate dd small { font: 700 15px var(--ja); margin-left: 2px; }
.terms { margin: 0; padding: 14px 0 0; border-top: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); list-style: none; font-size: 14px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.terms li::before { content: "・"; }
.ticket-stub { position: relative; display: grid; place-content: center; text-align: center; border-left: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); padding: 24px; }
.ticket-stub p { margin: 0; font-weight: 700; }
.ticket-stub .left { font: 900 32px/1 var(--poster); margin: 4px 0; }
.ticket-stub .left b { font-size: 96px; color: var(--red); }
.stamp { position: absolute; top: 16px; right: 14px; width: 74px; height: 74px; display: grid; place-items: center; border: 3px solid var(--red); border-radius: 50%;
  color: var(--red); font: 400 22px/1 var(--hand); opacity: .85; }

.flow { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--fog) 0 8px, transparent 8px 16px); opacity: .5; }
.flow li { position: relative; counter-increment: f; }
.flow li::before { content: counter(f); position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--paper); font: 900 26px/1 var(--poster); }
.flow li:nth-child(3)::before { background: var(--sodium); border-color: var(--sodium); color: var(--on-accent); }
.flow b { display: block; font-size: 18px; margin-bottom: 4px; }
.flow span { display: block; color: var(--fog); font-size: 15px; line-height: 1.75; }

.chat { max-width: 760px; margin: 0 auto; background: var(--ink2); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 700; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--sodium), var(--red)); color: var(--on-accent); font: 900 22px/1 var(--poster); }
.chat-log { margin: 0; padding: 24px clamp(16px, 3vw, 28px) 30px; display: flex; flex-direction: column; gap: 10px; }
.chat-log dt, .chat-log dd { max-width: 78%; padding: 12px 18px; border-radius: 22px; font-size: 15px; line-height: 1.7; }
.chat-log dt { align-self: flex-end; margin-top: 14px; background: linear-gradient(135deg, #6a5cff, #c03cff); color: #fff; font-weight: 700; border-bottom-right-radius: 6px; }
.chat-log dd { align-self: flex-start; margin: 0; background: var(--ink3); border-bottom-left-radius: 6px; }

.contact { text-align: center; padding-bottom: clamp(96px, 14vh, 160px); }
.dm-huge { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.dm-word { font: 900 clamp(120px, 27vw, 420px)/.8 var(--poster); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; transition: color .3s; }
.dm-text { display: inline-block; margin-top: 18px; padding: 14px 28px; border-radius: 999px; background: var(--sodium); color: var(--on-accent); font-weight: 900; }
.dm-huge:hover .dm-word { color: var(--sodium); }
.contact .sub { margin: 20px 0 0; }

footer { border-top: 1px solid var(--line); padding: 26px var(--pad) 120px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--fog); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--paper); text-decoration: underline; }

.deck { position: fixed; z-index: 30; right: var(--pad); bottom: var(--pad); width: min(400px, calc(100vw - 2 * var(--pad)));
  display: grid; grid-template-columns: 56px 1fr 44px; gap: 6px 14px; align-items: center; padding: 14px;
  background: rgba(24, 27, 39, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.deck[hidden] { display: none; }
.deck-disc { width: 56px; height: 56px; border-radius: 50%; animation: spin 1.8s linear infinite;
  background: radial-gradient(circle, var(--sodium) 0 22%, #0b0b0d 23% 26%, transparent 27%), repeating-radial-gradient(circle, #141418 0 2px, #22222a 2px 4px); }
.deck-meta { min-width: 0; }
.deck-name { display: block; font: 900 22px/1.1 var(--poster); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-info { display: block; color: var(--fog); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; }
.deck-close:hover { background: rgba(255, 255, 255, .08); }
.deck-frame { grid-column: 1 / -1; }
.deck-frame iframe { display: block; width: 100%; height: auto; min-height: 200px; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

@media (max-width: 1000px) {
  .crates { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top nav a:not(.nav-dm) { display: none; }
  br.pc { display: none; }
  .lead { font-size: 24px; }
  .lead .nw:first-of-type { white-space: normal; }
  .hero video, .hero .poster { object-position: 72% center; }
  .btns .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .about, .ticket { grid-template-columns: 1fr; }
  .profile-card { transform: rotate(1deg); }
  .services li { grid-template-columns: 1fr; gap: 4px; }
  .crates { gap: 40px 16px; }
  .ticket { -webkit-mask: none; mask: none; }
  .ticket-stub { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); grid-auto-flow: column; align-items: baseline; gap: 6px; justify-content: center; }
  .ticket-stub .left b { font-size: 64px; }
  .ticket-label { font-size: 16px; }
  .stamp { width: 60px; height: 60px; font-size: 18px; top: -24px; right: 12px; }
  .flow { grid-template-columns: 1fr; }
  .chat-log dt, .chat-log dd { max-width: 90%; }
  .deck { right: 10px; left: 10px; bottom: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crate.is-playing .vinyl, .deck-disc, .scroll-cue::after { animation: none; }
  .hero video { display: none; }
  * { transition: none !important; }
}
