/*
Theme Name: GATE ONE
Template: s2rj-base
Version: 1.1.0
Description: GATE ONE イベントLP子テーマ。モック（モック/gateone-lp-mock.png）準拠。7/3先行公開対応の単独LP。
*/

/* ─── LP全体: モバイル430px中央寄せ ─── */
body.gateone-lp { max-width: 430px; margin: 0 auto; font-size: 14px; line-height: 1.7; }
body.gateone-lp .site-header { max-width: 430px; left: 50%; transform: translateX(-50%); position: fixed; width: 100%; }
body.gateone-lp .site-main { padding-top: 0; }

/* ─── 00 HERO（CM動画フルスクリーン） ─── */
.go-hero { height: 100svh; min-height: 600px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 24px 90px; }
.go-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.go-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.75); }
.go-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,16,.5) 0%, rgba(13,13,16,.4) 48%, rgba(13,13,16,.85) 80%, #0D0D10 100%); }
.go-hero .hero-logo { font-family: 'Bebas Neue', sans-serif; font-size: 84px; line-height: .85; letter-spacing: 3px; color: #fff; position: relative; margin: 0; transform: rotate(-2deg); text-shadow: 3px 3px 0 rgba(196,240,0,.35); font-weight: 400; }
.go-hero .hero-tagline { position: relative; font-size: 11px; letter-spacing: 3px; color: var(--s2rj-lime); margin-top: 14px; border-top: 1px solid rgba(196,240,0,.4); border-bottom: 1px solid rgba(196,240,0,.4); padding: 6px 0; display: inline-block; }
.go-hero .hero-note { position: relative; font-size: 12px; color: rgba(255,255,255,.8); margin-top: 10px; }

/* ─── セクション共通 ─── */
body.gateone-lp section.lp-section { padding: 56px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
.go-num { font-family: 'Bebas Neue', sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--s2rj-ink); background: var(--s2rj-lime); padding: 2px 8px; display: inline-block; margin-bottom: 8px; }
.go-label { font-size: 9px; letter-spacing: 4px; color: var(--s2rj-lime); margin-bottom: 8px; }
.go-title { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 2px; margin: 0 0 16px; border-left: 3px solid var(--s2rj-lime); padding-left: 12px; font-weight: 400; }
.go-text { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.9; }

/* ─── 01 キャッチ ─── */
.go-catch { font-size: 22px; font-weight: 900; line-height: 1.6; margin: 0 0 12px; }
.go-catch .stroke { color: var(--s2rj-lime); }

/* ─── 02 カウントダウン ─── */
.go-next-date { font-family: 'Bebas Neue', sans-serif; font-size: 40px; letter-spacing: 2px; color: #fff; margin: 8px 0 2px; }
.go-next-meta { font-size: 11px; color: var(--s2rj-gray); letter-spacing: 1px; }
.countdown { display: flex; gap: 8px; margin: 20px 0 14px; }
.cd-box { flex: 1; background: var(--s2rj-surface); border: 1px solid rgba(196,240,0,.25); text-align: center; padding: 12px 4px 8px; }
.cd-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--s2rj-lime); line-height: 1; display: block; }
.cd-unit { font-size: 9px; color: var(--s2rj-gray); letter-spacing: 2px; }
.go-ticket-line { display: flex; justify-content: space-between; font-size: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.go-ticket-line .price { color: var(--s2rj-lime); font-weight: 700; }
.go-seats { font-size: 11px; color: var(--s2rj-red); font-weight: 700; margin-top: 6px; }

/* ─── 03 イベント概要 ─── */
.go-overview { display: flex; flex-direction: column; gap: 10px; }
.ov-card { background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,.07); padding: 14px 16px; display: flex; gap: 12px; }
.ov-icon { width: 34px; height: 34px; flex-shrink: 0; background: rgba(196,240,0,.1); border: 1px solid rgba(196,240,0,.25); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.ov-head { font-size: 10px; letter-spacing: 2px; color: var(--s2rj-lime); margin-bottom: 2px; }
.ov-body { font-size: 12px; line-height: 1.7; }

/* ─── 04 出演アーティスト ─── */
.go-lineup { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.lineup-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--s2rj-surface); }
.lineup-card img { width: 100%; height: 100%; object-fit: cover; }
.lineup-card .lineup-meta { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(13,13,16,.95)); padding: 18px 8px 6px; }
.lineup-name { font-size: 11px; font-weight: 700; line-height: 1.3; }
.lineup-genre { font-size: 9px; color: var(--s2rj-lime); letter-spacing: 1px; }
.go-lineup-empty { background: var(--s2rj-surface); border: 1px dashed rgba(196,240,0,.35); padding: 24px 16px; text-align: center; }
.go-lineup-empty .coming { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 3px; color: var(--s2rj-lime); }

