@charset "UTF-8";
/* =========================================
   news-release.css
   お知らせ詳細・店舗リスト専用スタイル (v2)
   ========================================= */

/* --- ニュース記事ヘッダー --- */
.content-wrapper{
    width: 90%;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.news-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
}

.news-title {
    font-size: 22px;
    color: var(--text-color-dark);
    margin: 0;
    line-height: 1.4;
}

/* --- 画像ギャラリー (コンパクト版) --- */
.news-gallery {
    /* 3枚を均等に横並びにして高さを抑える */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.gallery-item {
    width: 100%;
    /* 高さを固定してコンパクトにする */
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: #eee;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    /* 枠に合わせて画像をトリミング */
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- 放映概要ボックス --- */
.broadcast-info-box {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border: 2px solid var(--primary-color);
    /* 枠線を太くして存在感アップ */
    box-shadow: 0 4px 12px rgba(138, 180, 247, 0.2);
    /* やわらかい青色の影 */
    position: relative;
    overflow: hidden;
}

/* 装飾的な背景アイコン */
.broadcast-info-box::before {
    content: '\f03d';
    /* fa-video */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.07;
    pointer-events: none;
}

.info-row {
    display: flex;
    align-items: center;
    /* ベースラインではなくセンター揃えに変更 */
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px dashed #dbe9fc;
}

.info-row:last-child {
    border-bottom: none;
}



.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
}

.info-value {
    font-size: 24px;
    /* サイズアップ */
    font-weight: 700;
    color: var(--text-color-dark);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.info-value .unit {
    font-size: 16px;
    margin-left: 4px;
}

.info-note {
    font-size: 12px;
    color: #777;
    font-weight: normal;
    margin-left: 8px;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* PCレイアウト時の微調整 */
@media screen and (min-width: 768px) {
    .broadcast-info-box {
        flex-direction: column;
        /* 横並びレイアウトの中でも縦積みに戻して情報を整理 */
        justify-content: center;
        gap: 16px;
        padding: 32px;
    }

    .info-value {
        font-size: 28px;
        /* PCではさらに大きく */
    }
}

/* --- コンテンツ本文 --- */
.news-body {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 60px;
}

.news-body h2 {
    font-size: 18px;
    color: var(--text-color-dark);
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* --- 店舗検索セクション --- */
.shop-search-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    /* パディングを少し縮小 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 32px;
    border: 1px solid var(--border-color);
}

/* フィルターエリア */
.search-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.filter-group {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: var(--white);
    box-sizing: border-box;
    /* はみ出し防止 */
}

.result-count {
    text-align: right;
    font-size: 13px;
}

.result-count strong {
    font-size: 18px;
    color: var(--primary-color);
}

/* リストテーブル (PCベース) */
.shop-list-container {
    max-height: 700px;
    /* 高さを抑える */
    overflow-y: auto;
    scrollbar-width: thin;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.shop-table th {
    padding: 10px 12px;
    text-align: left;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
    color: var(--text-color-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.shop-table td {
    padding: 12px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: middle;
}

/* 住所と地図ボタンのレイアウト */
.shop-address-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.address-text {
    line-height: 1.4;
}

/* 地図ボタン (共通) */
.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 80px;
    /* ボタンの最小幅を確保 */
}

.map-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* エリアタグ */
.shop-area-tag {
    display: inline-block;
    background-color: #f1f3f4;
    color: #5f6368;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
    border: 1px solid #dadce0;
}

/* ...既存のコード... */

/* --- 放映概要ボックス (スタイル微調整) --- */
.broadcast-info-box {
    background-color: #f8fbff;
    border: 1px solid #dbe9fc;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 4px;
    /* marginはラッパー側で制御するため削除または0に */
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 中身を中央寄せ */
    gap: 16px;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* marginはラッパー側で制御するため削除または0に */
    margin: 0 0 24px 0;
}

/* =========================================
   PC用レイアウト (768px以上)
   ここで「ボックス」と「画像」を横並びにします
   ========================================= */
@media screen and (min-width: 768px) {
    /* ...既存のPC用スタイル... */

    /* ▼▼▼ 追加: 横並びレイアウト定義 ▼▼▼ */
    .broadcast-layout {
        display: flex;
        align-items: stretch;
        /* 高さを揃える */
        gap: 24px;
        margin: 40px 0;
    }

    .broadcast-info-box {
        flex: 0 0 50%;
        /* 左側: 幅約32% */
        margin: 0;
        /* マージンリセット */
    }

    .news-gallery {
        flex: 1;
        /* 右側: 残りの幅全て */
        margin: 0;
        /* マージンリセット */
        /* 画像の高さ調整: 横並び時は少し低くしてバランスを取る */
        height: auto;
    }

    .gallery-item {
        /* 横並び時は高さを少し抑えることで、左のボックスとバランスさせる */
        height: 120px;
    }
}

/* =========================================
   レスポンシブ (PC: 768px以上)
   ========================================= */
@media screen and (min-width: 768px) {
    .news-title {
        font-size: 28px;
    }

    .gallery-item {
        height: 180px;
    }

    /* PCなら少し高さを出す */

    .broadcast-info-box {
        flex-direction: row;
        gap: 32px;
        align-items: center;
    }

    .shop-search-section {
        padding: 32px;
    }

    .search-filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .filter-group {
        width: 250px;
    }
}

/* =========================================
   スマホ最適化 (カード型レイアウト)
   カード内をすっきり収める調整
   ========================================= */
@media screen and (max-width: 600px) {

    /* ギャラリーをスマホで見やすく (横スクロールせず2列グリッドで小さく) */
    .news-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item {
        height: 140px;
        /* さらに高さを抑える */
    }

    /* 3枚目をスマホだけ横長にするなどの調整も可能だが、
       シンプルに2列で3つ並べる（1つ空きができる）か、
       以下の設定で最初の1枚を大きくする */
    .gallery-item:first-child {
        grid-column: 1;
        height: 140px;
    }

    /* テーブル→カード変換 */
    .shop-table thead {
        display: none;
    }

    .shop-table tbody,
    .shop-table tr,
    .shop-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .shop-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 12px;
        /* パディングを減らす */
        background: var(--white);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .shop-table td {
        border: none;
        padding: 0;
        margin-bottom: 6px;
    }

    .shop-table td:last-child {
        margin-bottom: 0;
    }

    /* 文字サイズの調整 */
    .shop-name {
        font-size: 15px;
        /* 名前を少し小さく */
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        /* 長い名前対策 */
    }

    /* 住所と地図ボタンの配置 */
    .shop-address-row {
        flex-direction: column;
        /* 縦積みに戻す */
        align-items: flex-start;
        gap: 8px;
    }

    .address-text {
        font-size: 13px;
        color: var(--text-color);
        /* 長い住所がはみ出さないように強制改行 */
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

.map-btn {
        width: 100%;             /* 横幅いっぱいにする */
        box-sizing: border-box;  /* 重要: paddingとborderを幅に含める設定 */
        max-width: 100%;         /* 安全策: 親要素を超えないようにする */
        display: flex;           /* Flexboxで中身を制御 */
        justify-content: center; /* 文字とアイコンを中央寄せ */
        padding: 10px;           /* タップしやすいように少し広げる */
        margin-top: 12px;        /* 住所との間に適切な余白を入れる */
        background-color: #f8fbff;
    }
}
/* 検索結果ゼロのメッセージスタイル */
.no-result {
    display: none; /* ★重要: 最初は隠しておく */
    padding: 30px 20px;
    text-align: center;
    color: var(--text-color);
    background-color: #f8fbff;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px dashed #dbe9fc;
}