@charset "utf-8";

/* header */
.header {
    position: fixed;
    width: 100%;
    height: 9vh;
    z-index: 10;
    box-sizing: content-box;
    transition: all 0.2s;
    margin: 0;
    top: 0;
}

.header.fixed {
	transition: all 0.5s;
	position:fixed;
	background-color: white;
	top: 0;
	border-bottom: 1px solid #ddd;
}
         
.header-bx {
    position: relative;
    height: 9vh;
    border-bottom: 1px solid rgba(255,255,255,0);
    /* background-color: rgba(255,255,255,0.7); */
    width: 100%;
}

.header-bx::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: rgb(255 255 255);
    transition: all .4s ease-out;
    z-index: -1;
    opacity: 0;
}

.header.fixed .header-bx::before { opacity: 1; height: 100%;}

#gnb.fixed {background-color: #fff; border-bottom:1px solid #ddd;}
#gnb.fixed h1 {}
#gnb.fixed > ul > li > a {color: var(--color-black);}

.header .inner01 {
				  display: flex;
				  justify-content: space-between;
				  position: relative;
				  height: 100%;
				  padding: 0em 2em;
				  align-items: center;
				  }

.header .inner01 h1 {
    /* width: 221px; */
    min-width: 218px;
    height: 27px;
    /* background-image: url(../img/logo/logo.png); */
    /* background-position-x: center; */
    /* background-position-y: center; */
    /* background-size: auto 100%; */
    /* background-repeat: no-repeat; */
    font-family: var(--font-logo);
    font-size: 1.7em;
}

.header .inner01 h1 a:{
    text-decoration: none;
    width: 100%;
    height: 64%;
    /* position: absolute; */
}
.header .inner01 h1 a:hover {color:unset;}
.header .logo { display: block; }

.header nav {
    width: 48%;
}

.header .gnb {display: flex;justify-content: flex-end;
			  align-items: center;height: 100%;width: 100%;}

.header .gnb .dep1 {
                    display: flex;
                    justify-content: center;
                    width: 25%;
                    align-items: center;
                    height: 100%;
                    position: relative;
                    text-align: center;
                    }

/* .header .gnb .dep1 > a { position: relative;} */

.header .gnb li a {
    display: block;
    /* color: #fff; */
    font-size: 18px;
    /* transition: all 9s; */
}

.header.fixed .gnb li a { color: #333;}

.header .gnb .dep2 {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
}

.header .gnb .dep2 li + li { padding-top: 20px;}

.header .gnb .dep2 a {/* color: #fff; */font-size: 16px;}

.header:hover .header-bx::before{
	height: 310px;
	opacity: 1;
	border-bottom:0;
	box-shadow: 1px 5px 10px #0000001c;
	}
.header:hover .header-bx, .header:hover #gnb, .header:hover #gnb.fixed {border-bottom: 1px solid #ddd;transition: all 1s ease-in-out;}

.header:hover .gnb li a {visibility: visible;color: black;}
.header .gnb .dep2 li.dep1:hover a {color:var(--color-main)}
.header:hover .gnb .dep2 {
						  display: block;
						  opacity: 1;
						  transition: all 1.1s ease-in-out;
						  }

.header .gnb .dep1:hover {}

.header .gnb > .dep1::after {
						   content: '';
						   position: absolute;
						   bottom: -30px;
						   left: 50%;
						   width: 0;
						   display: flex;
						   opacity: 0;
						   border-bottom: 3px solid var(--color-main);
						   transition: all .5s ease;
						   transform: translateX(-50%);
						   }

.header .gnb .dep1:hover::after {width: 50%;opacity: 1;}

.header > div a:first-child::after {display:none;}

#gnb .icon_box{
    width: 104px;
    height: 39px;
    background-color: #f6900d;
    border-radius: 50px;
    position: relative;
    top: 0;
    left: 0%;
    display: flex;
    align-items: center;
    padding-left: .5em;
}