/* ─── 05 過去レポート ─── */
.report-list { display: flex; flex-direction: column; gap: 10px; }
.report-card { display: flex; gap: 12px; background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.report-thumb { width: 130px; flex-shrink: 0; aspect-ratio: 16/10; overflow: hidden; position: relative; }
.report-thumb img { width: 100%; height: 100%; object-fit: cover; }
.report-thumb::after { content: '▶'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--s2rj-lime); font-size: 18px; background: rgba(13,13,16,.35); }
.report-body { padding: 10px 10px 10px 0; }
.report-date { font-family: 'Bebas Neue', sans-serif; font-size: 12px; color: var(--s2rj-red); letter-spacing: 2px; }
.report-title { font-size: 12px; font-weight: 700; line-height: 1.5; margin: 2px 0; }
.report-artists { font-size: 10px; color: var(--s2rj-gray); }

/* ─── 06 応募ステップ ─── */
.go-steps { display: flex; gap: 8px; margin: 16px 0; }
.step-box { flex: 1; background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,.08); text-align: center; padding: 14px 6px; position: relative; }
.step-no { font-family: 'Bebas Neue', sans-serif; font-size: 11px; color: var(--s2rj-lime); letter-spacing: 2px; }
.step-icon { font-size: 20px; margin: 6px 0; }
.step-label { font-size: 10px; line-height: 1.5; }
.go-apply-points { background: var(--s2rj-surface); border-left: 3px solid var(--s2rj-lime); padding: 12px 14px; margin: 14px 0; }
.go-apply-points li { font-size: 11px; color: rgba(255,255,255,.75); margin-left: 16px; }
.go-apply-points .pt-head { font-size: 10px; letter-spacing: 2px; color: var(--s2rj-lime); margin-bottom: 6px; }
.btn-apply { display: flex; align-items: center; justify-content: center; background: var(--s2rj-lime); color: #000; font-size: 14px; font-weight: 900; letter-spacing: 3px; min-height: 52px; text-decoration: none; margin-top: 8px; }

/* ─── 07 チケット ─── */
.ticket-card { background: var(--s2rj-surface); border: 1px solid rgba(196,240,0,.3); padding: 18px 16px; text-align: center; }
.ticket-brand { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; }
.ticket-price { font-size: 12px; color: var(--s2rj-gray); margin: 6px 0 14px; }
.ticket-price b { color: var(--s2rj-lime); font-size: 16px; }
.btn-ticket { display: flex; align-items: center; justify-content: center; background: var(--s2rj-lime); color: #000; font-size: 13px; font-weight: 900; letter-spacing: 2px; min-height: 48px; text-decoration: none; }
.btn-ticket.is-disabled { background: var(--s2rj-field); color: var(--s2rj-gray); pointer-events: none; }
.ticket-note { font-size: 10px; color: var(--s2rj-gray); margin-top: 10px; }

/* ─── 08 アクセス ─── */
.go-access-card { background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,.07); padding: 16px; }
.go-access-name { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 2px; margin-bottom: 4px; }
.go-access-addr { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.7; }
.btn-gbox { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--s2rj-lime); color: var(--s2rj-lime); font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 10px 22px; text-decoration: none; margin-top: 12px; }
.btn-gbox:hover { background: var(--s2rj-lime); color: #000; }

/* ─── 09 主催者+SNS ─── */
.go-organizer { display: flex; align-items: center; gap: 14px; background: var(--s2rj-surface); padding: 16px; border: 1px solid rgba(255,255,255,.07); }
.org-logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; border-left: 3px solid var(--s2rj-lime); padding-left: 10px; }
.org-meta { font-size: 10px; color: var(--s2rj-gray); letter-spacing: 1px; }

/* ─── 固定応募CTA ─── */
body.gateone-lp .fixed-cta { max-width: 430px; left: 50%; transform: translateX(-50%); }
body.gateone-lp .fixed-cta .cta-main { font-weight: 900; letter-spacing: 3px; }

