@charset "UTF-8";

.modal-swiper {
    width: 90%;
    max-width: 1000px;
    margin: -60px auto 0;
}

.modal-front__contents {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 20px;
    justify-content: space-around;
}
.modal-front__content {
}
.modal-front__content:hover {
    cursor: pointer;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 100vh;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
}
.modal.is-active {
    opacity: 1;
    pointer-events: auto;
}
.modal__background {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.modal__contents {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 0;
}
.modal__inner {
    filter: drop-shadow(0px 0px 4px #ddd);
    background: #FFF;
    width: 90%;
    margin: 0 auto;
    border-radius: 2px;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.modal__close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 20;
}
.modal__close-btn:hover {
    opacity: 0.8;
}
.modal__cross-line {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 2rem;
    height: 0.1rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
}
.modal__cross-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}
.slider1 {
    position: relative;
}
.slider1.swiper-container {
    height: auto;
    max-height: 550px;
}
.slider1 .swiper-slide__body {
    text-align: center;
}
.slider2 {
    position: relative;
}
.slider2.swiper-container {
    height: auto;
    max-height: 550px;
}
.slider2 .swiper-slide__body {
    text-align: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: white;
}


@media only screen and (max-width:750px){
    
    .modal-swiper {
        margin: 20px auto 0;
    }
    
    .modal-front__contents {
        gap: 10px;
    }
}
