:root{
	--header-h : 10rem;
}
@media(max-width:576.98px){
	:root{
		--header-h : 7rem;
	}
}
/*header*/
#header{
	position:fixed;
	z-index:200;
	width:100%;
	transition: all .3s;
}
#header.header_scroll,
#header:hover{
	background:#fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,.1);
}
#header .header_inner{
	max-width:1800px;
	margin:0 auto;
	padding-left:15px;
	padding-right:15px;
	min-height:var(--header-h);
	position:relative;
}


#header .pc_only{}
#header .mobile_only{display:none !important;}
@media(max-width:991.98px){
	#header .pc_only{display:none !important;}
	#header .mobile_only{display:block !important;}
}
#header h1{
	position:absolute;
	left:3rem;
	z-index:30;
	height:var(--header-h);
	display:flex;
	align-items: center;
	justify-content: center;
}
#header h1 > a{
	display:block;
}
#header .gnb_side{
	position:absolute;
	right:3rem;
	z-index:30;
	height:var(--header-h);
	display:flex;
	align-items: center;
}
#header .gnb_side2{
	z-index:30;
	position:absolute;
	top: 0;
	right:3rem;
	height:var(--header-h);
	display:flex;
	align-items: center;
}
#header .gnb_side2 a{
	line-height: 1;
	font-size: 1.8rem;
	font-weight: 500;
	color: #fff;
	transition: all .3s;
}
#header .gnb_side2 a:last-child{
	display: inline-block;
	margin-left: 1.5rem;
	padding-left: 1.5rem;
	border-left: 2px solid #fff;
}
@media(max-width:576.98px){
	#header h1 img{
		height:4.5rem;
	}
}

/*gnb*/
.gnb{
	z-index:15;
	position:relative;
	left:0;
	top:0;
	width:100%;
	text-align:right;
}
.gnb > .gnb_container{
	display:inline-block;
	vertical-align:top;
	margin-right: 20rem;
}

.gnb > .gnb_container > ul > li > a{
	padding:2.5rem 4rem;
	display:flex;
	align-items: center;
	justify-content: center;
	font-size:1.8rem;
	color:#fff;
	height:var(--header-h);
}
.gnb > .gnb_container > ul > li.opened > a{
	color:#E84039 !important;;
	font-weight:600;
}
.gnb > .gnb_container > ul > li > ul{
	position:relative;
	top:-1rem;
	display:none;
}
.gnb > .gnb_container > ul > li > ul > li:last-child{
	padding-bottom:2rem;
}
.gnb > .gnb_container > ul > li > ul > li > a{
	display:block;
	padding:1rem;
	font-size:1.6rem;
	color:#fff;
	font-weight:300;
}
.gnb > .gnb_container > ul > li > ul > li > a:hover{
	color:#E84039 !important;;
	font-weight:500;
}

@media(min-width:1200px){
	.gnb > .gnb_container > ul{
		display:flex;
		text-align:center;
	}
	.gnb{
		display:block !important;
	}
	div.circle.expand{
		display:none !important;
	}
}
@media(max-width:1199.98px){
	.gnb > .gnb_container{
		display:block;
		text-align:center;
	}
}

/*스크롤메뉴*/
#header.header_scroll h1 img,
#header .header_inner:hover h1 img,
#header.open h1 img{
	filter: grayscale(100%) brightness(0);
}
#header.header_scroll .gnb > .gnb_container > ul > li > ul > li > a,
#header.header_scroll .gnb > .gnb_container > ul > li > a,
#header:hover .gnb > .gnb_container > ul > li > a,
#header:hover .gnb > .gnb_container > ul > li > ul > li > a,
#header.open .gnb > .gnb_container > ul > li > a,
#header.open .gnb > .gnb_container > ul > li > ul > li > a{
	color:#000;
}

#header.header_scroll div.coll,
#header:hover div.coll,
#header.header_scroll .burger > div,
#header:hover .burger > div,
#header.open div.coll,
#header.open .burger > div{
	background:#000 !important;
}
#header.header_scroll .gnb_side2 a, 
#header.header_scroll .gnb_side2 a,
#header:hover .gnb_side2 a ,
#header:hover .gnb_side2 a, 
#header.open .gnb_side2 a 
#header.open .gnb_side2 a{
	color: #000;
}
#header.header_scroll .gnb_side2 a:last-child, 
#header.header_scroll .gnb_side2 a:last-child,
#header:hover .gnb_side2 a:last-child ,
#header:hover .gnb_side2 a:last-child, 
#header.open .gnb_side2 a:last-child 
#header.open .gnb_side2 a:last-child{
	border-color: #000;
}


