@charset "utf-8";

#gnb {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* margin: 1em 0 1em; */
    padding: 0 3%;
    align-items: center;
    position: absolute;
    z-index: 10;
    top: 0;
    visibility: hidden;
    transition:
    all 0.5s;
    height: 90px;
    /*transition: 0.5s ease-in-out;*/
    /* border-bottom: 1px solid #ccc; */
    background: #fff;
}
#gnb.hide {visibility: hidden; 
	height:0; top:-82px;
	transition: all 0.5s;
	}
#gnb.none {
	animation: fadeInDown .5s;
	position:
	absolute;
	transition: all 0.5s;
	top:0px;
	height: 90px;
	background: #fff;
}
#gnb.fixed {
	transition: all 0.5s;
	position:
	fixed;
	background-color: white;
	padding: 0 3%;
	top: 0;
	border-bottom: 1px solid #ccc;
	height: 90px;
	}

#gnb h1{
    width: 284px;
    height: 55px;
    background-image: url(/img/logo/logo.svg);
    background-position-x: center;
    background-position-y: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
#gnb h1 a {
    width: 100%;
    height: 100%;
    display: inline-block;
    /* opacity: 0; */
    text-indent: -99999px;
    display: inline-block;
}
#gnb ul{}
#gnb ul li{}
#gnb > ul{
    display: flex;
    width: 800px;
    height: 100%;
    justify-content: space-between;
    /* position: absolute; */
    /* left: 50%; */
    /* margin-left: -251px; */
    /* top: 3em; */
    align-items: flex-start;
    /* overflow: hidden; */
}
#gnb > ul > li{
    position: relative;
    width: 25%;
    display: flex;
    justify-content: center;
    height: 100%;
    /* overflow: hidden; */
    flex-direction: column;
    align-items: center;
    border-radius: 1em 1em 0 0;
    /* box-shadow: 3px 3px 3px gray; */
    /* overflow: hidden; */
    transition:
    all 0.5s;
    /* margin-top: 0.4em; */
    padding: 1em 0 1em;
}
#gnb > ul > li:hover {background-color:var(--color-main);}

#gnb > ul > li > a{
    padding: .5em;
    width: 100%;
    text-align: center;
    /* z-index: -1; */
    position: relative;
    font-weight: 500;
    font-size: var(--font-size20);
    /* box-shadow: 3px 3px 3px gray; */
    /* color: white; */
    /* border-radius: 1em 1em 0 0; */
}
#gnb > ul > li:hover > a {color:white;}



#gnb > ul > li ul{
    /* display: none; */
    position: absolute;
    top: 83px;
    left: 0;
    height:0;
    width: 100%;
    background-color: white;
    visibility: hidden;
    opacity:0;
    height:0;
    /* overflow:
    hidden; */
    /* padding: .1em; */
    /* transition:all 0.26s; */
    z-index: -1;
    border-radius: 0 0em 1em 1em;
    padding: 1rem 0;
    box-shadow: 3px 3px 6px 0px rgb(0 0 0 / 40%);
    transition: 0.1s ease-in-out;
    /* animation: fadeOutUp .5s; */
}

#gnb > ul > li.over ul {
	visibility:visible;
	opacity:1;
	height:auto;
	/*animation: fadeInDown .5s;*/
	transition: 0.3s ease-in-out;
}

#gnb > ul > li ul{
	border-bottom: 2px solid var(--color-main);
    border-left: 2px solid var(--color-main);
    border-right: 2px solid var(--color-main);
}


/*
#gnb > ul > li ul.none {
	visibility:hidden;
	height:0;
}*/

#gnb > ul > li:nth-of-type(1) ul{
    /* background-color: var(--color-point1); */
}
#gnb > ul > li:nth-of-type(2) ul{
    /*background-color: var(--color-point2);*/
}
#gnb > ul > li:nth-of-type(3) ul{
    /*background-color: var(--color-point3);*/
}
#gnb > ul > li:nth-of-type(4) ul{
    /*background-color: var(--color-point4);*/
}

#gnb > ul > li ul li{
    /* background-color: white; */
}
#gnb > ul > li ul li a{
    padding: .5em 0 .5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
	position:relative;
}
#gnb > ul > li ul li a:after {content:"";border-bottom:4px solid var(--color-point4);width:0;bottom: 10%;left: 50%;position: absolute;display: block;overflow: hidden;-webkit-transition: all 0.4s ease-in-out;transition: all 0.4s ease-in-out;transform:translateX(-50%);border-radius: 1em;}
#gnb > ul > li ul li:hover a:after {width: 80%;-webkit-transition: all 0.4s ease-in-out;transition: all 0.4s ease-in-out;}
#gnb > ul > li ul li:hover a{color:var(--color-main);}

#gnb > ul > li ul li a:after {border-bottom-color:var(--color-main);}

