@charset "utf-8";

*{margin: 0;padding: 0;}
body,html{font-family: '맑은고딕', 'MalgunGothic', Helvetica, sans-serif; font-size: 18px; color: #444; line-height: 1.7; word-break: keep-all; letter-spacing: -0.05em;}
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;}
input[type="submit"]{border: none; cursor: pointer;}
button{outline: none; border: none; background: transparent; cursor: pointer;}

#wrap{
    overflow: hidden;
}

.view-1200,
.view-992,
.view-768,
.view-576{
    display: none;
}

[class*="inner"]{
    margin: 0 auto;
}

.inner-1820{
    max-width: 1820px;
    padding: 0 25px;
}



header{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    background: #212121;
    z-index: 99;
}

header .inner-1820{
    position: relative;
    height: 100px;
    
}

header .logo{
    position: absolute;
    left:25px;
    top: 50%;
    transform: translateY(-50%);
}

header .logo>a{
    display: block;
    width: 153px;
    font-size: 0;
}

header nav{
    /* position: absolute;
    top: 50%;
    left:50%; */
    width: 100%;
    padding: 0 450px;
    height: 100%;
    /* transform: translate(-50%, -50%); */
}

header nav .m-close-btn,
header nav .webzine-list{
    display: none;
}

header .gnb{
    margin:0 auto;
    max-width: 760px;
    height: 100%;
    color: #fff;
    font-size: 20px;
    
}

header .gnb>li{
    position: relative;
}

header .gnb>li>a{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    width: 235px;
    height: 100%;
    text-align: center;
    font-weight: normal;
}

header .gnb .lnb{
    display: none;
    position: absolute;
    left: 0;
    top: 100px;
    width: 100%;
    background: #212121;
    text-align: center;
    /* transform: translateY(100%); */
}

header .gnb .lnb a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    line-height: 1.2;
    text-align: center;
    /* padding: 10px 5px; */
    border-bottom: 1px solid #6c6c6c;
}

header .gnb .lnb li:last-child a{
    border-bottom: none !important;
}

header .gnb .lnb a:hover{
    background: #1c2e65;
    border-bottom: 1px solid #616d94;
}

header .h-link{
    position: absolute;
    right:25px;
    top: 50%;
    transform: translateY(-50%);
}

header .h-link .sns{
    margin-right: 20px;
}

header .h-link .sns>li:not(:last-child){
    margin-right: 10px;
}

header .h-link .webzine-list select{
    width: 200px;
    height: 40px;
    padding: 0 33px 0 28px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    -o-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../images/select_arr.png) #fff center right 20px no-repeat ;
}

header .m-menu-btn{
    display: none;
}

footer{
    position: relative;
}

footer .footer-area{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 195px;
    padding: 10px 25px;
    border-top: 1px solid #d6d6d6;
    text-align: center;
}

footer .footer-area .copylight{
    margin-top: 25px;
    color: #999;
    font-size: 16px;
}

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

#main+footer aside{
    
}

aside{
    position: fixed;
    
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    left: 50%;
    bottom: 50px;
    width: 100%;
    /* max-width: 1534px; */
    max-width: none;
    padding: 0 30px;
    height: 0;
    transform: translateX(-50%);
    z-index: 99;
}

aside #top-btn{
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background: url(../images/page_top.jpg) center / 100% auto no-repeat;
    box-shadow: 3px 3px 8px rgba(97, 97, 97, 0.58);
}


aside.off{
    position: absolute;
    top: 0;
}

/*animation*/

[data-aos="ani-twinkle"]{
    animation: twinkle infinite 2s 1.1s;
}

@keyframes twinkle {
    0%, 100%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
}


/* aside.off #top-btn{
    margin-bottom: ;
} */

@media(max-width:1599px){
    header .inner-1820{
        justify-content: space-between !important;
    }

    header .logo{
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    header nav{
        padding: 0;
    }

    header .gnb{
        max-width: 540px;
    }

    header .gnb>li>a{
        width: 180px;
    }
    
    header .h-link{
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }

}

@media(max-width:1199px){
    .view-1200{
        display: block;
    }
    header .inner-1820{
        height: 80px;
    }

    #main,
    .sub-wrap{
        margin-top: 80px;
    }

    header .logo>a{
        width: 120px;
    }
    
    header .h-link{
        display: none !important;
    }
    
    header .m-menu-btn{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 34px;
        height: 31px;
    }

    header .m-menu-btn span{
        display: block;
        width: 100%;
        height: 1px;
        background: #fff;
    }
        
    header nav{
        position: fixed;
        top: 0;
        left: 100vw;
        padding: 80px 20px;
        background: #1c2e65;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.5s, opacity 0.5s;
    }

    header nav.on{
        left: 0;
        opacity: 1;
        transform: none;
    }

    header nav .m-close-btn{
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
        width: 27px;
    }

    header nav .webzine-list{
        display: block;
        margin-top: 60px;
    }

    header nav .webzine-list select{
        width: 100%;
        padding: 0 33px 0 28px;
        height: 65px;
        color: #444;
        font-size: 27px;
        border-radius: 0;
        -o-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: center;
        background: url(../images/select_arr.png) #fff center right 20px no-repeat;
    }

    header nav .webzine-list select option{
        
        text-align: center;
    }

    header .gnb{
        position: relative;
        max-width: none;
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: center;
        
        height: auto;
    }

    header .gnb>li{
        width: 100%;
    }

    header .gnb>li>a{
        width: 100%;
        height: auto;
        padding: 20px 0 ;
        font-size: 27px;
        border-bottom: 1px solid #43b739;
    }
    
    header .gnb>li>a span{
        position: relative;
    }

    header .gnb>li.active>a span::after{
        position: absolute;
        top:0;
        right: 0;
        display: block;
        width: 13px;
        height: 13px;
        border-radius: 100%;
        background: #43b739;
        content: '';
        transform: translateX(calc(100% + 13px));
    }

    header .gnb>li .lnb{
        display: none;
        position: relative;
        top: auto;
        left: auto;
        background:transparent;
        transform: none;
        border-bottom: 1px solid #43b739;
    }
    /* header .gnb>li.active .lnb{
        display: block;
    } */

    header .gnb .lnb a{
        height: auto;
        padding: 20px 0 ;
        font-size: 27px;
        font-weight: normal;
        border-bottom: 1px dashed #616d94;
    }

    header .gnb .lnb>li.active a{
        color: #43b739;
    }
}

@media(max-width:991px){
    .view-992{
        display: block;
    }

    .hide-992{
        display: none !important;
    }

    aside{
        display: none;
    }
}

@media(max-width:767px){
    .view-768{
        display: block;
    }
    .hide-768{
        display: none !important;
    }
    header .gnb>li>a,
    header .gnb .lnb a,
    header nav .webzine-list select{
        font-size: 18px;
    }
    
    header nav .webzine-list{
        margin-top: 38px;
    }

    header nav .webzine-list select{
        height: 43px;
    }

    header .gnb>li>a{
        padding: 15px 0;
    }

    header .gnb .lnb a{
        padding: 15px 0 ;
    }
}

@media(max-width:575px){
    .view-576{
        display: block;
    }
    .hide-576{
        display: none !important;
    }
    

}