/* ─── デスクトップ（1024px〜）: 1040pxコンテナ+ポスター級ヒーロー ─── */
@media (min-width: 1024px) {
	body.gateone-lp { max-width: none; }
	body.gateone-lp .site-header { max-width: none; left: 0; transform: none; padding: 0 max(48px, calc((100% - 1040px) / 2)); }

	/* HERO: CM動画フルブリード+ロゴをポスタースケールに */
	.go-hero { padding: 0 max(48px, calc((100% - 1040px) / 2)) 110px; }
	.go-hero .hero-logo { font-size: 150px; }
	.go-hero .hero-tagline { font-size: 13px; }
	.go-hero .hero-note { font-size: 14px; }

	body.gateone-lp section.lp-section { padding: 96px max(48px, calc((100% - 1040px) / 2)); }
	.go-title { font-size: 48px; }
	.go-text { font-size: 14px; max-width: 64ch; }

	/* 01 キャッチ */
	.go-catch { font-size: 40px; }

	/* 02 カウントダウン: 数字を主役に */
	.go-next-date { font-size: 72px; }
	.countdown { max-width: 600px; }
	.cd-num { font-size: 64px; }
	.go-ticket-line { max-width: 600px; }

	/* 03 概要: 非対称トリオ（コンセプトを主役に） */
	.go-overview { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }

	/* 04 出演者: 6列1段 */
	.go-lineup { grid-template-columns: repeat(6, 1fr); gap: 10px; }
	.go-lineup-empty { max-width: 640px; }

	/* 05 レポート: 件数に追従する横並びカード */
	.report-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
	.report-card { flex-direction: column; }
	.report-thumb { width: 100%; }
	.report-body { padding: 14px 16px; }

	/* 06 応募: ステップ・要点・フォームは読み幅 */
	.go-steps, .go-apply-points { max-width: 640px; }
	#entry .s2rj-form { max-width: 720px; }

	/* 07-09: カード幅制御 */
	.ticket-card { max-width: 560px; }
	.go-access-card { max-width: 640px; }
	.go-organizer { max-width: 640px; }

	/* 固定応募CTA: 右下フローティング（応募導線はLPの核なので維持） */
	body.gateone-lp .fixed-cta {
		max-width: none;
		width: 300px;
		left: auto;
		right: 32px;
		bottom: 32px;
		transform: none;
		border: 1px solid rgba(196, 240, 0, 0.35);
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
	}
	body.gateone-lp.has-fixed-cta { padding-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════
   HYPER SCROLL トンネル（00 HERO + 01 CATCH を内包）
   JS有効時: html.hs-on でトンネル表示・.hs-fallback 非表示
   JS無効/reduced-motion時: トンネル非表示・フォールバックヒーロー表示
   ═══════════════════════════════════════════════════════════ */

/* デフォルト（JS無効）はトンネルを隠す */
.hs-wrap { display: none; }
html.hs-on .hs-wrap { display: block; }
html.hs-on .hs-fallback { display: none; }

@media (prefers-reduced-motion: reduce) {
	.hs-wrap { display: none !important; }
	.hs-fallback { display: block !important; }
}

/* body 430px 制限をフルブリードで突破（デスクトップでは実質0補正） */
.hs-wrap {
	height: 560vh;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	cursor: crosshair;
}

.hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--s2rj-ink, #0D0D10); }
.hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.7) brightness(.75); z-index: 0; }

/* CM動画背景（暗め） */
.hs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.hs-video-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(13,13,16,.62), rgba(13,13,16,.92) 80%); }

