/* ==========================================
   💎 Luxury Hotel & High-Rise Inspired Theme
   ========================================== */
:root {
    --bg-main: #0a0d14;         /* 深海・夜空のようなディープネイビー */
    --bg-card: #121824;         /* シックな室内をイメージしたダークトーン */
    --bg-input: #1e293b;        /* 入力エリアの落ち着いたダークグレー */
    --text-primary: #f3f4f6;    /* 洗練されたオフホワイト */
    --text-muted: #9ca3af;       /* 落ち着いたグレー */
    --accent-gold: #d4af37;     /* 格式高いシャンパンゴールド */
    --accent-gold-hover: #f3e5ab;/* 煌めくライトゴールド */
    --border-color: #222d42;    /* シャープなストラクチャーライン */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

/* 全体構造の初期化 */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* =======================================================
   修正：クラス名（.header）からタグ名（header）に変更
   ======================================================= */
header {
    /* 👇 パスを絶対URLにして確実に読み込ませます */
    background-image: url('https://www.04id.com/KLCLUB/images/back.jpg');
    
    /* 👇 画像の中央を基準点にする（上下左右どちらも中央寄せ） */
    background-position: center center;
    
    /* 👇 縦横比を維持したまま、ヘッダーの領域全体を隙間なく埋める */
    background-size: cover;
    
    /* 👇 画像が勝手に繰り返して並ばないようにする */
    background-repeat: no-repeat;

    /* 👇 上下の余白（高さ）をしっかり確保して、ダンスフロアを左右上下中央に見せる */
    padding: 60px 20px; 
    min-height: 200px; 
    display: flex;
    align-items: center;
    width: 100%;
}
.common-notice {
    display: block;       /* 確実に独立した行にする */
    width: 100%;          /* 横幅いっぱいに広げる */
    text-align: center;   /* 文字を中央寄せにする */
    margin-top: 15px;     /* サブタイトルとの間に適切な隙間を作る */
    font-size: 0.9rem;    /* 読みやすいサイズ */
    color: #cca43b;       /* 上品なゴールド */
    font-style: italic;   /* 注釈らしい斜体 */
    font-weight: 500;
    clear: both;          /* 周りの回り込み設定を完全にクリアする */
}
/* =======================================================
   59行目付近：ヘッダーのコンテナ
   ======================================================= */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* タイトルとサブタイトルを縦に並べる */
    align-items: flex-start; /* 左寄せにする */
    width: 100%;
    position: relative;     /* 👇 言語ボタンを右上に絶対配置するための基準点にする */
    gap: 8px;
}

/* =======================================================
   78行目付近：言語セレクトボックス全体の配置を右上に強制固定
   ======================================================= */
.lang-switcher {
    position: absolute;     /* 👇 コンテナを基準に絶対配置 */
    top: -10px;             /* 👇 高さを上端に合わせる（微調整可） */
    right: 0;               /* 👇 右端ぴったりに寄せる */
    z-index: 10;
}

/* 既存のプルダウン自体の装飾（そのまま維持） */
.lang-switcher select {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.lang-switcher select:focus {
    border-color: var(--accent-gold);
}

#txtTitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

#txtSubTitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* 言語切り替え */
.lang-switcher select {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.lang-switcher select:focus {
    border-color: var(--accent-gold);
}

/* 🧱 メインコンテナ */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 🧱 フィルターボード (PC等で絶対に1行) */
.filter-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: nowrap; 
    align-items: flex-end; 
    gap: 16px;
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap; 
}

/* 1行インライン用の横幅比率 */
.half-width {
    flex: 1 1 25%; 
}

.full-width {
    flex: 2 1 50%; 
}

.filter-card select,
.filter-card input[type="text"] {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 12px; 
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    max-width: 100%;
}

.filter-card select:focus,
.filter-card input[type="text"]:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* アクションボタン ＆ お気に入りチェック */
.filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #b38f1d);
    color: #0a0d14;
    border: none;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
    opacity: 0.95;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    user-select: none;
}

.checkbox-container input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-gold);
}

/* 📊 カウンターコンテナ（右寄せスマート化） */
.counter-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0 auto 20px auto;
    padding: 0 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

#matchCounter {
    background: linear-gradient(135deg, #121824, #0a0d14);
    color: var(--accent-gold);
    padding: 4px 10px;          
    font-size: 0.78rem;         
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid var(--border-color); 
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
    letter-spacing: 0.05em;
}

