@charset "UTF-8";

/********************************************************
■ Sub Menu : 서브 메뉴 부분
********************************************************/
:root {
	--sub-menu-h:70px;
}
#sub-menu { position:absolute; left:0; right:0; bottom:0; }
#sub-menu .c { position:relative; display:flex; flex-wrap:wrap; justify-content:center; background:#fff; border-radius: 20px 20px 0 0; z-index:1; }
#sub-menu .c:before { content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:#eee; z-index:-1; }
#sub-menu .swiper-wrapper { width:auto; }
.submenu-fix #sub-menu { position:fixed; top:0; bottom:auto; transition-duration: 300ms; z-index:999; }
.submenu-fix #sub-menu .c { max-width:none; border-radius:0; }


#sub-menu li { padding:0 20px; width:auto; }
#sub-menu li .sub-a { color:#888; font-weight:600; height:var(--sub-menu-h); display:flex; justify-content:center; align-items:center; white-space: nowrap; }
#sub-menu li .sub-a:hover,
#sub-menu li .sub-a.on { border-bottom:1px solid var(--main-color1); color:var(--main-color1); font-weight:400; }

#sub-menu .nav { position:absolute; top:50%; transform:translateY(-50%); width:30px; height:30px; border-radius:99px; background:#fff; box-shadow:0 0 5px rgba(0,0,0,.2); display:flex; justify-content:center; align-items:center; color:#666; background:#fff; cursor:pointer; z-index:9; }
#sub-menu .prev { left:10px; }
#sub-menu .next { right:10px; }
#sub-menu .swiper-button-disabled { display:none; }


@media (max-width: 1024px) {
	:root {
		--sub-menu-h:50px;
	}
}

@media (max-width: 1024px) {
    #sub-menu li { padding:0 10px; }

    #sub-menu .prev { left:5px; }
    #sub-menu .next { right:5px; }
}