@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@font-face {
    font-family: 'BMJUA';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMJUA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 초기 설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'Noto sans KR', sans-serif;
    color: #575757;
}
body{
    padding-right: 0 !important;
}
html,
body {
    overflow-x: hidden;
}
ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
label {
    margin: 0;
}

p {
    font-size: 18px;
}

.row {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

.view-768 {
    display: none !important
}

.hide-768 {
    display: block !important
}

.view-1210 {
    display: none !important
}

.hide-1210 {
    display: block !important
}

.d-flex.hide-1210 {
    display: flex !important
}

span.hide-1210 {
    display: inline !important
}

.wrap-1200 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.wrap-1000 {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.wrap-1400{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.wrap-1600 {
    width: 100%;
    max-width: 1602px;
    margin: 0 auto;
}

/* 미디어 쿼리 */

@media(max-width:1210px) {

    .view-1210 {
        display: block !important
    }

    .hide-1210 {
        display: none !important
    }

    span.view-1210 {
        display: inline !important
    }

    span.hide-1210 {
        display: none !important
    }

    span.hide-1210,

    img.hide-1210 {
        display: none !important;
    }

    img.view-1210 {
        display: inline !important;
    }
}



@media(max-width:768px) {

    .view-768 {
        display: block !important
    }

    .hide-768 {
        display: none !important
    }

}


/******************************** header ********************************/
header{
    position: fixed;
    width: 100%;
    background-color: #fff; 
    border-bottom: 1px solid #e1e1e1;
    z-index: 99999;
}

.logoBox li img,.logoBox li a{
    display: block;
}
.logoBox li:first-child{
    margin-right: 15px;
}
.menuList{
    width: 100%;
    max-width: 720px;
}

.nav>li.mainnav-list{
    width: 100%;
    max-width: 180px;
    padding: 35px 0;
    position: relative;
}
.nav>li.mainnav-list>a{
    text-align: center;
    font-weight: 500;
    font-size: 20px;

}
.mainnav-list>ul{
    display: none;
    /* display: block !important; */
}

.sub-menu{
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: #4fb7dc;
    padding: 20px;
    padding-right: 10px;
    overflow: hidden;
}
.sub-menu.s2{
    background-color: #6a7eee;
}
.sub-menu.s3{
    background-color: #f77f67;
}
.sub-menu.s4{
    background-color: #4bbb6f;
}
.sub-menu li{
    padding-bottom: 25px;
    
}
.sub-menu li:last-child{
    padding-bottom: 0;
}
.sub-menu li a,.sub-menu li a span{
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
.sub-menu li a span{
    font-size: 15px;
    font-weight: 400;
   word-break: keep-all;
   letter-spacing: -0.8px;
   margin-top: 8px;
}
.sub-menu li a{
    position: relative;
}
.sub-menu li a::before{
    content: "";
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: #fff;
    position: absolute;
    top: 4px;
    left: -29px;
    display: none;
}
.sub-menu li a:hover::before {
    display: block;
}

.sns li a{
    display: block;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    background-color: #c0bfbe;
    text-align: center;
}
.sns li a img {
    vertical-align: -webkit-baseline-middle;
}
.sns li:first-child{
    margin-right: 15px;
}

@media(max-width:1210px){
    
    html.on{
        overflow: hidden;
    }
    #shadow{
        position: fixed;left: 0;top: 0;background: rgba(0, 0, 0, 0.52);width: 100%;height: 100vh;display: none
    }
    #shadow.on{
        display: block
    }
    header{
        padding: 29px 30px;
    }
    #menuBtn{
        margin-left: 15px;
    }
    .nav{
        position: fixed;
        top: 0;
        right: -100%;
        display: block !important;
        width: 335px;
        height: 100vh;
        background-color: #fff;
       transition: .3s;

    }
    .nav.on{
        right: 0;
    }
    .nav>li.mainnav-list{
        max-width: none;
        border-bottom: 1px solid #e1e1e1;
        padding: 0;

    }
    .nav>li.mainnav-list>a{
        padding: 20px;
        text-align: left;
        font-weight: 600;
    }
    .sub-menu{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #ffd097;
        padding-right: 0;
        padding: 20px;
        overflow: hidden;
        border-bottom: 1px solid #e1e1e1;
    }

    .closeBox{
        padding: 28.5px 30px;
        border-bottom: 1px solid #e1e1e1;
    }
    .closeBox div img{
        display: block;
        margin-left: auto;

    }
    .sub-menu{
        background-color: #fff !important;
    }
    .sub-menu li a,.sub-menu li a span{
        color: #333;
        font-size: 28px;
    }
    .mainnav-list>a{
        display: block;
        position: relative;
    }   
    .mainnav-list>a::after{
        content: "";
        width: 26px;
        height: 26px;
        background-color: #fff;
        border-radius: 50%;
        position: absolute;
        top: 20px;
        right: 20px;
        display: none;
    }
    .mainnav-list.style{
        color: #4fb7dc;
    }
    .mainnav-list.style>a::after{
        display: block;
        background-color: #4fb7dc;
    }
    .mainnav-list.s2.style{
        color: #6a7eee;
    }
    .mainnav-list.s2.style>a::after{
        background-color: #6a7eee;
    }
    .mainnav-list.s3.style{
        color: #f77f67;
    }
    .mainnav-list.s3.style>a::after{
        background-color: #f77f67;
    }
    .mainnav-list.s4.style{
        color: #4bbb6f;
    }
    .mainnav-list.s4.style>a::after{
        background-color: #4bbb6f;
    }
    .mainnav-list.on{
        background-color: #4fb7dc;
        color: #fff;
        border-bottom: none !important;
    }
    .mainnav-list.on>a::after{
        display: block;
        background-color: #fff;
    }
    .mainnav-list.s2.on{
        background-color: #6a7eee;
    }
    .mainnav-list.s3.on{
        background-color: #f77f67;
    }
    .mainnav-list.s4.on{
        background-color: #4bbb6f;
    }
   
}
@media(max-width:650px){
    header {
        padding: 14px 30px;
    }
    header .logoBox li img{
       height: 25px;
    }
    header .snsBox .menu img,.closeBox div img{
        width: 34px;
    }
    header .snsBox .sns{
        align-items: center;
    }
    .closeBox {
        padding: 15.5px 30px;
        border-bottom: 1px solid #e1e1e1;
    }
    .logoBox li:first-child{
        margin-right: 10px;
    }
    .sub-menu li a, .sub-menu li a span {
        font-size: 18px;
    }
   
}
@media(max-width:450px){
    header {
        padding: 14px 15px;
    }
    .closeBox{
        padding: 15.5px 15px;
    }
    .sns li:first-child{
        margin-right: 5px;
       
    }
    #menuBtn{
        margin-left: 15px;
    }
    .sns li a{
        width: 31px;
        height: 31px;
    }
    .sns li a img{
        max-width: 100%;
        height: auto;
        vertical-align: middle;
    }
    .sns li .menu{
        height: 29px;
    }
    header .snsBox .menu img{
        vertical-align: middle;
    }
    header .snsBox .menu img, .closeBox div img {
        width: 27px;
    }
    header .logoBox li img{
        height: 23px
    }
    
   
}
/******************************** header ********************************/

