/*
Theme Name: League H Full Integrated
Author: AI Partner
Description: リーグH プレーオフ完全統合テーマ (透け感・グラスモーフィズム対応版)
Version: 8.0
*/

/* =========================================
   1. 共通設定 (Common & Variables)
   ========================================= */
:root {
    /* Colors (KVベースに変更) */
    --bg-color: #00215b; /* ベースの深い紺 */
    --card-bg: rgba(255, 255, 255, 0.05); /* カード背景等は紺に馴染む半透明の白に */
    --gold: #c9bc9c; /* KVのゴールド */
    --gold-dim: rgba(201, 188, 156, 0.3);
    --gold-hover: #e3d8ba;
    --gold-gradient: linear-gradient(135deg, #c9bc9c 0%, #e3d8ba 50%, #c9bc9c 100%);
    --text-white: #ffffff;
    --text-gray: #cccccc; /* 紺背景に合わせて少し明るく */
    
    /* 男女タブカラー */
    --color-women: #e1841a; /* オレンジ */
    --color-men: #00948c;   /* エメラルド */

    /* Ticket Stage Colors (既存キープ) */
    --color-qf: #00ff6a;
    --bg-qf: linear-gradient(180deg, rgba(0, 77, 38, 0.8) 0%, rgba(0, 38, 19, 0.8) 100%);
    
    --color-sf: #00aaff;
    --bg-sf: linear-gradient(180deg, rgba(0, 38, 77, 0.8) 0%, rgba(0, 19, 38, 0.8) 100%);
    
    --color-final: #ff3333;
    --bg-final: linear-gradient(180deg, rgba(77, 0, 0, 0.8) 0%, rgba(38, 0, 0, 0.8) 100%);

    /* Fonts (すべてNoto Sans JPに統一) */
    --font-en: 'Noto Sans JP', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-jp-serif: 'Noto Sans JP', sans-serif;
    --font-jp-antique: 'Noto Sans JP', sans-serif;
    --font-base: 'Noto Sans JP', sans-serif;

    /* Bracket Settings */
    --line-width: 2px;
    --card-height: 120px;
    --gap-vertical: 60px;
    --col-width: 280px;
}
/* =========================================
   表示切り替え用クラス（PCのみ / スマホのみ）
   ========================================= */
@media (min-width: 786px) {
    .sp-only { display: none !important; }
}
@media (max-width: 785px) {
    .pc-only { display: none !important; }
}
body {
    margin: 0; padding: 0;
    /* background2.jpgを固定で敷き詰める */
    background-color: #000814;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    
    color: var(--text-white);
    font-family: var(--font-base);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* 共通ヘッダースタイル */
.section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }

.section-title-en { 
    font-size: clamp(1.8rem, 7.5vw, 3rem); 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    color: #fff; 
    margin: 0; 
    text-transform: uppercase; 
    text-shadow: 0 0 30px rgba(0, 180, 216, 0.5); 
}

/* 日本語サブタイトルを太文字化 */
.section-title-jp { font-family: var(--font-jp-antique); color: var(--gold); font-size: 1rem; font-weight: 700; letter-spacing: 0.3em; display: block; margin-top: 10px; }

/* 共通タブスタイル */
.division-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; }
.tab-btn { flex: 1; max-width: 300px; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); color: #aaa; padding: 15px 0; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em; cursor: pointer; transition: 0.3s; text-align: center; border-radius: 4px; }
.tab-btn.women:hover, .tab-btn.women.active { border-color: var(--color-women); color: #fff; }
.tab-btn.women.active { background: rgba(225, 132, 26, 0.2); box-shadow: 0 0 20px rgba(225, 132, 26, 0.4); }
.tab-btn.men:hover, .tab-btn.men.active { border-color: var(--color-men); color: #fff; }
.tab-btn.men.active { background: rgba(0, 148, 140, 0.2); box-shadow: 0 0 20px rgba(0, 148, 140, 0.4); }

/* タブ内改行制御 */
.tab-break { display: inline; }

/* =========================================
   グラスモーフィズム（すりガラス効果）の共通付与
   ========================================= */
.match-list-item, 
.ticket-info-block, 
.venue-card, 
.live-card, 
.live-card-static,
.event-card, 
.sp-match-card, 
.match-card,
.view-table-wrapper,
.pc-price-table-wrapper,
.mobile-price-content,
.table-wrapper {
    background: rgba(255, 255, 255, 0.05); /* 薄い白膜 */
    backdrop-filter: blur(10px); /* すりガラス効果 */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* 光の反射のような枠線 */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}


/* =========================================
   1. ヘッダーセクション
   ========================================= */
header {
    width: 100%; background-color: rgba(0, 18, 51, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: fixed; top: 0; left: 0;
    z-index: 1000; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    height: 80px;
}
.header-inner { max-width: 1400px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.header-logo { display: flex; align-items: center; margin-right: 40px; flex-shrink: 0; }
.header-logo img { height: 60px; width: auto; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)); }
.header-nav { display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; }
.nav-group-container { display: flex; align-items: center; gap: 20px; } 
.nav-item { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; color: #fff; position: relative; padding: 5px 0; white-space: nowrap; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 1px; background-color: var(--gold); transition: 0.3s; }
.nav-item:hover { color: var(--gold); }
.nav-item:hover::after { width: 100%; }
.external-icon { display: inline-block; width: 12px; height: 12px; margin-left: 4px; fill: currentColor; vertical-align: middle; }
.hamburger-btn { display: none; width: 30px; height: 24px; position: relative; background: transparent; border: none; cursor: pointer; z-index: 1002; padding: 0; }
.hamburger-btn span { position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--gold); transition: 0.4s; }
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-btn span:nth-child(3) { bottom: 0; }
.hamburger-btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }


/* =========================================
   2. ヒーローセクション
   ========================================= */
.hero { 
    position: relative; 
    width: 100%; 
    height: auto; 
    min-height: auto; 
    overflow: hidden; 
    display: block;
    padding-top: 80px; 
    background-color: transparent;
}
.hero-visual { width: 100%; line-height: 0; }
.hero-visual img { width: 100%; height: auto; display: block; }

/* =========================================
   2.5 サブナビゲーションバー (KV直下)
   ========================================= */
.sub-nav-bar { 
    background-color: #ffffff; 
    width: 100%; 
    position: relative; 
    z-index: 10; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}
.sub-nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    flex-wrap: wrap; /* はみ出たら折り返す設定 */
    justify-content: center; 
    align-items: center; 
    gap: 15px 30px; /* 縦と横の隙間 */
    padding: 15px 20px; 
}
.sub-nav-item { 
    color: var(--bg-color); 
    font-weight: 700; 
    font-size: 0.95rem; 
    letter-spacing: 0.05em; 
    transition: 0.3s; 
    text-decoration: none; 
    display: block; 
}
.sub-nav-item:hover { 
    color: var(--gold); 
}


/* =========================================
   3. 概要セクション
   ========================================= */
