header {
  width: 1920px;
  margin-left: -960px;
  left: 50%;
  position: absolute;
  height: 170px;
  background: rgba(255, 255, 255, 0);
  z-index: 10;
  transition: height .3s ease-out, background .3s ease-out;
}

header * {
  font-family: 'Montserrat';
}

body.active,
html.active {
  overflow: hidden;
}

header .headerwrap {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

header .headerwrap .logo {
  margin-top: 50px;
  left: 0px;
  position: absolute;
  display: block;
  width: 222px;
  height: 62px;
}

header .headerwrap .logo a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

header .headerwrap .logo a::after,
header .headerwrap .logo a::before {
  content: "";
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  position: absolute;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  transition: opacity .3s ease-out;
}

header .headerwrap .logo a::after {
  background-image: url('../images/common/logo_color2.png');
}

header .headerwrap .logo a::before {
  opacity: 0;
  background-image: url('../images/common/logo_color.png');
}

header.active .headerwrap .logo a::after {
  opacity: 0;
}

header.active .headerwrap .logo a::before {
  opacity: 1;
}

header .headerwrap nav {
  width: 100%;
  text-align: center;
}

header .headerwrap ul li a {
  color: #fff;
  transition: color .3s ease-out;
}

header .headerwrap nav>ul {
  padding-top: 70px;
  font-size: 0px;
}

header .headerwrap nav>ul>li {
  display: inline-block;
  padding: 0px 40px;
}

header .headerwrap nav>ul>li>a {
  border-bottom: 3px solid rgba(183, 21, 73, 0);
  font-size: 20px;
  display: block;
  line-height: 40px;
  text-transform: uppercase;
  transition: color .3s ease-out, border .3s ease-out;
}

/* 20201224 추가 */
header .headerwrap nav>ul>li:last-child{
  width:140px;
  margin-bottom:-10px;
}

header .headerwrap nav>ul>li>a.icon {
  border-bottom: 0px solid rgba(183, 21, 73, 0);
  display: block;
  line-height: 0px;
  text-transform: none;
}

header .headerwrap nav>ul>li>a.icon>img {
  float:left;
  margin-left:10px;
}

header.active .headerwrap nav>ul>li:hover>a.icon {
  color: rgba(183, 21, 73, 1);
  border-bottom: 0px solid rgba(183, 21, 73, 1);
}

/* 20201224 추가 */

header .headerwrap .util {
  top: 0px;
  padding-top: 82px;
  position: absolute;
  right: 0px;
  z-index: 1;
}

header .headerwrap .firmwarewrap {
  position: absolute;
  top: 200px;
  right: 0;
  z-index: 4;
  display: none;
  opacity: 0;
}

header .headerwrap .firmwarewrap p {
  font-size: 26px;
  letter-spacing: 0.025em;
  font-weight: 300;
  color: #ffffff;
  line-height: 30px;
}

header .headerwrap .firmwarewrap span {
  font-size: 16px;
  letter-spacing: 0.025em;
  font-weight: 300;
  color: rgba(255, 255, 255, .4);
  margin-top: 20px;
  display: block;
  line-height: 20px;
}

header .headerwrap .firmwarewrap span i.gt {
  display: inline-block;
  width: 6px;
  height: 8px;
  background: url(../images/common/icon_gt.png) no-repeat center;
  vertical-align: middle;
  background-size: cover;
}

header .headerwrap .util ul {
  position: relative;
  z-index: 2;
  text-align: right;
  font-size: 0px;
}

header .headerwrap .util ul li {
  display: inline-block;
  vertical-align: top;
}

header .headerwrap .util ul li a {
  display: block;
  font-size: 12px;
  letter-spacing: 0.07em;
}

header .headerwrap .util ul li.global a {
  padding-top: 1px;
  margin-right: 0px;
  line-height: 26px;
  padding:0px 15px;
  border-radius: 20px;
  border:1px solid rgba(255,255,255,0.5);
}

header .headerwrap .util ul li.search a {
  font-size: 0px;
  width: 18px;
  height: 18px;
  position: relative;
}

header .headerwrap .util ul li.search a::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  background: url('../images/common/icon_search.png');
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  transition: opacity .3s ease-out;
}

