@charset "utf-8";
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html,body{
    font-family: 'Noto Sans KR', sans-serif;    
    background-color:#eee;
}
img{
    vertical-align:top;
    width:100%;
}
li{
    list-style:none;
}
button{
    border:0;
    outline:none;
    cursor:pointer;
}
section{
    position:relative;
    max-width:1920px;
    margin:0px auto;
}

.m{    
    display:none;
}
.none{
    display:none;
}
h1{
    font-size:3em;
}
@keyframes loading{
    0%{
        opacity:0
    }
    100%{
        opacity:1;
    }
}

.form_wrap{
    padding:10% 20%;
    background-color:#000c16;
    color:#fff;
    text-align:center;
}
.form_wrap h2{
    width:30%;
    min-width:200px;
    margin:0 auto 5%;
}
.form_wrap label{
    display:inline-block;
    width:90px;
    font-size:14px;
    vertical-align:middle;
}
.form_wrap input,
.form_wrap select{
    width:100%;
    height:4em;
    line-height:4em;
    font-size:16px;
    font-weight:bold;
    padding:0px 10px;
    margin:10px 0;
    border-radius:10px;
    vertical-align:middle;
    background:#fff;
}
.form_wrap .inputwrap select{    
    color:#777;    
}

.form_wrap .inputwrap,
.form_wrap .phonewrap {
    font-size:0;
}
.form_wrap .phonewrap select,
.form_wrap .phonewrap input{
    width:32%;
}
.form_wrap .phonewrap span{
    display:inline-block;
    width:2%;
    text-align:center;
    font-size:14px;
    font-weight:bold;
    vertical-align:middle;
}

.form_wrap .checkwrap {
    line-height:2em;
    margin:20px 0;
}
.form_wrap .checkwrap label:first-child{
    margin-right:20px;
}
.form_wrap .checkwrap label,
.form_wrap .checkwrap button{
    vertical-align:middle;
    font-size:1.2rem;
}
.form_wrap .checkwrap input{
    display:none;
}
.form_wrap .checkwrap .check{
    display:inline-block;
    width:1rem;
    height:1rem;
    background-color:#fff;
    border:1px solid #777;
    border-radius:50%;
    margin:0 10px;
}
.form_wrap .checkwrap input:checked + .check{
    background-image:url("../images/check.png");
    background-repeat:no-repeat;
    background-size:73%;
    background-position:center center;    
}
.form_wrap .checkwrap .text{
    width:inherit;
}

.form_wrap .submit{
    width:50%;
    background:transparent;
}

.modal{
    display:none;
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:100%;   
    z-index:9999; 
    text-align:center;
}
.modal .bg{    
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}
.modal .con{
    position:absolute;
    top:50%;
    left:50%;
    width:1080px;    
    max-height:95%;
    transform:translate(-50%,-50%);
    padding:20px;
    border-radius:10px;
    background:#fff;
    overflow:auto;
    overscroll-behavior:contain;
    box-shadow:3px 3px 10px rgba(0,0,0,0.5);
}
.modal .con h2{
    margin-bottom:10px;
}
.modal .modal_close{
    background:#fff;
    position:absolute;
    top:20px;
    right:20px;    
    border:0;
}

.modal2 .con{
    max-width:300px;    
}
.modal2 .con span{
    vertical-align:middle;
}

/* 로딩아이콘 */
.modal2 .loading-icon{
    position:relative;
    width:3em;
    height:3em;
    margin:10px auto 0;
    transform:rotate(90deg);
}
.modal2 .loading-icon .icon{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    opacity:1;
    animation-name:loading;
    animation-duration:0.4s;
    animation-iteration-count:infinite;
    animation-direction: alternate-reverse;
}
.modal2 .loading-icon .icon:after{
    content:'';
    position:absolute;
    top:0px;
    left:50%;
    transform:translate(-50%);
    width:10px;
    height:10px;
    background:#000;
    border-radius:50%;
}
.modal2 .loading-icon>div:nth-of-type(2){
    transform:rotate(45deg);
    opacity:0.9;
    animation-delay:0.1s;
}
.modal2 .loading-icon>div:nth-of-type(3){
    transform:rotate(90deg);
    opacity:0.8;
    animation-delay:0.2s;
}
.modal2 .loading-icon>div:nth-of-type(4){
    transform:rotate(135deg);
    opacity:0.7;
    animation-delay:0.3s;
}
.modal2 .loading-icon>div:nth-of-type(5){
    transform:rotate(180deg);
    opacity:0.6;
    animation-delay:0.4s;
}
.modal2 .loading-icon>div:nth-of-type(6){
    transform:rotate(225deg);
    opacity:0.5;
    animation-delay:0.5s;
}
.modal2 .loading-icon>div:nth-of-type(7){
    transform:rotate(270deg);
    opacity:0.4;
    animation-delay:0.6s;
}
.modal2 .loading-icon>div:nth-of-type(8){
    transform:rotate(315deg);
    opacity:0.3;
    animation-delay:0.7s;
}
/* 로딩아이콘 end */

.modal3 .submit_fin{
    width:100%;
    height:2.5em;
    line-height:2.5em;
    font-size:1em;
    color:#fff;
    background-color:#333;
    border-radius:10px;
    margin-top:20px;
}
@media all and (max-width:1200px){
    .modal .con{
        width:95%;
    }
}
@media all and (max-width:780px){
    .m{
        display:block;
    }
    .pc{
        display:none;
    }

    .form_wrap{
        padding:5% 10px;
    }
    .form_wrap h2{
        margin:20px auto;
    }
    .form_wrap .checkwrap label:first-child{
        display:block;
        margin:0;
    }
    .form_wrap .submit{
        width:90%;
    }
    .modal1 .con{
        padding:50px 20px 20px;
    }
}