/* 🎨 1. カラー変数の更新（客家の大地と温かみを表現するアースカラー） */
/* 🎨 1. カラー変数の更新（潮州の澄んだ出汁、海の恵み、洗練された品格を表現） */
:root {
    --primary-color: #0d47a1;    /* 潮州の海と伝統をイメージした高貴なディープブルー */
    --accent-color: #4f83cc;     /* 清潔感のある澄んだ水色 */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

/* 🖼️ 2. ヘッダー背景画像の設定（不透明度40%の絶妙な黒レイヤーで明るさをキープ） */
.hero, .main-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 必要に応じて高さを調整してください */
}
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* 🖼️ デスクトップ用ヘッダー背景設定 */
header {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('../images/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* 言語切り替え */
.lang-switch {
    display: inline-flex;
    gap: 8px;
}
.btn-lang {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}
.btn-lang.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* 🎛️ レイアウト・フィルター */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.search-filter-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 20px;
}

#btn-nearme {
    background: #222;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 15px;
}
#btn-nearme.active {
    background: var(--accent-color);
}

.filter-group {
    margin-bottom: 16px;
}
.filter-group h3 {
    font-size: 14px;
    color: var(--text-muted);
    border-left: 3px solid var(--primary-color);
    padding-left: 8px;
    margin-bottom: 8px;
}

/* 📻 カプセル型ラジオ/チェックボックス */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.filter-options label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.01);
    transition: all 0.2s;
}
.filter-options label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.filter-options label:has(input:checked) {
    background-color: #fbf7f0;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}
.filter-options input {
    margin-right: 6px;
    accent-color: var(--primary-color);
}

/* 📍 エリアボタン */
.area-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.btn-area {
    background: #f5f2eb;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-main);
}
.btn-area.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: bold;
}

#search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

/* 🏪 結果カードグリッド */
.results-header {
    margin-bottom: 15px;
    font-weight: bold;
}
.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.spot-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.spot-header {
    padding: 16px;
    background: #faf9f6;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.spot-title-row {
    display: flex;
    flex-direction: column;
}
.spot-name {
    font-size: 16px;
    font-weight: bold;
}
.spot-area {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.spot-price {
    font-weight: bold;
    color: var(--primary-color);
}
.spot-body {
    padding: 16px;
    flex-grow: 1;
}
.spot-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.spot-meta {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-item i {
    width: 16px;
    color: var(--primary-color);
}
.spot-contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.contact-sub-btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #eee;
}
.tag {
    display: inline-block;
    font-size: 11px;
    background: #eef5f2;
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
    font-weight: bold;
}
.spot-actions {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}
.btn-map {
    display: block;
    text-align: center;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}
/* ==========================================================================
   👣 フッターエリアのデザイン（免責事項・シェア・著作権）
   ========================================================================== */
.site-footer {
    background-color: #1e1b18; /* 高級感のある深いビターダーク */
    color: #bfae99;            /* 目を疲れさせない上品な淡いゴールドベージュ */
    padding: 40px 20px 20px;
    margin-top: 50px;
    border-top: 3px solid var(--primary-color);
    font-size: 13px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 25px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 📲 シェアボタンの配置 */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn-share:active { transform: scale(0.97); }

/* 各ブランド固有のカラー */
.btn-share.wa { background-color: #25D366; }
.btn-share.wa:hover { background-color: #20ba56; }

.btn-share.line { background-color: #06C755; }
.btn-share.line:hover { background-color: #05b04b; }

.btn-share.copy { background-color: #4a443c; color: #fff; }
.btn-share.copy:hover { background-color: #5c544b; }

/* ⚠️ 免責事項テキスト */
.disclaimer-box p {
    line-height: 1.7;
    color: #9c8e7c;
    text-align: justify;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.footer-bottom {
    text-align: center;
}
.footer-bottom .copyright {
    font-size: 12px;
    color: #736859;
}

/* モバイル用の個別微調整 */
@media (max-width: 768px) {
    .site-footer { padding: 30px 15px 15px; margin-top: 30px; }
    .share-buttons { display: grid; grid-template-columns: 1fr; gap: 8px; } /* スマホではボタンを縦に並べて押しやすく */
    .btn-share { justify-content: center; padding: 10px; font-size: 14px; }
}

/* ==========================================================================
   📱 完璧なモバイル（スマホ）環境調整
   ========================================================================== */
@media (max-width: 768px) {
    header {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/back.jpg') !important;
        padding: 45px 15px !important;
    }
    header h1 { font-size: 1.8rem !important; text-shadow: 0 3px 8px rgba(0,0,0,0.8) !important; }
    header p { font-size: 0.95rem !important; }
    
    .search-filter-section { padding: 10px 12px !important; }
    .filter-group { margin-bottom: 8px !important; }
    .filter-group h3 { font-size: 12px !important; margin-bottom: 4px !important; }
    
    .filter-options, .area-buttons-grid { gap: 6px 8px !important; margin-top: 2px !important; }
    .btn-area, .filter-options label { padding: 4px 10px !important; font-size: 12px !important; }
    #search-input { padding: 8px !important; margin-top: 4px !important; }
}