header .headerwrap .util ul li.search a::before {
  opacity: 0;
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  background: url('../images/common/icon_search_active.png');
  width: 17px;
  height: 20px;
  transition: opacity .3s ease-out;
}

header.active .headerwrap .util ul li.search a::after {}

header.active .headerwrap .util ul li.search a::before {}

header::after {
  position: absolute;
  right: 0px;
  top: 0px;
  content: "";
  background-image: url('../images/common/gnb_bg_shadow.png');
  background-repeat: no-repeat;
  background-position: -30px top;
  background-color: rgba(183, 21, 73, 0);
  width: 25%;
  height: 170px;
  z-index: 0;
  transition: height .3s ease-out, background .3s ease-out;
}

header.active {
  height: 430px;
  background: rgba(255, 255, 255, 1);
}

header.active::after {
  height: 430px;
  background-image: url('../images/common/gnb_bg_shadow.png');
  background-repeat: no-repeat;
  background-position: 0px top;
  background-color: rgba(183, 21, 73, 1);
}

header.active .headerwrap nav>ul>li>a {
  color: #222;
}

header.active .headerwrap nav>ul>li:hover>a {
  color: rgba(183, 21, 73, 1);
  border-bottom: 3px solid rgba(183, 21, 73, 1);
}

header .headerwrap nav>ul>li>ul {
  position: absolute;
  display: block;
  overflow: hidden;
  width: auto;
  height: 0px;
}

header.active .headerwrap nav>ul>li:hover>ul {
  height: 200px;
}

header .headerwrap nav>ul>li>ul>li {
  display: inline-block;
  opacity: 0;
}

header .headerwrap nav>ul>li:hover>ul>li {
  opacity: 1;
}

header .headerwrap nav>ul>li:first-child>ul {
  left: -150px;
  padding: 0px;
  width: 100%;
}

header .headerwrap nav>ul>li:first-child>ul>li {
  padding: 0px 10px;
}

header .headerwrap nav>ul>li:first-child>ul>li:first-child {
  padding-left: 70px;
}

header .headerwrap nav>ul>li:first-child:hover>ul {
  padding-top: 80px;
  width: auto;
  left: 0;
}

header .headerwrap nav>ul>li:first-child:hover>ul>li:nth-of-type(1) {
  transition-delay: .1s;
  transition: opacity .5s ease-out;
}

header .headerwrap nav>ul>li:first-child:hover>ul>li:nth-of-type(2) {
  transition-delay: .2s;
  transition: opacity .5s ease-out;
}

header .headerwrap nav>ul>li:first-child:hover>ul>li:nth-of-type(3) {
  transition-delay: .3s;
  transition: opacity .5s ease-out;
}

header .headerwrap nav>ul>li:first-child:hover>ul>li:nth-of-type(4) {
  transition-delay: .4s;
  transition: opacity .5s ease-out;
}

header .headerwrap nav>ul>li:first-child>ul>li>a>span {
  display: block;
}

header .headerwrap nav>ul>li:first-child>ul>li>a>span.txtwrap {
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #333;
  transition: color .5s ease-out;
}

header .headerwrap nav>ul>li:first-child>ul>li:hover>a>span.txtwrap {
  color: rgba(183, 21, 73, 1);
}

header.active .firmwarewrap {
  display: block;
  opacity: 1;
  transition: opacity .3s ease-out;
}

header.active.list .headerwrap nav>ul>li:nth-of-type(n+2)>ul {
  min-width: 200px;
  padding-top: 30px;
  height: 270px;
}

header.active.list .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li {
  display: block;
  opacity: 0.5;
  visibility: visible;
}

header.active.list .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li>a {
  font-size: 16px;
  text-align: left;
  line-height: 30px;
  font-weight: 300;
  transform-origin: left center;
  color: #333;
  display: block;
  line-height: 30px;
}

header.active.list .headerwrap nav>ul>li:nth-of-type(n+2):hover>ul>li {
  opacity: 1;
}

header.active.list .headerwrap nav>ul>li:nth-of-type(n+2):hover>ul>li:hover>a {
  color: rgba(183, 21, 73, 1);
}

