body {
    font-size: clamp(13px, 4vw, 16px);
}
.prev{
    display: flex;
    align-items: center;
    /* margin-bottom: 34px; */
}
#info_edit,
#event_entry{
    padding: 0 10px;
}
.info_edit,
.event_entry{
    padding: 0 21px;
}
label,
.guide_img{
    margin: 18px 0 15px;
    display: block;
}
#address1,
#postal_code,
.address_wrap input,
.address_wrap select{
    margin-bottom: 8px;
}
.address_wrap select{
    color: #ccc !important;
}
.postal_wrap{
    display: flex;
    gap: 14px;
}
#postal_btn{
    height: 46px;
    min-width: 38%;
    margin: 0;
    width: auto;
    border-radius: 5px;
}
.button{
    margin: 21px 0 46px;
    font-weight: bold;
    cursor: pointer;
}
.withdraw{
    color: #EE5B5B;
    font-size: 12px;
    cursor: pointer;
    display: inline;
}
.global_input label{
    margin-bottom: 7px;
    font-weight: bold;
}
.global_input p{
    font-size: 14px;
    margin-bottom: 12px;
}
.show,
#identity_retry{
    display: none;
}
#identity,
#identity_retry{
    margin: 21px 0 0px !important;
}
/* 약관 페이지 */
#terms,
#coupon,
#guide{
    padding: 0 10px;
}
#terms .prev{
    margin-bottom: 29px;
}
#terms .card, 
#guide .card{
    padding: 25px 20px;
}
#terms ol{
    padding: 20px;
}
#terms .card b,
#guide .card b{
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}
#terms .card p{
    line-height: 1.3;
    font-weight: 300;
}
#terms .bold{
    font-weight: bold !important;
    margin: 10px 0;
}
#terms ul{
    margin-left: 35px;
    font-weight: 300;
    margin-top: 10px;
}
#guide iframe{
    margin-top: 29px;
    min-height: 219px;
}
/* 우편 */
#layer{
    display:none;
    position:fixed;
    overflow:hidden;
    -webkit-overflow-scrolling:touch;
    width: 100% !important;
    max-width: 500px !important;
    height: 100% !important;
    left: 50% !important;
    top: 50% !important;
    z-index: 2;
    transform: translate(-50%, -50%);
}
#btnCloseLayer{
    top: 0 !important;
    right: 0 !important;
}

/* 공지사항 */
#guide .guide_img img{
    width: 100%;
    max-width: 500px;
}
/* 이벤트 응모 페이지 */
#event_entry .event_section{
    margin: 18px 0 15px;
}
#event_entry .event_section .red{
    font-size: 14px;
    color: #EE5B5B;
    margin-top: 8px;
}
/* .event_type1, .event_type3{
    display: none;
} */
.apply_btn_wrap{
    background: #19191e;
    max-width: 500px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    padding: 19px 21px;
}
#apply_btn{
    margin: 0 !important;
    height: 42px;
    border-radius: 5px;
}
.checkboxwrap label{
    margin: 0 !important;
    font-weight: bold;
    font-size: 14px;
}
.checkboxwrap .deco{
    text-decoration: underline;
    cursor: pointer;
}
/* 체크박스 커스텀  */
.checkboxwrap{
    margin: 16px 0;
}
.checkboxwrap .flex{
    gap: 10px;
    justify-content: inherit !important;
}
.checkboxwrap .checkbox{
    display: none!important;
}
.checkboxwrap .checkbox + label {
    position: relative;
    border: 1px solid #fff;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    cursor:pointer;
    border-radius: 3px;
}
.checkboxwrap .checkbox + label:after{
    content: 'done';
    color: #000000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.checkboxwrap .checkbox + label::before{
    content: 'done';
    color: #fff;
}
.checkboxwrap .checkbox:checked + label {
    background: #fff;
    border: 1px solid #fff;
}
.checkboxwrap .checkbox:checked + label:after {
    color: black; 
}
.material-symbols-outlined{
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
}
.checkboxwrap .checkbox:checked + .material-symbols-outlined{
    color: #fff;
}
.popup_cover{
    z-index: 3 !important;
}
#terms_popup .popup_header {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
#terms_popup {
    max-height: 80%;
    max-width: 500px;
    width: 80%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#terms_popup .popup_header b{
    margin-left: 0px !important;
}
#terms_popup .left{
    margin-left: 30px;
    display: block;
}
/* 500px 이하 반응형  */
@media (max-width: 500px) {
    .button{
        margin-bottom: 50px;
    }
    #apply_btn{
        margin-bottom: 0 !important;
    }
    #terms{
        padding: 0 25px;
    }
    #event_entry .select{
        padding: 10px 23px !important;
        height: initial !important;
    }
    #event_entry .input{
        padding: 13px 23px !important;
        height: initial !important;
    }
}