/*
Theme Name: 3XS
Description: 3XS公式サイトのテーマ（黒・白・金）。順位表・日程の表示には「3XS League」プラグインが必要です。
Version: 0.1.15
Author: 3XS
Requires PHP: 7.4
Text Domain: xs3t
*/

:root {
	--bg: #0a0a0a;
	--bg-2: #0f0f0f;
	--surface: #121212;
	--head: #141414;
	--line: #262626;
	--line-2: #3a3a3a;
	--text: #ffffff;
	--text-2: #d0d0d0;
	--muted: #a3a3a3;
	--dim: #8c8c8c;
	--gold: #d4af5a;
	--font: 'Noto Sans JP', sans-serif;
	--display: 'Oswald', 'Noto Sans JP', sans-serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 16px; background: var(--gold); color: #0a0a0a; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section > .wrap { padding-top: 56px; padding-bottom: 56px; }

/* ---------- header ---------- */
.site-header { background: #000; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-logo img { display: block; height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; font-size: 14px; font-weight: 700; }
.site-nav .current-menu-item > a, .site-nav a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #333; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; border-bottom: 1px solid var(--line); }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
	.site-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid #1c1c1c; }
}

/* ---------- live band ---------- */
.live-band { display: block; background: var(--gold); color: #0a0a0a; }
.live-band:hover { color: #0a0a0a; opacity: .92; }
.live-band .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-size: 14px; font-weight: 700; }
.live-band .tag { font-family: var(--display); font-size: 13px; letter-spacing: .15em; padding: 0 8px; border: 1.5px solid #0a0a0a; border-radius: 3px; }
.live-band .more { margin-left: auto; }

/* ---------- headings ---------- */
.eyebrow { margin: 0; font-family: var(--display); font-size: 14px; letter-spacing: .3em; color: var(--gold); }
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 32px; }
.page-hero h1 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(44px, 7vw, 72px); line-height: 1.05; font-weight: 700; }
.page-hero h1 .ja, .sec-title .ja { font-family: var(--font); font-size: 18px; color: var(--muted); margin-left: 12px; font-weight: 700; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.sec-title { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1.2; font-weight: 700; }
.sec-title .ja { font-size: 15px; }
.more-link { font-size: 14px; font-weight: 700; color: var(--gold); }

/* ---------- buttons ---------- */
.btn, .xs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--gold); color: #0a0a0a; font-weight: 700; font-size: 15px; border-radius: 4px; border: 0; }
.btn:hover, .xs-btn:hover { color: #0a0a0a; opacity: .9; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn--ghost:hover { color: var(--gold); border-color: var(--gold); }
.xs-btn { width: 100%; margin-top: 16px; min-height: 48px; font-size: 14px; }
.xs-btn-outline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 14px; font-weight: 700; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, #1a1608 0%, var(--bg) 55%); }
.hero .wrap { padding-top: 88px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.hero-main { flex: 1 1 520px; min-width: 0; }
.hero.has-bg { position: relative; overflow: hidden; background: var(--bg); }
.hero.has-bg .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 文字側（左）をより暗くして読みやすく */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,var(--hero-dim, .6)) 60%), rgba(10,10,10,calc(var(--hero-dim, .6) * .5)); }.hero h1 { margin: 16px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 9vw, 112px); line-height: .95; }
.hero-lead { margin: 24px 0 0; font-size: 17px; color: #bdbdbd; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.next-card { flex: 0 1 380px; min-width: 0; border: 1px solid var(--gold); border-radius: 6px; padding: 28px; background: var(--bg-2); }
.next-card .title { margin: 12px 0 0; font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.2; }
.next-card dl { margin: 20px 0 0; display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 15px; }
.next-card dt { color: var(--muted); }
.next-card dd { margin: 0; }

/* ---------- tabs / chips ---------- */
.xs-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.xs-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.xs-tab.is-active, .xs-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); }
.chip.is-active { background: var(--text); color: #0a0a0a; border-color: var(--text); }

/* ---------- cards ---------- */
.xs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.xs-card { border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: var(--surface); }
.xs-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.xs-card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 700; }
.xs-card-row .s { font-family: var(--display); font-size: 28px; line-height: 1; }
.xs-card-row.is-lose { color: var(--dim); }
.xs-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-2); color: #bdbdbd; white-space: nowrap; text-align: center; }
.xs-badge.s-live { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.xs-badge.s-forfeit { border-color: var(--gold); color: var(--gold); }
.xs-badge.s-scheduled { border-color: var(--line); color: var(--dim); }
.xs-empty { color: var(--muted); margin: 24px 0 0; }

/* チーム名の横の小さなロゴ（黒いロゴも見えるよう白い台に載せる） */
.xs-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 2px; border-radius: 6px; background: #fff; vertical-align: middle; }
.xs-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.is-lose .xs-logo { opacity: .55; }
.xs-card-row .n, .xs-table .c-team a, .xs-compact .n, .xs-round-results .n, .xs-match .a, .xs-match .b { display: flex; align-items: center; gap: 10px; min-width: 0; }
.xs-table .c-team a { display: inline-flex; }
.xs-match .a { justify-content: flex-end; }
.xs-round-results .xs-logo { width: 24px; height: 24px; }

/* ---------- standings ---------- */
.xs-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.xs-asof { margin: 0; font-size: 13px; color: var(--muted); }
.xs-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.xs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.xs-standings-table { min-width: 900px; }
.xs-table th { background: var(--head); color: var(--muted); font-size: 12px; font-weight: 700; padding: 14px 6px; text-align: center; white-space: nowrap; }
.xs-table td { border-top: 1px solid var(--line); padding: 12px 6px; text-align: center; }
.xs-table tbody tr:nth-child(even) { background: var(--bg-2); }
.xs-table .c-rank { font-family: var(--display); font-size: 22px; width: 52px; }
.xs-table th.c-rank, .xs-table th.c-team { font-family: var(--font); font-size: 12px; }
.xs-table .c-team { text-align: left; font-weight: 700; font-size: 15px; white-space: nowrap; padding-left: 12px; }
.xs-table .c-total { font-family: var(--display); font-size: 22px; color: var(--gold); }
.xs-table th.c-total { color: var(--gold); font-family: var(--font); font-size: 12px; }
.xs-table .c-round { font-family: var(--display); font-size: 15px; width: 46px; line-height: 1.2; }
.xs-table .c-round small { display: block; font-family: var(--font); font-size: 10px; color: var(--dim); }
.xs-table .c-round.is-win { color: var(--gold); font-weight: 700; }
.xs-table .c-round.is-none { color: #555; }
.xs-table .c-round.is-absent { color: var(--dim); }
.xs-table .c-num { font-family: var(--display); font-size: 15px; }
.xs-table tr.is-top .c-rank { color: var(--gold); }
.xs-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--muted); }
.xs-legend .is-win { color: var(--gold); font-weight: 700; }