.concept-section { position: relative; padding: 100px 0; background-color: rgba(0, 8, 20, 0.6); overflow: hidden; display: flex; justify-content: center; }
.concept-bg-pattern { display: none; }
.concept-title-area { margin-bottom: 30px; width: 100%; text-align: center; }

/* キャッチコピー画像用のスタイル */
.concept-main-copy { margin-bottom: 1.5rem; opacity: 0; transform: translateY(30px); transition: opacity 1s ease 0.2s, transform 1s ease 0.2s; text-align: center; width: 100%; }
.concept-main-copy picture { display: block; width: 100%; }
/* 白光りエフェクト削除 */
.concept-main-copy img { width: 90%; max-width: 800px; height: auto; display: block; margin: 0 auto; }

.responsive-br { display: none; }
.concept-sub-copy { font-weight: 700; display: inline-block; font-family: var(--font-jp-serif); font-size: 1.1rem; line-height: 2; color: #fff; letter-spacing: 0.1em; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 20px; margin-top: 10px; opacity: 0; transform: translateY(30px); transition: opacity 1s ease 0.4s, transform 1s ease 0.4s; }
.concept-body { font-weight: 700; max-width: 640px; width: 100%; margin: 0 auto; text-align: center; font-family: var(--font-jp-serif); font-size: 1rem; line-height: 2.2; color: #fff; letter-spacing: 0.05em; opacity: 0; transform: translateY(30px); transition: opacity 1s ease 0.6s, transform 1s ease 0.6s; }
.is-visible .section-label, .is-visible .concept-main-copy, .is-visible .concept-sub-copy, .is-visible .concept-body { opacity: 1; transform: translateY(0); }
.bg-circle { display: none; }

/* =========================================
   SCROLL アニメーション
   ========================================= */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.8s, transform 1s ease 0.8s; /* 文章が出た後にフワッと遅れて出す */
}
.is-visible .scroll-indicator {
    opacity: 1;
    transform: translateY(0);
}
.scroll-text {
    font-family: var(--font-en);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-white);
    margin-bottom: 10px;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2); /* うっすら見えるベースの線 */
    position: relative;
    overflow: hidden;
}
.scroll-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold); /* 上から落ちてくるゴールドの線 */
    animation: scroll-drop 2s infinite ease-in-out; /* 2秒かけてループ */
}

@keyframes scroll-drop {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}


/* =========================================
   4. スケジュールセクション
   ========================================= */