header .headerwrap nav>ul>li:first-child>ul>li>a>span.imgwrap {
  transform: translateY(0px);
  transition: all 0.7s ease;
}

header .headerwrap nav>ul>li:first-child>ul>li>a:hover>span.imgwrap {
  transform: translateY(-10px);
  transition: all 0.7s ease;
}

header .headerwrap nav>ul>li:first-child>ul>li>a>span.txtwrap {
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #333;
  transition: all .7s ease-out;
}

header .headerwrap nav>ul>li:first-child>ul>li:hover>a>span.txtwrap {
  color: rgba(183, 21, 73, 1);
}

@media screen and (max-width: 1920px) {
  header {
    width: 100%;
    margin-left: -50%;
  }
}

@media screen and (max-width: 1640px) {
  header .headerwrap {
    max-width: 1365px;
  }

  header::after {
    width: 22%;
  }

  header .headerwrap nav>ul>li {
    padding: 0px 30px;
  }

  header .headerwrap nav>ul>li>a {
    font-size: 17px;
  }

  header .headerwrap .logo {
    width: 185px;
    height: 52px;
    margin-top: 57px;
  }

  header .headerwrap .firmwarewrap p {
    font-size: 20px;
    line-height: 24px;
  }

  header .headerwrap .firmwarewrap span {
    font-size: 14px;
    line-height: 18px;
  }
}

@media screen and (max-width: 1440px) {
  header .headerwrap {
    max-width: 1220px;
  }

  header::after {
    /*width: 18.5%;*/
  }

  header .headerwrap nav>ul>li {
    padding: 0px 25px;
  }

  header .headerwrap nav>ul>li:first-child>ul>li>a>span img {
    width: 80%;
  }

  header .headerwrap nav>ul>li:first-child>ul>li {
    padding: 0px 0px;
  }

  header .headerwrap nav>ul>li:first-child>ul>li:first-child {
    padding-left: 30px;
  }

  header.active.list .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li>a,
  header .headerwrap nav>ul>li:first-child>ul>li>a>span.txtwrap {
    font-size: 15px;
  }

  header .headerwrap .firmwarewrap {
    right: -10px;
  }

  header .headerwrap .firmwarewrap p {
    font-size: 20px;
    line-height: 24px;
  }

  header .headerwrap .firmwarewrap span {
    font-size: 14px;
    line-height: 18px;
  }
}

@media screen and (max-width: 1310px) {
  header .headerwrap .firmwarewrap {
    right: -20px;
  }
}

@media screen and (max-width: 1280px) {
  header .headerwrap {
    max-width: 1075px;
  }
}

