@charset "utf-8";

header {
  height: 100px;
  border-bottom: 1px solid #eee;
  border-top: 5px solid #07388e;
  box-shadow: 0px 0 5px 5px rgba(0, 0, 0, 0.03);
}

.header_inner {
  width: 100%;
  height: 90px;
  top: 20px;
  left: 0;
  z-index: 109;
  position: relative;
  transition: top 0.2s ease-in-out;
  /* transition: all 0.5s; */
}

.header_inner_inner {
  width: 1440px;
  height: 75px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.logo {
  margin: 0 10px;
}

.logoRight img {
  margin:0 10px;
  width: 70%;
}

.header_inner .logo a {
    display: block;
    height: 100%;
}

.header_inner .logo a img {
    padding: 7px 0 11px;
    height: 100%;
    box-sizing: border-box;
}

.mainMenu {
  display: flex;
  justify-content: flex-end;
}

.mainMenu a {
    display: block;
    width: 130px;
    float: left;
    line-height: 80px;
    font-size: 16px;
}

.mainMenu > a:hover {
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}


/*서브메뉴*/
.subMenu{
    width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    border: 1px solid #eee;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background: #fff;
    display: none;
  }

  .subMenuWrap{
    width: 100%; /*메인메뉴 위치랑 동일하게*/
    height: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .subMenuWrap > ul {
    width: 130px;
    font-size: 14px;
    border-left: 1px solid #ddd;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .subMenuWrap > ul > li {
    height: 40px;
    line-height: 40px;
  }

  .subMenuWrap > ul > li > a {
    color:#222;
    display: block;
  }

  .subMenuWrap > ul > li > a:hover{
    border-bottom: 1px solid #aaa;
    box-sizing: border-box;
    font-weight: 600;
  }




/* down 추가된 nav */
.header_inner.down {
    width: 100%;
    height: 70px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    position: fixed;
    /* transition: 0.1s; */
    /* transition: all 0.3s cubic-bezier(0.48, -0.08, 0.7, -0.08);  */
    box-shadow: 0px 0px 10px 0px rgb(34 34 34 / 20%);
    background: rgba(255,255,255,1);
} 

.header_inner.down .header_inner_inner {
  width: 1440px;
  height: 70px;
  margin: 0 auto;
}

.header_inner.down .header_inner_inner .mainMenu {
  height: 75px;
}

.header_inner.down .header_inner_inner .mainMenu a {
  line-height: 70px;
}

.header_inner.down .subMenu {
  top: 70px;
}

.header_inner.down .logo a {
    margin-top: 3px;
    transition: all .2s;
}


.header_inner.down .logo a img {
  padding: 10px 0 7px;
  margin: 0 10px;
  height: 95%;
}

/* mobile nav */
.mobile_menu.total {
  display: none;
  background: #2c3e51;
}

.total {
  transform: translate(0,0);
  width: 80px;
  height: 80px;
  position: absolute;
  top: -6px;
  right: 0;
  text-decoration: none;
  z-index: 12;
  cursor: pointer;
}

.total span {
  display: block;
  width: 60%;
  border-radius: 10px;
  height: 3px;
  background: rgba(255,255,255,1);
  color: transparent;
  position: absolute;
  top: 49%;
  right: 15px;
  transform: translate(0,-50%);
  transition: all 0.5s;
}

.total span:before, .total span:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,1);
  transition: all 0.5s;
}

.mobile_menu.total span:before {
  top: -13px;
}

.mobile_menu.total span:after {
  top: 13px;
}

.mobile_menu.total.on span {
  background: transparent;
}

.mobile_menu.total.on span:before {
  top: 0px;
  transform: rotate(45deg);
}

.mobile_menu.total.on span:after {
  top: 0px;
  transform: rotate(-45deg);
}

.header_inner.down .total {
  width: 73px;
  height: 76px;
}

.header_inner.down .total span {
  width: 55%;
  height: 2px;
  top: 54%;
}

