/* 모달 */
.modal {
    width:100%;
    max-width:540px;
    height:100vh;
    background:#00000066;
    position:fixed;
    top:0;
    z-index:5000;
    display:flex;
    justify-content:center;
    flex-direction:column;
    align-items:center;
}

/* 하단 모달 */
.modal_btm {
    width:100%;
    max-width:540px;
    padding:25px 20px 20px 20px;
    background:var(--wh);
    position:fixed;
    bottom:0;
    border-radius: 20px 20px 0 0;
}
.modal_btm h3 {
    font-size:18px;
    font-weight:700;
    padding:0 0 20px 0;
    line-height:100%;
    margin:0;
    border-bottom:1px solid var(--n200);
}

/* 약관동의 */
.modal_btm .term_list{
    padding:20px 0;
}
.modal_btm .term_list li {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
}
.modal_btm .term_list li:not(:last-child) {
    margin-bottom:20px;
}
.modal_btm .term_list li a {
    width:90%;
    flex-direction:row;
    display:flex;
}
.modal_btm .term_list li a p {
    font-size:16px;
    font-weight:500;
    color:var(--n500);
    max-width: 80%;
}
.modal_btm .term_list li.all .checkbox_label {
    display: flex;
    width:100%;
    justify-content:space-between;
}
.modal_btm .term_list li.all .checkbox_text {
    font-weight:700;
    color:var(--n700);
}
.modal_btm .term_list li a span::before {
    color:var(--n400);
    font-size:16px;
    margin-right:10px;
    width:30px;
    display:block;
}
.modal_btm .term_list li.must a span::before {
    content:'필수';
}
.modal_btm .term_list li.choice a span::before {
    content:'선택';
}
.modal_btm button.close {
    position:absolute;
    top:20px;
    right:20px;
    width:30px;
    height:30px;
    text-indent:-9999px;
    background:url(../img/ico_close.svg) no-repeat center;
}

/* 알림 메시지 */
.alert {
    width:calc(100% - 60px);
    max-width:300px;
    background-color:var(--wh);
    padding:25px;
    border-radius:8px;
}
.alert strong {
    font-weight:700;
    font-size:16px;
    display:block;
    margin-bottom:8px;
}
.alert p {
    font-size:14px;
    color: var(--n500);
    line-height:150%;
}
.alert .button_wrapB {
    padding-top:12px;
}
