/* スケジュールポップアップ */
.schedule-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.schedule-popup.is-visible {
    display: block;
}

.schedule-popup.is-active {
    opacity: 1;
}

.schedule-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.schedule-popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 30px 30px;
    box-sizing: border-box;
}

.schedule-popup__close {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: calc(-45vh + 15px);
    margin-left: calc(400px - 15px - 40px);
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.schedule-popup__close:hover {
    color: #666;
    background: #f5f5f5;
}

.schedule-popup__title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.schedule-popup__images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-popup__image-wrapper {
    width: 100%;
}

.schedule-popup__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* スクロールバーのスタイル（オプション） */
.schedule-popup__content::-webkit-scrollbar {
    width: 8px;
}

.schedule-popup__content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.schedule-popup__content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.schedule-popup__content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* スマートフォン対応 */
@media screen and (max-width: 768px) {
    .schedule-popup__content {
        width: 95%;
        max-height: 85vh;
        padding: 50px 20px 20px;
    }

    .schedule-popup__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .schedule-popup__close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-top: calc(-42.5vh + 10px);
        margin-left: calc(47.5vw - 10px - 35px);
    }

    .schedule-popup__images {
        gap: 15px;
    }
}
