/* ラジオコンテンツ全体 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.season-toggle {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background-color: #f0f0f0;
    border: none;
    outline: none;
}

.season-content {
    overflow: hidden;
    max-height: 10000px; /* 開いた状態 */
    transition: max-height 0.3s ease-out;
}

.season-content.closed {
    max-height: 0;
    padding: 0;
}


/* 各エピソードカード */
.radio-content {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    overflow: hidden;
}

.radio-audios,
.radio-text {
    padding: 1rem;
}

.radio-audios {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 120px;
    background-color: var(--accent-hover);
    color: var(--card-bg);
}

.radio-audios p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.button-play {
    background: none;
    border: none;
    cursor: pointer;
}

.button-face {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    transition: transform var(--transition);
}

.button-face:hover {
    transform: scale(1.1);
}

.button-face:active {
    transform: scale(1.2);
}

/* テキスト側 */
.radio-text {
    flex: 1;
}

.radio-text h2 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.3rem;
    color: #3a3d3b;
    margin-bottom: 0.3rem;
}

.radio-text p {
    font-family: 'Rounded Mplus 1c', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.radio-text ul {
    list-style: none;
    margin-top: 0.5rem;
    padding: 0;
}

.chapter-selecter {
    display: inline-block;
    background: var(--card-bg);
    border-left: 5px solid var(--accent-base);
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.3rem;
    cursor: pointer;
    font-family: 'Rounded Mplus 1c', sans-serif;
    box-shadow: 2px 2px #000000A0;
    color: #3a3d3b;
    transition: background var(--transition), transform var(--transition);
}

.chapter-selecter:hover {
    background: #f5f3f0;
    transform: translateX(-3%);
}

.chapter-selecter:active {
    background: #e8e5e1;
}

/* progressバー */
progress {
    width: 100%;
    height: 0.6rem;
    border: none;
    border-radius: 0.3rem;
    background-color: #ddd;
    color: var(--accent);
    margin-top: 0.6rem;
}

progress::-webkit-progress-bar {
    background-color: #ddd;
    border-radius: 0.3rem;
}

progress::-webkit-progress-value {
    background-color: #e85a4f;
    border-radius: 0.3rem;
}


/* NEWラベル */
#new {
    position: relative;
}

#new::after {
    content: "NEW";
    position: absolute;
    top: -8px;
    left: 8px;
    background-color: #d32f2f;
    color: #faf4eb;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* メディアクエリ：768px以下 */
@media screen and (max-width: 768px) {
    .radio-audios {
        flex: 0 0 100px;
    }

    .radio-text h2 {
        font-size: 1.1rem;
    }

    .radio-text p {
        font-size: 0.95rem;
    }

    .chapter-selecter {
        font-size: 0.9rem;
    }

    progress {
        height: 0.5rem;
    }
}

/* メディアクエリ：480px以下 */
@media screen and (max-width: 480px) {
    .radio-audios {
        flex: 0 0 80px;
    }

    .radio-audios p {
        font-size: 1.2rem;
    }

    .button-face {
        width: 3.5rem;
        height: 3.5rem;
    }

    .radio-text h2 {
        font-size: 1rem;
    }

    .radio-text p {
        font-size: 0.9rem;
    }

    .chapter-selecter {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
}