@media screen and (min-width: 769px) {
    .schedule{
        background-image: url("../images/DSC05835-6.jpg");
        background-color: #00000090;
        background-blend-mode: multiply;
        background-repeat: round;
        background-attachment: fixed;
    }
}
.schedule .inner{
    width: 100vw;
    max-width: 100vw;
}

.schedule .schedule-list{
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 3rem;
    background-color: #FFFFFF90;
}

.schedule .schedule-item{
    display: flex;
    background-color: #FFFFFFDD;
    width: 70rem;
    height: 45rem;
    padding: 3rem 2rem;
    gap: 2rem;
    border-radius: 0rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.schedule .schedule-item:nth-child(1){
    margin-left: 3rem;
}
.schedule-item .left-area{
    position: relative;
    width: 50rem;
    height: 100%;
}
.schedule-item .left-area .poster-img-front{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    justify-content: center;
    place-content: center;
    align-content: center;
}
.schedule-item .left-area .poster-img-back{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    justify-content: center;
    place-content: center;
    align-content: center;
    pointer-events: none;
}
.schedule-item .right-area{
    width: 100%;
    height: 100%;
}
.schedule-item .right-area .schedule-title{
    background-color: #E3D0BF;
    border-bottom: 3px solid #978477;
    color: black;
    text-align: center;
    width: calc(100% + 3rem);
    padding: 1rem;
    font-size: 2rem;
    margin-left: auto;
    box-shadow:5px 3px 3px #555555;
}
.schedule-item .right-area .info-area{
    width: 100%;
    text-align: right;
    margin: 2rem 0;
    padding: 0 2rem;
}
.schedule-item .right-area .info-area{
    border-right: 0.5rem solid #978477;
}
.schedule-item .right-area .info-area p{
    font-size: 1.8rem;
    line-height: 2;
}
.schedule-item .right-area .schedule-description{
    display: none;
    width: 100%;
    height: 11rem;
    overflow-y: clip;
}
.schedule-item .right-area a,
.schedule-item .right-area .schedule-apply-text,
.schedule-item .right-area .schedule-apply-method-btn{
    text-decoration: none;
}
.schedule-item .right-area a p,
.schedule-item .right-area .schedule-apply-text p,
.schedule-item .right-area .schedule-apply-method-btn p{
    width: fit-content;
    color: white;
    background-color: #7A5684;
    margin-left: auto;
    font-size: 1.5rem;
    padding: 0.5rem 3rem;
    border-radius: 100rem;
    margin-top: 1rem;
}
.schedule-item .right-area .schedule-apply-text p{
    background-color: #999999;
    cursor: default;
}
.schedule-item .right-area .schedule-apply-method-btn{
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    box-shadow: none;
}
.schedule-item .right-area .schedule-apply-method-btn p{
    margin-bottom: 0;
}

/* お申し込み方法ポップアップ */
.schedule-apply-popup{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999998;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.schedule-apply-popup-inner{
    background: ghostwhite;
    max-width: 50rem;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 3px 2px #666;
    border: solid 6px #7A5684;
    border-radius: 0.5rem;
    padding: 2rem;
}
.schedule-apply-popup-title{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #978477;
}
.schedule-apply-popup-content{
    font-size: 1.6rem;
    line-height: 1.8;
    overflow-y: auto;
    flex: 1;
    white-space: pre-wrap;
    word-break: break-word;
}
.schedule-apply-popup-close{
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.5rem;
    background-color: white;
    color: black;
    border: solid 1px black;
    border-radius: 100rem;
    cursor: pointer;
    align-self: flex-end;
}
.schedule-apply-popup-close:hover{
    background-color: #f0f0f0;
}
.schedule-item #detail-button{
    font-size: 1.5rem;
    text-decoration: underline;
    text-decoration-color: #7A5684;
    box-shadow: none;
}

.schedule .schedule-window{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: fit-content;
    background-image: url(../images/white_bg.jpg);
    background-color: ghostwhite;
    z-index: 999999;
    margin: auto;
    padding: 5rem;

    box-shadow: 2px 3px 2px #666;
    border: solid 10px #7A5684;
}
.schedule-window .scroll-area{
    overflow-y: scroll;
    overflow-x: clip;
    height: 78vh;
}
.schedule-window .scroll-area p{
    font-size: 2rem;
    line-height: 2;
}
.schedule-window .img-area{
    display: flex;
    margin: auto;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}
.schedule-window img{
    width: 30%;
    height: auto;
    object-fit: contain;
}
.schedule-window .schedule-title{
    background-color: #E3D0BF;
    border-bottom: 3px solid #978477;
    color: black;
    text-align: center;
    width: 100%;
    padding: 1rem;
    font-size: 2.5rem;
    margin: auto;
    box-shadow:5px 3px 3px #555555;
    margin-bottom: 2rem;
}
.schedule-window .schedule-description{
    margin-top: 2rem;
    font-size: 2rem;
    line-height: 2;
    border-top: 2px solid #999999;
    padding-top: 1rem;
}
.schedule-window a{
    text-decoration: none;
}
.schedule-window a p, .schedule-window #schedule-close-button{
    width: 40rem;
    height: fit-content;
    text-align: center;
    color: white;
    background-color: #7A5684;
    margin-left: auto;
    margin-right: auto;
    font-size: 2rem;
    padding: 1rem 5rem;
    border-radius: 1rem;
    margin-top: 1rem;
    box-shadow:5px 3px 3px #555555;
}
.schedule-window #schedule-close-button{
    background-color: white;
    color: black;
    border: solid 1px black;
    display: block;
}

