.mainpopup {
    position: fixed; 
    z-index: 999;
}

.overlay {
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

#mainpopup1 .popup_inner {
    position: fixed;
    top: 9%;
    left: 4.5%;
    max-width: 50rem;
}

.corner_popup {
    bottom: 3rem; 
    right: 2rem; 
    max-width: 45rem;
}

.password_popup .popup_inner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1rem;
}

.mainpopup .popup_content {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.6rem;
}

.mainpopup .popup_inner .image {
    margin: 3rem 0 2rem;
    text-align: center;
}

.mainpopup .txt_container {
    background-color: #f4f4f4;
    border-radius: 1rem;
    padding: 4.5rem 2.5rem;
}

.mainpopup .txt_container div {
    text-decoration: underline;
}

.mainpopup .txt_container p {
    margin-top: 1.5rem;
    line-height: 1.5;
}

.mainpopup .btn_container {
    padding: 3rem 0 1.5rem;
    gap: 1rem;
}

.mainpopup .btn_item {
    background-color: #000;
    border-radius: 4rem;
}

.mainpopup .btn_item a {
    display: block;
    font-size: 1.7rem;
    font-weight:600;
    padding: 1.6rem 4rem;
    color: #fff;
}

.mainpopup .border {
    background-color: transparent;
    border: 1px solid #e5e5e5;
}

.mainpopup .border a {
    color: #000;
}

.mainpopup .btnx {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    font-size: 1.95rem;
    letter-spacing: -0.032rem;
    color: #000;
    text-decoration: underline;
    z-index: 10;
}

.mainpopup .black {
    color: #000;
}

.mainpopup .close_txt {
    margin-top: 0.8rem;
}

.mainpopup .bg_w {
    margin-top: 0;
    background-color: #000;
    padding: 1rem 1.6rem;
}

.mainpopup .bg_none {
    margin-top: 0;
    padding: 0.7rem 1rem;
}

.mainpopup .bg_none a {
    font-weight: 500 !important;
}


.mainpopup .close_txt a, .mainpopup .close_txt label {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: -0.032rem;
    color:#fff;
    cursor: pointer;
}

.mainpopup .bg_w a, .mainpopup .bg_w label {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
}

.mainpopup .input_chk_label:before {
    border: 1px solid rgb(255, 255, 255);
}

/* ¸ÞÀÎ ÆË¾÷ ½½¶óÀÌµå CSS */
.mainpopup .swiper-container {
    position: relative;
}
.mainpopup .swiper-slide img {
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    max-width: 45rem;
    max-height: 45rem;
}

.mainpopup .swbtn_wrap .swiper-pagination  {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    color: #fff;
    height: 30px;
    line-height: 30px;
    font-weight: 400;
    min-width: max-content;
    padding: 0 1rem;
}
.mainpopup .swbtn_wrap {
    width: 40px;
    position: absolute;
    bottom: 1rem;
    right: 3rem;
}

.mainpopup .swiper-button .swiper-button-prev {
    left: 1px;
    background-image: url(/img/front/main/tab_arr_left_w.webp);
    filter:brightness(0.5);
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    content: "";
}
.mainpopup .swiper-button .swiper-button-next {
    right: 1px;
    background-image: url(/img/front/main/tab_arr_right_w.webp);
    filter:brightness(0.5);
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
    content: "";
}
.mainpopup .swiper-button .swiper-button-prev:after,
.mainpopup .swiper-button .swiper-button-next:after {
    content: inherit;
}

/* ÈÞ¸é °èÁ¤ ÆË¾÷ */
.sleepbox {
    width: 60rem;
    z-index:9999; 
    position:fixed; 
    top:30%; 
    left:0;
    right:0;
    margin: 0 auto;
    background:#fff;
    padding: 4rem 5rem 5rem;
    text-align: center;
    border-radius: 0.5rem;
}

.sleepbox h3{
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem 0;
}
.sb_container > div {
    margin-top: 3rem;
}
.sb_des {
    line-height: 1.4;
}
.sb_qus {
    border: 1px solid #e5e5e5;
    padding: 3rem;
    background-color: #fafafa;
}
.sb_qus > p:nth-child(2) {
    margin-top: 1.2rem;
}
.sb_btn {
    margin-top: 3rem;
    gap: 1rem;
}

.sb_btn .submit_btn {
    width: fit-content;
    background-color: #000;
    border-radius: 5rem;
    color: #fff;
    padding: 1.5rem 3rem;
    cursor: pointer;
}

.sb_btn .submit_btn.blank {
    border: 1px solid #e5e5e5;
    background-color: #fff;
    color: #000;
}