/* =============================================
   list.css - 開催店舗一覧 スタイル
   ============================================= */

/* ---------- TOP PAGE: エリア一覧 ---------- */
.area-list {
    padding: 10px 0 30px;
}

.area-item {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.area-item:last-child {
    border-bottom: none;
}

.area-heading {
    margin: 0 0 12px;
}

.area-heading a {
    display: inline-block;
    color: #FFCD00;
    font-size: 1.3em !important;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid #FFCD00;
    transition: color 0.2s, border-color 0.2s;
}

.area-heading a:hover {
    color: #fff;
    border-color: #fff;
}

.pref-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    gap: 8px;
}

.pref-list li a {
    display: block;
    color: #fff;
    font-size: 1em !important;
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pref-list li a:hover {
    background: rgba(255, 205, 0, 0.15);
    border-color: #FFCD00;
    color: #FFCD00;
}

/* ---------- AREA PAGE: エリア別ページ ---------- */
.area-page {
    padding: 0 0 80px;
    font-size: 16px;
}

.back-btn {
    display: none;
    position: sticky;
    top: 76px;
    z-index: 100;
    margin: 0;
}

.back-btn.is-visible {
    display: block;
}

.back-btn a {
    display: block;
    color: #FFCD00;
    font-size: 1.1em !important;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, color 0.2s;
}

.back-btn a:hover {
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
}

.area-title {
    color: #FFCD00;
    font-size: 1.6em !important;
    font-weight: bold;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFCD00;
    line-height: 1.4;
}

/* 都道府県ナビ */
.pref-nav {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 30px;
}

.pref-nav-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78em !important;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.pref-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pref-nav ul li a {
    display: block;
    color: #fff;
    font-size: 0.85em !important;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pref-nav ul li a:hover {
    background: rgba(255, 205, 0, 0.15);
    border-color: #FFCD00;
    color: #FFCD00;
}

/* 都道府県セクション */
.pref-section {
    margin-bottom: 30px;
    scroll-margin-top: 75px;
}

.pref-section-name {
    color: #fff;
    font-size: 1.25em !important;
    font-weight: bold;
    margin: 0 0 12px;
    padding: 9px 14px;
    background: rgba(0, 0, 0, 0.35);
    border-left: 4px solid #FFCD00;
    line-height: 1.4;
}

/* 店舗リスト */
.shop-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s;
}

.shop-item:last-child {
    border-bottom: none;
}

.shop-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.shop-name {
    color: #fff;
    font-weight: bold;
    font-size: 0.95em !important;
    margin: 0;
    line-height: 1.5;
}

.shop-address {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.83em !important;
    margin: 0;
    line-height: 1.5;
}

/* エラー・ローディング */
.list-loading,
.list-error {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px 0;
    font-size: 0.95em !important;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 767px) {
    .area-heading a {
        font-size: 1.15em !important;
    }

    .pref-list {
        gap: 6px;
    }

    .pref-list li a {
        font-size: 1em !important;
        padding: 5px 10px;
    }

    .area-title {
        font-size: 1.25em !important;
    }

    .pref-nav ul {
        gap: 6px;
    }

    .pref-nav ul li a {
        font-size: 0.82em !important;
        padding: 5px 10px;
    }

    .shop-item {
        flex-direction: column;
        gap: 4px;
        padding: 10px 10px;
    }

    .shop-name {
        min-width: auto;
        font-size: 0.92em !important;
    }

    .shop-address {
        font-size: 0.8em !important;
    }
}
