@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

#hd{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    padding-left: 190px;
    padding-right: 280px;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    transition: .5s ease;
    -webkit-transition: .5s ease;
}

#hd.active,
#hd.down{
    background: #fff;
}

#hd.down #gnb_1dul{
    height: 55px;
}

#hd.down #gnb_1dul>li>a{
    padding-top: 15px;
    padding-bottom: 15px;
}

#hd.down #btn-menu{
    top: 27px;
}

#hd.down #logo{
    top: 7px;
}

#hd.down #logo img{
    width: 150px;
}

#btn-menu{
    position: absolute;
    left: 55px;
    top: 40px;
    width: 25px;
    height: 12px;
    cursor: pointer;
    z-index: 9999;
}

#btn-menu .line{
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    width: 100%;
    transition: .5s ease;
    -webkit-transition: .5s ease;
}

#hd.down #btn-menu .line,
#hd.active #btn-menu .line{
    background: #000;
}

#btn-menu .line.no1{
    top: 0;
}

#btn-menu .line.no2{
    top: 5px;
}

#btn-menu .line.no3{
    top: 10px;
}

#btn-menu.on .line.no1{
    width: 100%;
}

#btn-menu.on .line.no2{
    width: 80%;
}

#btn-menu.on .line.no3{
    width: 60%;
}

#logo{
    position: absolute;
    right: 50px;
    top: 15px;
    z-index: 9999;

}

#logo .show-black{
    display: none;
}

#hd.active #gnb_1dul a{
    color: #000;
}

#hd.active #logo .show-white,
#hd.down #logo .show-white{
    display: none;
}

#hd.active #logo .show-black,
#hd.down #logo .show-black{
    display: block;
}

#gnb_1dul{
    height: 90px;
    overflow: hidden;
    transition: .5s ease;
    -webkit-transition: .5s ease;
}

#hd.active #gnb_1dul,
#gnb_1dul:hover{
    height: 160px;
}



#hd.down a,
#gnb_1dul:hover a{
    color: #000;
}

#gnb_1dul a{
    color: #fff;
}

#gnb_1dul:after{
    content: "";
    display: block;
    clear: both;
}

#gnb_1dul>li{
    float: left;
}

#gnb_1dul>li>a{
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    letter-spacing: 0.4px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 90px;
    display: block;
}

#gnb_1dul>li>ul{
    font-family: 'Arita-dotum(TTF)';
    font-size: 13px;
    font-weight: 100;
}
@media(min-width: 1200px){
	#wrap.main #hd.active #gnb_1dul,
	#gnb_1dul:hover{
		height: 190px;
	}
}
@media(max-width: 1400px){
    #hd{
        padding-left: 100px;
        padding-right: 200px;
    }

    #gnb_1dul>li>a{
        font-size: 18px;
        padding-right: 90px;
    }

    #logo{
        top: 22px;
        right: 30px;
    }

    #logo img{
        width: 170px;
    }

    #gnb_1dul{
        height: 80px;
    }

    #btn-menu{
        left: 30px;
    }
}

@media(max-width: 1200px){
    #hd{
        padding: 0;
    }

    #gnb{
        opacity: 0;
        visibility: collapse;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, .95);
        transition: .7s ease;
        -webkit-transition: .7s ease;
    }

    #hd.down{
        height: 70px;
    }

    #hd.active #gnb{
        opacity: 1;
        visibility: visible;
    }

    #gnb_1dul{
        padding-top: 150px;
        padding-bottom: 100px;
    }


    #gnb_1dul>li{
        text-align: center;
        width: 33.333%;
        height: 200px;
    }

    #gnb_1dul>li>a{
        padding: 0;
    }

    #hd.active #gnb_1dul,
    #gnb_1dul:hover{
        height: 100%;
        overflow: auto;
    }


}

@media(max-width: 768px){
    #btn-menu{
        left: 30px;
        top: 30px;
    }

    #logo{
        top: 21px;
        right: 30px;
    }

    #logo img{
        width: 100px !important;
    }

    #hd.down{
        height: 50px;
    }

    #hd.down #btn-menu{
        top: 19px;
    }

    #hd.down #logo{
        top: 9px;
    }

    #gnb_1dul{
        padding: 100px 30px;
    }

    #gnb_1dul>li{
        width: 50%;
    }

    
}