/*모바일 메뉴*/
div.burger {
	height: 30px;
	width: 26px;
	position: relative;
	cursor: pointer;
	z-index:10;
}
div.x,
div.y,
div.z {
	position: absolute; margin: auto;
	top: 4px;
	background: #fff;
	-webkit-transition: all 200ms ease-out;
	   -moz-transition: all 200ms ease-out;
		-ms-transition: all 200ms ease-out;
		 -o-transition: all 200ms ease-out;
			transition: all 200ms ease-out;
}
div.x, div.y, div.z { height: 3px; width: 26px; }
div.y{top: 14px;}
div.z{top: 24px;}
div.coll{
	top: 15px;
	background:#fff;
	-webkit-transition: all 70ms ease-out;
	   -moz-transition: all 70ms ease-out;
		-ms-transition: all 70ms ease-out;
		 -o-transition: all 70ms ease-out;
			transition: all 70ms ease-out;
}


div.rotate30{
	-ms-transform: rotate(30deg);
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
	-webkit-transition: all 50ms ease-out;
	   -moz-transition: all 50ms ease-out;
		-ms-transition: all 50ms ease-out;
		 -o-transition: all 50ms ease-out;
			transition: all 50ms ease-out;
}
div.rotate150{
	-ms-transform: rotate(150deg);
	-webkit-transform: rotate(150deg);
	transform: rotate(150deg);
	-webkit-transition: all 50ms ease-out;
	   -moz-transition: all 50ms ease-out;
		-ms-transition: all 50ms ease-out;
		 -o-transition: all 50ms ease-out;
			transition: all 50ms ease-out;
}

div.rotate45{
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all 100ms ease-out;
	   -moz-transition: all 100ms ease-out;
		-ms-transition: all 100ms ease-out;
		 -o-transition: all 100ms ease-out;
			transition: all 100ms ease-out;
}
div.rotate135{
	-ms-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	-webkit-transition: all 100ms ease-out;
	   -moz-transition: all 100ms ease-out;
		-ms-transition: all 100ms ease-out;
		 -o-transition: all 100ms ease-out;
			transition: all 100ms ease-out;
}
div.circle{
	border-radius: 50%;
	width: 0px;
	height: 0px;
	position:absolute;
	top: 36px;
	right: 36px;
	background:#fff;
	opacity:1;
	z-index:10;
	-webkit-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	   -moz-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		 -o-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
			transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}
div.circle.expand{
	width:3000px;
	height:3000px;
	top: -1500px;
	right: -1500px;
	-webkit-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	   -moz-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		 -o-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
			transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);

}

@media(max-width:1199.98px){
	#header .gnb_side{
		position:absolute;
		top:2.1rem;
		right:3rem;
		z-index:30;
	}
	#header .gnb_side2{
		z-index:30;
		position:absolute;
		top:2.8rem;
		right:8rem;
		display: block;
		height: auto;
	}
	.gnb{
		visibility:hidden;
		height:0;
		overflow:hidden;
	}
	.gnb.open{
		visibility:visible;
		height:auto;
	}
	.gnb > .gnb_container >  ul >  li {
		float:none;
		width:100%;
		margin:0;
		opacity:0;
		-webkit-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-moz-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-o-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	}
	.gnb > .gnb_container >  ul > li.animate{
		opacity:1;
		-webkit-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-moz-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-o-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	}
	.gnb > .gnb_container > ul > li.animate:nth-of-type(1){
		margin-top:50px;
		transition-delay: 0.5s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(2){
		transition-delay: 0.55s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(3){
		transition-delay: 0.60s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(4){
		transition-delay: 0.65s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(5){
		transition-delay: 0.70s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(6){
		transition-delay: 0.75s;
	}
	.gnb > .gnb_container >  ul >  li > a{
		color:#fff;
		font-size:2.6rem;
	}
	.gnb > .gnb_container > ul > li > ul > li > a{
		color:#fff;
		font-size:2rem
	}

}
@media(max-width:991.98px){
	#header .gnb_side2{top:2.9rem;}
}
@media(max-width:576.98px){
	#header .gnb_side{
		top:1.5rem;
	}
	#header .gnb_side2{top:2.5rem;}
	#header .gnb_side2 a {font-size: 1.6rem;}
	#header .gnb_side2 a:last-child {
    margin-left: 1rem;
    padding-left: 1rem;
	}
}
@media(max-width:380px){
	#header h1{left: 2rem;}
	#header h1 img {height: 3.5rem;}
	#header .gnb_side{right: 2rem;}
	#header .gnb_side2{right:6.5rem;}
}