/* 🍽️ ショップカードグリッド */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.shop-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.15);
}

.shop-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.shop-title-row h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    border-left: 3px solid var(--accent-gold);
    padding-left: 10px;
}

.btn-fav {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s;
}

.btn-fav:hover {
    transform: scale(1.15);
}

/* タグシステム */
.tag-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.tag-area {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.tag-spec {
    background-color: #1e293b;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* クラブ詳細インフォ一覧 */
.club-details {
    margin-top: 8px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 240行目付近：各ディテール行の崩れ防止 */
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上端で揃える */
    border-bottom: 1px dashed rgba(34, 45, 66, 0.5); /* */
    padding: 6px 0; /* 上下幅を少し広げて読みやすく */
    gap: 12px; /* 左右の衝突を防ぐ隙間 */
}

/* 左側のラベル：幅を固定して絶対に潰れないようにする */
.detail-label {
    color: var(--text-muted); /* */
    flex-shrink: 0;           /* 👇 絶対に縮ませない（崩れ防止の肝） */
    width: 90px;              /* 👇 ラベルの幅を均一に確保 */
    text-align: left;
}

/* 右側の値：長いテキストは右側で綺麗に折り返す */
.detail-value {
    font-weight: 600; /* */
    color: var(--text-primary); /* */
    text-align: right;
    flex-grow: 1;             /* 残りの横幅をすべて使う */
    word-break: break-word;   /* 長い時間表示なども枠内で折り返す */
}
.shop-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 8px 0 0 0;
}

/* 🗺️ リンクボタン行 */
.shop-links {
    display: flex;
    gap: 10px;
    padding: 16px 24px 24px 24px;
    border-top: 1px solid var(--border-color);
    background-color: rgba(10, 13, 20, 0.2);
}

.btn-link {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.btn-waze { background-color: #00b0ff; color: #fff; }
.btn-gmap { background-color: #ff5252; color: #fff; }
.btn-web { background-color: #374151; color: #fff; }

.btn-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 🔗 フッター */
.main-footer {
    border-top: 1px solid var(--border-color);
    background-color: #06080d;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.footer-share-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.share-btn {
    padding: 8px 18px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.wa-btn { background-color: #25d366; }
.wechat-btn { background-color: #09bb07; }
.copy-btn { background-color: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border-color); }

.share-btn:hover { opacity: 0.85; }

.footer-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.footer-bottom {
    margin: 0;
    font-size: 0.8rem;
}

/* 📱 モバイル・レスポンシブ対応(高さ・幅最適化) */
@media (max-width: 768px) {
    header { 
        padding: 24px 16px; 
    }
    #txtTitle { 
        font-size: 1.5rem; 
        margin: 0 0 4px 0;
    }
    #txtSubTitle {
        font-size: 0.9rem;
    }
    .filter-card { 
        padding: 16px; 
        gap: 12px; 
        flex-wrap: wrap; 
        align-items: stretch;
        margin-bottom: 16px; 
    }
    .half-width { flex: 1 1 calc(50% - 6px); }
    .full-width { flex: 1 1 100%; }
    
    .filter-card select,
    .filter-card input[type="text"] {
        max-width: 100%;
    }
    
    .filter-actions { 
        display: flex;
        flex-direction: row;
        justify-content: space-between; 
        align-items: center; 
    }
    .btn-primary { 
        width: auto;
        text-align: center; 
    }
    .checkbox-container { justify-content: flex-end; padding: 0; }
    .counter-container {
        margin: 0 auto 12px auto;
    }
}
@media (max-width: 768px) {
    /* 〜 既存のスマホ用スタイル 〜 */

    header { 
        padding: 24px 16px; 
    }

    /* 👇 スマホ表示の時に、言語ボタンがタイトルに被らないよう上部に少し隙間を作る */
    .header-container {
        padding-top: 35px; 
    }
    
    /* 👇 スマホ時の言語ボタンの位置微調整 */
    .lang-switcher {
        top: 0;
        right: 0;
    }

}
/* オンライン対応バッジ用のデザインエリア */
.feature-badge-row {
    display: flex;
    gap: 6px;
    margin: 8px 0 4px 0;
    flex-wrap: wrap;
}

.badge-feature {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

/* 点餐（注文）バッジ：爽やかなグリーン */
.badge-order {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* 订位（予約）バッジ：上品なパープルブルー */
.badge-book {
    background-color: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}