/* =========================================
   1. 基本設定（共通）
   ========================================= */
   body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* 背景色 */
    color: #333;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

a:hover {
    color: #d00;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 10px;
}

/* =========================================
   2. ヘッダー & ナビゲーション（共通）
   ========================================= */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding-top: 20px;
}

.site-header h1 {
    margin: 0;
    padding-bottom: 5px;
}

.site-header h1 a {
    color: #d00;
    font-size: 28px;
    font-weight: 900;
}

.site-header p {
    font-size: 12px;
    color: #666;
    margin: 0 0 15px 0;
}

/* ナビゲーションバー */
.main-nav {
    border-top: 1px solid #eee;
}

.main-nav ul {
    display: flex;
    gap: 0;
}

.main-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border-bottom: 3px solid transparent;
}

.main-nav li a:hover,
.main-nav li a.active {
    color: #d00;
    border-bottom: 3px solid #d00;
}

/* Coming Soon 用のスタイル */
.main-nav li a.disabled {
    color: #aaa;
    cursor: default;
    pointer-events: none; /* クリック不可にする */
    font-size: 13px;
}

/* =========================================
   3. メインレイアウト枠（共通）
   ========================================= */
.main-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.content-area {
    flex: 2.2;
    background: #fff;
    border: 1px solid #ddd;
    min-height: 400px;
}

.sidebar {
    flex: 1;
    min-width: 300px;
}

/* =========================================
   4. トップページ専用のデザイン
   ========================================= */

/* トップニュース（ヘッドライン） */
.top-headline {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.headline-link {
    display: flex;
    gap: 20px;
}

.headline-image {
    width: 240px;
    height: 135px;
    background: #333;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.headline-content {
    flex: 1;
}

.pickup-label {
    background: #d00;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    vertical-align: middle;
}

.headline-title {
    font-size: 22px;
    margin: 8px 0;
    line-height: 1.4;
    color: #333;
}

.headline-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ニュースリスト（タイムライン） */
.news-feed {
    padding: 0;
}

.section-title {
    font-size: 15px;
    background: #f7f7f7;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: bold;
}

.article-list .article-item {
    border-bottom: 1px solid #eee;
}

.article-list .article-item a {
    display: block;
    padding: 15px 20px;
}

.article-list .article-item:hover {
    background-color: #fcfcfc;
}

.article-list .title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #0044cc;
}

.article-list .meta {
    font-size: 12px;
    color: #888;
}

/* カテゴリタグ */
.category {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
    margin-right: 8px;
    font-weight: normal;
    font-size: 11px;
}
.cat-bad { background-color: #333; }
.cat-good { background-color: #2ecc71; }

/* =========================================
   5. 記事詳細ページ（サブページ）専用のデザイン
   ========================================= */

.news-article {
    padding: 30px; /* 記事ページは余白を多めに */
}

/* 記事ヘッダー */
.news-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.news-title {
    font-size: 26px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.news-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 15px;
}

.news-meta .label {
    color: #d00;
    font-weight: bold;
}

/* メイン画像エリア */
.news-main-image {
    margin: 0 0 30px 0;
    padding: 0;
    text-align: center;
}

.dummy-image {
    width: 100%;
    height: 250px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.news-main-image figcaption {
    font-size: 12px;
    color: #666;
    text-align: left;
}

/* 記事本文のデザイン */
.news-body {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

/* リード文 */
.news-body .lead {
    font-weight: bold;
    color: #444;
    margin-bottom: 30px;
}

/* 本文中の見出し */
.news-body h2 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid #d00;
    font-weight: bold;
}

/* 段落 */
.news-body p {
    margin-bottom: 20px;
}

/* 引用ブロック */
.news-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #ccc;
    margin: 20px 0;
    padding: 15px 20px;
    font-style: italic;
    color: #555;
}

/* 戻るボタンエリア */
.article-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.btn-back {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 12px 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-back:hover {
    background: #f0f0f0;
    text-decoration: none;
    border-color: #999;
}

/* =========================================
   6. サイドバー & フッター（共通）
   ========================================= */
.widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.widget h3 {
    font-size: 14px;
    border-bottom: 2px solid #d00;
    padding-bottom: 8px;
    margin: 0 0 15px 0;
}

.ranking-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #eee;
    font-size: 13px;
}

.ranking-list li:last-child {
    border-bottom: none;
}

.rank {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #ccc;
    color: #fff;
    text-align: center;
    line-height: 18px;
    font-size: 10px;
    margin-right: 5px;
    border-radius: 2px;
}

.rank-1 { background: #d00; }
.rank-2 { background: #d00; opacity: 0.8; }
.rank-3 { background: #d00; opacity: 0.6; }

/* 広告スペース */
.ad-box {
    background: #eee;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
}

/* フッター */
.site-footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #666;
}

/* =========================================
   7. スマホ対応
   ========================================= */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    
    .headline-link {
        flex-direction: column;
    }
    
    .headline-image {
        width: 100%;
        height: 180px;
        margin-bottom: 10px;
    }

    .main-nav ul {
        flex-wrap: wrap; /* ナビが多い場合は折り返す */
    }
    
    .main-nav li a {
        padding: 10px 10px;
        font-size: 12px;
    }
}


/* =========================================
   店舗攻略ページ（リスト表示）用スタイル
   ========================================= */

/* ページタイトル */
.page-title {
    font-size: 20px;
    border-left: 6px solid #d00;
    padding-left: 15px;
    margin: 20px;
    font-weight: bold;
}

/* エリア絞り込みボタン */
.area-filter {
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.area-filter button {
    border: 1px solid #ccc;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.area-filter button:hover {
    background: #eee;
}

.area-filter button.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 店舗グリッドレイアウト */
.store-grid {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 店舗カードのデザイン */
.store-card {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.store-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 店舗画像エリア */
.store-img {
    width: 140px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.no-img {
    font-size: 12px;
    color: #aaa;
    font-weight: bold;
}

/* 店舗情報エリア */
.store-info {
    padding: 15px;
    flex: 1;
}

.store-area {
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
}

.store-name {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

/* タグ（旧イベなど） */
.store-tags {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.store-tags li {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.tag-event {
    background: #ffebeb;
    color: #d00;
    border: 1px solid #ffcccc;
}

.tag-good {
    background: #eaffea;
    color: #2e8b57;
    border: 1px solid #ccffcc;
}

.store-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 詳細ボタン */
.btn-detail {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 6px 15px;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-detail:hover {
    background: #d00;
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .store-card {
        flex-direction: column;
    }
    .store-img {
        width: 100%;
        height: 120px;
    }
}