.header_inner.down .total span:before,
.header_inner.down .total span:after {
  height: 2px;
}

.mobile_bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.mobile_nav .gnb {
  position: fixed;
  right: -100vw;
  top: 0;
  background: rgba(255,255,255,1);
  width: 300px;
  height: 100vh;
  /* padding-top: 100px; */
  box-sizing: border-box;
  transition: right 0.2s;
  z-index: 11;
  overflow-y: auto;
  text-align: left;
  border-top: 5px solid #07388e;
  display: none;
}

.header_inner.down .mobile_nav .gnb {
  border-top: none;
}

.high_txt {
  text-transform: uppercase;
  height: 80px;
  line-height: 80px;
  border-bottom: 1px solid #ccc;
  padding-left: 20px;
  font-weight: 200;
  letter-spacing: 2px;
}

.header_inner.down .high_txt {
  height: 69px;
  line-height: 69px;
}

.dep1 {
  font-size: 20px;
}

.gnb .dep1 > a {
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid #eee;
}

.dep1 a {
  display: block;
}

.dep1:hover > a {
  background: rgba(44,62,81,.9);
  color: #fff;
}

.m_mainMenu {
  margin-top: 20vh;
  /* padding: 0 30px; */
  text-align: center;
}

.dep2 li {
  padding: 5px 0;
}

.dep2 li:first-child {
  margin-top: 10px;
}

.dep2 li:last-child {
  margin-bottom: 10px;
}

.dep2 li a {
  font-size: 16px;
  font-weight: 300;
}

.dep2 li:hover a {
  font-weight: 600;
}





@media screen and (max-width: 1500px) {

  .header_inner_inner {
    width: 100%;
  }


    .header_inner.down .header_inner_inner {
      width: 100%;
    }

    .subMenu {
      width: 100%;
    }
}




@media (max-width: 937px) {
  header {
    height: 79px;
  }

  .header_inner {
    height: 70px;
    top: 6px;
  }

  .mobile_nav .gnb {
    display: block;
  }

  .mobile_menu.total {
    display: block;
  }

  .mainMenu, .subMenu {
    display: none;
  }

}

@media (max-width: 550px) {

  .logo {
    margin: 1px;
  }

  .dep1 {
    font-size: 16px;
  }

  header {
    height: 60px;
  }

  .header_inner.down {
    height: 65px;
  }

  .header_inner .logo a {
    height: 90%;
  }

  .header_inner.down .logo a {
    width: 80px;
    margin-top: 8px;
  }

  .header_inner_inner {
    margin: 0;
    display: block;
}

  .header_inner .total {
    width: 66px;
    height: 61px;
  }

  .header_inner.down .total {
    width: 68px;
    height: 73px;
  }

  .header_inner .total span {
    top: 49%;
    right: 13px;
    height: 2px;
  }

  .header_inner.down .total span {
    right: 15px;
    top: 55%;
  }

  .total span:before, .total span:after {
    height: 2px;
  }

  .high_txt {
    height: 69px;
    line-height: 71px;
  }


  /* test */
  .total {
    top: -7px;
    height:71px;
  }

  .header_inner .logo a {
    float: left;
    width: 85px;
  }


  .header_inner.down .logo a img {
    width: 100%;
  }

  .header_inner .logo a img {
    width: 95%;
    padding: 4px 2px 0;
    box-sizing: border-box;
  }

  .header_inner.down .logo a img {
    padding: 5px 5px 0;
    margin: 0;
  }

  .gnb .dep1 > a {
    height: 50px;
    line-height: 50px;
    font-size: 15px;
  }

  .dep2 li a {
    font-size: 14px;
  }


}



@media (max-width: 430px) {


  .high_txt {
    padding-left: 10px;
    font-size: 12px;
  }

  
}

@media (max-width: 3750px) {


  .high_txt {
    display: none;
  }


}