@media screen and (max-width: 1180px) {
  header {
    width: 100%;
    margin-left: 0%;
    left: 0px;
  }

	header .headerwrap nav>ul>li>ul>li {
	  opacity: 1;
	  visibility: visible;
	}

  header .headerwrap {
    max-width: auto;
    width: 100%;
  }

  header .headerwrap .logo {
    margin-top: 37px;
    left: 30px;
  }

  header .headerwrap .util {
    display: none;
  }

  header .headerwrap nav {
    position: fixed;
    top: 50%;
    left: 0px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: opacity.5s ease-out;
    transition-delay: .3s;
  }

  header.active .headerwrap nav {
    opacity: 1;
    visibility: visible;
  }

  header .headerwrap nav ul li {
    display: block;
    padding: 0px;
  }

  header .headerwrap nav ul {
    width: 100%;
    padding-top: 0px;
  }

  header .headerwrap nav ul li ul {
    position: relative;
  }

  header .headerwrap nav ul li a,
  header.active .headerwrap nav>ul>li:hover>a {
    border-bottom: 0px;
  }

  header .headerwrap nav>ul>li:first-child>ul>li>a>span img {
    display: none;
  }

  header .headerwrap nav>ul>li:first-child>ul {}

  header .headerwrap nav>ul>li:first-child>ul>li {
    display: block;
    padding: 0px;
    text-align: center;
  }

  header .headerwrap nav>ul>li:first-child>ul>li:first-child {
    padding-left: 0px;
  }

  header .headerwrap nav>ul>li:first-child:hover>ul {
    padding-top: 0px;
  }

  header.list.active .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li>a {
    text-align: center;
  }

  header.mobile.active .headerwrap nav>ul>li>ul {
    display: none;
  }

  header.active .headerwrap nav>ul>li>ul {
    padding-bottom: 20px !important;
  }

  header .headerwrap nav>ul>li>ul,
  header.active .headerwrap nav>ul>li:hover>ul,
  header.active.list .headerwrap nav>ul>li:nth-of-type(n+2)>ul {
    width: 100%;
    text-align: center;
    padding: 0px;
    height: auto;
    display: none;
  }

  header.active .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li {
    opacity: 1;
  }

  header.active .headerwrap nav>ul>li:nth-of-type(n+2):hover>ul,
  header.active .headerwrap nav>ul>li:hover>ul {
    display: none;
  }

  header.active .headerwrap nav>ul>li:nth-of-type(n+2)>ul>li {
    opacity: 1;
  }

  header.active {
    position: fixed;
    height: 100%;
  }

  header::after {
    display: none;
  }

  header .headerwrap nav>ul>li:first-child>ul>li>a>span header .headerwrap .logo {
    position: absolute;
    margin-top: 35px;
    left: 30px;
    margin-left: 0px;
  }

  header .headerwrap .util {
    width: 18px;
    right: 20px;
    padding-top: 45px;
  }

  header .headerwrap .util ul li {
    display: block;
    height: 18px;
    margin-bottom: 12px;
  }

  header .headerwrap .util ul li.global a {
    font-size: 0px;
    display: block;
    width: 18px;
    height: 18px;
    padding-top: 0px;
    position: relative;
  }

  header .headerwrap .util ul li.global a::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: url('../images/common/icon_global.png');
    background-size: 100% 100%;
    transition: opacity .3s ease-out;
  }

  header .headerwrap .util ul li.search a::after {
    left: 1px;
  }

  header .headerwrap .mobile_menu {
    cursor: pointer;
    right: 30px;
    top: 42px;
    width: 45px;
    height: 45px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0);
    position: absolute;
    z-index: 10;
  }

  header .headerwrap .mobile_menu p {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
  }

  header .headerwrap .mobile_menu b {
    position: absolute;
    right: 8px;
    top: 13px;
    width: 14px;
    height: 1px;
    background: #fff;
    transition: width .3s ease-out, transform .3s ease-out;
  }

  header .headerwrap .mobile_menu p::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 21px;
    width: 26px;
    height: 1px;
    background: #fff;
    transition: all .3s ease-out;
  }

  header .headerwrap .mobile_menu p::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 29px;
    width: 20px;
    height: 1px;
    background: #fff;
    transition: all .3s ease-out;
  }

  header.active .headerwrap .mobile_menu p::after {
    width: 0px;
  }

  header.active .headerwrap .mobile_menu p::before {
    width: 25px;
    margin-top: 5px;
    top: 13px;
    transform: rotate(45deg);
    background: rgba(183, 21, 73, 1);
  }

  header.active .headerwrap .mobile_menu b {
    margin-top: 5px;
    width: 25px;
    transform: rotate(-45deg);
    background: rgba(183, 21, 73, 1);
  }

  header.active .headerwrap .mobile_menu b::after {
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    content: "";
    background: #fff;
  }

  header .headerwrap .firmwarewrap {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  header .headerwrap {
    width: 340px;
    margin: 0 auto;
  }

  header .headerwrap .logo {
    position: absolute;
    width: 170px;
    height: 47px;
    margin-top: 35px;
    left: 0px;
    margin-left: 0px;
  }

  header .headerwrap .mobile_menu {
    right: 0px;
  }

  header .headerwrap nav>ul>li:first-child>ul {
    left: 0px;
    padding: 0px;
    width: 100%;
  }

}

/* 20201224 추가 */
@media screen and (max-width: 1180px) {
  header .headerwrap nav>ul>li:last-child{
	text-align:center;
	display:inline-block;
	margin-top:15px;
  }
}
