@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');

/*
font-family: 'Libre Baskerville', serif;
font-family: 'Noto Sans KR', sans-serif;
*/

#gnb a{ color: #7e6056; }
#gnb a:hover{ text-decoration: none;}

#hd{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* height: 150px; */
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    /* overflow: hidden; */
    z-index: 9999;
}

#hd.down{
    top: -85px;
}

#hd:hover{
    height: 450px;
}

#logo{
    height: 85px;
    background: #836961;
    padding: 10px 0;
    text-align: center;
}

#logo img{
    height: 100%;
}

#hd-quick{
    position: absolute;
    right: 0px;
    top: 85px;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    background: #66524c;
    color: #fff;
    text-align: center;
    height: 35px;
    line-height: 35px;
    font-family: 'Cormorant Garamond', serif;
	font-weight:600;
    width: 135px;
    z-index: 9999;
    letter-spacing: 1px;
    font-size: 14px;
}

#hd-quick a{
    color: #fff;
}

#gnb{
    position: relative;
    margin: auto;
    background: #efeae9;
    height: 35px;
    overflow: hidden;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    text-align: center;
    padding-right: 0px;
}

#gnb:hover{
    height: 320px;
}

#gnb_1dul{
    border-bottom: 1px solid #f4f4f4;
}

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

#gnb_1dul>li>a{
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    display: block;
    line-height: 35px;
    padding: 0px 40px;
    letter-spacing: 1px;
	font-weight:600;
}

#gnb_1dul>li>a:after{
    content: "";
    display: block;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    right: -1px;
    bottom: 37px;
}

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

#gnb_1dul>li>ul{
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    padding-left: 40px;
    font-weight: 300;
    position: absolute;
    left: 0;
    top: 50px;
    text-align: left;
}

#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 #000;
    background: #000;
}

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

#btn-menu .line{
    width: 100%;
    height: 1px;
    background: #fff;
    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: 1200px){
    #hd{
        top: 0;
        padding: 0;
        height: 60px;
        left: auto;
    }

    #hd.down{
        top: 0;
    }

    #logo{
        width: 200px;
        height: 60px;
        padding: 15px;
        position: absolute;
        right: 244px;
        top: 0;
        left: auto;
        z-index: 9999;
    }

    #hd-quick {
        right: 60px;
        top: 0px;
        z-index: 9999;
        border-right: 1px solid #585858;
        border-left: 1px solid #585858;
        font-size: 14px;
        background: #282828;
    }

    #btn-menu{
        display: block;
    }

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

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

    #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>a{
        display: inline-block;
        padding-left: 0;
        font-size: 20px;
    }

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

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

    #gnb_1dul>li>ul>li{
        padding-right: 20px;
    }
}
@media(max-width: 1024px){
	#logo{
        left: 0;
        top: 0;
        right: auto;
        text-align: left;
        width: 100%;
        z-index: 5000;
    }

    #hd-quick{
        width: 120px;
        font-size: 12px;
		height:60px;
		line-height:60px;
    }

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

@media(max-width: 769px){
    #hd{
        width: 100%;
    }

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

}

@media(max-width: 560px){
    #hd{
        background: #282828;
    }

    #hd:hover{
        height: 60px;
    }

    #logo{
        left: 0;
        top: 0;
        right: auto;
        text-align: left;
        width: 100%;
        z-index: 5000;
    }

    #hd-quick{
        width: 120px;
        font-size: 12px;
		height:60px;
		line-height:60px;
    }

    #gnb{
        width: 70%;
        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;
    }
}
