/*header*/
#header{
	position:fixed;
	z-index:200;
	width:100%;
	min-height:7.5rem;
	background: rgba(255, 255, 255, 0);
	transition: var(--transition1);
}
#header.scroll,
#header.on{background: var(--mainColor);}
#header h1,
#header .lan{
	z-index:30;
	position:absolute;
}
#header h1{top:1.6rem;left:3rem;}
#header h1 > a{display:block;}
#header h1 > a img{/* filter: brightness(0) invert(1);  */transition: var(--transition1);}
#header.color-on h1 > a img{filter: brightness(1) invert(0) !important;}
#header.on h1 > a img{/* filter: brightness(0) invert(1) !important; */ transition: var(--transition1) !important;}

#header .lan{
	top:2.6rem;
	right: 3rem;
	width: 11rem;
	background: rgba(255, 255, 255, 0);
	border: 1px solid #fff;
	border-radius: 2.2rem;
	transition: var(--transition1);
}
#header .lan a{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 10px;
	font-size: 1.8rem;
	font-weight: 500;
	color: #fff;
	transition: var(--transition1);
}
#header .lan p{padding-bottom: 5px; display: none;}
#header .lan p a{font-size: 1.6rem; padding: 5px;}
#header .lan p a:hover{color: var(--mainColor);}
#header.color-on .lan,
#header.on .lan{background: rgba(255, 255, 255, 1);}
#header.color-on .lan a,
#header.on .lan a{color:#000;}

#header .gnb_side{
	position:absolute;
	top:2.9rem;
	right:3rem;
	z-index:30;
}


/*gnb*/
.gnb{
	z-index:15;
	position:relative;
	left:0; top:0;
	width:100%;
	text-align:center;
}
.gnb::after{
	content:"";
	position:absolute;
  top:9.5rem;
	left: 0;
	width: 100%;
	height:1px;
	background:rgba(255, 255, 255, 0);
	transition: var(--transition1);
}
#header.on .gnb::after{background:rgba(255, 255, 255, 1);}
.gnb .gnb_bg{
	position: absolute;
	top: 10rem; left: 0;
	width: 100%;
	/* height: calc(0); */
	background: var(--mainColor);
	transition: var(--transition1);
	transition-delay: 1s;
}
#header.scroll .gnb .gnb_bg,
#header.on .gnb .gnb_bg{ height: calc(100% - 10rem);}
.gnb > .gnb_container{
	z-index: 1;
	position: relative;
	display:inline-block;
	vertical-align:top;
	margin-left: 15rem;
}
.gnb > .gnb_container > ul > li{float:left; margin-right: 4rem;}
.gnb > .gnb_container > ul > li:last-child{margin-right: 0;}
.gnb > .gnb_container > ul > li > a{
	position: relative;
	display:block;
	padding:3.5rem 0;
	padding-right: 10rem;
	font-size:1.8rem;
	font-weight: 500;
	color:#fff;
	transition: var(--transition1);
}
.gnb > .gnb_container > ul > li > a::after{
	content: '';
	position: absolute;
	bottom: -2px; left: 0;
	width: 0; height: 3px;
	background: #fff;
	transition: var(--transition1);
}
.gnb > .gnb_container > ul > li > a.on:after,
.gnb > .gnb_container > ul > li > a:hover:after{width: 100%;}
/* #header.scroll .gnb > .gnb_container > ul > li > a,
#header.on .gnb > .gnb_container > ul > li > a{color: #000;} */
#header.color-on .gnb > .gnb_container > ul > li > a{color: #000;}
#header.on .gnb > .gnb_container > ul > li > a{color: #fff;}
.gnb > .gnb_container > ul > li > div{
	position:relative;
	top:-1rem;
	display:none;
}
.gnb > .gnb_container > ul > li > div li:first-child{padding-top:2rem;}
.gnb > .gnb_container > ul > li > div li:last-child{padding-bottom:2rem;}
.gnb > .gnb_container > ul > li > div li > a{
	display:block;
	padding:1rem 0;
	text-align: left;
	font-size:1.6rem;
	color:#fff;
	transition: var(--transition1);
}
/* .gnb > .gnb_container > ul > li > div li > a:hover{color: var(--mainColor);} */

