@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard.css");


*{margin: 0;padding: 0;}
body{font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; color: #222; letter-spacing: -0.02em;}
img{vertical-align: top;}
ul{list-style: none;}
h1,h2,h3,h4,h5,h6,p,ul{margin: 0;}
a{text-decoration: none;color: inherit;}
a:hover{text-decoration: none;color: inherit;}
button{border: 0; background: transparent; cursor: pointer;}
button:active, button:focus{outline: none;}

#wrap{
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.view-767{
    display: none;
}

.bg-dcedf9{
    background: #dcedf9;
    font-weight:700;
}

.inner{
    width: 100%;
    max-width: 960px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

header{
    position: fixed;
    max-width: 1400px;
    margin: 0 auto;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
    z-index: 999;
}

header>.inner{
    min-height: 120px;
}

header .logo{
    font-size: 0;
}

.menu-btn{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 30px;
    height: 23px;
    z-index: 999;
}

.menu-btn span{
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 1.5px;
    background: #222;
    transition: transform 0.3s;
}

.menu-btn.open span:nth-child(2){
    display: none;
}

.menu-btn.open span:first-child{
    width: 27px;
    transform-origin: left top;
    transform: translate(5px, 1px) rotate(45deg);
}

.menu-btn.open span:last-child{
    width: 27px;
    transform-origin: left bottom;
    transform: translate(5px, -1px) rotate(-45deg);
}

nav{
    display: none;
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    
    z-index: 997;
}

nav.on{
    display: block;
}

nav li{
    color: #999;
    width: 28%;
    border-right: 1px solid #ebebeb;
}

nav a{
    display: flex;
    align-items: center;
    width: 100%;
    height: 110px;
    padding: 0 30px;
    
    font-size: 22px;
}

@media (min-width:768px) {
    header::before{
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% + 0px);
        background: #fff;
        content: '';
        z-index: 998;
    }
    header .logo{
        position: relative;
        z-index: 999;
        font-size: 0;
    }
    nav{
        /* width: ; */
        border-top: 1px solid #ebebeb;
        box-shadow: 0 0 29px rgba(0, 0, 0, 0.30);
        background: #fff;
        
    }

    nav li:nth-child(4n){
        width: 23%;
        border-right: none;
    }
    
    nav li:nth-child(4n) a{
        padding-right: 0;
    }
    nav li:nth-child(4n) a{
        padding-right: 0;
    }
    
    nav li:nth-child(4n-2){
        width: 30.1%;
    }

    nav li:nth-child(4n-3){
        width: 18.9%;
    }
    
    nav li:nth-child(4n-3) a{
        padding-left: 0;
    }

    nav li:nth-child(-n+4){
        padding-top: 35px;
    }
    nav li:nth-child(n+5){
        padding-bottom: 35px;
    }

    nav li a:hover{
        color: #0068ae;
        font-weight: 700;
        letter-spacing: -0.04em;
    }
}

#main,
.sub-wrap{
    padding-top: 121px;
}

footer{
    display: flex;
    align-items: center;
    min-height: 363px;
    padding: 10px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 0;
    background: url(../images/f_bg.jpg) left top / auto 100% repeat-x;
}
footer .f-txt{
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0px 3px 7px rgba(0, 36, 49, 0.44);
}

footer .info>ul{
    margin-top: 10px;
}

footer .info>ul>li{
    display: flex;
    align-items: flex-start;
}

/* footer .info>ul>li:first-child{
    padding-right: 30px;
    margin-right: 25px;
    background: url(../images/f_line.png) right center no-repeat;
} */

footer .info>ul>li h2{
    margin-right: 20px;
    font-size: 16px;
    font-weight: 600;
}

footer .info>ul>li b{
    font-weight: 500;
}

footer .inner>div:last-child{
    margin-top: 50px;
}

footer .sns-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 220px;
}


@media(max-width:767px){

    
    .view-767{
        display: block;
    }

    .hide-767{
        display: none;
    }

    header{
        left: 0;
        z-index: 9999;
    }

    /* #main{
        padding-top: 121px;
    } */

    body.menu-open{
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .menu-btn.open span{
        background: #fff;
    }

    nav{
        position: fixed;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* padding-top: 140px;
        padding-bottom: 140px; */
        /* overflow-y: auto; */
        background: #0068ae;
        z-index: 998;
        transition: transform 0.3s;
        transform: translateX(100%);
    }
    
    nav.on{
        transform: none;
    }

    nav ul.inner{
        height: 100%;
        /* padding-top: 140px; */
        margin-top: 140px;
        overflow-y: auto;
        padding-bottom: 270px;
    }

    nav li{
        width: 100%;
        margin-bottom: 15px;
        border: none;
        color: #fff;
    }

    nav a{
        padding: 20px 0;
        
        /* font-size: 30px; */
        height: auto;
        border-bottom: 1px solid #005994;
    }

    footer{
        padding-top: 58px;
        padding-bottom: 50px;
        font-size: 16px;
    }
    
    footer .inner{
        padding-left: 5px;
        padding-right: 5px;
    }

    footer>.inner>div{
        flex-direction: column;
        align-items: center !important;
    }

    footer h1{
        text-align: center;
    }

    footer .add{
        margin-top: 25px;
        text-align: center;
    }

    footer .info>ul>li h2{
        margin-right: 10px;
        font-size: 15px;
    }

    footer .info>ul>li{
        font-size: 14px;
    }

    /* footer .info>ul>li:first-child {
        padding-right: 18px;
        margin-right: 17px;
    } */

    footer .f-txt{
        margin-top: 45px;
        text-align: center !important;
        font-size: 22px;
    }

    footer .copyright{
        order: 2;
        text-align: center;
    }

    footer .sns-wrap{
        order: 1;
        margin-bottom: 20px;
    }
    
}

@media (max-width:575px) {
    header>.inner{
        min-height: 99px;
    }

    #main,
    .sub-wrap{
        padding-top: 100px;
    }

    header .logo{
        max-width: 188px;
    }

    nav ul.inner{
        margin-top: 80px;
        padding-bottom: 170px;
    }

    

    footer .info>ul{
        
        justify-content: center;
    }

    footer .info>ul>li{
        flex-direction: column;
    }

    /* footer .info>ul>li:first-child {
        padding-right: 28px;
        margin-right: 27px;
    } */

    footer .info>ul>li h2{
        margin-bottom: 5px;
    }
}