@import url('https://fonts.googleapis.com/css?family=Playfair+Display+SC:400,400i,700,700i,900,900i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');
@font-face { font-family: 'Chosunilbo_myungjo'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff'); font-weight: normal; font-style: normal; }


/*
font-family: 'Playfair Display SC', serif;
font-family: 'Noto Sans KR', sans-serif;
*/

#gnb a{ color: #fff; }
#gnb a:hover{ text-decoration: none;}
#hd:hover a{ color: #fff; }

#hd{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    z-index: 9999;
}

#logo{
    position: absolute;
    z-index: 9999;
    left: 50%;
    top: 32px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

#hd.down {
	height:100px;
	background-color:rgba(0,0,0,0.5);
}

#hd.down:hover {
	background-color:rgba(0,0,0,0.0);
}
#hd.down #gnb a {
	color:#fff;
}

#logo .logo-b {
    display: none;
}

/* #hd:hover #logo .logo-b{
    display: block;
}

#hd:hover #logo .logo-w{
    display: none;
} */

#sns{
    position: absolute;
    left: 90px;
    top: 40px;
    z-index: 9999;
}

#sns .iconify {
    margin: 0 10px;
	color:#fff;
	width:20px;
	height:20px;
}
#hd.down #sns .iconify{
	color:#fff;
}


#logo img{
    max-width: 200px;
    /* height: 100%; */
}

#gnb{
    position: relative;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    text-align: right;
    padding-top: 40px;
    padding-right: 80px;
    height: 100px;
    overflow: hidden;
}

#gnb:hover{
    background: rgba(0, 0, 0,0.7);
    height: 390px;
}

#gnb_1dul>li{
    display: inline-block;
    position: relative;
}

#gnb_1dul>li>a{
    font-family: 'gyeonggibatang', normal;
    text-transform: capitalize;
    position: relative;
    display: block;
    padding: 0px 30px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.1px;
    text-align: center;
}

#gnb_1dul>li>a:after{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    right: 0;
    height: 1px;
    width: 0%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    background: #fff;
    transition: 0.3s;
}

#gnb_1dul>li:hover>a:after{
    width: 50%;
}

#gnb_1dul>li>ul{
    font-family: 'Noto Serif KR', serif;
    font-size: 12px;
    padding-left: 29px;
    font-weight: 100;
	letter-spacing:-1px;
    position: absolute;
    top: 35px;
    text-align: left;
    opacity: 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    line-height: 1.9;
}

#hd:hover #gnb_1dul>li>ul{
    opacity: 1;
}

#gnb_1dul>li>ul>li{
    opacity: 0.6;
    white-space: nowrap;
}

#gnb_1dul>li>ul>li:hover{
    opacity: 1;
}

#btn-menu{
    display: none;
    padding: 10px;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #fff;
    background: #fff;
}

#btn-menu .wrapper{
    position: relative;
}

#btn-menu .line{
    width: 100%;
    height: 1px;
    background: #000;
    position: absolute;
    left: 0;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#btn-menu .line.no1{
    top: 10px;
}

#btn-menu .line.no2{
    top: 16px;
}

#btn-menu .line.no3{
    top: 22px;
}

@media(max-width: 1440px){
	#gnb {
		padding-right:20px;
	}
	#gnb_1dul>li>a {
		padding:0 20px;
		font-size:14px;
	}
	#gnb_1dul>li>ul {
		font-size:12px;
		padding-left:17px;
	}
	#sns {
		left:25px;
	}
}


@media(max-width: 1024px){
    #hd{
        top: 0;
        padding: 0;
        height: 60px;
        left: auto;
        overflow: initial;
    }

    #hd.down{
        top: 0;
		height:60px;
    }

    #hd:hover{
        height: 60px;
        background: none;
    }

    #hd:hover #logo .logo-b{
        display: none;
    }

    #hd:hover #logo .logo-w{
        display: initial;
    }
	
	#logo {
		top:10px;
	}

    #btn-menu{
        display: block;
    }

    #btn-menu.on .line.no2{
        left: 5px;
    }

    #sns{
        top: 21px;
        right: 75px;
        z-index: 9999;
    }

    #sns i{
        margin: 0 10px;
    }

    #gnb{
        visibility: collapse;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        padding: 0;
        overflow: auto;
        margin: 0;
        padding: 70px 40px;
        opacity: 0;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
        width: 444px;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
    }

    #gnb:hover{
        height: 100%;
    }


    #hd.on #gnb{
        display: block;
        opacity: 1;
        visibility: visible;
    }

    #gnb_1dul>li{
        float: none;
        display: block;
        text-align: left;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 30px;
    }

    #gnb_1dul>li.no2{
        margin-right: 0;
    }

    #gnb_1dul>li>a{
        display: inline-block;
        padding-left: 0;
        font-size: 20px;
    }

    #gnb_1dul>li>ul{
        padding-left: 0;
        font-size: 16px;
        position: static;
        opacity: 1;
    }

    #gnb_1dul>li>a:after{
        display: none;
    }

    #gnb_1dul>li>ul>li{
        padding-right: 20px;
    }
}
/**/
@media(max-width: 769px){
    #hd{
        width: 100%;
    }

    #container{
        /* padding-top: 60px; */
    }


    #sns img{
        margin: 0 10px;
    }

}

@media(max-width: 560px){
    #logo{
        top: 15px;
        z-index: 5000;
    }
	#logo img {
		max-width:120px;
	}

    #hd-quick{
        width: 120px;
        font-size: 12px;
    }
	
	#sns {
		top:23px;
		right:auto;
		left:0;
	}
	#sns .iconify {
		width:15px;
		height:15px;
	}
	#sns a {
		margin-right:-12px;
	}

    #gnb{
        width: 100%;
        padding: 80px 30px;
    }

    #gnb_1dul{
        text-align: left;
    }

    #gnb_1dul>li>a{
        font-size: 20px;
        line-height: 70px;
        padding: 0;
        padding-left: 10px;
    }

    #gnb_1dul>li>ul>li{
        padding: 2px 10px;
        font-size: 14px;
    }
}