/******************************** footer ********************************/
footer{
    background-color: #444444;
    padding: 45px 30px;
}
.f-txt{
    font-size: 15px;
    color: #999999;
}
.f-txt span{
    display: block;
    font-size: 13px;
    color: #999999;
    margin-top: 15px;
    opacity: .6;
}
.subscribe{
    width: 100%;
    max-width: 289px;
}
.subscribe li{
    width: 100%;
    max-width: 141px;
}
.subscribe li a{
    display: block;
    width: 100%;
    background-color: #e5005a;
    color: #fff;
    font-size: 15px;
    padding:10px 15px;
    border-radius: 5px;
}
.subscribe li:last-child a{
    background-color: #333333;
    position: relative;
}
.subscribe li:last-child a img{
    display: inline-block;
   position: absolute;
   top: 50%;
   transform: translateY(-50%) rotate(180deg);
   right: 15px;
}
.newsSelect{
    position: relative;
}
.newBox {
    display: none;
}
.newBox ul{
    height: 170px;
    overflow-y: scroll;
    position: absolute;
    top: -167px;
    width: 100%;
}
.newBox ul li a{
    border-radius: 0;
}
.newsFn.on img{
    transform: translateY(-50%) rotate(0) !important;
}
.newBox.on{
    display: block;
}
@media(max-width:1210px){
    footer .wrap-1200>.d-flex{
        flex-direction: column;
        width: fit-content;
        margin: 0 auto;
        align-self: center;
    }
    footer .f-logo{
        order: 2;
        margin: 30px auto;
    }
    footer .f-txt,footer .f-txt span{
        order: 3;
        text-align: center;
    }
    footer .subscribe{
        order: 1;
        margin: 0 auto;
    }
}

/******************************** footer ********************************/