.xs-compact { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.xs-compact li { display: flex; align-items: center; gap: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.xs-compact .r { font-family: var(--display); font-size: 26px; width: 36px; }
.xs-compact .is-top .r { color: var(--gold); }
.xs-compact .n { flex: 1; font-weight: 700; }
.xs-compact .g { font-size: 13px; color: var(--muted); }
.xs-compact .p { font-family: var(--display); font-size: 26px; min-width: 80px; text-align: right; }
.xs-compact small, .xs-round-results small { font-size: 12px; color: var(--muted); margin-left: 3px; font-family: var(--font); }

/* ---------- schedule ---------- */
.xs-filters { display: inline-flex; margin: 0 12px 12px 0; vertical-align: middle; }
.xs-filters label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.xs-filters select { min-height: 44px; padding: 0 14px; background: var(--head); color: var(--text); border: 1px solid var(--line-2); border-radius: 4px; font: inherit; font-size: 14px; }
.xs-schedule > .xs-tabs { display: inline-flex; vertical-align: middle; margin-bottom: 12px; }
.xs-rounds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.xs-round-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 40px; padding: 0 10px; border-radius: 4px; font-family: var(--display); font-size: 15px; border: 1px solid var(--line-2); }
.xs-round-chip.s-upcoming { border-color: var(--line); color: var(--dim); }
.xs-round-chip.s-live { border-color: var(--gold); color: var(--gold); }
.xs-round-chip.is-active { background: var(--text); color: #0a0a0a; border-color: var(--text); font-weight: 700; }
/* ALL：全ディビジョンの月別日程 */
.xs-all { margin-top: 12px; border-top: 1px solid var(--line); }
.xs-all-month { margin-top: 36px; }
.xs-all-month h2 { margin: 0 0 12px; font-family: var(--display); font-size: 22px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.xs-all-month h2::before { content: ''; width: 4px; height: 20px; background: var(--gold); }
.xs-all-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.xs-all-row { display: grid; grid-template-columns: 92px 96px 110px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); transition: border-color .15s; }
.xs-all-row:hover { border-color: var(--gold); }
.xs-all-row.is-live { border-color: var(--gold); }
.xs-all-row .d { font-family: var(--display); font-size: 20px; }
.xs-all-row .d small { font-family: var(--font); font-size: 12px; color: var(--muted); margin-left: 2px; }
.xs-all-row .div { justify-self: start; font-family: var(--display); font-size: 12px; letter-spacing: .06em; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.xs-all-row .div-division1 { border-color: var(--gold); color: var(--gold); }
.xs-all-row .rd { font-family: var(--display); font-size: 17px; white-space: nowrap; }
.xs-all-row .v { font-size: 14px; color: #bdbdbd; min-width: 0; }
.xs-all-row .go { color: var(--muted); text-align: right; }
@media (max-width: 640px) {
	.xs-all-row { grid-template-columns: 64px auto minmax(0, 1fr) 16px; row-gap: 4px; gap: 10px; padding: 12px; }
	.xs-all-row .d { font-size: 17px; grid-row: 1 / 3; }
	.xs-all-row .v { grid-column: 2 / 4; grid-row: 2; font-size: 13px; }
	.xs-all-row .xs-badge { display: none; }
	.xs-all-row .go { grid-column: 4; grid-row: 1 / 3; }
}
.xs-round-body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 40px; }
.xs-round-main { flex: 999 1 600px; min-width: 0; }
.xs-round-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.xs-round-head h2 { margin: 6px 0 0; font-family: var(--display); font-size: 40px; line-height: 1.1; }
.xs-round-state { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.xs-round-state.s-done, .xs-round-state.s-live { color: var(--gold); }
.xs-round-where { margin: 6px 0 0; font-size: 14px; color: #bdbdbd; }
.xs-group { margin-top: 32px; }
.xs-group h3 { margin: 0 0 12px; font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.xs-group h3::before { content: ''; width: 4px; height: 16px; background: var(--gold); }
/* FIBA 3x3 から読んだ試合結果の出どころ */
.xs-fiba-credit { margin-top: 16px; }
.xs-fiba-credit a { color: inherit; }
/* LIVE配信・試合動画（YouTube） */
.xs-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 20px; background: #000; border-radius: 8px; overflow: hidden; }
.xs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.xs-match-list { display: flex; flex-direction: column; gap: 8px; }
.xs-match { display: grid; grid-template-columns: 56px minmax(0, 1fr) 120px minmax(0, 1fr) 76px; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.xs-match.s-live { border-color: var(--gold); }
.xs-match .t { font-family: var(--display); font-size: 14px; color: var(--muted); }
.xs-match .a { text-align: right; font-weight: 700; }
.xs-match .b { font-weight: 700; }
.xs-match .is-lose { color: var(--dim); }
.xs-match .sc { text-align: center; font-family: var(--display); font-size: 26px; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 640px) {
	.xs-match { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 4px; padding: 12px; }
	.xs-match .t { grid-column: 1 / 3; }
	.xs-match .xs-badge { grid-column: 3; grid-row: 1; justify-self: end; }
	.xs-match .sc { font-size: 22px; }
	.xs-match .a, .xs-match .b { gap: 6px; font-size: 14px; }
	.xs-match .xs-logo { width: 22px; height: 22px; }
}
.xs-round-results { flex: 1 1 320px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); padding: 24px; }
.xs-round-results h2 { margin: 0; font-size: 17px; }
.xs-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.xs-round-results ol { list-style: none; margin: 16px 0 0; padding: 0; }
.xs-round-results li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #222; }
.xs-round-results .r { font-family: var(--display); font-size: 18px; width: 28px; }
.xs-round-results .is-top .r { color: var(--gold); }
.xs-round-results .n { flex: 1; font-weight: 700; font-size: 14px; }
.xs-round-results .p { font-family: var(--display); font-size: 16px; }

/* ---------- front: standings + event ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split > .wide { flex: 1 1 560px; }
.tab-panel[hidden] { display: none; }
.event-card { display: block; margin-top: 24px; border: 1px solid var(--gold); border-radius: 6px; overflow: hidden; background: var(--bg); }
.event-card .visual { aspect-ratio: 16 / 7; background: repeating-linear-gradient(135deg, #17140b 0 14px, #1e1a0e 14px 28px); }
.event-card .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card .body { padding: 24px; }
.event-card .name { margin: 8px 0 0; font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.2; }
.event-card .when { margin: 12px 0 0; font-size: 14px; color: #bdbdbd; }

/* ---------- news ---------- */
.news-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 24px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.news-list .d { font-family: var(--display); font-size: 15px; color: var(--muted); width: 96px; }
.news-list .c { font-size: 12px; font-weight: 700; color: var(--gold); border: 1px solid var(--gold); border-radius: 3px; padding: 2px 10px; min-width: 56px; text-align: center; }
.news-list .tt { flex: 1 1 320px; font-weight: 500; }
.pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 4px; }
.pagination .current { background: var(--text); color: #0a0a0a; }

/* ---------- link cards ---------- */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.link-card { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 28px; background: var(--surface); }
.link-card .t { margin: 10px 0 0; font-size: 20px; font-weight: 700; }
.link-card .d { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- content ---------- */
.content { max-width: 820px; }
.content > * + * { margin-top: 1.2em; }
.content h2 { font-size: 24px; margin-top: 2em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.content h3 { font-size: 19px; margin-top: 1.6em; }
.content a { color: var(--gold); text-decoration: underline; }
.content table { width: 100%; border-collapse: collapse; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.content th { background: var(--head); }
.content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--gold); color: var(--text-2); }
.post-meta { display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.post-meta .c { color: var(--gold); border: 1px solid var(--gold); border-radius: 3px; padding: 2px 10px; font-size: 12px; font-weight: 700; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 20px; }
.team-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); text-align: center; font-weight: 700; font-size: 14px; }
.team-logo { width: 72px; height: 72px; border-radius: 999px; background: #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--dim); font-family: var(--display); font-size: 22px; }
.team-logo img { width: 100%; height: 100%; object-fit: contain; }
/* ロゴ画像は黒い文字のものも多いので、白い角丸の台に載せる */
.team-logo.has-img { background: #fff; border-radius: 14px; padding: 6px; }
.team-hero .team-logo.has-img { border-radius: 20px; padding: 10px; }
.team-hero .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.team-hero .team-logo { width: 120px; height: 120px; font-size: 36px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: var(--surface); }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-family: var(--display); font-size: 36px; line-height: 1.2; }
.stat .v.gold { color: var(--gold); }
.roster { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.roster li { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; }
.roster .no { font-family: var(--display); font-size: 22px; color: var(--gold); min-width: 32px; }

/* ---------- event ---------- */
.event-hero { border-bottom: 1px solid var(--gold); background: repeating-linear-gradient(135deg, #12100a 0 18px, #17140b 18px 36px); background-size: cover; background-position: center; position: relative; }
.event-hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.4)); }
.event-hero .wrap { position: relative; padding-top: 80px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.event-hero h1 { margin: 12px 0 0; font-family: var(--display); font-size: clamp(44px, 7vw, 84px); line-height: 1; font-weight: 700; }
.event-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.event-facts span { display: block; font-size: 12px; color: var(--muted); }
.event-facts b { font-weight: 700; }
.event-ctas { display: flex; flex-direction: column; gap: 10px; flex: 0 1 300px; }
.subnav { background: #000; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; font-size: 14px; font-weight: 700; }
.subnav a { padding: 16px; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { border-bottom-color: var(--gold); }
.facts { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); border-top: 1px solid var(--line); font-size: 14px; }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.ticket-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.ticket { border: 1px solid var(--line); border-radius: 6px; padding: 28px; background: var(--surface); }
.ticket:first-child { border-color: var(--gold); }
.ticket .k { margin: 0; font-size: 13px; color: var(--gold); font-weight: 700; }
.ticket .v { margin: 10px 0 0; font-family: var(--display); font-size: 32px; }
.ticket .d { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 480px) {
	.wrap { padding: 0 16px; }
	.sec-title { font-size: 32px; }
	.hero .wrap { padding-top: 56px; padding-bottom: 48px; }
	.xs-compact li { gap: 12px; }
	.xs-compact .g { display: none; }
	.footer-nav ul { grid-template-columns: repeat(2, minmax(0, auto)); }
}

/* ---------- sponsors ---------- */
/* ロゴは白い台に載せる（黒や紺のロゴも見えるように）。ランクで台の大きさを変える */
.xs-sp-item { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 10px 14px; width: 100%; height: 100%; transition: transform .15s; }
a.xs-sp-item:hover { transform: translateY(-2px); }
.xs-sp-item img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.xs-sp-name { color: #111; font-weight: 700; font-size: 14px; text-align: center; }
.xs-sponsors { margin-top: 28px; display: flex; flex-direction: column; gap: 32px; }
.xs-sp-label { margin: 0 0 14px; font-family: var(--display); font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.xs-sp-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.t-title .xs-sp-grid > * { width: 320px; height: 140px; }
.t-official .xs-sp-grid > * { width: 240px; height: 104px; }
.t-support .xs-sp-grid > * { width: 190px; height: 84px; }
.sponsor-band { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0; }
.sponsor-band .eyebrow { font-size: 12px; letter-spacing: .2em; margin-bottom: 16px; }
.xs-sp-band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* ページ下部の帯はランクに関係なく同じ大きさ */
.xs-sp-band > div { width: 160px; height: 64px; }
.xs-sp-band .xs-sp-item { padding: 6px 10px; border-radius: 6px; }
.xs-sp-banner { position: relative; margin-bottom: 32px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.xs-sp-banner .xs-sp-slide { display: block; }
.xs-sp-banner .xs-sp-slide[hidden] { display: none; }
.xs-sp-banner img { display: block; width: 100%; height: auto; }
.xs-sp-pr { position: absolute; right: 8px; bottom: 6px; font-size: 10px; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 3px; }
@media (max-width: 640px) {
	.t-title .xs-sp-grid > * { width: 100%; height: 120px; }
	.t-official .xs-sp-grid > * { width: calc(50% - 8px); height: 84px; }
	.t-support .xs-sp-grid > * { width: calc(50% - 8px); height: 70px; }
	.xs-sp-band > div { width: calc(33.333% - 8px); height: 52px; }
}

/* ---------- footer ---------- */
.site-footer { background: #000; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-top: 48px; padding-bottom: 32px; }
.site-footer .logo img { height: 48px; width: auto; display: block; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 12px 40px; font-size: 14px; }
.site-footer .copy { border-top: 1px solid #1f1f1f; padding-top: 20px; padding-bottom: 32px; font-size: 12px; color: var(--dim); }
