/* ====================================
    notification.css (White & Gold Edition)
    - Layout: PC 2/3(NEWS) & 1/3(STORES)
    - Style: Perfectly Centered & Luxury White
    - Responsive: 960px breakpoint for 2x2 Grid
==================================== */

/* --- 0. アンカージャンプ位置の補正 --- */
.news-meta[id], [id^="news-"] {
    scroll-margin-top: 150px !important;
}

/* --- 1. 全体コンテナ (中央配置・バランス調整) --- */
.news-store-container {
    width: 96%;
    max-width: 1240px;
    margin: 60px auto;    /* 上下60px / 左右autoで中央配置 */
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center; /* コンテンツを中央へ */
}

/* --- 2. 各セクション --- */
.notification-box,
.store-quick-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.notification-box { flex: 2; border-top: 3px solid #c5a059; }
.store-quick-box { flex: 1; border-top: 3px solid #e60012; }

/* --- 3. ヘッダーデザイン --- */
.notification-header {
    padding: 20px 25px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 18px;
    font-weight: 900;
    color: #333;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

.past-articles-link {
    font-size: 11px;
    font-weight: 800;
    color: #c5a059;
    text-decoration: none;
    border: 1px solid #c5a059;
    padding: 4px 14px;
    border-radius: 20px;
    transition: 0.3s;
}

.past-articles-link:hover {
    background: #c5a059;
    color: #fff;
}

/* --- 4. NEWSリスト --- */
.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-list li {
    border-bottom: 1px solid #f2f2f2;
}

.notification-list li a {
    display: flex;
    align-items: center;
    padding: 22px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-list li a:hover {
    background-color: #fcf9f2;
}

.date {
    font-weight: 700;
    color: #888;
    flex-shrink: 0;
    width: 175px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.article-title {
    color: #444;
    font-weight: 600;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 15px;
    padding-left: 10px;
}

.notification-list li:first-child .date::after {
    content: "NEW";
    font-size: 9px;
    background: #e60012;
    color: #fff;
    padding: 1px 6px;
    margin-left: 10px;
    border-radius: 2px;
}

/* --- 5. STORESボタン (PC表示) --- */
.store-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
}

.store-btn-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 18px 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.store-name-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-brand {
    font-size: 10px;
    color: #c5a059;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.store-location {
    font-size: 17px;
    color: #333;
    font-weight: 900;
}

.store-btn-link::after {
    content: "→";
    color: #c5a059;
    font-size: 20px;
    font-weight: 300;
    transition: 0.3s;
}

.store-btn-link:hover {
    border-color: #c5a059;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.15);
    background: #fff;
    transform: translateY(-2px);
}

.store-btn-link:hover::after {
    transform: translateX(5px);
}

/* --- 6. レスポンシブ --- */
@media screen and (max-width: 1024px) {
    .date { width: 150px; }
}

/* 960px以下：メインを縦並び ＆ 店舗を2列グリッド化 */
@media screen and (max-width: 960px) {
    .news-store-container {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        margin: 40px auto;
    }

    .notification-box,
    .store-quick-box {
        flex: none;
        width: 100%;
    }

    /* --- STORES 2列グリッド表示開始 --- */
    .store-links {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2カラム化 */
        gap: 12px;
        padding: 20px 15px;
    }
    
    .store-btn-link {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 10px;
        height: auto;
    }

    .store-name-group {
        align-items: center;
    }

    .store-brand {
        font-size: 9px;
    }

    .store-location {
        font-size: 16px;
        margin-top: 4px;
    }

    .store-btn-link::after {
        display: none; /* グリッド表示時は矢印を非表示 */
    }

    .date {
        width: 140px;
    }
}

/* 768px以下：スマホ向けの微調整 */
@media screen and (max-width: 768px) {
    .notification-header { padding: 15px 20px; }
    .header-title { font-size: 16px; }
    
    .notification-list li a { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 8px; 
        padding: 20px; 
    }
    
    .date { width: auto; font-size: 13px; }
    .article-title { padding-left: 0; font-size: 14px; }
    
    .store-links {
        gap: 8px;
        padding: 15px 10px;
    }

    .store-location {
        font-size: 15px;
    }
}