:root {
    --color-bg: #090D16;
    --color-surface-solid: #131A2B;
    --color-surface-card: rgba(22, 28, 45, 0.85);
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-glow: rgba(99, 102, 241, 0.4);
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --grad-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #D946EF 100%);
    --grad-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --grad-dark-card: linear-gradient(180deg, rgba(30, 41, 64, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    
    --blur-glass: blur(16px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* 角丸ゼロ */
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', -apple-system, sans-serif;
    background-color: var(--color-bg);
    color: var(--text-primary);
    line-height: 1.4;
    padding-top: 64px;
    padding-bottom: 72px;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    position: relative;
}

.bg-orb {
    position: fixed;
    border-radius: 0 !important;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}
.orb-1 { width: 300px; height: 300px; background: #6366F1; top: -50px; right: -50px; }
.orb-2 { width: 260px; height: 260px; background: #D946EF; bottom: 80px; left: -60px; }

/* スプラッシュ画面 */
.splash-screen {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.fade-out { opacity: 0; visibility: hidden; }

.splash-content {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-logo-img {
    height: 60px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

.splash-loader-bar {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.splash-progress {
    width: 0%;
    height: 100%;
    background: var(--grad-primary);
    animation: fillProgress 1.5s ease-out forwards;
}

@keyframes fillProgress { to { width: 100%; } }
.splash-loading-text { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: var(--text-muted); }

/* プッシュ許可ダイアログ */
.permission-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(16px);
    z-index: 8888;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.permission-modal-backdrop.open { display: flex; animation: popIn 0.25s ease-out; }
@keyframes popIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.permission-card-glass {
    background: #131A2B;
    border: 1px solid var(--color-border-glow);
    padding: 24px 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.perm-icon-wrapper { font-size: 2.5rem; margin-bottom: 10px; color: #818CF8; }
.perm-title { font-size: 1.15rem; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.perm-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.perm-btn-group { display: flex; gap: 10px; }

.btn-perm-deny {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer;
}

.btn-perm-allow {
    flex: 1;
    padding: 10px;
    background: var(--grad-primary);
    border: none;
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
}

/* ドロワー ＆ マイページ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(9, 13, 22, 0.7); backdrop-filter: blur(8px); z-index: 3000; display: none; }
.drawer-backdrop.open { display: block; }

.drawer-content-glass {
    width: 280px;
    height: 100%;
    background: #131A2B;
    border-right: 1px solid var(--color-border);
    padding: 20px 16px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.drawer-backdrop.open .drawer-content-glass { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }

.drawer-logo-img {
    height: 32px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.btn-close-drawer { background: none; border: none; color: #FFF; font-size: 1.6rem; cursor: pointer; }

.drawer-nav-list { list-style: none; }
.drawer-nav-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.drawer-nav-list li:active { background: rgba(255,255,255,0.08); }
.drawer-nav-list .icon { font-size: 0.7rem; font-weight: 800; color: #818CF8; letter-spacing: 0.1em; width: 64px; }

.mypage-header { text-align: center; margin-bottom: 20px; }
.avatar-circle { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }

/* ★★★ PUSH通知切替スイッチ スタイル ★★★ */
.push-setting-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.push-setting-info { display: flex; flex-direction: column; text-align: left; }
.push-label-title { font-size: 0.88rem; font-weight: 700; color: #FFFFFF; }
.push-label-sub { font-size: 0.72rem; color: #818CF8; margin-top: 2px; }

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.slider-round {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.18);
    transition: .3s;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider-round { background: var(--grad-primary); }
input:checked + .slider-round:before { transform: translateX(22px); }

/* ヘッダー ＆ 公式SVGロゴ */
.top-fixed-header {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--color-border);
    z-index: 2000;
}

.header-container { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 100%; width: 100%; }
.header-icon-btn { background: none; border: none; width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.hamburger-line { width: 20px; height: 2px; background-color: #FFFFFF; }

.header-logo-center { display: flex; align-items: center; justify-content: center; height: 100%; cursor: pointer; }

.header-logo-img {
    height: 38px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transition: transform 0.2s ease;
}
.header-logo-img:active { transform: scale(0.96); }
.user-svg-icon { opacity: 0.9; }

/* モノクロ表現の高級ミニマル SVG ボトムナビ */
.bottom-fixed-footer {
    position: fixed;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background: rgba(13, 18, 30, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 2000;
}

.footer-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    width: 25%;
    height: 100%;
    transition: all 0.2s ease;
}

.nav-svg-icon { margin-bottom: 3px; stroke: currentColor; transition: transform 0.2s ease, stroke 0.2s ease; }
.footer-nav-item.active { color: #FFFFFF; }
.footer-nav-item.active .nav-svg-icon { transform: translateY(-1px); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)); }
.footer-nav-item .nav-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; }

/* コンテンツエリア */
.top-main-content { max-width: 600px; margin: 0 auto; padding: 0; }
.tab-padded-body { padding: 0 16px 16px 16px !important; }

.page-tab { display: none; }
.page-tab.active { display: block; }

.slider-aspect-square-full {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    background-color: #1E293B;
}

.slider-track { display: flex; width: 100%; height: 100%; transition: transform 0.35s ease; }
.slide-item { min-width: 100%; height: 100%; position: relative; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: linear-gradient(180deg, transparent 0%, rgba(9, 13, 22, 0.95) 100%); color: #FFFFFF; font-size: 0.9rem; font-weight: 700; }
.slider-dots-container { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 4px; z-index: 10; }
.dot-indicator { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.4); }
.dot-indicator.active { width: 16px; background: #FFFFFF; }

.top-section-block {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0 !important;
    padding-top: 8px;
    margin-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
}

.block-title-group { display: flex; align-items: center; gap: 6px; }
.block-title-group h2, .block-header h2 { font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; }
.block-sub { font-size: 0.7rem; color: var(--text-muted); }
.btn-more { background: none; border: none; color: #818CF8; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; }

/* 店舗絞り込みフィルターチップバー */
.store-filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip.active {
    background: var(--grad-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 新着リスト */
.news-top-3-grid, .news-full-grid {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--color-border);
}

.top3-news-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    margin: 0 !important;
    padding: 10px 4px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.top3-news-card:active { background: rgba(255, 255, 255, 0.05); }

.top3-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    background: #1E293B;
    flex-shrink: 0;
}

.top3-content { flex: 1; overflow: hidden; }
.top3-meta { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; margin-bottom: 1px; }
.top3-store-badge { background: rgba(99, 102, 241, 0.2); color: #A5B4FC; padding: 0 4px; font-weight: 700; font-size: 0.62rem; }
.top3-date { color: var(--text-muted); }
.top3-title { font-size: 0.85rem; font-weight: 500; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }

/* BRAND STORES 画像バナー */
.brand-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.brand-img-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.brand-img-card:active { transform: scale(0.97); border-color: var(--color-border-glow); }
.brand-banner-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.brand-img-card:hover .brand-banner-img { transform: scale(1.05); }

.brand-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.2) 0%, rgba(9, 13, 22, 0.85) 100%);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.brand-img-overlay .brand-code { font-size: 0.6rem; font-weight: 800; color: #A5B4FC; letter-spacing: 0.1em; margin-bottom: 1px; }
.brand-img-overlay .brand-title { font-size: 1rem; font-weight: 800; color: #FFFFFF; letter-spacing: 0.05em; }

.dummy-img-card { opacity: 0.65; }
.lock-badge { font-size: 0.65rem; font-weight: 800; color: #F59E0B; margin-top: 2px; }

.access-card, .reserve-option-card { background: var(--grad-dark-card); border: 1px solid var(--color-border); padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.access-card h3, .reserve-option-card h4 { font-size: 0.95rem; color: #FFF; margin-bottom: 2px; }
.access-card p, .reserve-option-card p { font-size: 0.8rem; color: var(--text-secondary); }

.modal-backdrop-blur { position: fixed; inset: 0; background: rgba(9,13,22,0.85); backdrop-filter: blur(12px); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop-blur.open { display: flex; }
.modal-card-glass { background: #131A2B; border: 1px solid var(--color-border); width: 100%; max-width: 500px; max-height: 85vh; overflow-y: auto; position: relative; border-radius: 12px; }
.btn-close-modal { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.6); color: #FFF; border: none; width: 32px; height: 32px; font-size: 1.4rem; cursor: pointer; border-radius: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; }
.modal-cover-wrapper img { width: 100%; max-height: 240px; object-fit: cover; }
.modal-inner-padding { padding: 20px; }

/* ニュース詳細モーダル内部スタイル微調整 */
.modal-meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tag-store-pill { background: var(--grad-primary); color: #FFF; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; }

/* 店舗名より少しフォントサイズを小さく調整 */
.tag-cat-pill { background: rgba(255,255,255,0.08); color: var(--text-muted); font-size: 0.6rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.modal-date-text { color: var(--text-muted); font-size: 0.6rem; margin-left: auto; font-weight: 500; opacity: 0.85; }

/* タイトル上部のマージン確保 */
.modal-article-title { font-size: 1.15rem; font-weight: 800; color: #FFFFFF; line-height: 1.45; margin-top: 14px; margin-bottom: 14px; }

/* 本文上部のマージンを「約1行分」に設定 ＆ 行間スクロール調整 */
.modal-article-body { font-size: 0.88rem; color: #E2E8F0; line-height: 1.7; margin-top: 1.2em; white-space: pre-wrap; word-break: break-word; }
.btn-gold-action { width: 100%; padding: 12px; background: var(--grad-primary); border: none; color: #FFF; font-weight: 800; cursor: pointer; }

