/*header*/
#header{
	z-index:200;
	position:fixed;
	width:100%;
	min-height:10rem;
	background:rgba(0, 0, 0, 0);
	transition: all .3s;
}
#header.header_scroll{background:rgba(0, 0, 0, 6);}
@media (max-width:991.98px) {
	#header{min-height: 8rem;}
}
@media (max-width:575.98px) {
	#header{min-height: 11rem;}
}

#header h1{
	z-index:35;
	position:absolute;
	top:3rem;
	left:3rem;
}
#header h1 > a{display:block;}
#header.menu_open h1 img{filter:brightness(0) invert(0);}
@media (max-width:991.98px) {
	#header h1 {top: 2.2rem; left: 2rem;}
	#header h1 a img:first-child{max-width: 160px !important;}
	#header h1 a img:last-child{max-width: 100px !important;}
}
@media (max-width:575.98px) {
	#header h1 a img{display: block;}
	#header h1 a img:first-child{max-width: 150px !important;}
	#header h1 a img:last-child{max-width: 95px !important;}
}

#header .gnb_side{
	z-index:35;
	position:absolute;
	top:2.9rem;
	right:3rem;
	display: flex;
	align-items: center;
	gap: 3rem;
}
#header .gnb_side .lan{position:relative; font-size:1.6rem;}
#header .gnb_side .lan > a{
	z-index: 1;
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
	width: 12rem; height: 4.5rem;
	padding:0 2rem;
	color:#fff;
	background: var(--red);
	border-radius: 2.25rem;
}
#header .gnb_side .lan > a::after{
	content: "\e936";
	position:absolute;
	top: 50%; right: 2rem;
	font-family: 'xeicon' !important;
	font-size: 1.4rem;
	transform:translateY(-50%);
}
#header .gnb_side .lan > a.on::after{content: "\e930";}
#header .gnb_side .lan > p{
	position:absolute;
	width:12rem;
	left:50%; top: 2.25rem;
	margin-left:-6rem;
	padding:2.5rem 0 1rem;
	background:var(--red);
	border-bottom-left-radius: 2.25rem;
	border-bottom-right-radius: 2.25rem;
	display:none;
}
#header .gnb_side .lan > p > a{
	display:block;
	padding-top: 1rem;
	text-align:center;
	color:#fff;
	border-top: 1px dashed #fff;
}

#header .gnb_side .menu{
	cursor: pointer;
	z-index:10;
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 2rem;
	color: #fff;
}
#header.menu_open .gnb_side .menu{color: #000;}
div.burger {
	position: relative;
	width: 20px;
	height: 12px;
	cursor: pointer;
}
div.x,
div.y {
	position: absolute; 
	top: 0;
	width: 100%; height: 3px;
	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;
}
#header.menu_open div.burger div.x,
#header.menu_open div.burger div.y{background: #000;}
div.y{top: 9px;}
div.coll{
	top: 4px;
	-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;
}
@media (max-width:991.98px) {
	#header .gnb_side {
    top: 2rem;
    right: 2rem;
    gap: 1.5rem;
	}
	#header .gnb_side .lan > a {
    width: 11rem;
    height: 4rem;
    padding: 0 1.5rem;
	}
	#header .gnb_side .lan > a::after {right: 1rem;}
	#header .gnb_side .lan > p {
    width: 11rem;
    top: 2rem;
    margin-left: -5.5rem;
	}
	#header .gnb_side .menu {
    gap: 1rem;
    font-size: 1.8rem;
	}
	div.burger {top: -1px;}
}
@media (max-width:575.98px){
	#header .gnb_side{top: 3.5rem;}
	#header .gnb_side .menu p{display: none;}
}



.gnb{
	position: fixed;
	z-index: 30;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	padding: 5rem;
	padding-top: 10rem;
	display: none;
	overflow: hidden;
}
.gnb > div{
	padding: 0 15px;
	max-width: 1430px;
	margin: 0 auto;
}
.gnb > div > ul{
	display:flex;
	justify-content: center;
	flex-wrap:wrap;
}
.gnb > div > ul > li{
	width:100%;
	padding:4.5rem 1rem;
	opacity:0;
	display:flex;
	position:relative;
	transform: translateY(-5rem);
	-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 > div > ul > li::after{
	content:"";
	position:absolute;
	bottom:0;
	left:50%;
	right:50%;
	margin-left:-50vw;
	margin-right:-50vw;
	border-top:1px solid #e6e6e6;
}
.gnb > div > ul > li:last-child::after{display:none;}
.gnb > div > ul > li::before{
	content:"";
	position:absolute;
	bottom:0;
	top:0;
	left:50%;
	right:50%;
	margin-left:-50vw;
	margin-right:-50vw;
	background:#f9f9f9;
	z-index:-1;
	opacity:0;
	transition:all .3s;
}
.gnb > div > ul > li:hover::before{opacity:1;}
#header.menu_open .gnb > div > ul > li{
	opacity:1;
	transform: translateY(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);
}
#header.menu_open .gnb > div > ul > li:nth-of-type(1){transition-delay: 0.2s;}
#header.menu_open .gnb > div > ul > li:nth-of-type(2){transition-delay: 0.3s;}
#header.menu_open .gnb > div > ul > li:nth-of-type(3){transition-delay: 0.4s;}
#header.menu_open .gnb > div > ul > li:nth-of-type(4){transition-delay: 0.5s;}
#header.menu_open .gnb > div > ul > li:nth-of-type(5){transition-delay: 0.6s;}
.gnb > div > ul > li > a{
	flex-shrink: 0;
	width:32rem;
	font-size:3rem;
	font-weight:600;
	color:#000;
}
.gnb > div > ul > li > ul {
	display:flex;
	flex-wrap:wrap;
	gap:5px 3rem;
}
.gnb > div > ul > li > ul > li > a{
	display:block;
	padding:5px 3px;
	font-size:2rem;
	color:#333;
}
.gnb > div > ul > li > ul > li > a:hover{
	color:var(--red);
	font-weight:500;
}
@media(max-width:991.98px){	
	.gnb {padding: 10rem 3rem 3rem 3rem;}
	.gnb > div > ul > li {padding: 3rem 1rem;}
	.gnb > div > ul > li > a{
		width:28rem;
		font-size:2.4rem;
	}
	.gnb > div > ul > li > ul {gap:5px 2rem;}
	.gnb > div > ul > li > ul > li > a{font-size:1.8rem;}
}
@media (min-width:768px) {
	.gnb > div > ul > li > ul {
		display: flex !important;
		height: auto !important;
	}
}
@media(max-width:767.98px){	
	.gnb > div > ul > li {
		display: block;
		padding: 2rem 0;
	}
	.gnb > div > ul > li > a{
		display: block;
		margin-bottom: 5px;
		width:100%;
		font-size:2.2rem;
	}
	.gnb > div > ul > li > ul {
		gap: 0 1.5rem;
		display: none;
	}
	.gnb > div > ul > li::before{display: none;}
}
