/*
Theme Name: G.BOX
Template: s2rj-base
Version: 1.1.0
Description: G.BOX 1ページLP子テーマ。モック（モック/gbox-lp-mock.html）準拠。
*/

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

.logo-dot { color: var(--s2rj-lime); }
.nav-reserve {
	background: var(--s2rj-lime);
	color: var(--s2rj-ink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 6px 14px;
	text-decoration: none;
}

/* ─── HERO ─── */
.gbox-hero {
	height: 100svh;
	min-height: 600px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 24px 100px;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gbox-hero .hero-media {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0.55;
}
.gbox-hero .hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13,13,16,0.3) 0%, rgba(13,13,16,0.85) 70%, #0D0D10 100%);
}
.hero-tag { font-size: 10px; letter-spacing: 4px; color: var(--s2rj-lime); margin-bottom: 10px; position: relative; }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: 72px; line-height: .9; letter-spacing: 2px; margin: 0; position: relative; font-weight: 400; }
.hero-subtitle { font-size: 11px; letter-spacing: 3px; color: var(--s2rj-gray); margin-top: 8px; position: relative; }
.hero-divider { width: 40px; height: 2px; background: var(--s2rj-lime); margin: 14px 0; position: relative; border: 0; }
.hero-copy { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.8; position: relative; max-width: 280px; }
.hero-cta { display: flex; gap: 12px; margin-top: 24px; position: relative; }
.hero-cta .btn-primary { background: var(--s2rj-lime); color: var(--s2rj-ink); font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 12px 24px; text-decoration: none; }
.hero-cta .btn-outline2 { border: 1px solid rgba(196,240,0,0.5); color: var(--s2rj-lime); font-size: 11px; letter-spacing: 2px; padding: 12px 20px; text-decoration: none; }

/* ─── セクション共通（LP固有の見出し系） ─── */
body.gbox-lp section.lp-section { padding: 56px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.section-label { font-size: 9px; letter-spacing: 4px; color: var(--s2rj-lime); margin-bottom: 8px; }
.lp-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 36px;
	letter-spacing: 2px;
	margin: 0 0 16px;
	border-left: 3px solid var(--s2rj-lime);
	padding-left: 12px;
	font-weight: 400;
}
.section-text { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.9; }

/* ─── ABOUT 統計 ─── */
.about-stat-row { display: flex; margin-top: 28px; border: 1px solid rgba(255,255,255,0.08); }
.about-stat { flex: 1; padding: 16px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.about-stat:last-child { border-right: none; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--s2rj-lime); display: block; }
.about-stat .stat-label { font-size: 9px; color: var(--s2rj-gray); letter-spacing: 1px; margin-top: 2px; }

/* ─── HOURS ─── */
.hours-grid { margin-top: 20px; display: flex; flex-direction: column; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--s2rj-surface); border-bottom: 1px solid rgba(255,255,255,0.05); }
.hours-row:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.hours-day { font-size: 11px; letter-spacing: 1px; }
.hours-sub { font-size: 10px; color: var(--s2rj-gray); margin-top: 2px; }
.hours-badge { font-size: 9px; letter-spacing: 1px; padding: 3px 10px; font-weight: 700; }
.badge-bar { background: rgba(196,240,0,0.15); color: var(--s2rj-lime); }
.badge-club { background: rgba(220,30,50,0.15); color: var(--s2rj-red); }
.hours-time { font-size: 11px; color: var(--s2rj-gray); }
.price-row { display: flex; gap: 12px; margin-top: 16px; }
.price-card { flex: 1; padding: 16px; border: 1px solid rgba(255,255,255,0.08); background: var(--s2rj-surface); }
.price-type { font-size: 9px; color: var(--s2rj-gray); letter-spacing: 2px; margin-bottom: 6px; }
.price-amount { font-family: 'Bebas Neue', sans-serif; font-size: 28px; }
.price-amount span { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; color: var(--s2rj-gray); }
.price-charge { color: var(--s2rj-lime); }
.price-note { font-size: 10px; color: var(--s2rj-gray); margin-top: 4px; }

/* ─── MENU ─── */
.menu-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-tab { flex: 1; text-align: center; padding: 10px 0; font-size: 10px; letter-spacing: 2px; color: var(--s2rj-gray); border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; }
.menu-tab.active { color: var(--s2rj-lime); border-bottom-color: var(--s2rj-lime); }
.menu-recommend { background: var(--s2rj-surface); padding: 14px 16px; border-left: 3px solid var(--s2rj-lime); margin-bottom: 16px; }
.menu-rec-label { font-size: 9px; color: var(--s2rj-lime); letter-spacing: 2px; margin-bottom: 4px; }
.menu-rec-name { font-size: 13px; font-weight: 700; }
.menu-rec-price { font-size: 11px; color: var(--s2rj-gray); }
.menu-items { display: flex; flex-direction: column; }
.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.menu-item[hidden] { display: none; }
.menu-item-name { font-size: 13px; }
.menu-item-desc { font-size: 10px; color: var(--s2rj-gray); margin-top: 2px; }
.menu-item-price { font-size: 12px; white-space: nowrap; }

