@charset "UTF-8";

.modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;z-index:9997;}
.modal::before{position:absolute;left:0;top:0;bottom:0;right:0;background:#000;opacity:0.5;z-index:1;content:'';}
.modal_inner{overflow:hidden;position:relative;width:100%;height:100%;background:#fff;z-index:10;}

.modal_header{border-bottom:1px solid #eee;background:#fff;}
.modal_header h1{padding:12px 56px 11px;font-size:1.125rem;font-weight:700;line-height:28px;text-align:center;}
.modal_header .close{position:absolute;top:0;right:0;width:56px;height:52px;font-size:0;}
.modal_header .close::before,.modal_header .close::after{position:absolute;top:50%;left:50%;width:24px;height:2px;margin:-1px 0 0 -12px;background:#222;content: '';}
.modal_header .close::before{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);}
.modal_header .close::after{-webkit-transform:rotate(45deg);transform:rotate(45deg);}

.modal_conts{display:flex;flex-direction:column;gap:1.5rem;height:calc(100% - 52px);padding:24px 0;}
.term_select{padding:0 16px;}
.modal_conts .pre{overflow-y:auto;height:100%;padding:0 16px;}
.modal_conts .title{font-size:1rem;font-weight:600;line-height:1.375rem;text-align:left;padding:0 16px;}
.modal_conts .pre h3{font-weight: 500;font-size: 0.813rem; line-height: 1.125rem;color:#222; margin: 0 0 10px;}
.modal_conts .pre ol, .modal_conts .pre ul, .modal_conts .pre p{font-weight: 400;font-size: 0.813rem; line-height: 1.125rem;color:#666; margin: 0 0 14px;}
.modal_conts .pre ol li{list-style-type: decimal;margin: 0 0 8px 14px;}
.modal_conts .pre ul li{list-style-type: disc;margin: 0 0 8px 18px;}
.modal_conts .pre .help{font-weight: 500;color:#222;}
.modal_conts .pre .warning{color:#f84646;}

.modal_footer{display:flex;justify-content:space-between;padding:10px;border-top:1px solid #d9d9d9;}
.modal_footer .btn{padding:6px 0;font-size:14px;line-height:24px;}
.modal_footer .btn + .btn{margin-left:10px;}

/* cont */

@media screen and (min-width:1024px){
    .modal_inner{width:480px;height:80%;border-radius:12px;}

    .modal_header{border:none;}
    .modal_header h1{padding:30px 96px 16px 36px;font-size:20px;font-weight:600;line-height:26px;text-align:left;}
    .modal_header .close{top:15px;right:20px;}
    .modal_conts .title {padding:0 36px;}
    
    .modal_conts{padding:0 0 30px 0;}
    .term_select,.modal_conts .pre{padding:0 36px;}
    .term_select select{width:auto;}

}