/* 1日の流れセクション用スタイル */
.schedule {
    padding: 80px 0;
    background-color: #151F31;
    /* 濃い青に変更 */
    position: relative;
    overflow: hidden;
    color: #fff;
    /* 見出しの色を白に */
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(21, 31, 49, 0.3) 0%, rgba(21, 31, 49, 0.1) 100%);
    z-index: 0;
}

/* ゴールドの線のアニメーション用要素 */
.schedule::after {
    /* 削除：背景全体の光るエフェクト */
    display: none;
    /* エフェクトを非表示にする */
}

/* ゴールドの線アニメーションの定義 */
@keyframes goldLineSlide {
    0% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* 追加のゴールド線 - セクション真ん中に1本だけ配置 */
.schedule .gold-line {
    position: absolute;
    left: -100%;
    width: 100%;
    height: 5px;
    /* 線を太くする */
    top: 50%;
    /* セクションの真ん中に配置 */
    transform: translateY(-50%);
    /* 完全に中央に配置 */
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.2),
            rgba(212, 175, 55, 0.5),
            rgba(212, 175, 55, 0.9),
            /* より明るく */
            rgba(212, 175, 55, 0.5),
            rgba(212, 175, 55, 0.2),
            transparent);
    animation: goldLineSlide 6s linear infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    /* 光るエフェクトを追加 */
}

.schedule .container {
    position: relative;
    z-index: 2;
}

.schedule h2 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
}

.schedule h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
    /* 金色のグラデーション */
    border-radius: 2px;
}

/* カードレイアウト */
.schedule-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}

.schedule-card {
    flex: 1;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
    /* カード内のテキストは黒系に */
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* アイコン */
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #7C83E8;
    /* 紫色の背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    color: #fff;
    /* アイコンの色を白に */
}

.schedule-card:hover .card-icon {
    transform: scale(1.1);
}

/* すべてのカードで同じアイコンカラーを使用 */
.schedule-card .card-icon {
    color: #fff;
    background-color: #7C83E8;
}

/* カードヘッダー - 見出しと時間バッジを横並びに */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

/* 見出し */
.schedule-card h3 {
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

/* 時間バッジ */
.time-badge {
    display: inline-block;
    background-color: #D4AF37;
    /* 金色の背景 */
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* リスト */
.schedule-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.schedule-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    transition: transform 0.2s ease;
    color: #333;
}

.schedule-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E74C3C;
    /* 赤色のチェックマーク */
    font-weight: bold;
}

.schedule-card li:hover {
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .schedule-cards {
        flex-wrap: wrap;
        gap: 30px;
    }

    .schedule-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .schedule-card {
        flex: 0 0 100%;
    }

    /* モバイル表示時もヘッダーを横並びに保持 */
    .card-header {
        flex-wrap: wrap;
    }

    .schedule-card h3 {
        font-size: 1.3rem;
    }

    .time-badge {
        margin-top: 5px;
    }
}