/* ─── EVENT ─── */
.gbox-event-card { background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px; position: relative; overflow: hidden; }
.gbox-event-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--s2rj-red); }
.event-card-inner { padding: 16px 16px 16px 20px; }
.gbox-event-card .event-date { font-family: 'Bebas Neue', sans-serif; font-size: 13px; color: var(--s2rj-red); letter-spacing: 2px; margin-bottom: 4px; }
.event-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.event-desc { font-size: 11px; color: var(--s2rj-gray); margin-bottom: 10px; }
.event-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.event-tag { font-size: 9px; letter-spacing: 1px; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.15); color: var(--s2rj-gray); }
.event-cta-row { display: flex; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.05); }
.event-link { font-size: 10px; letter-spacing: 2px; color: var(--s2rj-lime); text-decoration: none; }
.badge-soldout { background: var(--s2rj-red); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: 1px; padding: 2px 8px; }

/* ─── GALLERY ─── */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 20px; }
.gallery-item { aspect-ratio: 1; background: #1a1a1e; position: relative; overflow: hidden; }
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── ACCESS ─── */
.map-embed { width: 100%; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 20px; background: var(--s2rj-surface); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.access-info { display: flex; flex-direction: column; gap: 12px; }
.access-row { display: flex; gap: 12px; align-items: flex-start; }
.access-icon { width: 28px; height: 28px; background: rgba(196,240,0,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; }
.access-label { font-size: 9px; color: var(--s2rj-lime); letter-spacing: 2px; margin-bottom: 2px; }
.access-value { font-size: 12px; line-height: 1.6; }

/* ─── CONTACT ─── */
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.contact-channel { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; color: var(--s2rj-white); transition: border-color .2s; }
.contact-channel:hover { border-color: var(--s2rj-lime); }
.channel-icon { width: 36px; height: 36px; background: rgba(196,240,0,0.1); border: 1px solid rgba(196,240,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.channel-label { font-size: 9px; color: var(--s2rj-lime); letter-spacing: 2px; margin-bottom: 2px; }
.channel-value { font-size: 13px; font-weight: 700; }

/* ─── SNS ─── */
.sns-row { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.sns-btn { width: 48px; height: 48px; background: var(--s2rj-surface); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; color: var(--s2rj-white); transition: border-color .2s; }
.sns-btn:hover { border-color: var(--s2rj-lime); }
.sns-coming { display: inline-block; margin-top: 20px; padding: 12px 28px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.45); font-size: 12px; letter-spacing: 4px; }

/* ─── 固定CTA（LP幅に合わせる） ─── */
body.gbox-lp .fixed-cta { max-width: 430px; left: 50%; transform: translateX(-50%); }

/* ─── デスクトップ（1024px〜）: 1040pxコンテナ+セクション別グリッド ─── */
@media (min-width: 1024px) {
	body.gbox-lp { max-width: none; }
	body.gbox-lp .site-header { max-width: none; left: 0; transform: none; padding: 0 max(48px, calc((100% - 1040px) / 2)); }

	/* HERO: フルブリード背景+コンテナ揃えの左下コンテンツ */
	.gbox-hero { padding: 0 max(48px, calc((100% - 1040px) / 2)) 120px; min-height: 680px; }
	.hero-title { font-size: 128px; }
	.hero-subtitle { font-size: 13px; }
	.hero-copy { max-width: 460px; font-size: 15px; }
	.hero-cta .btn-primary, .hero-cta .btn-outline2 { font-size: 12px; padding: 14px 32px; }

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

	/* ABOUT: 本文1.2 : 統計0.8 の2カラム */
	#about { display: grid; grid-template-columns: 1.2fr 0.8fr; column-gap: 64px; }
	#about .section-label, #about .lp-title { grid-column: 1 / -1; }
	#about .about-stat-row { margin-top: 0; align-self: center; }

	/* HOURS: 営業時間 : 料金 の2カラム（料金は縦積み） */
	#hours { display: grid; grid-template-columns: 1.2fr 0.8fr; column-gap: 64px; }
	#hours .section-label, #hours .lp-title { grid-column: 1 / -1; }
	#hours .price-row { margin-top: 0; flex-direction: column; }

	/* MENU: タブ・おすすめは読み幅、品目は2カラム */
	#menu .menu-tabs, #menu .menu-recommend { max-width: 640px; }
	#menu .menu-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }

	/* EVENT: カード2カラム */
	#event { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	#event .section-label, #event .lp-title, #event > .section-text { grid-column: 1 / -1; }
	#event .gbox-event-card { margin-bottom: 0; }

	/* GALLERY: 4列ベント（1枚目を2x2の主役に、5枚でちょうど充填） */
	#gallery .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	#gallery .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

	/* ACCESS: 地図1.3 : 情報0.7 */
	#access { display: grid; grid-template-columns: 1.3fr 0.7fr; column-gap: 48px; align-items: start; }
	#access .section-label, #access .lp-title { grid-column: 1 / -1; }
	#access .map-embed { margin-bottom: 0; aspect-ratio: 16 / 9; }

	/* CONTACT: チャンネル横並び+フォームは読み幅 */
	#contact .contact-channels { flex-direction: row; max-width: 720px; }
	#contact .contact-channel { flex: 1; }
	#contact .s2rj-form { max-width: 720px; }

	/* 固定CTA: デスクトップはナビの「予約する」と CONTACT が担うため非表示 */
	body.gbox-lp .fixed-cta { display: none; }
	body.gbox-lp.has-fixed-cta { padding-bottom: 0; }
}
