/* 리셋  */
#modalArea div {
    box-sizing: border-box;
    width: auto; height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

#modalArea a {
    text-decoration: none;
    font-style: normal;
}

#parent {
    width: 100%;
    height: 600px;
    background: lime;
    border: 1px solid #f0f0f0;

}
.modal-outer-area {
    position: fixed;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    /* 모달 아우터 영역의 배경색과 투명도 조절 */
    background: rgba(150,150,150,0.3);

    /* 모달 아우터 영역의 배경 블러효과 조절 (웹킷까지 동일하게 수정해야합니다.) */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 600;
}
#modalArea {
    position: fixed;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 80%; height: auto;
    max-width: 640px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
    background: white;
    border-radius: 5px;
    z-index: 601;
    box-sizing: border-box;
    text-align: center;
}
.modal-content {
    width: 80%;
}

.modal-content >img {
    width: 76%; height: auto;
}

.modal-swiper {
    width: 100%;
}

#modalArea .swiper-slide {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f0f0f0;
}
#modalArea .swiper-button-prev, #modalArea .swiper-button-next {
    width: 35px; height: 35px;
    background: white;
    border-radius: 500px;
}
#modalArea .swiper-button-prev::after, #modalArea .swiper-button-next::after {
    font-size: 16px;
    color: black;
}

#modalArea .swiper-slide >img {
    width: 100%; height: auto;
}

.modal-close-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 5px;
}

.modal-close-wrap >label {
    flex: 1 1 70%;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    grid-gap: 30px;
    font-size: 16px;
    color: white;
    line-height: 1;
    background: #000746;
}

label >input {
    width: 16px; height: 16px;
}

.modal-close-wrap >button {
    flex: 1 1 30%;
    height: 30px;
    font-size: 16px;
    color: black;
    line-height: 1;
    background-color: #f0f0f0;
    outline: none;
    border: none;
}

@media(max-width: 640px) {
    #modalArea {
        max-width: 90vw;
    }

    .modal-close-wrap >label {
        flex: 1 1 75%;
        height: 25px;
        grid-gap: 10px;
        font-size: 12.8px;
    }
    label >input {
        width: 14px; height: 14px;
    }

    .modal-close-wrap >button {
        flex: 0 0 auto;
        padding: 0 10px;
        height: 25px;
        font-size: 12.8px;
    }
}










.popup-box {
    position: fixed;
    width: auto;
    max-width: 640px;
    max-height: 80vh;
    padding: 5px;
    display: flex;
    flex-direction: column;
    background: black;
    border-radius: 5px;
    z-index: 800;
}
.popup-box.pb1 {
    left: 50px; top: 30px;
}
.popup-box.pb2 {
    left: 150px; top: 60px;
}
.popup-box.pb3 {
    left: 250px; top: 90px;
}
.popup-box.hidden {
    display: none;
}

.popup-box .popup-img-wrap {
    width: 100%;
    overflow: auto;
}
.popup-box .popup-img-wrap >img {
    width: 100%; height: auto;
}

.popup-box .popup-controller {
    width: 100%; height: 30px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.popup-box .popup-controller >label {
    flex: 1 1 80%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: black;
}
.popup-box .popup-controller >label >span {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: white;
}
.popup-box .popup-controller >label >input {
    width: 16px; height: 16px;
}
.popup-box .popup-controller .popup-close {
    flex: 1 1 20%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: black;
    background: #f0f0f0;
}
@media(max-width: 1024px) {
    .popup-box {
        transform: translateX(-50%);
        width: 100%;
    }

    .popup-box.pb1 {
        left: 50%;
    }
    .popup-box.pb2 {
        left: 50%;
    }
    .popup-box.pb3 {
        left: 50%;
    }
}
@media(max-width: 640px) {
    .popup-box {
        max-width: 90vw;
    }

    .popup-box .popup-controller >label >span {
        font-size: 14px;
    }
    .popup-box .popup-controller >label >input {
        width: 14px; height: 14px;
    }
    .popup-box .popup-controller .popup-close {
        font-size: 14px;
    }
}