/* オーバーレイ群 */
.hs-scanlines { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.2)); background-size: 100% 4px; pointer-events: none; z-index: 10; }
.hs-vignette { position: absolute; inset: 0; background: radial-gradient(circle, transparent 40%, #000 120%); z-index: 11; pointer-events: none; }
.hs-noise { position: absolute; inset: 0; z-index: 12; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }

/* HUD */
.hs-hud { position: absolute; inset: 2rem; z-index: 20; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; font-family: 'Inter', monospace; font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,.5); text-transform: uppercase; }
.hs-hud-top, .hs-hud-bottom { display: flex; justify-content: space-between; align-items: center; }
.hs-hud strong { color: var(--s2rj-lime, #C4F000); }
.hs-hud-line { flex: 1; height: 1px; background: rgba(255,255,255,.2); margin: 0 1rem; position: relative; }
.hs-hud-line::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; background: var(--s2rj-red, #DC1E32); }
.hs-hud-side { align-self: flex-start; margin-top: auto; margin-bottom: auto; writing-mode: vertical-rl; transform: rotate(180deg); }

.hs-scroll-hint { position: absolute; bottom: 4.5rem; left: 50%; transform: translateX(-50%); z-index: 20; font-size: 9px; letter-spacing: 6px; color: var(--s2rj-lime, #C4F000); pointer-events: none; animation: hs-blink 1.6s steps(2) infinite; white-space: nowrap; }
@keyframes hs-blink { 50% { opacity: .15; } }

/* 3Dシーン */
.hs-viewport { position: absolute; inset: 0; perspective: 1000px; overflow: hidden; z-index: 1; }
.hs-world { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; will-change: transform; }
.hs-item { position: absolute; left: 0; top: 0; backface-visibility: hidden; transform-origin: center center; display: flex; align-items: center; justify-content: center; opacity: 0; }

/* ヒーローロゴ */
.hs-hero-logo { text-align: center; transform: translate(-50%, -50%) rotate(-2deg); pointer-events: none; }
.hs-glogo { font-family: 'Bebas Neue', sans-serif; font-size: clamp(5rem, 16vw, 9rem); line-height: .85; color: #fff; letter-spacing: 4px; text-shadow: 4px 4px 0 rgba(196,240,0,.35); margin: 0; font-weight: 400; }
.hs-gtag { display: inline-block; font-size: 11px; letter-spacing: 3px; color: var(--s2rj-lime, #C4F000); margin-top: 16px; border-top: 1px solid rgba(196,240,0,.4); border-bottom: 1px solid rgba(196,240,0,.4); padding: 6px 10px; }

/* 巨大ストロークテキスト */
.hs-big { font-family: 'Bebas Neue', sans-serif; font-size: 17vw; color: transparent; -webkit-text-stroke: 2px rgba(196,240,0,.25); text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%); pointer-events: none; letter-spacing: .2rem; mix-blend-mode: screen; }
.hs-big.is-jp { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 10vw; -webkit-text-stroke: 1.5px rgba(255,255,255,.3); letter-spacing: 1rem; }
.hs-big.is-red { -webkit-text-stroke: 2px rgba(220,30,50,.4); }

/* カード */
.hs-card { width: min(300px, 78vw); min-height: 380px; background: rgba(20,20,24,.45); border: 1px solid rgba(255,255,255,.1); position: relative; padding: 1.8rem; display: flex; flex-direction: column; box-sizing: border-box; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 20px 50px rgba(0,0,0,.5); transform: translate(-50%, -50%); }
.hs-card::before, .hs-card::after { content: ''; position: absolute; width: 10px; height: 10px; border: 1px solid transparent; }
.hs-card::before { top: -1px; left: -1px; border-top-color: #e0e0e0; border-left-color: #e0e0e0; }
.hs-card::after { bottom: -1px; right: -1px; border-bottom-color: #e0e0e0; border-right-color: #e0e0e0; }
.hs-card-header { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: .9rem; margin-bottom: .9rem; display: flex; justify-content: space-between; align-items: center; }
.hs-card-id { font-family: 'Inter', monospace; color: var(--s2rj-lime, #C4F000); font-size: .75rem; letter-spacing: 1px; }
.hs-card.is-red .hs-card-id { color: var(--s2rj-red, #DC1E32); }
.hs-dot { width: 10px; height: 10px; background: var(--s2rj-lime, #C4F000); }
.hs-card.is-red .hs-dot { background: var(--s2rj-red, #DC1E32); }
.hs-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; line-height: .92; margin: 0; text-transform: uppercase; font-weight: 400; letter-spacing: 1px; color: #fff; border: none; padding: 0; }
.hs-card-title.is-jp { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 1.7rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.hs-card-date { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: var(--s2rj-lime, #C4F000); letter-spacing: 2px; line-height: 1; margin-top: .6rem; }
.hs-card-jp { font-size: .76rem; line-height: 1.95; color: rgba(255,255,255,.75); margin: .9rem 0 0; }
.hs-card-foot { margin-top: auto; padding-top: 1rem; font-family: 'Inter', monospace; font-size: .65rem; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; }
.hs-card-foot .tag { color: var(--s2rj-lime, #C4F000); }
.hs-card-num { position: absolute; bottom: 1.5rem; right: 1.5rem; font-size: 3.6rem; opacity: .1; font-family: 'Bebas Neue', sans-serif; }

/* 星 */
.hs-star { position: absolute; width: 2px; height: 2px; background: #fff; transform: translate(-50%, -50%); }

/* トンネル直後のLP開始境界 */
html.hs-on .hs-wrap + .hs-fallback + .hs-fallback + .lp-section,
html.hs-on #next { border-top: 1px solid rgba(196,240,0,.35); }

/* ---- ギャラリーの拡大表示（lightbox.js が使う） ---- */
/* 別タブで原寸を開くとスマホで戻る操作が要るので、同じページ内で開いて閉じる。 */
.lb { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(13,13,16,.94); color: #fff; }
.lb::backdrop { background: rgba(13,13,16,.94); }
.lb-figure { margin: 0; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 16px 28px; }
.lb-figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-caption { font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 2px; color: var(--s2rj-gray); }
.lb-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 64px; background: rgba(13,13,16,.5); border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.lb-close:hover, .lb-nav:hover { color: var(--s2rj-lime); }
.lb-nav[hidden] { display: none; }

/* 拡大できることを示す。タップ端末では出ないので、位置だけで察せる形にしてある。 */
[data-lb] { cursor: zoom-in; display: block; }

@media (min-width: 900px) {
	.lb-figure { padding: 64px 72px 32px; }
	.lb-prev { left: 12px; }
	.lb-next { right: 12px; }
}
