@charset "UTF-8";
@media screen and (max-width:960px) {
    .header {position: relative}
    .header nav.row .logo{
    position:absolute;
        left:0;
   width: 30%;
    }
    .header nav.row .logo a{
        width: 188px;}
    .header .nav-menu{
        position:absolute;
        right:0;
    width: 65%;
    }
}
/*mobile*/
@media screen and (max-width:789px) {
    body{
        width: 100vw;
    }
    section{
        width: 100vw;
        overflow: hidden;
    }
    .header{
        position:sticky;top:0;left:0;
        width: 100%;
        z-index:100;
    }
   /*상단 광고*/ 
    .top-ad .container{
        width: 100%;
    }
    .top-ad .txt {
        display: none;
    }
    .top-ad .m-txt {
        width: 100%;
        display:block;
    }
    .top-ad .m-txt a{
        display: block;
        color:#fff;
    }
    .top-ad .btn{display:none;}
    .m-logo{
        margin-top: 20px;
        margin-left: 16px;
        display:block;
        
    }
    .m-logo a{
        display: block;
        width: 180px;
    }
    .m-logo a img{
         width: 106.8px;
        height: 21px;
    }
    /*메뉴*/
    .header nav.row {display: none;}
    
    .fixed-top-nav{
    display: block;
    }
    .fixed-top-nav .logo{
    width: 180px;
    }
    .fixed-top-nav .logo a img{width: 100%;}

    
    /*footer*/
    .m-cs{
        margin-top:40px;
        display: block;
        background: #fff;
    }
    .m-cs ul li{
        font-size:2.6vw;
    }
    footer{
        padding:80px 16px;
    }
    footer .img{
        display: none;
    }
    footer .sns {
    text-align:left;
    margin-bottom:10px;
    }

    footer .sns a{
        display: inline-block;
        width: 40px;
        height: 40px;
    }
    footer .sns a img{
        opacity: 0.6;
        width: 30px;
        height: 30px;
    }
    footer .footer-info {
        width: 100%;
    border-top:none;
    padding-top:18px;padding-bottom:20px;
    font-size:14px;
    }
    footer .footer-info .address {
    width: 100%;
    padding-left:15px;
    font-size:14px;
}
    footer .footer-info .cs{
    display: none;
    }
    footer .bottom{
        font-size:14px;
    }
}

@media screen and (max-width:460px) {
    .fixed-top-nav .logo{
        width: 140px;
    }
    .top-ad .m-txt{
        font-size:4vw;
    }
    .fixed-top-nav .dropdown .m-nav-menu a{
        font-size:4.5vw;
    }
    .fixed-top-nav .m-btn-menu a{
        display: table-cell;
        vertical-align: middle;
    }
    .fixed-top-nav .m-btn-menu a img{
        width: 28px;
        height: 28px;
    }

     .m-cs ul li{
        /*font-size:3.9vw;*/
        font-size:12px;
    }
    footer{
        padding-top: 40px;
    }
    footer .m-cs{
        margin-top: 40px;
    }
    footer .sns span:first-child{
        margin-right: 0;
    }
    footer .sns a{
        display: inline-block;
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
    footer .sns a img{
        width: 22px;

    }
    footer .footer-info .address{
        font-size:12px ;
    }
    footer .bottom{
        font-size:12px ;
    }
    
    
}
@media screen and (max-width:375px) {
    .top-ad{
        flex-wrap: nowrap;
    }
    .top-ad .m-txt{
        width: 85%;
    }
    .container{
        padding:0;
    }
    
    
}
.show {display:block;
    animation: fadeIn 0.3s forwards;
}
.hide {display:none;
    animation: fadeIn 0.3s forwards;
}