#gnb > div {
    display: flex;
    align-items: center;
}
#gnb > div a{
    padding: 0 1em;
    position: relative;
}
#gnb > div a:nth-of-type(1){
    padding-left: 0;
}
#gnb > div a:nth-of-type(2):after {content:"";display: table;width: 1px;height: 14px;background: #ccc;position: absolute;left: 0;top: 7px;}
#gnb > div a.sitemap{
    width: 40px;
    height: 40px;
    display: flex;
    align-content: space-between;
    flex-direction: column;
    padding: .5em .3em;
    border: 1px solid #ccc;
    position: relative;
    justify-content: space-between;
}
#gnb > div a.sitemap div {
    height: 2px;
    width: 100%;
    /* position: absolute; */
    background-color: var(--color-gray);
}
#gnb > div a.sitemap div:nth-of-type(1){}
#gnb > div a.sitemap div:nth-of-type(2){}
#gnb > div a.sitemap div:nth-of-type(3){}
#gnb > div button{
    padding: 0;
    border: 0 none;
    background: none;
    cursor: pointer;
    /* vertical-align: unset; */
    height: unset;
    display: flex;
    align-items: center;
    }
#gnb > div button i {
    font-size: 1.4em;
	transition: all 1s;
				transform: rotate(0);
				-webkit-transition: all 0.2s ease-in-out;
				transition: all 0.2s ease-in-out;
				display: flex;
				justify-content: center;
				align-items: center;
}
#gnb > div button i.ri-close-fill{transform: rotate(180deg);}

@media screen and (max-width: 1000px) {
	#gnb {
    padding-left: .5em;
    padding-right: .5em;
    height: 80px;
}
	#gnb.none {height: 80px;}
	#gnb h1{
    width: 70%;
    background-repeat: no-repeat;
}
	#gnb h1 a {
    width: 100%;
}
	#gnb ul{}
	#gnb ul li{}
	#gnb > ul.gnb1_ul {
    display: none;
}
	#gnb > ul > li{}
	#gnb > ul > li a{}
	#gnb > ul > li ul{}
	#gnb > ul > li ul li{}
	#gnb > ul > li ul li a{}
	#gnb > div {}
	#gnb > div > a{display:none;}
	#gnb > div a.sitemap{}
	#gnb > div button {}
	#gnb > div button i.ri-menu-line {
	    transition: all 1s;
				transform: rotate(0);
				-webkit-transition: all 0.2s ease-in-out;
				transition: all 0.2s ease-in-out;
	}
}
.nav_float * :hover {transition:all 0.4s;}
.nav_float {
    display: flex;
    height: 70px;
    width: 100%;
    justify-content: center;
    background-color: var(--color-main);
}
.nav_float ul{
    display: flex;
    height: 100%;
    justify-content: center;
}
.nav_float ul li{
    width: 210px;
    height: auto;
    display: flex;
    background-color: var(--color-main);
    /* overflow: hidden; */
    align-items: center;
    justify-content: center;
    visibility: hidden;
}
.nav_float ul li:nth-of-type(1){
}
.nav_float ul li:nth-last-of-type(1){
    border-radius: 0 1em 1em 0;
}
.nav_float ul li a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1em;
    background-repeat: no-repeat;
    background-position: 50% 30%;
    align-items: center;
    color: #fff;
}
.nav_float ul li.on, .nav_float ul li:hover{border:0;}
.nav_float ul li.on a, .nav_float ul li a:hover {
	background-color: #fff;
	color:
	var(--color-main);
}

.icon_10 ul li.on a,.icon_10 ul li a:hover {}
.icon_20 ul li.on a,.icon_20 ul li a:hover {}
.icon_30 ul li.on a,.icon_30 ul li a:hover {}
.icon_50 ul li.on a,.icon_50 ul li a:hover {}

@media screen and (max-width: 1000px) {
	.nav_float {height: auto;}
	.nav_float ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
	.nav_float ul li{
    width: 33.333%;
    margin-bottom: 0;
}
	.nav_float ul li:nth-last-of-type(1), .nav_float ul li:nth-of-type(1){
    border-radius: 0.3em;
    }
	.nav_float ul li:nth-last-of-type(1), .nav_float ul li:nth-of-type(3n) {margin-right:0;}
	.nav_float ul li:nth-of-type(1){border-left:0;}
	.nav_float ul li:nth-last-of-type(1){}
	.nav_float ul li a {
    background-size: 3em;
    text-align: center;
    letter-spacing: -.5px;
    font-size: 0.9em;
    padding: 0.8rem 0.2rem;
    background-position: 50% 20%;
 }
	.icon_20 ul li:nth-child(5) {}
	.icon_20 ul li:nth-child(5) a {padding:0;}
	.icon_50 ul li:last-child{width:42%;}
	#gnb.fixed { padding-left:.5em; padding-right:.5em;}
	
}
