﻿@charset "UTF-8";
.container a {
            text-decoration: none;
        }
div#Wrap {
    max-width: 100%;
}
        .container img {
            max-width: 100%;
            height: auto;
            vertical-align: bottom;
        }

        /* 共通コンテナ */
        .container {
            padding: 60px 0;
        }

        /* インナー（最大幅1200px・中央寄せ） */
        .inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        /* セクションタイトル共通 */
        .section-title {
            color: #ba0606;
    border-bottom: 2px solid #ba0606;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
        }

        /* ==============================
           ダミーヘッダー（最上部のグレー領域）
        ============================== */
        .dummy-top-space {
            background-color: #555;
            width: 100%;
        }

        /* ==============================
           ヒーローセクション（赤背景＋アーチ）
        ============================== */
        .hero {
            background-color: #010101;
            position: relative;
            text-align: center;
            padding-top: 0px;
            z-index: 1;
        }
.dummy-top-space img {
    width: 100%;
}
        /* 白いアーチ形状の背景（★修正反映箇所） */
        .hero::before {
            content: '';
            position: absolute;
            
        }

        .hero-content {
            position: relative;
            z-index: 2; /* アーチより手前に表示 */
            padding-bottom: 60px;
        }
.hero-content.inner h2 {
    font-size: 4rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 1.5em;
    padding-top: 1em;
    font-weight: bold;
}

        /* 動画/メイン画像のプレースホルダー */
        .video-placeholder {
            width: 100%;
            height: auto;
            margin: 0 auto 30px;
        }

        /* ボタン */
        .btn-v {
            display: block;
            font-weight: bold;
            font-size: 16px;
            transition: opacity 0.3s;
        }

        .btn-v:hover {
            opacity: 0.8;
        }

        /* ==============================
           イントロダクション（黒背景）
        ============================== */
        .intro {
            background: url(img/afterradio_parts003.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: -1215px;
    left: 0;
    z-index: 1;
            color: #fff;
            text-align: center;
            padding: 80px 20px;
            line-height: 1.8;
            position: relative;
        }

.intro .inner p {
    text-align: center;
    font-size: 1.2rem;
}
        /* ==============================
           ARCHIVE セクション
        ============================== */
        /* CSS Gridで4列レイアウト */
        .archive-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .archive-item .thumb {
            margin-bottom: 10px;
        }

        .archive-item .title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .archive-item .date {
            font-size: 14px;
            color: #888;
        }
.archive-btn {
    margin-top: 3em;
    display: block;
    text-align: center;
}

.archive-btn a {
    color: #ffffff;
    font-size: 2rem;
    text-decoration: underline;
}
        /* ページネーション */
        .pagination {
            text-align: center;
            font-size: 16px;
            color: #666;
            letter-spacing: 5px;
        }

        /* ==============================
           PROGRAM セクション
        ============================== */
        .schedule-wrapper {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .day-row {
            display: flex;
            align-items: stretch;
        }

        /* 曜日のラベル（縦書き風に中央寄せ） */
        .day-label {
            background-color: #9e1017;
            color: #fff;
            width: 35px;
            flex-shrink: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            font-size: 14px;
            margin-right: 15px;
        }

        /* 番組カードのコンテナ（Flexboxで折り返し） */
        .day-programs {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
section.archive.container {
    background: #010101;
    color: #fff;
}

section.program.container {
    background: url(img/afterradio_parts003.png);
    background-size: 100%;
    background-color: #010101;
    padding-bottom: 250px;
    background-repeat: no-repeat;
}
/* --- 変更箇所 --- */
.program-card {
    background-color: #1a1a1a;
    color: #fff;
    width: calc(50% - 5px); 
    display: flex;
    align-items: center; /* 縦方向の中央揃えに変更 */
    gap: 15px; /* 写真とテキストの間の余白 */
    border: 2px solid #f00;
    border-radius: 6px;
}


.program-thumb {
    flex-shrink: 0; 
}

.program-info {
    flex: 1; /* 残りの幅をすべて使う */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sp-tab-buttons {
    display: none; /* デフォルトは非表示 */
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    gap: 5px; /* ボタン間の隙間 */
}

.sp-tab-btn {
    flex: 1;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sp-tab-btn.active {
    background-color: #ba0606; /* 選択中のタブの色（赤） */
}
.program-arc {
    text-align: left;
    padding: 6px 15px 8px 0;
}

.program-arc a {
    display: inline-block;
    color: #fff;
    border: 1px solid #4d0303;
    background-color: #c40a09;
    border-radius: 4px;
    padding: 3px 8px;
}
        .program-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .badge {
            
        }

        .time {
            font-size: 21px;
            font-weight: bold;
        }

        .program-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 4px;
        }

        .program-desc {
            font-size: 18px;
            color: #aaa;
        }
@media screen and (max-width: 1424px) {
.intro {
    background-position-y: center;
}
        }
        /* ==============================
           レスポンシブ対応 (スマホ向け)
        ============================== */
        @media screen and (max-width: 1024px) {
.intro {
    background-size: 180%;
    background-position-y: center;

}
        }
        @media screen and (max-width: 768px) {
            .hero h1 {
                font-size: 18px;
            }
            /* Archiveを2列にする */
            .archive-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            /* Programを1列にする */
            .program-card {
                width: 100%;
            }
            .sp-tab-buttons {
        display: flex;
        flex-wrap: nowrap; /* 一列に収める */
    }
.hero-content.inner h2 {
    font-size: 1.2rem;
}

.video-placeholder img {
    width: 100%;
}

.hero-content.inner img {
    width: 100%;
}

section.intro img {
    width: 100%;
}

section.intro {
    background-size: 200%;
    background-position-y: center;
}

section.program.container {
    background-size: 230%;
}

section.intro .inner {
    padding: 0;
}

.intro .inner p {
    font-size: 15px;
    text-shadow: #060606 1px 0 6px;
}
    /* 左端の「月」「火」というラベルはタブがあるので非表示 */
    .day-label {
        display: none;
    }

    /* すべての曜日を一旦非表示にする */
    .day-row {
        display: none;
    }

    /* activeクラスがついた曜日だけ表示する */
    .day-row.active {
        display: flex; /* または block */
        flex-direction: column;
    }
.archive-item .title {
    font-size: 15px;
}
.archive-btn a {
    font-size: 1.5rem;
}
.program-title {
    font-size: 20px;
}

.time {
    font-size: 18px;
}

.program-desc {
    font-size: 14px;
}

.program-thumb img {
    width: 90px;
}
        }