@charset "utf-8";

#header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}
#header .max_1920 {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#header .header_cont {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

/* 메인일때 */
#header.main {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#header.on {
  background: #fff;
}
#header.main .logo a span {
  /* background: url(../img/common/logo_hw.png) no-repeat center / 200px auto; */
  background-position: center;
  background-repeat: no-repeat;
}
#header.main #gnb > ul > li > a .label {
  color: #fff;
}
#header.main .right_menu .inquiry_menu span {
  color: #fff;
}
#header.main .right_menu .num_menu h4 {
  color: #fff;
}

#header.main .right_menu .num_menu h5 {
  color: #fff;
}

/*  // 메인일때 //  */

#header .logo {margin-right: auto; padding-left: 70px;}
#header.on .logo a span,
#header .logo a span{
    display: block;
    width: 200px; height: 31px;
    transition: filter 0.3s ease;
    /* background: url(../img/common/logo_hw1.png) no-repeat center / 200px auto; */
}
/* #header .logo .logo_img {
  display: block;
  width: 200px;
  height: 31px;
  transition: filter 0.3s ease;
} */

#header:not(.on) .logo .logo_img {
  /* filter: brightness(0) invert(1); */
}

#header.main:not(.on) .logo .logo_img {
  filter: brightness(0) invert(1);
}

#header.on .logo .logo_img {
  filter: none;
}

#header #gnb {
  margin-right: auto;
  transform: translateX(10%);
}
#header #gnb .gnb_open_top {
  display: none;
}
#header #gnb ul {
  display: flex;
}
#header #gnb ul li a {
  display: block;
  line-height: 88px;
  padding: 0 20px;
}
#header.on #gnb > ul > li > a .label,
#gnb > ul > li > a .label {
  color: rgba(37, 37, 37, 0.9);
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s all;
  -moz-transition: 0.3s all;
  -webkit-transition: 0.3s all;
}
#header #gnb > ul > li.active a .label {
  color: #22b24c !important;
  border-bottom: 1px solid #22b24c;
}

#header .right_menu {
  display: flex;
  align-items: center;
  /* transform: translateX(60px); */
}
#header .right_menu .inquiry_menu {
  margin-right: 28px;
}
#header .right_menu .inquiry_menu a {
  display: flex;
  align-items: center;
}
#header .right_menu .inquiry_menu i {
  width: 45px;
  height: 45px;
  display: block;
  background: url(../img/ico/inquiry_ico.png) no-repeat center;
  margin-right: 10px;
}
#header.on .right_menu .inquiry_menu span,
#header .right_menu .inquiry_menu span {
  color: rgba(37, 37, 37, 0.9);
  line-height: 43px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
}

#header .right_menu .num_menu {
  margin-right: 20px;
}
#header.on .right_menu .num_menu h4,
#header .right_menu .num_menu h4 {
  font-size: 22px;
  color: rgba(37, 37, 37, 0.9);
}
#header.on .right_menu .num_menu h5,
#header .right_menu .num_menu h5 {
  font-size: 14px;
  font-weight: 300;
  color: rgba(37, 37, 37, 0.9);
}

#header .good_img img {
  display: block;
}

#header .btn_all_menu {
  display: none;
}

@media screen and (max-width: 1920px) {
  #header .logo {
    padding-left: 38px;
  }
}

@media screen and (max-width: 1780px) {
  #header .logo {
    padding-left: 15px;
  }
}

@media screen and (max-width: 1680px) {
  #header #gnb {
    transform: translateX(0);
  }
}

@media screen and (max-width: 1540px) {
  #header #gnb ul li a {
    padding: 0 15px;
  }
}
@media screen and (max-width: 1480px) {
  #header #gnb ul li a {
    padding: 0 10px;
  }
  #gnb > ul > li > a .label {
    font-size: 16px;
  }
  #header .right_menu .inquiry_menu i {
    display: none;
  }
  #header .right_menu .num_menu {
    margin-right: 15px;
  }
  #header .right_menu .inquiry_menu {
    margin-right: 15px;
  }
}
@media screen and (max-width: 1300px) {
  #header .good_img {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  #header #gnb {
    margin-right: 15px;
  }
  #header .right_menu {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  /* 메인일때 */
  #header.main .btn_all_menu span.top {
    background-color: #fff;
  }
  #header.main .btn_all_menu span.middle {
    background-color: #fff;
  }
  #header.main .btn_all_menu span.bottom {
    background-color: #fff;
  }
  #header.main .logo a span {
    background: url(../img/common/logo_hw.png) no-repeat center / 180px auto;
  }
  #header.on .logo a span,
  #header .logo a span {
    background: url(../img/common/logo_hw1.png) no-repeat center / 180px auto;
  }

  #header.on .btn_all_menu span.top {
    background-color: rgba(0, 0, 0, 0.7);
  }
  #header.on .btn_all_menu span.middle {
    background-color: rgba(0, 0, 0, 0.7);
  }
  #header.on .btn_all_menu span.bottom {
    background-color: rgba(0, 0, 0, 0.7);
  }

  #header.main #gnb > ul > li > a .label {
    color: rgba(0, 0, 0, 0.7);
  }

  /*  // 메인일때 //  */

  #header .logo a span {
    display: block;
    /* width: 180px; */
    height: 31px;
    background: url(../img/common/logo_hw1.png) no-repeat center / 180px auto;
  }
  #header .header_cont {
    width: calc(100% - 30px);
    margin: 0 auto;
    padding: 10px 0;
  }
  #header .logo {
    padding-left: 0;
  }

  #header .btn_all_menu {
    display: block;
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
  }
  #header .btn_all_menu span {
    position: absolute;
    display: block;
    width: 50%;
    height: 2px;
    background-color: #333;
  }
  #header .btn_all_menu span.top {
    top: 30%;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
  }
  #header .btn_all_menu span.middle {
    top: 50%;
    margin-top: -1px;
    width: 30%;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
  }
  #header .btn_all_menu span.bottom {
    bottom: 30%;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
  }

  #header #gnb {
    position: fixed;
    width: 100%;
    height: 100%;
    left: -100%;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    margin: 0;
    overflow: scroll;
    transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: all 0.35s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  #header #gnb.on {
    left: 0;
  }
  #header #gnb .gnb_open_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    margin: 0 auto;
    padding: 20px 0;
  }
  #header #gnb .gnb_open_top .gnb_logo a {
    width: 150px;
  }
  #header #gnb .gnb_open_top .gnb_logo a img {
    display: block;
    width: 180px;
  }
  #header #gnb ul {
    padding-top: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #header #gnb ul li {
    text-align: center;
  }
  #header #gnb ul li a {
    display: block;
    line-height: 60px;
    padding: 0 0;
  }
  #gnb > ul > li > a .label {
    font-size: 24px;
  }
}