@media(max-width:1500px){
	#header h1{top: 2.7rem;}
	#header h1 > a img{max-width: 230px !important;}

	#header .lan{top:2.5rem; width: 9rem;}
	#header .lan a{padding: 7px; font-size: 1.6rem;}

	.gnb{text-align: right; padding-right: 11rem;}
	.gnb::after {top: 9.2rem;}
	.gnb .gnb_bg {
    top: 9.7rem;
    height: calc(100% - 9.7rem);
	}
	.gnb > .gnb_container {margin-left: 0;}
	.gnb > .gnb_container > ul > li{margin-right: 3rem;}
	.gnb > .gnb_container > ul > li > a{font-size: 1.6rem; padding-right: 6rem;}
	.gnb > .gnb_container > ul > li > div li > a{width: 9rem; font-size: 1.4rem;}
}
@media(min-width:1200px){
	.gnb{display:block !important;}
	div.circle.expand{display:none !important;}
}



/*모바일 메뉴*/
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;
	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;
}
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;
}
#header.scroll div.x,
#header.scroll div.y,
#header.scroll div.z{
	background: #fff;
}
#header.scroll .burger.open div.x,
#header.scroll .burger.open div.y,
#header.scroll .burger.open div.z{
	background: #fff;
}


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:#000;
	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 h1 {top: 1.9rem;}
	#header h1.open > a img,
	#header h1 > a img{max-width: 210px !important; filter: brightness(0) invert(1) !important;}

	#header .lan{top: 1.9rem; right: 8rem;}

	#header .gnb_side{
		position:absolute;
		top:2.1rem;
		right:3rem;
		z-index:30;
	}
	.gnb{
		visibility:hidden;
		height:0;
		overflow:hidden;
		text-align: left;
		padding-right: 0;
	}
	.gnb.open{
		visibility:visible;
		height:auto;
	}
	.gnb > .gnb_container{width: 100%;}
	.gnb > .gnb_container >  ul >  li {
		position: relative;
		float:none;
		padding:0 3rem;
		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 > div li:first-child {padding-top:0;}
	.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:10vh;
		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::after{
		content: "\e942";
		position: absolute;
		top: 2rem; right: 3rem;
		font-family: 'xeicon' !important;
		font-size:2.4rem;
		color:#fff;
		transform: rotate(0);
		transition: var(--transition1);
	}
	.gnb > .gnb_container >  ul >  li.on::after{
		transform: rotate(180deg);
	}
	.gnb > .gnb_container >  ul >  li > a,
	#header.on  .gnb > .gnb_container >  ul >  li > a{
		display: inline-block;
		padding: 2rem 0;
		font-size:2.2rem;
		color:#fff !important;
	}
	.gnb > .gnb_container > ul > li > a::after {
		left: 0; transform: translateX(0);
		bottom: 1rem; height: 2px;
	}
	.gnb > .gnb_container > ul > li.on > a::after {width: 100%;}
	.gnb > .gnb_container > ul > li > div ul{
		display: flex;
		flex-wrap: wrap;
		padding-top: 2rem;
		gap: 2rem;
	}
	.gnb > .gnb_container > ul > li > div li > a,
	#header.on .gnb > .gnb_container > ul > li > div li > a{
		padding: 0;
		font-size:1.8rem;
		color:#fff !important;
		width: auto;
	}
	#header.color-on div.x,
	#header.color-on div.y,
	#header.color-on div.z {
		background: #000;
	}
}
@media (max-width:575.98px) {
	#header h1{left: 2rem; top: 2.2rem;}
	#header .lan{top: 1.8rem; right: 7rem;}
	#header .gnb_side{top: 1.9rem;right:2rem;}
	#header h1.open > a img,
	#header h1 > a img{max-width: 120px !important;}
}