
/* -------------------------------- header -------------------------------- */
/* include를 감싸고 있는 class */
.nav {
  width: 100%;
  position: fixed;
  z-index: 3;
}

.nav_container {
  width: 100%;
  height: 70px;
  background-color: white;
/*   margin: 0; */
  position: fixed;
  top: 0px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0px 1px 7px 0px rgba(100,100,100,0.4);
}

.nav_container_left {
  position: relative;
  display: flex;
/*   width: 70%; */
}

.nav_container_logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 70px;
}

/* .nav_container_logo > a { */
/*   color: var(--main-blue-color); */
/* } */

.nav_container_index {
  margin-left: 30px;
}

.nav_container_index ul {
  font-size: 16px;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

/* 대메뉴 */
.nav_container_index ul .index_li {
  width: 140px;
/*   margin: 0 15px; */
  text-align: center;
  line-height: 4.5;
  position: relative;
}
	
.nav_container_index ul .index_li .sub_nav li{
  line-height: 3;
	}

/* 대메뉴 */
.index_li > a {
  display: flex;
  justify-content: center;
/*   color: var(--main-blue-color); */
  color: var(--main-font-color);
  font-weight: 500;
  width: 140px;
  height: 70px;
}

.nav_container_right {
  display: flex;
  justify-content: flex-end;
  width: 20%;
}


.nav_container_profile {
  margin-right: 70px;
  font-size: 16px;
  line-height: 70px;
  color: var(--main-font-color);
}
.nav_container_profile a {
  color: var(--main-font-color);
}




/* 소메뉴 상자 */
/* nav > div > div > div > ul > li > .sub_nav {*/
.index_li .sub_nav {
  display: none;
  background-color: white;
  box-shadow: 1px 1px 5px 0 rgba(100,100,100,0.4);
  width: 140px;
  position: absolute;
  left: 50%;
  margin-left: -70px;
  padding: 15px 0;
  transition: border-bottom 0.3s;
}
/* 소메뉴 글자 */
.index_li .sub_nav > li > a {
  color: var(--main-font-color);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s;
	
}

.nav_container_index > ul > li:hover .sub_nav {
  display: block;
}

.sub_nav > li > a:hover {
  color: var(--main-blue-color);
/*   text-decoration-line: underline; */
  font-weight: 700;
}

.nav_container_index .index_li:hover .index_a {
  border-bottom: 2px solid var(--main-blue-color);
  /* box-shadow: 0 0 0 5px red inset; */
  box-sizing: border-box;
}

.nav_container_profile > a > i {
  margin-right: 8px;
}