#gnb .icon_box .icon{
    padding: 0;
    display: flex;
    width: 46%;
    justify-content: center;
    padding-bottom: .2em;
}

#gnb .icon_box .fa-instagram{
    color: #fff;
    font-size: 24px;
}

#gnb .icon_box .ri-kakao-talk-line{
    color: #Fff;
    font-size: 24px;
}


.nav_float * :hover {transition:all 0.4s;}
.nav_float {
    display: flex;
    justify-content: center;
    padding-bottom: 3em;
}
.nav_float ul{
    position: relative;
	width: 100%;
}
.nav_float ul li{
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    padding: 0 18px;
}
.nav_float ul li:nth-of-type(1){
    padding-left: 0;
}
.nav_float ul li:before {display: inline-block;content: "";position: absolute;top: 50%;right: 0;width: 1px;height: 14px;background: #cccccc;transform: translateY(-50%);margin-top: -2px;}
.nav_float ul li:last-child::before {display:none;}
.nav_float ul li a {
    position: relative;
    padding-bottom: 5px;
    display: block;
    color: #888;
}
.nav_float ul li:hover::after{ width:100%;-webkit-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;}
.nav_float ul li:hover a {color: var(--color-main);}
.nav_float ul li.on a{color: var(--color-main);}
.nav_float ul li.on a:before{
	display: block;
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: 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 {
    background-color: #0b98d3;
}
.icon_30 ul li.on a,.icon_30 ul li a:hover {background-color: #e98612;}
.icon_50 ul li.on a,.icon_50 ul li a:hover {background-color: #048d4c;}



.icon_50 ul li:nth-of-type(1) a{background-image:url(/img/icon/50_icon1.png);}
.icon_50 ul li.on:nth-of-type(1) a,.icon_50 ul li:nth-of-type(1) a:hover{background-image:url(/img/icon/50_icon1_over.png);}
.icon_50 ul li:nth-of-type(2) a{background-image:url(/img/icon/50_icon2.png);}
.icon_50 ul li.on:nth-of-type(2) a,.icon_50 ul li:nth-of-type(2) a:hover{background-image:url(/img/icon/50_icon2_over.png);}

.icon_50 ul li:nth-of-type(3) a{background-image:url(/img/icon/50_icon3.png);}
.icon_50 ul li.on:nth-of-type(3) a,.icon_50 ul li:nth-of-type(3) a:hover{background-image:url(/img/icon/50_icon3_over.png);}
.icon_50 ul li:nth-of-type(4) a{background-image:url(/img/icon/50_icon4.png);}
.icon_50 ul li.on:nth-of-type(4) a,.icon_50 ul li:nth-of-type(4) a:hover{background-image:url(/img/icon/50_icon4_over.png);}
.icon_50 ul li:nth-of-type(5) a{background-image:url(/img/icon/50_icon5.png);}
.icon_50 ul li.on:nth-of-type(5) a,.icon_50 ul li:nth-of-type(5) a:hover{background-image:url(/img/icon/50_icon5_over.png);}
.icon_50 ul li:nth-of-type(6) a{background-image:url(/img/icon/50_icon6.png);}
.icon_50 ul li.on:nth-of-type(6) a,.icon_50 ul li:nth-of-type(6) a:hover{background-image:url(/img/icon/50_icon6_over.png);}
.icon_50 ul li:nth-of-type(7) a{background-image:url(/img/icon/50_icon7.png);}
.icon_50 ul li.on:nth-of-type(7) a,.icon_50 ul li:nth-of-type(7) a:hover{background-image:url(/img/icon/50_icon7_over.png);}
.icon_50 ul li:nth-of-type(8) a{background-image:url(/img/icon/50_icon8.png);}
.icon_50 ul li.on:nth-of-type(8) a,.icon_50 ul li:nth-of-type(8) a:hover{background-image:url(/img/icon/50_icon8_over.png);}

@media screen and (max-width: 1000px) {
	.nav_float {}
	.nav_float ul{display: flex;flex-wrap: wrap;justify-content: center;}
	.nav_float ul li{
	width: 25%;
	height: auto;
	margin-bottom: 0;
	border-radius: 0;
	/* border-bottom: 1px solid #ccc; */
	font-size: 0.85em;
	padding: 0 1%;
	letter-spacing: -.5px;
	}
	ul li:nth-last-of-type(1), .nav_float ul li:nth-of-type(1){}
	.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 {
    text-align: center;
    font-size: 1em;
    padding: 0 0 .5rem;
	 }
	.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: 3%;
	padding-right: 3%;
	}

}


.global_search {
    display: none;
    position: fixed;
    top: 6em;
    z-index: 1111111111111111;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
}
.global_search > div{position: fixed;top: 6em;width: 100%;height: 32vh;background: rgba(255,255,255,1);}
.global_search > div >div{
    display: flex;
    width: 26em;
    flex-direction: column;
    align-items: center;
    /* margin: 0 auto; */
    position: absolute;
    top: 40%;
    left: 50%;
    margin-left: -13em;
    border: 1px solid gray;
    background: white;
    padding: 1em;
}
.global_search > div > div h3{
    font-size: 1.4em;
    font-weight: 700;
    color: #d36868;
}
.global_search > div > div ul{
    display: flex;
    margin-top: 1em;
}
.global_search > div > div ul li{
}
.global_search > div > div ul li input{}
.global_search > div > div ul li input[type=text]{
    /* height: 3.5em; */
    padding: .5em;
    font-size: 1.2em;
    background: #f3f3f3;
    border: 1px solid #d8d8d8;
}
.global_search > div > div ul li input[type=submit]{
    padding: .7em 2em;
}
.global_search > div > div img {
    position: absolute;
    bottom: -8em;
    cursor: pointer;
}

.sub_content_s, .sub_all_wrab {
    visibility: hidden;
}

@media screen and (max-width: 1000px) {
	.global_search {}
	.global_search div{}
	.global_search div h3{}
	.global_search div ul{}
	.global_search div ul li{}
	.global_search div ul li input{}
	.global_search div ul li input[type=text]{}
	.global_search div ul li input[type=submit]{}
	
}

.sub_header {text-align: center;margin-top: 80px;/* height: 200px; */display: flex;justify-content: center;align-items: center;flex-direction: column;padding: 5rem 0 3rem;}
.sub_header h3 {
    font-size: var(--sub-h3-size);
    font-weight: 700;
}
.sub_tab {width: 60%;position: relative;padding: 0rem 0 3rem;margin: 0 auto;}
.sub_tab ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.sub_tab li {
    width: 45%;
    position: relative;
    border-radius: .5rem;
    text-align: center;
}
.sub_tab li a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 1rem;
    font-weight: 600;
    color: #000;
    border-radius: .5rem;
    border: 1px solid var(--color-main);
}
.sub_tab li.on, .sub_tab li:hover { background-color:var(--color-main)
}
.sub_tab li.on a, .sub_tab li:hover a {
}

.sub_tab li.on a, .sub_tab li:hover a {color:#fff;}
/*.sub_tab li a:before{content:"";position:absolute;display: block;height:100%;left: 0;top: 0;z-index: -1;border-radius: .5rem;animation: hover_no .8s ease-out forwards;border: 1px;}
.sub_tab li.on a::before, .sub_tab li:hover a::before {animation: hover .6s ease-out forwards;}*/

/* FHD - 1920 / 24인치이상 */
@media only screen and (min-width:1204px) and (max-width: 1700px)  {
}

/* 테블릿 가로, 테블릿 세로 (해상도 768px ~ 1023px)*/ 

@media all and (max-width:1023px) {
	.sub_header {padding: 2rem;}
	.sub_tab {}
} 


/* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/ 

@media all and (max-width:767px) {
	.sub_header {padding:1rem}
	.sub_tab {margin:0 5%;width: 90%;}
}



