/*header*/
#header{
	position:fixed;
	z-index:200;
	width:100%;
	min-height:7.5rem;
	transition:all 0.3s ease-in-out;
}
#header.scrolling_down{
	transform:translateY(-100%);
}
#header.scrolling_up{
	transform:translateY(0);
}	
#header.header_scroll{
	background:rgba(0,0,0,.4);
	backdrop-filter: blur(10px);
}

#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 .header_inner{
	display:flex;
	padding:0 3rem;
	justify-content: flex-end;
	gap:0 4rem;
}

#header h1{
	margin-right:auto;
}
#header h1 > a{
	display:block;
}
#header h1 > a img{
	max-width:20rem;
}

#header .gnb_side{
	position:relative;
	z-index:5;
}

#header .gnb_side .lan{
	font-size:1.6rem;
}
#header .gnb_side .lan > a{
	color:#fff;
	display:flex;
	align-items: center;
	gap:0 15px;
	height:5rem;
	padding:0 2rem;
	border:1px solid #fff;
}
#header .gnb_side .lan > p{
	position:absolute;
	width:80px;
	left:50%;
	margin-left:-40px;
	background:#000;
	padding:6px 0;
	display:none;
}
#header .gnb_side .lan > p > a{
	font-size:1.4rem;
	color:#fff;
	display:block;
	text-align:center;
}

#header h1,
#header .gnb_side{
	height:10rem;
	display:flex;
	align-items: center;
}





/*gnb*/
.gnb{
	text-align:center;
	z-index:15;
	position:relative;
	left:0;
	top:0;
}
.gnb > .gnb_container{
	display:inline-block;
	vertical-align:top;
}
.gnb > .gnb_container > ul{}
.gnb > .gnb_container > ul > li{
	float:left;
	margin:0 1rem;
}
.gnb > .gnb_container > ul > li > a{
	padding:0 3rem;
	display:flex;
	align-items: center;
	justify-content: center;
	font-size:2rem;
	color:#fff;
	height:10rem;
}
.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;
}


/*모바일 메뉴*/
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: #000;
	-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:#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);

}


/*subpage*/
.sub_wrap #header{
	background:#fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,.2);
}
.sub_wrap .gnb > .gnb_container > ul > li > a,
.sub_wrap .gnb > .gnb_container > ul > li > ul > li > a{
	color:#000;
}
.sub_wrap #header h1 svg g path.w{
	fill:black;
}
.sub_wrap #header .gnb_side .lan > a{color: #000; border-color: #000;}

@media(max-width:1400px){
	#header .header_inner {gap: 0 3rem;}
}
@media(max-width:1199.98px){
	#header .header_inner {padding:0 2rem;}
	.gnb > .gnb_container > ul > li > a {
    padding: 0 2rem;
    font-size: 1.8rem;
	}
	#header h1 svg{width: 180px !important;}
}
@media(min-width:992px){
	div.circle.expand,
	div.burger{
		display:none !important;
	}
}
@media(max-width:991.98px){
	#header .header_inner {padding: 0 15px;}
	#header h1, 
	#header .gnb_side{
		z-index: 11;
		position: relative;
		height: 8rem;
	}
	#header .gnb_side{gap: 2rem;}
	#header .gnb_side .lan > p{margin-left: -61px;}
	#header h1 svg{width: 160px !important;}
	.gnb{
		position: absolute;
		top: 10rem; left: 0;
		width: 100%;
		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){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 !important;
		font-size:2.6rem;
	}
	.gnb > .gnb_container > ul > li > ul > li > a{
		color:#fff !important;
		font-size:2rem
	}
	#header.w_header h1 svg g path.w{fill:white !important}
	#header.w_header .gnb_side .lan > p{background: #fff;}
	#header.w_header .gnb_side .lan > p > a{color: #000;}
	#header.w_header .gnb_side .lan > a{color: #fff !important; border-color: #fff !important;}
}
@media (max-width:575.98px) {
	#header h1 svg {width: 140px !important;}
}

/*eng pop*/
.header_inner .eng_pop{
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 210;
	display: none;
}
.header_inner .eng_pop .wrap{
	background-color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 700px;
	height: 500px;
	width: fit-content;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center !important;
	padding: 2rem;
}
.header_inner .eng_pop .wrap .close{
	background-color: #222;
	color: white;
	width: 50px;
	height: 50px;
	cursor: pointer;
	font-size: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 2rem;
	top: 2rem;
	border-radius: 4px;
	opacity: 1;
}
@media (max-width: 1199.98px) {
	.header_inner .eng_pop .wrap .close{
		width: 45px;
		height: 45px;
		font-size: 24px;
		right: 1.5rem;
		top: 1.5rem;
	}
}
@media (max-width: 991.98px) {
	.header_inner .eng_pop .wrap .close{
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
}
@media (max-width: 767.98px) {
	.header_inner .eng_pop .wrap{
		min-width: 550px;
		height: 400px;
	}
	.header_inner .eng_pop .wrap img{
		width: 4.5rem;
	}
	.header_inner .eng_pop .wrap .txt{
		font-size: 2.8rem !important;
	}
}
@media (max-width: 575.98px) {
	.header_inner .eng_pop .wrap{
		min-width: 90%;
		height: 350px;
	}
	.header_inner .eng_pop .wrap .txt{
		font-size: 2.5rem !important;
	}
	.header_inner .eng_pop .wrap .close{
		width: 30px;
		height: 30px;
		font-size: 15px;
	}
}
