.anime-text {
    color: var(--anime-card-text-default-color);
}

.back-color {
    background-color: var(--anime-cardsection-backdefault-color);
}

.anime-meta-text {
    color: var(--anime-card-metainfo-default-color);
}

.top-contents-column {
    display: flex;
}

.contents {
    display: flex;
    flex-direction: column;
}

.main-group-sec {
    display: flex;
    flex-direction: row;
}

/* 基本的なリセットとフォント */
.schedule {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    padding: 20px;
    width: 100%;
}

/* スケジュールグループ全体 (曜日ごとのセクション) */
.broadcast-schedule-group {
    margin-bottom: 30px;
}

/* 曜日セクションのレイアウト（デスクトップ向け） */
.days-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 15px;
}

/* スケジュールカード（曜日ごと） */
.schedule-card {
    background-color: var(--anime-card-backdefault-color);
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 15px;
    transition: transform 0.2s;
    min-height: 200px; /* カードの高さを揃えるために設定 */
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

/* 曜日見出し */
.schedule-card h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #5d78ff; /* 曜日の下線 */
    padding-bottom: 5px;
}

/* 番組リスト */
.schedule-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--anime-theme-dark-text);
}

/* 番組リストアイテム */
.schedule-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    padding-bottom: 5px;
    border-bottom: 1px dotted #e9ecef;
}

.schedule-card li:last-child {
    border-bottom: none;
}

/* リスト内のリンク（アニメタイトル） */
.schedule-card a {
    color: var(--anime-theme-dark-accent);
    text-decoration: none;
    display: block; /* 時間とタイトルをブロック要素にする */
    margin-bottom: 3px;
    transition: color 0.2s;
}

.schedule-card a:hover {
    color: #5d78ff;
    text-decoration: underline;
}

/* 放送時間バッジ */
.time-badge {
    background-color: #5d78ff;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 8px;
    display: inline-block;
}

/* 今日放送のアニメ (today-anime クラス) */
.today-anime {
    background-color: #fffacd; /* 薄い黄色で強調 */
    padding: 5px;
    border-radius: 4px;
    border-left: 4px solid #f6ad55; /* 左側に目立つ線 */
    font-weight: bold;
}

.today-anime a {
    color: #334e68;
}

/* 「(今日放送)」ラベル */
.today-label {
    color: #f6ad55;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 5px;
}

/* その他/放送前セクション */
.other-schedule-section {
    grid-column: 1 / -1; /* グリッド全体幅を使う */
}

.other-schedule-section h2 {
    color: #11b5dd;
    border-bottom-color: #0b7089;
}

.anime-number {
    font-weight: bold;
    color: #11b5dd;
    margin-right: 5px;
}

/* スマートフォン向けの調整 (768px以下) */
@media (max-width: 768px) {
    .days-section {
        /* スマートフォンでは2列表示に */
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }
    
    .schedule {
        padding: 10px;
    }

    .schedule-card {
        padding: 10px;
    }
}

/* さらに狭い画面向けの調整 (480px以下) */
@media (max-width: 480px) {
    .days-section {
        /* さらに狭い画面では1列表示に */
        grid-template-columns: 1fr;
    }
}