.schedule-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.85); position: relative; overflow: hidden; min-height: 100vh; }
.schedule-bg { display: none; }
.venue-info-bar { text-align: center; margin-bottom: 40px; font-size: 1.1rem; color: #ddd; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 0; background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); }
.venue-icon { width: 16px; height: 16px; fill: var(--gold); margin-right: 8px; vertical-align: middle; }
.venue-text { vertical-align: middle; font-weight: 600; letter-spacing: 0.05em; color: #fff; }
.schedule-content { display: none; opacity: 0; transition: opacity 0.5s ease; }
.schedule-content.active { display: block; opacity: 1; }

.match-list-item { 
    /* 上部の共通クラスでグラスモーフィズム適用済み */
    border-left: 5px solid var(--gold) !important; 
    margin-bottom: 20px; padding: 25px; display: flex; align-items: center; justify-content: space-between; transition: 0.3s; position: relative; border-radius: 8px;
}
.match-list-item:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 5px 25px rgba(0,0,0,0.6) !important; background: rgba(255, 255, 255, 0.1); }
.match-date-area { text-align: center; min-width: 160px; border-right: 1px solid rgba(255,255,255,0.1); padding-right: 20px; margin-right: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.date-label { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: 0.02em; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.time-label { font-size: 1.1rem; color: #ddd; font-weight: 600; }
.match-label { display: flex; align-items: center; justify-content: center; width: 140px; height: 28px; font-size: 0.75rem; font-weight: 700; color: #fff; border-radius: 3px; letter-spacing: 0.05em; white-space: nowrap; }
.label-qf { background: var(--bg-qf); border: 1px solid #00ff6a; box-shadow: 0 0 8px rgba(0, 255, 106, 0.4); }
.label-sf { background: var(--bg-sf); border: 1px solid #00aaff; box-shadow: 0 0 8px rgba(0, 170, 255, 0.4); }
.label-final { background: var(--bg-final); border: 1px solid #ff3333; box-shadow: 0 0 15px rgba(255, 51, 51, 0.6); font-size: 0.9rem; }
.match-info-area { flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 15px; padding: 0 10px; }
.team-box { display: flex; align-items: center; gap: 20px; font-weight: 700; color: #fff; width: 42%; font-size: clamp(0.8rem, 1.1vw, 1.1rem); line-height: 1.4; word-break: auto-phrase; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.team-box.home { justify-content: flex-end; text-align: right; }
.team-box.away { justify-content: flex-start; text-align: left; }
.vs-label { font-family: var(--font-en); font-size: 1.5rem; color: #fff; font-weight: 700; flex-shrink: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.action-area { min-width: 140px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 20px; margin-left: 20px; display: flex; align-items: center; justify-content: center; }
.ticket-btn { background: var(--gold); color: #000; font-family: var(--font-en); font-weight: 700; text-decoration: none; padding: 12px 0; display: block; width: 100%; transition: 0.3s; letter-spacing: 0.1em; text-align: center; border-radius: 4px; }
.ticket-btn:hover { background: #fff; box-shadow: 0 0 15px var(--gold); }

/* ▼ 追加: SCHEDULEコンパクト化用のベースCSS ▼ */
.date-time-wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.team-name-text { display: block; }
.schedule-section .team-logo-square { width: 80px; height: 80px; margin: 0; border-radius: 6px; flex-shrink: 0; }


/* =========================================
   5. トーナメントセクション
   ========================================= */
.bracket-section { padding: 100px 0 100px; background-color: rgba(0, 8, 20, 0.85); min-height: auto; }
.bracket-content { display: none; opacity: 0; transition: opacity 0.5s ease; }
.bracket-content.active { display: block; opacity: 1; }

/* PC版・SP版の表示制御 */
.pc-bracket-wrapper { display: block; }
.sp-bracket-wrapper { display: none; }

/* --- PC用スタイル --- */
.bracket-grid { display: flex; justify-content: center; align-items: stretch; position: relative; padding: 20px 0; }
.col { display: flex; flex-direction: column; width: var(--col-width); margin: 0 30px; position: relative; gap: var(--gap-vertical); }
.round-name { text-align: center; color: var(--gold); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; position: absolute; top: -50px; width: 100%; left: 0; border-bottom: 1px solid var(--gold-dim); padding-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.match-card { 
    /* 共通グラスモーフィズム */
    height: var(--card-height); display: flex; flex-direction: column; position: relative; z-index: 2; box-sizing: border-box; transition: 0.3s; justify-content: center; border-radius: 6px; 
}
.match-card:hover { border-color: var(--gold) !important; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(197, 160, 89, 0.2) !important; background: rgba(255, 255, 255, 0.1); }
.match-meta { background: rgba(0,0,0,0.4); padding: 0 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); height: 36px; gap: 10px; position: absolute; top: 0; left: 0; width: 100%; box-sizing: border-box; border-radius: 6px 6px 0 0; }
.match-date { font-size: 0.85rem; color: #fff; font-weight: 700; text-shadow: 0 0 5px rgba(0,0,0,0.5); white-space: nowrap; }
.team-row { display: flex; justify-content: space-between; align-items: center; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,0.05); flex: 1; }
.team-row + .team-row { border-bottom: none; }
.match-meta + .team-row { margin-top: 36px; border-bottom: 1px solid rgba(255,255,255,0.05); } 
.team-name { font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 12px; font-family: var(--font-jp); width: 100%; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.team-logo { width: 30px; height: 30px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; background: #fff; }
.winner .team-name { color: var(--gold); }
.col.final { justify-content: center; }
.col.final .match-card { border: 2px solid var(--gold) !important; box-shadow: 0 0 15px rgba(197, 160, 89, 0.3) !important; }
.line-right { position: absolute; right: -32px; top: 50%; width: 32px; height: var(--line-width); background: var(--gold); box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.line-left { position: absolute; left: -32px; top: 50%; width: 32px; height: var(--line-width); background: var(--gold); box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.bracket-vertical { position: absolute; right: -32px; width: var(--line-width); background: var(--gold); top: 60px; bottom: 60px; height: auto; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.bracket-vertical::after { content: ''; position: absolute; top: 50%; right: -30px; width: 30px; height: var(--line-width); background: var(--gold); }
.hidden-card { visibility: hidden; pointer-events: none; height: var(--card-height); border: none !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.match-card.status-home-win .line-right, .match-card.status-away-win .line-right { background: var(--gold); box-shadow: 0 0 10px rgba(197, 160, 89, 0.8); z-index: 10; }
.match-card.status-home-win .team-row:nth-child(2) .team-name, 
.match-card.status-away-win .team-row:nth-child(3) .team-name { color: var(--gold); text-shadow: 0 0 10px rgba(197, 160, 89, 0.5); }
a.match-card { text-decoration: none; color: inherit; display: flex; }

/* --- SP用スタイル --- */
.tree-container { display: flex; flex-direction: column; gap: 0; position: relative; padding-bottom: 20px; }
.tree-level { display: flex; justify-content: center; gap: 15px; position: relative; }
.tree-connector { height: 30px; position: relative; width: 100%; }

.sp-match-card {
    /* 共通グラスモーフィズム */
    width: 48%; max-width: 180px;
    display: flex; flex-direction: column; position: relative;
    border-radius: 6px; overflow: hidden; flex: 1;
}
.sp-match-card.placeholder { visibility: hidden; border: none !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

/* ▼▼ FINALカードの横幅調整（375px） ▼▼ */
.sp-match-card.final-card { flex: 0 0 100%; max-width: 375px; border: 2px solid var(--gold) !important; box-shadow: 0 0 15px rgba(197, 160, 89, 0.3) !important; }

.sp-match-header { padding: 4px; background: rgba(0,0,0,0.4); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sp-label { font-size: 0.65rem; padding: 2px 6px; border-radius: 2px; color:#fff; display: inline-block; font-weight:700; }
.sp-date { display: block; font-size: 0.65rem; color: #ddd; margin-top: 2px; font-family: var(--font-en); }

/* ▼▼ チーム行の中央揃え ▼▼ */
.sp-team-row { display: flex; align-items: center; justify-content: center; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }

.sp-team-row:last-child { border-bottom: none; }
.sp-team-logo { width: 24px; height: 24px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; margin-right: 8px; background: #fff;}

/* ▼▼ チーム名の太字化と幅固定（ロゴ位置を揃える） ▼▼ */
.sp-team-name { 
    font-size: 0.8rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    color: #fff; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    font-weight: 700; 
    width: 5.5em; 
    text-align: left; 
}

.sp-match-card.status-home-win .sp-team-row:nth-child(2) .sp-team-name,
.sp-match-card.status-away-win .sp-team-row:nth-child(3) .sp-team-name { color: var(--gold); font-weight: 700; }

/* SPコネクター線 */
.line-vertical-left { position: absolute; left: 25%; width: 1px; height: 100%; background: var(--gold); transform: translateX(-0.5px); box-shadow: 0 0 3px rgba(0,0,0,0.5); }
.connector-fork-down { position: relative; width: 100%; height: 100%; }
.connector-fork-down::before { content: ''; position: absolute; left: 25%; width: 1px; height: 100%; background: var(--gold); box-shadow: 0 0 3px rgba(0,0,0,0.5); }
.connector-fork-down::after { content: ''; position: absolute; left: 75%; width: 1px; height: 100%; background: var(--gold); box-shadow: 0 0 3px rgba(0,0,0,0.5); }
.connector-merge { width: 100%; height: 100%; position: relative; }
.line-h-bar { position: absolute; top: 0; left: 25%; width: 50%; height: 50%; border-left: 1px solid var(--gold); border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); box-shadow: inset 0 -1px 3px rgba(0,0,0,0.5); }
.line-v-bar { position: absolute; top: 50%; left: 50%; width: 1px; height: 50%; background: var(--gold); box-shadow: 0 0 3px rgba(0,0,0,0.5); }


/* =========================================
   6. チケットセクション (Ticket Section)
   ========================================= */
.ticket-section {
    padding: 60px 0 120px;
    background-color: rgba(0, 8, 20, 0.9);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ticket-content-wrapper { display: flex; flex-direction: column; gap: 60px; }
.area-title { font-size: 1.5rem; font-weight: 700; color: #fff; border-left: 5px solid var(--gold); padding-left: 15px; margin-bottom: 25px; letter-spacing: 0.05em; display: flex; align-items: center; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* Info Block (Ticket Sales) */
.ticket-info-block { 
    /* 共通グラスモーフィズム */
    padding: 30px; border-top: 3px solid var(--gold) !important; border-radius: 8px;
}
.info-block-title { font-size: 1.2rem; color: var(--gold); margin: 0 0 20px 0; font-weight: 700; border-bottom: 1px solid rgba(197, 160, 89, 0.3); padding-bottom: 10px; display: inline-block; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { position: relative; padding-left: 1.2em; margin-bottom: 12px; color: #fff; line-height: 1.8; font-size: 0.95rem; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.info-list li::before { content: '・'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.text-link { color: var(--gold); text-decoration: underline; transition: 0.3s; margin-left: 5px; }
.text-link:hover { color: #fff; }

/* Map Note & Price Note (No Box Style) */
.map-note-block, .price-note-block { background: transparent; border: none; padding: 0; margin-top: 15px; }
.note-title { font-size: 1rem; color: #fff; margin: 0 0 10px 0; font-weight: 700; border-left: 3px solid #666; padding-left: 10px; }
.note-list, .price-note-list { list-style: none; padding: 0; margin: 0; }
.note-list li, .price-note-list li { font-size: 0.85rem; color: #ccc; margin-bottom: 5px; line-height: 1.6; }
.price-note-list li { padding-left: 1em; text-indent: -1em; }

/* Seat Map */
.seat-map-image { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); line-height: 0; display: flex; justify-content: center; overflow: hidden; height: auto; border-radius: 8px; }
.seat-map-image img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* =========================================
   座席ごとの左線カラー（マップ連動）
   ========================================= */
.color-premium { border-left: 5px solid #eab308 !important; } /* 黄/ゴールド */
.color-bench { border-left: 5px solid #b91c1c !important; } /* 濃い赤 */
.color-excite { border-left: 5px solid #d946ef !important; } /* 紫ピンク/マゼンタ */
.color-arena-s-front { border-left: 5px solid #166534 !important; } /* 濃い緑 */
.color-arena-s { border-left: 5px solid #22c55e !important; } /* 緑 */
.color-arena-a { border-left: 5px solid #86efac !important; } /* 薄い緑 */
.color-arena-end { border-left: 5px solid #4338ca !important; } /* 濃紺/紫 */
.color-arena-end-goal { border-left: 5px solid #a78bfa !important; } /* 薄紫 */
.color-box { border-left: 5px solid #2563eb !important; } /* 青 */
.color-stand-ss { border-left: 5px solid #f472b6 !important; } /* ピンク */
.color-stand-s { border-left: 5px solid #fb923c !important; } /* オレンジ */
.color-stand-a { border-left: 5px solid #9ca3af !important; } /* グレー */
.color-cheer { border-left: 5px solid #4b5563 !important; } /* 黒に近いグレー */

/* View Table */
.view-table-wrapper { width: 100%; border-radius: 8px; overflow: hidden; }
.view-table { width: 100%; border-collapse: collapse; background: transparent; font-size: 0.95rem; }
.view-table th { background: rgba(0,0,0,0.6); color: #fff; padding: 15px; font-weight: 700; border-top: 3px solid var(--gold); border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.view-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.view-table tbody tr:last-child { border-bottom: none; }
.view-table tbody tr:hover { background-color: rgba(255,255,255,0.1); }
.view-table td { padding: 20px 15px; vertical-align: middle; color: #fff; line-height: 1.6; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.vt-name { width: 25%; font-weight: 700; font-size: 1rem; color: #fff; }
.vt-type { width: 15%; text-align: center; }
.vt-desc { width: 60%; font-size: 0.9rem; }
.tag-label { display: inline-block; padding: 3px 6px 2px; font-size: 0.7rem; font-weight: 700; border-radius: 3px; margin-right: 5px; color: #fff; line-height: 1.2; vertical-align: middle; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.tag-label.days { background: #6b21a8; border: 1px solid #a855f7; }
.tag-label.night { background: #c026d3; border: 1px solid #e879f9; }
.tag-label.group { background: #1e3a8a; border: 1px solid #3b82f6; }

/* Price List (PC) */
.pc-price-table-wrapper { display: block; width: 100%; border-radius: 8px; overflow: hidden; }
.complex-price-table { width: 100%; border-collapse: collapse; background: transparent; font-size: 0.9rem; table-layout: fixed; }
.complex-price-table thead th { vertical-align: middle; text-align: center; padding: 15px 5px; border: 1px solid rgba(255,255,255,0.1); }
.th-corner { background: rgba(0,0,0,0.6); color: #fff; font-weight: 700; width: 32%; border-top: 3px solid #666; }
.th-stage { color: #fff; font-weight: 700; text-transform: uppercase; font-family: var(--font-en); letter-spacing: 0.05em; font-size: 1.1rem; width: 20%; border-bottom: none; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.stage-qf { background: var(--bg-qf); border-color: rgba(0, 77, 38, 0.5); border-top: 3px solid var(--color-qf); }
.stage-sf { background: var(--bg-sf); border-color: rgba(0, 38, 77, 0.5); border-top: 3px solid var(--color-sf); }
.stage-final { background: var(--bg-final); border-color: rgba(77, 0, 0, 0.5); border-top: 3px solid var(--color-final); }
.complex-price-table td { border: 1px solid rgba(255,255,255,0.1); padding: 12px 10px; vertical-align: middle; color: #fff; }
.cat-cell { color: #fff; font-weight: 700; font-size: 0.9rem; width: 40px; text-align: center; line-height: 1.3; padding: 5px !important; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.cat-special { background-color: rgba(185, 28, 28, 0.8); }
.cat-reserved { background-color: rgba(21, 128, 61, 0.8); }
.cat-free { background-color: rgba(202, 138, 4, 0.8); color: #000; text-shadow: none; }
.cat-box { background-color: rgba(14, 165, 233, 0.8); }
.cat-plan { background-color: rgba(107, 33, 168, 0.8); }
.cat-group { background-color: rgba(30, 58, 138, 0.8); }
.seat-name { text-align: left; font-weight: 700; padding-left: 15px !important; background: rgba(0,0,0,0.2); font-size: 0.95rem; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.price-cell { text-align: center; background: rgba(255,255,255,0.02); padding: 8px !important; }
.bg-gray { background: rgba(0,0,0,0.4); }
.price-unit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.price-unit:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.p-label { font-size: 0.65rem; color: #aaa; font-weight: 700; width: 35px; text-align: left; }
.p-val { font-family: var(--font-en); font-weight: 700; font-size: 1rem; color: #fff; flex-grow: 1; text-align: right; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.p-val-no { color: #666; font-size: 0.8rem; }

/* ★PC版 PRICE LISTの細い色線を非表示にする（上書き） */
.complex-price-table .seat-name { border-left: none !important; }

/* Price List (Mobile Tabs) */
.mobile-price-container { display: none; }
.price-tabs { display: flex; gap: 2px; margin-bottom: 0; }
.price-tab-btn { flex: 1; padding: 15px 0; border: none; font-weight: 700; font-family: var(--font-en); color: #fff; cursor: pointer; background: rgba(0,0,0,0.5); opacity: 0.4; transition: all 0.3s; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 6px 6px 0 0; border: 1px solid rgba(255,255,255,0.1); border-bottom: none; backdrop-filter: blur(5px); }
.price-tab-btn.active { opacity: 1; color: #fff; text-shadow: 0 0 5px rgba(0,0,0,0.8); }
.price-tab-btn[data-target="price-qf"].active { background: var(--bg-qf); border-color: var(--color-qf); box-shadow: inset 0 0 10px rgba(0,255,106,0.2); }
.price-tab-btn[data-target="price-sf"].active { background: var(--bg-sf); border-color: var(--color-sf); box-shadow: inset 0 0 10px rgba(0,170,255,0.2); }
.price-tab-btn[data-target="price-final"].active { background: var(--bg-final); border-color: var(--color-final); box-shadow: inset 0 0 10px rgba(255,51,51,0.2); }
.mobile-price-content { display: none; border: 2px solid rgba(255,255,255,0.1); border-top: none; border-radius: 0 0 8px 8px; }
.mobile-price-content.active { display: block; animation: fadeIn 0.3s ease; }
#price-qf.active { border-color: var(--color-qf); box-shadow: 0 5px 15px rgba(0,255,106,0.2); }
#price-sf.active { border-color: var(--color-sf); box-shadow: 0 5px 15px rgba(0,170,255,0.2); }
#price-final.active { border-color: var(--color-final); box-shadow: 0 5px 15px rgba(255,51,51,0.2); }
.mobile-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: transparent; }
.mobile-table thead th { color: #fff; padding: 12px 5px; text-align: center; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.header-qf th { background: var(--bg-qf); border-bottom: 2px solid var(--color-qf); }
.header-sf th { background: var(--bg-sf); border-bottom: 2px solid var(--color-sf); }
.header-final th { background: var(--bg-final); border-bottom: 2px solid var(--color-final); }
.mobile-table td { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; color: #fff; vertical-align: middle; font-family: var(--font-en); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.td-seat { text-align: left !important; font-family: var(--font-base) !important; font-weight: 700; width: 45%; line-height: 1.4; }
.td-type { width: 15%; color: #ccc; font-size: 0.75rem; font-family: var(--font-base) !important; text-shadow: none; }

.ticket-cta-area { text-align: center; margin-top: 60px; width: 100%; }
.main-ticket-btn {
    display: block; width: 100%; background: var(--gold); color: #000;
    font-family: var(--font-jp); font-weight: 700; font-size: 1.3rem; padding: 20px 0;
    border-radius: 8px; text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4); letter-spacing: 0.1em; text-align: center;
}
.main-ticket-btn:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(197, 160, 89, 0.6); }


/* =========================================
   7. 出場チームセクション ～ 14. フッター
   ========================================= */
.teams-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.85); position: relative; overflow: hidden; min-height: 50vh; background-position: center top !important; }
.teams-bg-map { display: none; }
.teams-content { display: none; opacity: 0; transition: opacity 0.5s ease; }
.teams-content.active { display: block; opacity: 1; }
.teams-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; width: 200px; transition: 0.3s; }
.team-card:hover { transform: translateY(-5px); }
.rank-label { font-family: var(--font-en); color: var(--gold); font-weight: 700; font-size: 1rem; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%; padding-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.team-logo-square { width: 140px; height: 140px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; margin-bottom: 20px; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); overflow: hidden; transition: 0.3s; aspect-ratio: 1 / 1; flex-shrink: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.team-logo-square img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-logo-square { border-color: var(--gold); box-shadow: 0 0 20px rgba(197, 160, 89, 0.5); background: rgba(255,255,255,0.2); }
.team-name-placeholder { font-weight: 600; color: #fff; transition: 0.3s; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.team-card:hover .team-name-placeholder { color: var(--gold); }
.teams-note { text-align: right; font-size: 0.8rem; color: #ccc; margin-top: 20px; font-family: var(--font-jp); }

.event-section { padding: 100px 0 40px; background-color: rgba(0, 8, 20, 0.85); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; min-height: 500px; }
.event-card { 
    /* 共通グラスモーフィズム */
    border-radius: 8px; overflow: hidden; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; aspect-ratio: 1 / 1; 
}
.event-card:hover { transform: translateY(-5px); border-color: var(--gold) !important; box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3) !important; background: rgba(255, 255, 255, 0.1); }
.event-thumb-wrapper { width: 100%; height: 50%; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; }
.event-thumb { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.event-card:hover .event-thumb { transform: scale(1.05); }
.event-body { height: 50%; padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.event-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cat-tag { display: flex; align-items: center; justify-content: center; padding: 3px 8px; font-size: 0.75rem; font-weight: 700; color: #fff; border-radius: 3px; letter-spacing: 0.05em; white-space: nowrap; text-shadow: 0 0 10px rgba(255,255,255,0.8); background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); }
.cat-tag.label-qf { background: var(--bg-qf); border: 1px solid #00ff6a; box-shadow: 0 0 8px rgba(0, 255, 106, 0.4); color: #fff; }
.cat-tag.label-sf { background: var(--bg-sf); border: 1px solid #00aaff; box-shadow: 0 0 8px rgba(0, 170, 255, 0.4); color: #fff; }
.cat-tag.label-final { background: var(--bg-final); border: 1px solid #ff3333; box-shadow: 0 0 15px rgba(255, 51, 51, 0.6); color: #fff; }
.cat-tag.label-other { background: linear-gradient(180deg, rgba(77, 0, 77, 0.8) 0%, rgba(38, 0, 38, 0.8) 100%); border: 1px solid #ff00ff; box-shadow: 0 0 8px rgba(255, 0, 255, 0.4); color: #fff; }
.date-text { font-size: 0.8rem; color: #ddd; font-family: var(--font-en); text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.event-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px 0; line-height: 1.5; font-family: var(--font-jp); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.pagination-wrapper { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: var(--font-en); font-size: 1rem; cursor: pointer; transition: 0.3s; border-radius: 4px; }
.page-btn:hover, .page-btn.active { background: var(--gold); color: #000; border-color: var(--gold); box-shadow: 0 0 10px rgba(197, 160, 89, 0.5); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 8, 20, 0.85); backdrop-filter: blur(10px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; padding: 20px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: rgba(0, 18, 51, 0.95); width: 100%; max-width: 800px; border: 1px solid var(--gold); position: relative; transform: scale(0.95); transition: 0.3s; box-shadow: 0 0 40px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-img-wrapper { width: 100%; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid rgba(255,255,255,0.1); }
.modal-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 30px; max-height: 40vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.modal-cat { background: var(--gold); color: #000; padding: 4px 10px; font-weight: 700; font-size: 0.8rem; border-radius: 3px; }
.modal-date { color: #ccc; font-family: var(--font-en); }
.modal-title { font-size: 1.5rem; margin: 0 0 20px 0; color: #fff; line-height: 1.4; font-family: var(--font-jp); }
.modal-desc { font-size: 0.95rem; line-height: 1.8; color: #ddd; font-family: var(--font-jp); white-space: pre-wrap; }
.modal-close-btn { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; background: var(--gold); border: none; color: #000; font-size: 24px; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(0,0,0,0.5); z-index: 10; }

/* ▼▼▼ 追加・修正：ACCESSセクション用スタイル ▼▼▼ */
.access-section { padding: 20px 0 100px; background-color: rgba(0, 8, 20, 0.85); position: relative; min-height: auto; }
.venue-card { 
    /* 共通グラスモーフィズム */
    border-top: 5px solid var(--gold) !important; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; 
}
.venue-image { width: 100%; height: auto; aspect-ratio: 16 / 9; background: rgba(0,0,0,0.5); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.venue-image img { width: 100%; height: 100%; object-fit: cover; }
.venue-info { padding: 40px 50px; }
.venue-name-group { text-align: center; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
.venue-name-jp { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: 0.05em; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.venue-name-en { font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ▼ 新規追加した住所用のスタイル ▼ */
.venue-address { font-size: 1.05rem; color: #ddd; margin-top: 15px; font-weight: 600; letter-spacing: 0.05em; font-family: var(--font-jp); }

/* ▼ マップ画像と電車アクセスの2カラムレイアウト ▼ */
.access-content-wrapper { display: flex; gap: 40px; margin-bottom: 40px; align-items: center; }
.access-map-image { width: 45%; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); background: #fff; }
.access-map-image img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1 / 1; }

.access-grid { width: 55%; display: flex; flex-direction: column; gap: 20px; margin-bottom: 0; }
.access-item { display: flex; flex-direction: column; gap: 8px; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 6px; }
.line-name { font-size: 0.9rem; font-weight: 700; color: #ccc; border-left: 3px solid var(--gold); padding-left: 10px; margin-bottom: 5px; }
.line-jr { border-color: #80c342; }
.line-chiyoda { border-color: #00bb85; }
.line-fukutoshin { border-color: #9c5e31; }
.station-info { font-size: 1rem; color: #fff; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.station-info:last-child { border-bottom: none; }
.walk-time { font-weight: 700; color: var(--gold); font-family: var(--font-en); text-shadow: none; }

.map-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 300px; margin: 0 auto; padding: 15px 0; background: rgba(197, 160, 89, 0.1); border: 1px solid var(--gold); color: var(--gold); font-weight: 700; text-decoration: none; transition: 0.3s; font-size: 1rem; letter-spacing: 0.1em; border-radius: 4px; backdrop-filter: blur(3px); }
.map-btn:hover { background: var(--gold); color: #000; box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }

.result-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.85); position: relative; }
.era-title { font-size: 1.5rem; color: #fff; margin: 60px 0 20px; padding-left: 20px; border-left: 5px solid var(--gold); font-weight: 700; letter-spacing: 0.05em; font-family: var(--font-jp); line-height: 1.4; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.era-title:first-child { margin-top: 0; }
.era-sub { display: inline; color: #aaa; }
.table-wrapper { 
    /* 共通グラスモーフィズム */
    width: 100%; overflow-x: auto; margin-bottom: 40px; border-radius: 8px; 
}
.result-table { width: 100%; min-width: 900px; border-collapse: collapse; font-family: var(--font-jp); text-align: center; table-layout: fixed; background: transparent; }
.result-table thead th { background: rgba(0,0,0,0.4); color: var(--gold); font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255,255,255,0.2); height: 60px; padding: 10px; }
.col-edition-cell { background: rgba(0,0,0,0.3) !important; font-weight: 700; color: #fff; font-size: 1.1rem; border-right: 1px solid rgba(255,255,255,0.1); width: 120px; }
.result-table td { color: #fff; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.05); padding: 15px 10px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.result-table tbody tr:hover { background: rgba(255,255,255,0.05); }
.result-table td:last-child { border-right: none; }
.cell-winner { background: rgba(201, 188, 156, 0.15) !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; font-weight: 700; text-shadow: 0 0 10px rgba(197, 160, 89, 0.3); }
.row-cancelled td { background: rgba(0,0,0,0.5); color: #aaa; font-weight: 700; letter-spacing: 0.1em; padding: 20px; text-shadow: none; }
.result-group { display: none; opacity: 0; transition: opacity 0.5s ease; }
.result-group.active { display: block; opacity: 1; }

.live-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.85); position: relative; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.live-card, .live-card-static { 
    /* 共通グラスモーフィズム */
    display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; text-decoration: none; transition: 0.3s; position: relative; height: 100%; 
}
.live-card:hover { border-color: var(--gold) !important; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3) !important; background: rgba(255,255,255,0.1); }
.live-card-static { opacity: 0.6; filter: grayscale(50%); }
.live-image-square { width: 100%; aspect-ratio: 16 / 9; background: rgba(0,0,0,0.5); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1); }
.live-image-square img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.live-card:hover .live-image-square img { transform: scale(1.05); filter: brightness(1.1); }
.live-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.live-service-name { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: 0.05em; font-family: var(--font-en); text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.live-desc { font-size: 0.9rem; color: #ddd; line-height: 1.6; margin-bottom: 25px; font-family: var(--font-jp); text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.live-btn { margin-top: auto; display: inline-block; padding: 12px 40px; background: rgba(197, 160, 89, 0.1); border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; transition: 0.3s; border-radius: 4px; backdrop-filter: blur(3px); }
.live-card:hover .live-btn { background: var(--gold); color: #000; box-shadow: 0 0 15px var(--gold); }
.pending-text { font-size: 1.2rem; color: #aaa; font-weight: 700; letter-spacing: 0.1em; }

.news-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.85); position: relative; }
.news-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.news-item { display: flex; align-items: center; padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: #fff; transition: all 0.3s ease; position: relative; background: rgba(0,0,0,0.2); backdrop-filter: blur(5px); }
.news-item:hover { background-color: rgba(255, 255, 255, 0.1); padding-left: 30px; }
.news-item::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background-color: var(--gold); transform: scaleY(0); transition: transform 0.3s ease; }
.news-item:hover::before { transform: scaleY(1); }
.news-meta { display: flex; align-items: center; min-width: 120px; flex-shrink: 0; }
.news-date { font-family: var(--font-en); color: #ddd; font-size: 1rem; letter-spacing: 0.05em; font-weight: 600; transition: 0.3s; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.news-item:hover .news-date { color: var(--gold); }
.news-title { flex-grow: 1; font-size: 1.1rem; font-weight: 500; line-height: 1.6; margin: 0; padding-left: 20px; font-family: var(--font-jp); text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.news-arrow { width: 20px; height: 20px; fill: var(--gold); margin-left: 20px; opacity: 0.5; transition: 0.3s; flex-shrink: 0; }
.news-item:hover .news-arrow { opacity: 1; transform: translateX(5px); }
.news-action { margin-top: 50px; text-align: center; }
.view-more-btn { display: inline-block; padding: 12px 50px; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.5); color: #fff; text-decoration: none; font-family: var(--font-en); font-weight: 700; letter-spacing: 0.1em; transition: 0.3s; font-size: 0.9rem; border-radius: 4px; backdrop-filter: blur(3px); }
.view-more-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }

.partners-section { padding: 100px 0; background-color: rgba(0, 8, 20, 0.95); border-top: 1px solid rgba(255,255,255,0.05); min-height: 100vh; text-align: center; }
.partner-group { margin-bottom: 60px; }
.partner-group:last-child { margin-bottom: 0; }
.partner-rank-title { font-family: var(--font-en); font-size: 0.9rem; color: var(--gold); margin-bottom: 25px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-block; border-bottom: 1px solid var(--gold); padding-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.partner-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    /* 以下をスッキリさせました */
    background: transparent; 
    border: none; 
    backdrop-filter: none; 
    padding: 0; 
}
.partner-logo { background: transparent; border: none; transition: 0.4s ease; position: relative; overflow: hidden; }
.partner-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; display: block; transition: 0.4s ease; filter: brightness(0.9) drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.partner-logo:hover { transform: translateY(-5px); }
.partner-logo:hover img { filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)); }
.partner-logo.large { width: calc(25% - 15px); height: 200px; }
.partner-logo.medium { width: calc(33.333% - 14px); max-width: 220px; height: 110px; }
.partner-logo.small { width: calc(20% - 16px); height: 90px; }

.site-footer { background-color: rgba(0, 0, 0, 0.9); border-top: 1px solid var(--gold); padding: 40px 20px; text-align: center; position: relative; z-index: 10; margin-top: auto; backdrop-filter: blur(10px); }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-logo img { height: 80px; width: auto; filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); opacity: 1; transition: 0.3s; }
.footer-logo img:hover { opacity: 0.8; filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.5)); }
.footer-sns { display: flex; gap: 20px; margin-bottom: 5px; }
.sns-item { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); transition: 0.3s; color: #fff; backdrop-filter: blur(5px); }
.sns-item svg { width: 18px; height: 18px; fill: currentColor; }
.sns-item:hover { background: var(--gold); border-color: var(--gold); color: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4); }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.85rem; color: #ccc; font-weight: 400; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); text-shadow: 0 0 5px rgba(197, 160, 89, 0.5); }
.copyright { font-size: 0.75rem; color: #777; margin-top: 10px; letter-spacing: 0.05em; font-family: sans-serif; }


/* =========================================
   レスポンシブ設定 (Responsive)
   ========================================= */

@media (min-width: 786px) {
    /* PC表示用のスタイル調整 */
    .bracket-section .division-tabs { margin-bottom: 90px; }
    .team-card { width: 260px; padding: 30px; }
    .team-logo-square { width: 180px; height: 180px; }
    .teams-grid { max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* ★★★ ブレークポイント 785px ★★★ */
@media (max-width: 785px) {
    /* PC/SP 表示切り替え */
    .pc-bracket-wrapper { display: none; }
    .sp-bracket-wrapper { display: block; }
    
    .hero { padding-top: 70px; }

    /* 概要セクションの元の余白指定を復活 */
    .concept-section {
        padding: 80px 0;
    }

    /* 各セクションの上下の隙間をスマホ用に詰める (concept-sectionは除外) */
    .schedule-section,
    .bracket-section,
    .ticket-section,
    .teams-section,
    .event-section,
    .access-section,
    .result-section,
    .live-section,
    .news-section,
    .partners-section {
        padding: 50px 0 !important;
    }

    /* サブナビゲーションバー (スマホ版) */
    .sub-nav-container {
        justify-content: center; /* 中央寄せに変更 */
        gap: 10px 15px; /* 隙間を調整 */
        padding: 12px 15px;
    }
    .sub-nav-item {
        font-size: 0.85rem;
    }

    /* キャッチコピー画像用のスタイル (スマホ版) */
    .concept-main-copy { 
        writing-mode: horizontal-tb; 
        min-height: auto; 
        margin: 0 auto 30px auto; 
        width: 100%; 
    }

    .responsive-br { display: inline; }
    
    /* ▼▼▼ SCHEDULEセクション (コンパクト化) ▼▼▼ */
    .schedule-section .match-list-item { padding: 15px; gap: 12px; display: flex; flex-direction: column; text-align: left; }
    .schedule-section .match-date-area { flex-direction: row; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; margin: 0; }
    .schedule-section .match-label { font-size: 0.65rem; padding: 4px 8px; width: auto; height: auto; }
    .schedule-section .date-time-wrap { flex-direction: row; align-items: baseline; gap: 6px; margin: 0; }
    .schedule-section .date-label { font-size: 1.1rem; }
    .schedule-section .time-label { font-size: 0.85rem; }
    
    .schedule-section .match-info-area { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; margin: 0; padding: 0; }
    /* ★ホーム側のflex-directionをrowにしてロゴをVS側に配置 */
    .schedule-section .team-box { width: 42%; font-size: 0.75rem; flex-direction: row !important; align-items: center; gap: 8px; line-height: 1.3; word-break: break-word; }
    .schedule-section .team-box.home { justify-content: flex-end; text-align: right; }
    .schedule-section .team-box.away { justify-content: flex-start; text-align: left; }
    
    .schedule-section .team-logo-square { width: 40px !important; height: 40px !important; margin: 0 !important; border-radius: 4px; }
    
    .schedule-section .vs-label { font-size: 0.95rem; color: var(--gold) !important; flex-shrink: 0; }
    
    .schedule-section .action-area { width: 100%; margin: 0; padding: 0; border: none; margin-top: 5px; }
    .schedule-section .ticket-btn { width: 100%; padding: 10px 0; font-size: 1rem; }
    

    /* Ticket Section Responsive */
    .ticket-content-wrapper { gap: 50px; }
    .ticket-info-block { padding: 20px; }
    .info-block-title { font-size: 1.1rem; }
    .view-table thead { display: none; }
    .view-table tr { display: flex; flex-direction: column; padding: 20px 15px; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); margin-bottom: 10px; border-radius: 8px; }
    .view-table tbody tr:hover { background-color: rgba(0,0,0,0.5); }
    .view-table td { display: block; width: 100%; padding: 5px 0; border: none; }
    
    /* ▼▼▼ スマホ版「VIEW FROM SEATS」の色線と文字のかぶり解消（強制的に左余白10px、色は白に戻す） ▼▼▼ */
    .view-table td.vt-name { font-size: 1.1rem; margin-bottom: 8px; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 8px; padding-left: 10px !important; width: 100%; text-shadow: none; }
    
    .vt-type { text-align: left; margin-bottom: 10px; width: 100%; }
    .vt-desc { font-size: 0.9rem; line-height: 1.6; color: #ddd; width: 100%; }
    
    /* Notes */
    .price-note-block { margin-top: 15px; padding: 0; }

    /* Event Section */
    .event-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; min-height: auto; } 
    .event-card { aspect-ratio: auto; } 
    .event-thumb-wrapper { height: auto; aspect-ratio: 16 / 9; } 
    .event-body { height: auto; padding: 12px; } 
    .event-title { font-size: 0.85rem; margin-bottom: 5px; }
    .cat-tag { font-size: 0.6rem; padding: 2px 6px; }
    .date-text { display: none; } 
    .modal-close-btn { top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

    /* ▼▼▼ スマホ版の会場アクセスマップとグリッドの縦積み ▼▼▼ */
    .access-content-wrapper { flex-direction: column; gap: 30px; }
    .access-map-image { width: 100%; max-width: 400px; margin: 0 auto; }
    .access-grid { width: 100%; gap: 15px; }
    .venue-address { font-size: 0.85rem; margin-top: 10px; }

    .venue-image { height: auto; }
    .venue-info { padding: 30px 20px; }
    .venue-name-jp { font-size: 1.5rem; }
    .map-btn { max-width: 100%; }

    /* Live */
    .live-grid { grid-template-columns: 1fr; gap: 30px; }
    .live-info { padding: 20px; }
    .live-service-name { font-size: 1.3rem; }

    /* News */
    .news-item { flex-direction: column; align-items: flex-start; padding: 20px 15px; gap: 8px; border-radius: 6px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.05); }
    .news-item:hover { padding-left: 20px; background: rgba(255,255,255,0.1); }
    .news-meta { width: 100%; min-width: auto; margin-bottom: 0; }
    .news-title { padding-left: 0; font-size: 1rem; width: 100%; padding-right: 30px; position: relative; }
    .news-arrow { position: absolute; right: 0; bottom: 5px; margin: 0; }
    .news-list { border-top: none; }

    /* Partners */
    .partner-logo.large { width: 46%; height: 140px; }
    .partner-logo.medium { width: 46%; height: 90px; }
    .partner-logo.small { width: 30%; height: 70px; }
    .partner-grid { 
        padding: 15px; 
        row-gap: 10px;
    }

    /* Footer */
    .footer-links { gap: 15px; flex-direction: column; }
    .footer-sns { gap: 15px; }

    /* Result Table */
    .result-table br { display: none; }
    .result-table br.force-break { display: inline; }
    .era-sub { display: block; margin-top: 5px; font-size: 0.9em; }
    .table-wrapper { border: none; box-shadow: none; background: transparent; overflow: visible; backdrop-filter: none; }
    .result-table, .result-table thead, .result-table tbody, .result-table th, .result-table td, .result-table tr { display: block; width: 100%; min-width: 0; }
    .result-table thead { display: none; }
    .result-table tr { 
        /* 共通グラスモーフィズム */
        background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1); border-left: 5px solid rgba(255,255,255,0.2); margin-bottom: 30px; position: relative; padding-top: 45px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    .result-table td.col-edition-cell { position: absolute; top: 0; left: 0; width: 100%; height: 45px; background: rgba(0,0,0,0.5) !important; border-bottom: 1px solid rgba(255,255,255,0.1); border-right: none; color: var(--gold); font-family: var(--font-en); display: flex; align-items: center; padding-left: 15px; font-size: 1.1rem; }
    .result-table td { padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,0.05); border-right: none; text-align: right; display: flex; justify-content: space-between; align-items: center; height: 85px; font-size: 0.9rem; color: #fff; text-shadow: none; }
    .result-table td:last-child { border-bottom: none; }
    .result-table td::before { content: attr(data-label); font-family: var(--font-en); font-weight: 700; color: #aaa; font-size: 1.3rem; width: 60px; flex-shrink: 0; text-align: left; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
    .cell-winner { background: linear-gradient(90deg, rgba(197, 160, 89, 0.2) 0%, rgba(0,0,0,0) 100%) !important; border: none !important; border-top: 1px solid rgba(197, 160, 89, 0.3) !important; border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important; box-shadow: none !important; }
    .cell-winner::before { color: var(--gold); }
    .result-table tr:has(.cell-winner) { border-left-color: var(--gold); box-shadow: 0 5px 20px rgba(197, 160, 89, 0.2); }
    .result-table td:empty { display: none; }
    .row-cancelled td { display: flex; justify-content: center; text-align: center; height: 85px; padding: 0 20px; background: rgba(0,0,0,0.3); color: #ccc; }
    .row-cancelled td::before { content: none; }

    .tab-break { display: block; height: 0; margin-top: 2px; }
    .tab-btn { height: auto; line-height: 1.3; padding: 12px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 1rem; }
    
    .main-ticket-btn { width: 100%; max-width: 100%; padding: 15px 0; font-size: 1.1rem; }

    /* =========================================
       出場チーム (INTRODUCTION) のスマホ2列化
       ========================================= */
    .teams-grid {
        gap: 10px; /* 隙間を詰める */
        padding: 0;
        justify-content: flex-start; /* 左寄せベースで折り返し */
    }
    .team-card {
        width: calc(50% - 5px); /* 隙間の半分を引いてピッタリ2列に */
        padding: 15px 5px;
    }
    .teams-grid .team-card .team-logo-square {
        width: 100px;
        height: 100px;
        margin-bottom: 15px !important; /* ★強制指定で隙間を最適化 */
    }
    .rank-label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    .team-name-placeholder {
        font-size: 0.8rem;
    }
    
    /* ▼▼▼ スマホ版PRICE LISTの色線と文字の隙間を10pxに最適化（強制指定） ▼▼▼ */
    .mobile-table td.td-seat { 
        padding-left: 10px !important; 
    }
}

@media (max-width: 1200px) {
    /* 試合リストの調整 */
    .match-list-item { flex-direction: column; padding: 20px; text-align: center; }
    .match-date-area { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; padding-bottom: 15px; margin-right: 0; margin-bottom: 15px; width: 100%; flex-direction: row; justify-content: center; gap: 15px; }
    .date-label { font-size: 1.5rem; }
    .match-info-area { flex-direction: column; gap: 10px; width: 100%; margin-bottom: 20px; }
    .team-box.home, .team-box.away { width: 100%; justify-content: center; text-align: center; font-size: 1.1rem; gap: 15px; }
    .team-box.home { flex-direction: column-reverse; }
    .team-box.away { flex-direction: column; }
    
    /* タブレット〜PCのスケジュールロゴサイズは変更せず維持 */
    .schedule-section .team-logo-square { width: 100px; height: 100px; margin: 0 auto; }
    .date-time-wrap { flex-direction: row; align-items: baseline; gap: 10px; }

    .action-area { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0; padding-top: 15px; margin-left: 0; width: 100%; }
    .ticket-btn { width: 80%; margin: 0 auto; }
}

/* ヘッダーメニューの切り替えブレークポイント */
@media (max-width: 1150px) {
    header { height: 70px; }
    .header-inner { height: 100%; padding: 0 20px; flex-direction: row; justify-content: space-between; align-items: center; }
    .header-logo { margin: 0; }
    .header-logo img { height: 45px; }
    
    .hamburger-btn { display: block; }
    
    .header-nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0, 8, 20, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        z-index: 1001; flex-direction: column; justify-content: center; align-items: center;
        opacity: 0; visibility: hidden; transition: 0.4s ease;
    }
    .header-nav.active { opacity: 1; visibility: visible; }
    .nav-group-container { flex-direction: column; gap: 30px; text-align: center; }
    .nav-item { font-size: 1.2rem; display: block; border-bottom: none; width: auto; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
    .nav-item::after { display: none; }
}

@media (max-width: 900px) {
    .pc-price-table-wrapper { display: none; }
    .mobile-price-container { display: block; }
}

@media (max-width: 500px) {
    .partner-logo.large { width: 46%; height: 100px; }
    .partner-logo.medium { width: 46%; height: 80px; }
    .partner-logo.small { width: 30%; height: 60px; }
    .partner-grid { 
        padding: 8px; 
        row-gap: 8px;
    }
}