:root {
    --bg-dark: #0b0c10;
    --card-bg: #1f2833;
    --accent-gold: #c5a059;
    --text-main: #ffffff;
    --text-muted: #c5a059;
    --border-color: rgba(197, 160, 89, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Helvetica Neue', Arial, sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; }

/* ヘッダー全体のデザイン調整（背景画像を明るく視認可能に） */
header, .header {
    position: relative;
    /* グラデーションの不透明度を大幅に下げ（0.4/0.95 → 0.15/0.45）、画像自体の明るさを透過させます */
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(15, 23, 42, 0.45)), 
                url('../images/kr-back.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    padding: 70px 20px 50px 20px;   /* 画像の見栄えを良くするため上下余白を少し広げています */
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

/* タイトル（KL KOREAN）の視認性をキープ */
#header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    /* 背景が明るくなった分、文字の後ろの影を少し強めてクッキリ見せています */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* サブタイトルの視認性をキープ */
#header-subtitle {
    font-size: 1rem;
    color: #f59e0b; /* アクセントゴールド */
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
/* 言語セレクターなどのコントロールエリアが画像に埋もれないための調整 */
.controls-container, .lang-select-wrapper {
    position: relative;
    z-index: 2; /* 背景より必ず前面に出す */
}

/* ヘッダー周り(右上固定レイアウト・画像対応) */
.main-header {
    position: relative;
    padding: 100px 20px 60px 20px;
    text-align: center;
    background-image: linear-gradient(rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.95)), url('../images/kr-back.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}
.header-controls { position: absolute; top: 20px; right: 20px; z-index: 10; }
.logo { font-size: 3rem; font-weight: 700; color: var(--accent-gold); letter-spacing: 4px; margin-bottom: 5px; }
.subtitle { font-size: 0.85rem; color: #fff; letter-spacing: 2px; font-weight: 300; margin-bottom: 15px; }

/* さりげない上品な注意書き */
.notice-box {
    display: none;
    background: transparent;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 12px 0 0 0;
    margin-top: 20px;
    color: #888;
    font-size: 0.75rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.notice-box strong { color: var(--accent-gold); font-weight: 500; }

/* フィルター及びカードレイアウト */
.filter-section { padding: 30px 20px; max-width: 1200px; margin: 0 auto; }
.filter-container { background: #151a22; padding: 25px; border-radius: 8px; border: 1px solid var(--border-color); }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; margin-bottom: 20px; }
.search-field { background: #0b0c10; border: 1px solid var(--border-color); color: #fff; padding: 12px 20px; border-radius: 6px; font-size: 1rem; }
.btn { background: var(--card-bg); color: var(--accent-gold); border: 1px solid var(--accent-gold); padding: 12px 24px; border-radius: 6px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { background: var(--accent-gold); color: #000; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 0.8rem; text-transform: uppercase; color: var(--accent-gold); letter-spacing: 1px; }
.control-select { background: #0b0c10; color: #fff; border: 1px solid var(--border-color); padding: 10px; border-radius: 6px; cursor: pointer; }
.checkbox-group { display: flex; flex-direction: row !important; gap: 20px; padding-bottom: 10px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #ccc; cursor: pointer; }

/* カードグリッド構造 */
.list-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px 20px; }
.results-count { font-size: 0.9rem; color: #888; margin-bottom: 20px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.restaurant-card { background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; transition: transform 0.2s; }
.restaurant-card:hover { transform: translateY(-5px); }
.card-body { padding: 25px; }
.card-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 5px; }
.restaurant-title { font-size: 1.3rem; color: #fff; font-weight: 600; }
.price-badge { color: var(--accent-gold); font-weight: bold; font-size: 1.1rem; }
.hotel-tag { font-size: 0.85rem; color: #aaa; margin-bottom: 15px; min-height: 1.2rem; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge { background: #0b0c10; color: #ccc; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; border: 1px solid rgba(255,255,255,0.05); }
.distance-badge { border-color: var(--border-color); color: var(--accent-gold); }
.info-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; font-size: 0.85rem; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 6px; }
.info-item { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 6px; }
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { color: #888; }
.card-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.action-link { background: #0b0c10; border: 1px solid var(--border-color); color: #fff; text-align: center; padding: 8px 0; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 500; }
.action-link:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.share-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }
.share-label { color: #666; }
.share-buttons { display: flex; gap: 8px; }
.share-btn { background: transparent; border: none; color: #aaa; cursor: pointer; font-size: 0.8rem; padding: 2px 6px; }
.share-btn:hover { color: #fff; }
.main-footer { text-align: center; padding: 40px; color: #555; font-size: 0.8rem; border-top: 1px solid var(--border-color); }

/* フッターの免責事項を中央寄せにする */
.disclaimer, 
footer p, 
#footer p {
    text-align: center !important;
    width: 100%;
}
/* ==========================================================================
   モバイル表示（スマホ）向けの縦幅スリム化調整（背景画像キープ版）
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 背景画像と薄いグラデーションを維持したまま、padding（上下の余白）だけを削る */
    header, .header, .main-header {
        background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(11, 12, 16, 0.45)), 
                    url('../images/kr-back.jpg') no-repeat center center !important;
        background-size: cover !important;
        background-position: center center !important;
        padding: 45px 15px 20px 15px !important; /* 上下余白をさらにタイトに */
    }

    /* 言語セレクター（右上）の位置調整 */
    .header-controls {
        top: 10px;
        right: 15px;
    }

    /* ロゴの文字サイズと下の隙間を縮小 */
    #header-title, .logo {
        font-size: 2.0rem !important; /* スマホで見やすいサイズに */
        letter-spacing: 2px !important;
        margin-bottom: 2px !important;
    }

    /* サブタイトルの隙間を縮小 */
    #header-subtitle, .subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 8px !important;
    }

    /* 注意書き（Notice）の隙間を縮小 */
    .notice-box, #notice-banner {
        margin-top: 10px !important;
        padding-top: 6px !important;
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }

    /* フィルターセクション全体の余白を詰めて、カードデータを上に引き上げる */
    .filter-section {
        padding: 10px 5px !important;
    }
    
    .filter-container {
        padding: 12px !important;
    }
}