.clear:after{
    content: "";
    display: block;
    clear: both;
}

#hd{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 9999;
}
#hd.act {
	display:none;
}
#hd.is_bottom #gnb {
	display:none;
}
#hd.is_bottom.on #gnb {
	display:block;
}

#logo{
    position: absolute;
    top: 30px;
    left: 50px;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    z-index: 9999;
}

#btn-menu{
    position: absolute;
    right: 35px;
    top: 40px;
    width: 55px;
    height: 55px;
    z-index: 9999;
    border-radius: 100%;
    box-shadow: 3px 4px 6px 0px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
	border:3px solid #000;    
	background-color: transparent;
}
#review{
    position: absolute;
    right: 32px;
    top: 115px;
    z-index: 9999;
    cursor: pointer;
    width: 60px;
}

#review a{
    display: block;
    width: 100%;
    height: 100%;
}

#review img{
    width: 100%;
}

#btn-menu .line{
    width: 19px;
    height: 3px;
    background: #000000;
	margin:0 auto;
    box-shadow: 3px 4px 6px 0px rgba(0, 0, 0, 0.2);
}
#btn-menu .line.no2 {
	margin:5px auto 5px;
}



#gnb{
    padding-top: 60px;
    padding-right: 150px;
    height: 100px;
    overflow: hidden;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    float: right;
	width:100%;
}

#hd.active #gnb,
#hd.on #gnb{
    background: #fff;
    height: 450px;
}

#gnb_1dul{
    float: right;
}

#gnb>ul>li{
    float: left;
    position: relative;
    text-transform: capitalize;
}

#gnb>ul>li>a{
    font-family: 'GmarketSansMedium';
    font-size: 24px;
    padding: 10px 0;
    padding-right: 80px;
    text-transform: capitalize;
    color: #000;
}


#hd.active #gnb>ul>li>a,
#hd.on #gnb>ul>li>a{
    color: #000 !important;
}

#gnb>ul>li>ul{
    position: absolute;
    left: 0;
    top: 60px;
   
	
    font-family: 'GmarketSansMedium';
    font-size: 15px;
	line-height:1.8;
	color:#6f6f6f;
}

#gnb>ul>li>ul ul{
    display: none;
}


@media(max-width: 1500px){
    #hd.on:before{
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: #000;
        opacity: 0.8;
        z-index: 9998;
    }
	
	#hd.act {
		display:block;
	}

    #gnb{
        opacity: 0;
        visibility: collapse;
        padding: 0;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
        right: -70%;
        top: 0;
        bottom: 0;
        height: 100% !important;
        width: 70%;
        position: fixed;
        display: block;
        overflow: auto;
        z-index: 9998;
		border-radius:0;
    }

    #hd.on #gnb{
        right: 0;
        opacity: 1;
        visibility: visible;
    }
	#hd.active #gnb, #hd.on #gnb {
		background-color: rgba(223,137,98, 0.9);
	}

    #gnb_1dul{
        float: none;
        padding: 150px 50px 100px 50px;
    }

    #gnb>ul>li{
        float: none;
        margin-bottom: 30px;
        padding: 20px;
        border: 1px solid #ccc;
    }

    #hd.active #gnb>ul>li>a, #hd.on #gnb>ul>li>a {
		color:#fff !important;
	}

    #gnb>ul>li>ul{
        position: static;
        font-size: 16px;
        margin-top: 10px;
        /* padding-left: 10px; */
		color:#f6c9c7;
    }

    #gnb>ul>li>ul>li{
        position: relative;
        padding-left: 10px;
        word-break: keep-all;
    }

    #gnb>ul>li>ul>li:before{
        content: "";
        display: block;
        width: 2px;
        height: 2px;
        background: #f6c9c7;
        opacity: 0.6;
        border-radius: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -1px;
    }
}

@media(max-width: 1200px){
    #logo {
        left: 25px;
        top: 25px;
    }
	#logo img {
		width:80%;
	}

    #btn-menu{
        right: 45px;
        top: 25px;
    }


}

@media(max-width: 998px){
    #btn-menu{
        width: 50px;
        height: 50px;
        padding: 0;
        top: 47px;
    }
	#review{
    position: absolute;
    right: 40px;
    z-index: 9999;
    cursor: pointer;
	}
}

@media(max-width: 768px){
    #logo{
        left: 10px;
        top: 10px;
    }

    #logo img{
        width:70px;
    }

	#review{
    position: absolute;
	top:70px;
    right: 10px;
    width: 35px;
	}
    #btn-menu{
        width: 35px;
        height: 35px;
        top: 20px;
        right:10px;
		border:2px solid #000;
    }
	#btn-menu .line {
		width:12px;
		height:2px;
	}
	#btn-menu .line.no2 {
		margin:2px auto;
	}

    #gnb{
        width: 80%;
    }

    #gnb_1dul{
        padding: 80px 50px 100px 50px;
    }
}

@media(max-width: 560px){


	.kakao {
		right:140px;
		top:24px;
	}
	.kakao img {
		width:65px;
	}

    #gnb{
        width: 100%;
    }

    #gnb_1dul{
        padding: 80px 20px 80px 20px;
    }

    #gnb>ul>li>a{
        font-size: 18px;
    }

    #gnb>ul>li>ul{
        font-size: 14px;
    }
}
