@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
/*font-family: "EB Garamond"*/

/*!
 * 상단메뉴 Layout
 * */
#gnb2 * { transition: all .3s ease 0s; font-family: "Noto Sans KR", 'Noto Sans', sans-serif;}
#gnb2 { position: fixed; top:0px; left:0px; width:100%; min-width: 1600px; height:auto; z-index: 100; background-color: none; }

/* #gnb2_tm1 */
#gnb2 #gnb2_tm1 { position: relative; width: 100%; overflow: hidden }
#gnb2 #gnb2_tm1 .bi, #gnb2 #gnb2_tm1 .logo, #gnb2 #gnb2_tm1 .tel, #gnb2 #gnb2_tm1 .t_icon {
    position:absolute; display:inline-block; top:50%; transform: translateY(-50%);
}
#gnb2 #gnb2_tm1 .bi { left:50px }
#gnb2 #gnb2_tm1 .logo { position: relative; display:block; width: 324px; margin:0 auto }
#gnb2 #gnb2_tm1 .tel {
    color: #fff;  font-family: "Noto Sans KR", 'Noto Sans', sans-serif; right:50px; letter-spacing: -1px;
    font-size: 1rem; display: flex; align-items: center;
}
#gnb2 #gnb2_tm1 .tel span {
    font-size:1.8rem; font-weight: 800; margin-left:5px; letter-spacing: -1.5px;
}
#gnb2.on #gnb2_tm1 .tel,
#gnb2.scrollon #gnb2_tm1 .tel { color:#111 }

#gnb2 #gnb2_tm1 .tel strong {
    font-size:1.5rem; letter-spacing: -2px; margin-right:20px; background-color:#491366;
    padding: 0px 25px 3px; border-radius: 20px; color: yellow;
}

/* #gnb2_tm2 */
#gnb2 #gnb2_tm2 {
    position: relative; width: 100%; text-align: center; z-index: 101;
    border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 메인메뉴 */
#gnb2 #gnb2_tm2 .topmenu { position:relative; display: inline-block; font-size: 1rem; z-index: 102; margin: 0 !important; }
#gnb2 #gnb2_tm2 .topmenu > ul { list-style:none; display: flex; padding:0; }
#gnb2 #gnb2_tm2 .topmenu > ul > li { position:relative; display: inline-block; }
#gnb2 #gnb2_tm2 .topmenu > ul > li a.m {
    position: relative; display:inline-block; font-size:1.1rem; color:#fff; text-align:center;
    padding:8px 45px; margin-bottom:15px;
}

/* 서브메뉴 */
#gnb2 #gnb2_tm2 .topmenu .submenu { position: relative; width: 100%; display: none; height: 0px; overflow: hidden; transition: all .7s ease 0s  }
#gnb2 #gnb2_tm2 .topmenu .submenu .sm { margin-bottom:3px; }
#gnb2 #gnb2_tm2 .topmenu .submenu .sm a {
    position: relative; display: block; padding: 5px; font-size:1rem;
    transition: all 0s ease 0s
}
#gnb2 #gnb2_tm2 #wrap_tm_bg {
    position:absolute; width:100%; left: 0; height:0px; background-color: #fff; z-inex:101;
}

#gnb2 #gnb2_tm2 .topmenu .submenu .sm a:after {
    content: ''; position: absolute; width: 0%; height: 100%; top: 0; left: 50%; transform: translateX(-50%); 
    background-color: #E10068; z-index: -1; transition: .3s;
}
#gnb2 #gnb2_tm2 .topmenu .submenu .sm a:hover { color:#fff }
#gnb2 #gnb2_tm2 .topmenu .submenu .sm a:hover:after { width:100% }

#gnb2 #gnb2_tm1 { height:120px; } /* 로고DIV 부분 기본 높이 */
#gnb2 #gnb2_tm2 { height:45px; }  /* 메뉴DIV 부분 기본 높이 */
#gnb2 #gnb2_tm2 #wrap_tm_bg { top: 44px; } /* 서브메뉴 하단배경 위치 */


/* 메뉴 스크롤시 및 메뉴 마우스어버 변경 */
#gnb2.scrollon  { background-color: #fff }
#gnb2.scrollon #gnb2_tm2 {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; 
}
#gnb2.scrollon #gnb2_tm2 .topmenu > ul > li a.m { color: #000; }
#gnb2.heighton #gnb2_tm1 { height:90px }

#gnb2.on #gnb2_tm2 .topmenu .submenu { height: auto; display: block; }
#gnb2.on #gnb2_tm2 #wrap_tm_bg { box-shadow: 0px 2px 5px rgba(0,0,0,0.1); } /*서브 메뉴높이*/


#gnb2 #gnb2_tm2 .topmenu a.m .pos {
    position:absolute; bottom:-2px; left:50%; transform:translateX(-50%); width:0%; height:3px;
    background-color:#E40077; transition: all 0.3s ease 0s;
}
#gnb2.scrollon #gnb2_tm2 .topmenu > ul > li.on a.m { font-weight: bold; color: #112931 !important}
#gnb2 #gnb2_tm2 .topmenu li.on a.m .pos { width:60%; }


@media (max-width: 1200px) {
    #gnb2 { width:1200px; }
}

/*
#gnb2 .special1 { color:#FF0000; font-weight: bold; letter-spacing: -1px;}*/