@media screen and (max-width: 768px) {
    .schedule{
        
    }
    .schedule .inner{
        width: 100vw;
        max-width: 100vw;
    }

    .schedule .schedule-list{
        display: flex;
        overflow-x: scroll;
        overflow-y: hidden;
        gap: 1rem;
    }

    .schedule .schedule-item{
        display: grid;
        background-color: #FFFFFFDD;
        width: 44rem;
        min-width: 44rem;
        height: auto;
        padding: 3rem 2rem;
        gap: 2rem;
        border-radius: 0rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .schedule .schedule-item:nth-child(1){
        margin-left: 3rem;
    }
    .schedule-item .left-area{
        width: 100%;
        height: 40rem;
        background-color: #ddd;
    }
    .schedule-item .left-area .poster-img-front{
        width: 100%;
        height: 100%;
        object-fit: contain;
        justify-content: center;
        place-content: center;
        align-content: center;
    }
    .schedule-item .left-area .poster-img-back{
        
    }
    .schedule-item .right-area{
        width: 100%;
        height: 100%;
    }
    .schedule-window .img-area{
        display: block;
    }
    .schedule-window img{
        width: 100%;
    }
    .schedule-item .right-area .schedule-title{
        background-color: #E3D0BF;
        border-bottom: 3px solid #978477;
        color: black;
        text-align: center;
        width: 100%;
        padding: 1rem;
        font-size: 2.5rem;
        margin: auto;
        box-shadow:5px 3px 3px #555555;
    }
    .schedule-item .right-area .info-area{
        width: 100%;
        text-align: right;
        margin: 2rem 0;
        padding: 2rem 2rem;
    }
    .schedule-item .right-area .info-area{
        border-right: 0.5rem solid #978477;
    }
    .schedule-item .right-area .info-area p{
        font-size: 2rem;
        line-height: 2;
    }
    .schedule-item .right-area .schedule-description{
        display: none;
        width: 100%;
        height: 11rem;
        overflow-y: clip;
        border-top: 2px solid #999999;
        padding-top: 1rem;
    }
    .schedule-item .right-area a,
    .schedule-item .right-area .schedule-apply-text,
    .schedule-item .right-area .schedule-apply-method-btn{
        text-decoration: none;
    }
    .schedule-item .right-area a p,
    .schedule-item .right-area .schedule-apply-text p,
    .schedule-item .right-area .schedule-apply-method-btn p{
        width: fit-content;
        color: white;
        background-color: #7A5684;
        margin-left: auto;
        margin-right: auto;
        font-size: 2rem;
        padding: 1rem 5rem;
        border-radius: 100rem;
        margin-top: 1rem;
    }
    .schedule-item .right-area .schedule-apply-text p{
        background-color: #999999;
    }
    .schedule-item .right-area .schedule-apply-method-btn{
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
        font: inherit;
    }
    .schedule-item #detail-button{
        font-size: 2rem;
        text-decoration: underline;
        text-decoration-color: #7A5684;
        box-shadow: none;
    }

    .schedule .schedule-window{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100vw;
        max-height: 100vh;
        height: fit-content;
        background-color: ghostwhite;
        z-index: 999999;
        margin: auto;
        padding: 3rem 1rem;

        box-shadow: 2px 3px 2px #666;
        border: solid 10px #7A5684;
    }
    .schedule-window .schedule-title{
        background-color: #E3D0BF;
        border-bottom: 3px solid #978477;
        color: black;
        text-align: center;
        width: 100%;
        padding: 2rem;
        font-size: 2.5rem;
        margin: auto;
        box-shadow:5px 3px 3px #555555;
        margin-bottom: 3rem;
    }
    .schedule-window .schedule-description{
        margin-top: 2rem;
    }
    .schedule-window a{
        text-decoration: none;
    }
    .schedule-window a p, .schedule-window #schedule-close-button{
        width: 40rem;
        height: fit-content;
        color: white;
        background-color: #7A5684;
        margin-left: auto;
        margin-right: auto;
        font-size: 2rem;
        padding: 1rem 5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow:5px 3px 3px #555555;
    }
    .schedule-window p{
        font-size: 2rem;
        width: 100%;
    }

    .schedule-window #schedule-close-button{
        background-color: white;
        color: black;
        border: solid 1px black;
        display: block;
        font-weight: bold;
    }

    .schedule-apply-popup{
        padding: 1rem;
    }
    .schedule-apply-popup-inner{
        padding: 1.5rem;
        max-height: 80vh;
    }
    .schedule-apply-popup-title{
        font-size: 2.5rem;
    }
    .schedule-apply-popup-content{
        font-size: 2rem;
    }

}