/*header*/
#header{
	position:fixed;
	z-index:200;
	width:100%;
	min-height:7.5rem;
	transition:all .4s;
}




#header .mobile_only{display:none !important;}
@media(max-width:991.98px){
	#header .pc_only{display:none !important;}
	#header .mobile_only{display:block !important;}
}
#header .gnb_inner{
	display:flex;
	align-items: flex-start;
	justify-content: space-between;
	padding:0px 4rem;
}
#header h1{
	position:relative;
	z-index:25;
	height:11rem;
	display:flex;
	align-items: center;
	filter:grayscale(100%) brightness(0) invert(1);
	transition: all .4s;
}
#header h1 > a{}
#header .gnb_side{
	position:relative;
	z-index:30;
}
@media(max-width:991.98px){
	#header .gnb_inner{
		align-items: center;
		padding:0 3rem;
	}
}
@media(max-width:767.98px){
	#header h1 img{
		max-width:15rem !important;
	}
	#header h1{
		height:8rem;
	}
}


/*gnb*/
.gnb{
	text-align:center;
	z-index:15;
	position:relative;
	padding-top:1rem;
}
.gnb > .gnb_container{}
.gnb > .gnb_container > ul{
	display:flex;
}
.gnb > .gnb_container > ul > li{}
.gnb > .gnb_container > ul > li > a{
	padding:0 4rem;
	display:flex;
	height:10rem;
	align-items: center;
	justify-content: center;
	font-size:2rem;
	color:#fff;
	text-transform: uppercase;
	opacity:.7;
	position:relative;
}
.gnb > .gnb_container > ul > li > a:hover,
.gnb > .gnb_container > ul > li > a.active{
	opacity:1;
}
.gnb > .gnb_container > ul > li > a::after{
	content:"";
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	width:6px;
	height:6px;
	background:#fff;
	margin-top:-2.2rem;
	transition:all .3s;
	opacity:0;
}
.gnb > .gnb_container > ul > li > a.active::after{
	opacity:1;
}

.gnb > .gnb_container > ul > li > ul{
	position:relative;
	top:-1rem;
	display:none;
}
.gnb > .gnb_container > ul > li > ul > li{}
.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;
	text-transform: uppercase;
}

.gnb > .gnb_container > ul > li.sub0{
	order:-4;
}
.gnb > .gnb_container > ul > li.sub1{
	order:-3;
}
.gnb > .gnb_container > ul > li.sub2{
	order:-2;
}
.gnb > .gnb_container > ul > li.sub6{
	order:-1;
}


@media(max-width:1440px){
	.gnb > .gnb_container > ul > li > a{
		padding:0 2.5rem;
		font-size:1.8rem;
	}
	.gnb > .gnb_container > ul > li > ul > li > a{
		padding:.6rem 0;
		font-size:1.5rem;
	}
}
@media(max-width:1199.98px){
	.gnb > .gnb_container > ul > li{
		margin:0 1rem;
	}
}

@media(min-width:992px){
	.gnb{
		display:block !important;
	}
	div.circle.expand{
		display:none !important;
	}
}
@media(max-width:991.98px){
	.gnb{
		position:absolute;
		left:0;
		top:0;
		width:100%;
	}
	.gnb > .gnb_container > ul{
		display:block;
		text-align: center;
	}
	.gnb > .gnb_container > ul > li > a{
		height:8rem;
	}
}

/*모바일 메뉴*/
div.burger {
	height: 36px;
	width: 36px;
	position: relative;
	cursor: pointer;
	z-index:10;
}
div.x,
div.y{
	position: absolute; margin: auto;
	top: 11px;
	background: #fff;
	border-radius:2px;
	-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;
	height: 2px;
	width: 34px;
}
div.y{top: 24px;}
div.coll{
	top: 17px;
	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:#040f2c;
	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:991.98px){
	#header .gnb_side{
		position:relative;
		z-index:30;
	}
	.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:80px;
		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.animate:nth-of-type(7){
		transition-delay: 0.80s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(8){
		transition-delay: 0.85s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(9){
		transition-delay: 0.9s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(10){
		transition-delay: 0.95s;
	}
	.gnb > .gnb_container >  ul >  li > a{
		color:#fff !important;
		font-size:2.6rem;
	}
	.gnb > .gnb_container > ul > li > ul > li > a{
		color:#fff !important;
		font-size:2rem
	}

}


/*섹션별 컬러*/
#header:hover,
#header.header_scroll{
	background:rgba(32,38,57,.9);
	box-shadow: 0px 0px 10px rgba(0,0,0,.5);
}

.fp-viewing-sec4 #header:hover,
.fp-viewing-sec5 #header:hover,
.fp-viewing-sec7 #header:hover{
	background:rgba(255,255,255,.6);
	box-shadow: 0px 0px 10px rgba(0,0,0,.2);
}

.fp-viewing-sec4 #header h1,
.fp-viewing-sec5 #header h1,
.fp-viewing-sec7 #header h1{
	filter: grayscale(100%) brightness(0);
}
.fp-viewing-sec4 #header .gnb > .gnb_container > ul > li > a,
.fp-viewing-sec5 #header .gnb > .gnb_container > ul > li > a,
.fp-viewing-sec7 #header .gnb > .gnb_container > ul > li > a,
.fp-viewing-sec4 #header .gnb > .gnb_container > ul > li > ul > li > a,
.fp-viewing-sec5 #header .gnb > .gnb_container > ul > li > ul > li > a,
.fp-viewing-sec7 #header .gnb > .gnb_container > ul > li > ul > li > a{
	color:#000;
}
.fp-viewing-sec4 #header .gnb > .gnb_container > ul > li > a::after,
.fp-viewing-sec5 #header .gnb > .gnb_container > ul > li > a::after,
.fp-viewing-sec7 #header .gnb > .gnb_container > ul > li > a::after,
.fp-viewing-sec4 #header div.x,
.fp-viewing-sec5 #header div.x,
.fp-viewing-sec7 #header div.x,
.fp-viewing-sec4 #header div.y,
.fp-viewing-sec5 #header div.y,
.fp-viewing-sec7 #header div.y{
	background:#000;
}
.fp-viewing-sec4 #header.open div.x,
.fp-viewing-sec5 #header.open div.x,
.fp-viewing-sec7 #header.open div.x,
.fp-viewing-sec4 #header.open div.y,
.fp-viewing-sec5 #header.open div.y,
.fp-viewing-sec7 #header.open div.y{
	background:#fff;
}
.fp-viewing-sec4 #header.open h1,
.fp-viewing-sec5 #header.open h1,
.fp-viewing-sec7 #header.open h1{
	filter: grayscale(100%) brightness(0) invert(1);
}
@media(max-width:991.98px){
	.fp-viewing-sec4 #header .gnb > .gnb_container > ul > li > a::after,
	.fp-viewing-sec5 #header .gnb > .gnb_container > ul > li > a::after,
	.fp-viewing-sec7 #header .gnb > .gnb_container > ul > li > a::after{
		background:#fff;
	}
}
