@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --o: #ff7a00; --bg: #070504; --panel: #15100b; --line: rgba(255,255,255,.16); --tx: #f4f4f5; --sub: #c9c5c0; --w: 1040px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: Inter, 'Noto Sans JP Variable', sans-serif; font-weight: 500; line-height: 1.7; -webkit-font-smoothing: antialiased; padding-bottom: 76px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.orange { color: var(--o); }
section, header { padding: 72px 20px; }
section > *, .hero > * { max-width: var(--w); margin-left: auto; margin-right: auto; }

/* 最初の画面 */
.hero { text-align: center; padding: 28px 20px 64px; background: radial-gradient(900px 600px at 50% 70%, rgba(255,122,0,.16), transparent 100%); }
.brand { display: flex; justify-content: center; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
.brand img { width: 150px; }
.date { margin-top: 28px; font-size: clamp(120px, 36vw, 400px); line-height: 1; font-weight: 800; letter-spacing: -.05em; color: #fff; }
.when { font-size: clamp(30px, 7vw, 56px); font-weight: 800; line-height: 1.2; margin-top: 6px; }
.venue { font-size: clamp(20px, 4vw, 32px); font-weight: 700; margin-top: 8px; }
.cta { display: inline-block; margin-top: 28px; padding: 18px 56px; border: 0; border-radius: 999px; background: var(--o); color: #140a02; font: inherit; font-size: 20px; font-weight: 800; text-decoration: none; cursor: pointer; }
.cta:hover { background: #ff8f26; }
.cta:disabled { background: #4a3a2c; color: #a79a8d; cursor: not-allowed; }
.cta:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.period { margin-top: 14px; color: var(--sub); font-size: 15px; font-weight: 600; }

/* 大きな数字の見出し */
.reveal h2, .gifts h2 { display: flex; align-items: flex-end; justify-content: center; gap: 8px; font-size: clamp(30px, 7vw, 64px); line-height: 1.1; }
.big { font-size: 3em; line-height: .85; font-weight: 800; letter-spacing: -.05em; }

.three { list-style: none; padding: 0; margin-top: 36px; }
.three li { display: flex; gap: 18px; align-items: center; padding: 16px 12px; border-top: 1px solid var(--line); font-size: clamp(21px, 5vw, 40px); font-weight: 800; }
.three li b { color: var(--o); }
.three li.open { background: linear-gradient(90deg, rgba(255,122,0,.34), transparent); }
.secret { filter: blur(9px); user-select: none; }
.nebula { position: relative; margin-top: 36px; border-radius: 14px; overflow: hidden; }
.nebula img { width: 100%; }
.nebula figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 18px; text-align: center; font-size: clamp(26px, 6.4vw, 56px); font-weight: 800; line-height: 1.15; background: linear-gradient(transparent, rgba(3,6,22,.92) 60%); }
.line { text-align: center; margin-top: 36px; font-size: clamp(26px, 6.4vw, 52px); font-weight: 800; line-height: 1.25; }

.gifts { background: radial-gradient(1000px 680px at 50% 8%, rgba(255,122,0,.13), transparent 100%); }
.eyebrow { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.gift { margin-top: 44px; padding: 28px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.gift h3 { font-size: clamp(27px, 6.2vw, 46px); margin-top: 14px; }
.pill { display: inline-block; padding: 3px 16px 5px; border-radius: 999px; background: var(--o); color: #140a02; font-size: 15px; font-weight: 800; }
.nft { display: grid; gap: 22px; align-items: center; }
.nft img { width: 100%; max-width: 420px; margin: auto; border-radius: 18px; box-shadow: 0 0 0 2px rgba(190,225,255,.5), 0 0 70px rgba(70,150,255,.45); }

.steps { list-style: none; padding: 0; margin: 26px 0 0; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li > b { color: var(--o); font-size: 24px; line-height: 1.2; }
.steps h4 { font-size: 21px; }
.steps p { color: var(--sub); font-size: 15px; margin-top: 4px; }
.ticket { grid-column: 2; justify-self: start; position: relative; margin-top: 10px; padding: 12px 30px; border-radius: 12px; font-size: 22px; font-weight: 800; color: #140a02; background: linear-gradient(135deg, #ff9f36, #ff7a00 55%, #e85f00); }
.ticket.off { background: #6a6764; color: #1b1a19; }
.ticket i { font-style: normal; margin-left: 12px; padding: 3px 11px; border-radius: 999px; background: #fff; color: #e85f00; font-size: 15px; }
.ticket.prize { background: #000; color: var(--o); box-shadow: inset 0 0 0 2px var(--o); }

.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; text-align: center; }
.prizes > div { padding: 14px 4px; background: #0b0806; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; }
.prizes span { display: block; font-size: clamp(16px, 4vw, 26px); }
.prizes b { display: block; color: var(--o); font-size: clamp(26px, 7vw, 46px); line-height: 1.15; }
.prizes .top { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 22px; border: 2px solid var(--o); box-shadow: 0 0 44px rgba(255,122,0,.4); }
.prizes .top span { color: var(--o); font-size: clamp(36px, 10vw, 76px); line-height: 1.1; }
.prizes .top b { font-size: clamp(36px, 10vw, 76px); }
.note { color: var(--sub); font-size: 14px; margin-top: 14px; }

.rule { margin-top: 16px; font-size: clamp(16px, 4.2vw, 20px); font-weight: 700; line-height: 1.5; }
.rule b { display: inline-block; margin-top: 4px; font-size: clamp(19px, 5vw, 28px); font-weight: 800; }
.ladder { margin-top: 20px; max-width: 640px; }
.rung { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; padding: 13px 2px; border-top: 1px solid var(--line); font-weight: 800; }
.who { font-size: 16px; }
.tix { display: flex; gap: 6px; }
.tix i { width: 34px; height: 22px; border-radius: 5px; background: #8a8580; }
.tix i.plus { background: var(--o); box-shadow: 0 0 12px rgba(255,122,0,.65); }
.rung b { justify-self: end; color: var(--o); font-size: 28px; line-height: 1; white-space: nowrap; }
.how { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--sub); font-size: 15px; }

/* 区切り: 動画の切り替えと同じ斜めの帯で場面を分ける */
.band { position: relative; margin-top: -40px; padding-top: 112px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
.reveal.band { background: #120c07; }
.gifts.band { background: radial-gradient(1000px 680px at 50% 8%, rgba(255,122,0,.15), transparent 100%), #050403; }
.place.band { background: #17110b; }
.label { width: fit-content; margin: 0 auto 26px; padding: 2px 14px; color: var(--o); border: 1px solid var(--o); border-radius: 4px; font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.apply.band { background: var(--o); color: #140a02; }
.apply .label { color: #140a02; border-color: #140a02; }
.apply h2 { color: #140a02; }
.apply .easy { color: #3a2208; }
.apply .cta { background: #140a02; color: #fff; }
.apply .cta:hover { background: #000; }
.apply .cta:disabled { background: rgba(20,10,2,.28); color: rgba(20,10,2,.6); }
.apply .agree input { accent-color: #140a02; }
.apply .state { margin-top: 12px; font-weight: 800; min-height: 1.7em; }
.terms { position: relative; }

/* カウントダウン */
.count { margin-top: 26px; }
.count[hidden] { display: none; }
.count-label { font-size: 16px; font-weight: 800; }
.count-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 460px; margin: 10px auto 0; }
.count-boxes div { padding: 10px 2px 8px; border-radius: 12px; background: rgba(255,122,0,.12); border: 1px solid rgba(255,122,0,.55); }
.count-boxes b { display: block; font-size: clamp(30px, 9vw, 50px); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--o); }
.count-boxes span { font-size: 13px; font-weight: 700; }
.apply .count-boxes div { background: #140a02; border-color: #140a02; color: #fff; }

.place-in { display: grid; gap: 22px; }
.map { margin-top: 24px; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: 14px; background: #2a241e; }
.map-link { display: block; width: fit-content; margin: 16px auto 0; padding: 12px 30px; border: 2px solid var(--o); border-radius: 999px; color: var(--o); font-weight: 800; text-decoration: none; }
.map-link:hover { background: var(--o); color: #140a02; }
.place img { width: 100%; border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
.place h2 { font-size: clamp(27px, 6vw, 44px); }
.place dl { margin: 16px 0 0; display: grid; grid-template-columns: 76px 1fr; gap: 10px 8px; font-size: 16px; }
.place dt { color: var(--o); font-weight: 800; }
.place dd { margin: 0; }

.apply { text-align: center; background: radial-gradient(800px 540px at 50% 45%, rgba(255,122,0,.2), transparent 100%); }
.apply h2 { font-size: clamp(44px, 12vw, 88px); }
.range { font-size: clamp(22px, 5.6vw, 44px); font-weight: 800; margin-top: 8px; }
.only { font-size: 19px; font-weight: 800; margin-top: 10px; }
.form { margin-top: 26px; }
.easy { color: var(--sub); font-size: 15px; }
.agree { display: inline-flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 10px 6px; text-align: left; font-weight: 700; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--o); flex: none; }
.form .cta { display: block; width: 100%; max-width: 380px; margin: 14px auto 0; }
.again { margin-top: 22px; font-size: 15px; }

.terms { padding-top: 40px; font-size: 14px; color: var(--sub); }
.terms h2 { font-size: 20px; color: var(--tx); margin-top: 26px; }
.terms ul { padding-left: 20px; margin: 10px auto 0; }
.operator { margin-top: 18px; }
mark { background: #5b3a10; color: #ffd9a8; padding: 0 4px; }

.sticky { position: fixed; left: 14px; right: 14px; bottom: 12px; z-index: 5; padding: 14px; border-radius: 999px; background: var(--o); color: #140a02; text-align: center; font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.6); }

[hidden] { display: none !important; }

/* 申込完了 */
.ref-note { margin-top: 18px; font-weight: 800; }
.done, .already { margin: 26px auto 0; max-width: 620px; padding: 26px 20px; border-radius: 18px; background: #140a02; color: var(--tx); text-align: left; }
.done h3 { font-size: 26px; color: var(--o); }
.warn { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #5b2a00; font-weight: 800; font-size: 15px; }
.copy { margin-top: 18px; }
.copy-label { font-size: 14px; font-weight: 800; color: var(--o); }
.copy-line { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.copy-line code { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #000; font-family: Inter, monospace; font-size: 14px; overflow-wrap: anywhere; color: var(--tx); }
.copy-btn { flex: none; padding: 0 14px; border: 1px solid var(--o); border-radius: 10px; background: transparent; color: var(--o); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.done .cta, .already .cta { display: block; text-align: center; margin: 22px auto 0; max-width: 380px; background: var(--o); color: #140a02; }
.share { display: block; width: 100%; max-width: 380px; margin: 12px auto 0; padding: 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--tx); font: inherit; font-weight: 800; cursor: pointer; }
.already { text-align: center; font-weight: 800; }
.turnstile { display: flex; justify-content: center; margin-top: 14px; }

/* 個人ページなど */
body.sub { padding-bottom: 24px; background: radial-gradient(900px 600px at 50% 20%, rgba(255,122,0,.14), transparent 100%), var(--bg); background-attachment: fixed; }
.sub-main { max-width: 560px; margin: auto; padding: 24px 16px; }
.sub-date { margin-top: 12px; text-align: center; font-weight: 800; line-height: 1.4; }
.panel { margin-top: 18px; padding: 22px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.panel h1 { font-size: 24px; font-weight: 800; line-height: 1.3; margin: 0; }
.panel h2 { font-size: 20px; }
.panel p { margin-top: 8px; font-size: 15px; color: var(--sub); }
.panel .cta { display: block; width: 100%; text-align: center; margin-top: 16px; }
.qr-panel { text-align: center; }
.qr { width: min(100%, 280px); margin: 14px auto 0; padding: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.qr svg { display: block; width: 100%; height: auto; }
.tickets { font-size: 22px; font-weight: 800; color: var(--tx) !important; }
.tickets b { color: var(--o); font-size: 54px; line-height: 1.1; margin-right: 4px; }
.tickets.small b { font-size: 32px; margin: 0 2px; }
.sub-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--sub); }
.field { width: 100%; margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #000; color: var(--tx); font: inherit; font-size: 20px; font-weight: 700; letter-spacing: .08em; text-align: center; }
.panel .state { color: #ffb36b; font-weight: 800; }
.stats { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 16px 0 0; }
.stats dd { margin: 0; color: var(--o); font-size: 24px; font-weight: 800; }

/* 抽選 */
.draw-panel { text-align: center; border-color: var(--o); box-shadow: 0 0 44px rgba(255,122,0,.25); }
.panel .warn { color: var(--tx); }
.won { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.won li { display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 8px; border-radius: 10px; background: #0b0806; border: 1px solid var(--line); font-size: 22px; font-weight: 800; }
.won li img { width: 48px; height: 48px; flex: none; }
.sound-toggle { width: auto; margin: 12px auto 0; padding: 8px 18px; font-size: 14px; }
.won li.top { color: var(--o); border-color: var(--o); box-shadow: 0 0 24px rgba(255,122,0,.45); }
.won-total { font-weight: 800; color: var(--tx) !important; font-size: 18px; }
.won-total b { color: var(--o); font-size: 30px; }
.field.left { text-align: left; font-size: 16px; letter-spacing: 0; }

/* 受付 */
.cam { position: relative; overflow: hidden; border-radius: 16px; background: #000; aspect-ratio: 1; }
.cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-frame { position: absolute; inset: 14%; border: 4px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.rules { margin-top: 14px; color: var(--sub); font-size: 15px; }
.result { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #fff; }
.result b { font-size: clamp(56px, 18vw, 120px); font-weight: 800; line-height: 1.1; }
.result span { font-size: 22px; font-weight: 800; }
.result.ok { background: #0f8a3c; }
.result.warn { background: #d9a400; color: #1b1400; }
.result.bad { background: #b3261e; }

/* 管理 */
.cap-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
.cap-table th, .cap-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.cap-input { width: 78px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #000; color: var(--tx); font: inherit; }
.share.link { text-align: center; text-decoration: none; box-sizing: border-box; }

@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
  .nft { grid-template-columns: 1fr 1fr; }
  .gift { padding: 44px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps li { grid-template-rows: auto 1fr; align-content: start; }
  .prizes .top span, .prizes .top b { font-size: 76px; }
  .place-in { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
