.header {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.mobile-only {
  display: none;
}
.header-wrap {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
}

.white .pc-only,
.pc-only.on {
  background: #fff;
}
.header-top {
  width: 100%;
  padding: 3rem 0rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-top-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-logo img {
  width: 100%;
  max-width: 26rem;
  min-width: 20rem;
}

.white .pc-only .header-logo {
  display: none;
}

.btn-en:lang(en) {
  pointer-events: none;
}

/*GNB*/
.gnb {
  position: relative;
}

.navi {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.main-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}
.main-menu-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.main-menu-list {
  height: 100%;
  padding: 2rem 0;
}
.main-menu-list > a {
  display: block;
  height: 100%;
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  margin-right: 5.6rem;
  padding-bottom: 0.4rem;
}

.main-menu-right .main-menu-list > a {
  margin-right: 4rem;
}

.main-menu-list:last-child > a {
  margin: 0;
}

.pc-only .main-menu-list:hover > a {
  border-bottom: 2px solid #000;
  padding-bottom: 0.2rem;
}

.white .pc-only .main-menu-list > a,
.pc-only.on .main-menu-list > a {
  color: #05141f;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0rem;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6rem;
  border-top: 1px solid #edf0f2;
}

.pc-only .main-menu-list.on > .sub-menu {
  display: flex;
  padding: 2.4rem 0rem 4.8rem 0rem;
}

.sub-menu-wrap {
  width: 100%;
  max-width: 25rem;
}

.pc-only .sub-menu::after {
  content: '';
  width: 200vw;
  height: 34.3rem;
  position: absolute;
  top: -1px;
  left: -100vw;
  background: #fff;
  z-index: -1;
  border-top: 1px solid #edf0f2;
}

.pc-only .sub-menu > .sub-menu-wrap > .sub-menu-list {
  position: relative;
}

.sub-menu-list {
  padding: 1.2rem 0;
}

.sub-menu-list > a {
  font-size: 1.6rem;
  font-weight: 600;
  color: #05141f;
  line-height: 2.4rem;
}
.sub-menu-list a:hover {
  border-bottom: 2px solid #000;
}

.sub-menu-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #05141f;
}

.sub-menu-slide {
  width: 140.5rem;
  height: 23rem;
}
.depth2-menu {
  font-size: 1.6rem;
  color: #05141f;
  font-weight: 600;
}

.depth2-menu.on {
  color: #05141f;
  border-bottom: 2px solid #000;
}

.depth3-menu-wrap {
  display: none;
  position: absolute;
  top: 11px;
  right: -180%;
  width: 150%;
}

.depth3-menu-wrap.on {
  display: block;
}

.depth3-menu {
  display: inline-block;
  font-size: 1.6rem;
  color: #303c47;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.depth3-menu.on {
  color: #05141f;
  border-bottom: 2px solid #000;
}

.depth4-menu-wrap {
  display: none;
  width: 150%;
  position: absolute;
  top: 0;
  right: -160%;
}

.depth4-menu-wrap.on {
  display: block;
}

.depth4-menu a {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.header-right-side {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*sitemap search*/
.mobile-menu {
  display: none;
}
.search-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.search-btn {
  width: 2rem;
  height: 2rem;
  background: url(../img/ic_search.svg) no-repeat center;
  background-size: cover;
  margin-right: 2rem;
}
.white .search-btn {
  background: url(../img/ic_search_black.svg) no-repeat center !important;
}

.mobile-menu-btn {
  display: none;
}
.mobile-menu-btn span {
  display: block;
  width: 1.3rem;
  height: 0.2rem;
  background: #fff;
}
.mobile-menu-btn span:first-child {
  margin-bottom: 0.3rem;
}

/*language*/
.language {
  position: relative;
}

.language-btn {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
}
.language-btn.active {
  font-weight: 400;
  color: #fff;
}
.white .pc-only .language-btn,
.pc-only.on .language-btn {
  color: #303c47;
}
.white .pc-only .language-btn.active,
.pc-only.on .language-btn.active {
  color: #05141f;
}
.btn-kr {
  position: relative;
  margin-right: 1rem;
}
.btn-kr::after {
  content: '';
  position: absolute;
  width: 0.1rem;
  height: 1.2rem;
  background: #636d74;
  top: 50%;
  right: -0.6rem;
  transform: translateY(-50%);
  border-radius: 100%;
}

.white .pc-only .btn-kr::after,
.pc-only.on .btn-kr::after {
  background: #8d959a;
}

/*media query*/
@media screen and (max-width: 480px) {
  .mobile-only {
    display: block;
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 2rem 0 !important;
    transform: translateX(100%);
    transition: opacity 0.3s;
    overflow: auto;
  }
  .mobile-only .header-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 4rem;
  }
  .mobile-only .search-wrap {
    display: block;
  }
  .mobile-only .search-btn {
    background-image: url(../img/ic_search_black.svg);
  }
  .mobile-only .language {
    display: block;
  }
  .mobile-only .language-btn {
    font-size: 1.6rem;
    font-weight: 400;
    color: #303c47;
  }
  .mobile-only .btn-kr {
    margin-right: 2.4rem;
  }
  .mobile-only .btn-kr::after {
    right: -1.3rem;
    top: 49%;
    background: #8d959a;
  }
  .btn-close {
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: url(../img/ic_close.svg) no-repeat center;
    background-size: cover;
  }
  .mobile-only .language-btn.active {
    color: #05141f;
    font-weight: 600;
  }
  .mobile-only .gnb {
  }
  .mobile-only .navi {
    display: block;
  }
  .mobile-only .main-menu {
    display: block;
  }

  .mobile-only .main-menu-list {
    padding: 0;
  }

  .mobile-only .main-menu-list > button {
    width: 100%;
    text-align: left;
  }
  .mobile-only .main-menu-list > button span {
    display: inline-block;
    color: #05141f;
    margin: 0;
    padding: 1.6rem 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
  }

  .mobile-dept3-menu {
    display: none;
  }

  .sub-menu-list.active .mobile-dept3-menu {
    display: block;
  }

  .mobile-depth3-btn span {
    display: inline-block;
    font-size: 1.6rem;
    color: #05141f;
    font-weight: 600;
    position: relative;
    padding-right: 2rem;
    margin-bottom: 1.6rem;
  }

  .mobile-depth3-list {
    margin-bottom: 1.6rem;
  }

  .mobile-depth3-list a {
    display: block;
    font-size: 1.6rem;
    color: #05141f;
    font-weight: 600;
    padding-left: 2rem;
    position: relative;
  }

  .mobile-depth3-list a::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 1px;
    height: 1.6rem;
    background: #49555f;
  }

  .mobile-only .main-menu-list > button span::after,
  .mobile-depth3-btn span::after {
    content: '';
    width: 2rem;
    height: 2rem;
    background: url(../img/ic_arrow_open.svg) no-repeat center;
    background-size: cover;
    position: absolute;
    right: -0.8rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-only .main-menu-list.active > button span::after,
  .sub-menu-list.active .mobile-depth3-btn span::after {
    transform: rotateX(180deg) translateY(50%);
  }

  .mobile-only .main-menu-list > a {
    color: #05141f;
    margin: 0;
    padding: 1.6rem 2rem;
    font-size: 1.8rem;
    font-weight: 600;
  }
  .mobile-only .main-menu-list .sub-menu {
    display: block;
    position: unset;
    background: #f2f4f6;
    padding: 0 2rem;
    transition: opacity 0.3s ease-out;
    height: 0;
    overflow: hidden;
    border-top: none;
  }

  .mobile-only .main-menu-list.active .sub-menu {
    padding: 1.6rem 2rem;
    height: auto;
  }
  .mobile-only .sub-menu .sub-menu-wrap {
    max-width: unset;
    margin-bottom: 2.4rem;
  }
  .mobile-only .sub-menu .sub-menu-wrap:last-child {
    margin-bottom: 0;
  }

  .mobile-only .sub-menu-list {
    padding: 0;
    margin-bottom: 1.6rem;
  }
  .mobile-only .sub-menu-list:last-child {
    margin-bottom: 0;
  }

  .header {
    padding: 2rem;
  }
  .header-wrap {
    padding: 0;
  }
  .header-top {
    padding: 0;
  }
  .header-bottom {
    display: none;
  }
  .header-logo img,
  .header-logo-black img {
    width: 15rem;
    min-width: unset;
  }
  .mobile-menu {
    display: block;
    width: 2rem;
    height: 2rem;
    background: url(../img/ic_menu.svg) no-repeat center;
    background-size: cover;
  }
  .white .mobile-menu {
    background-image: url(../img/ic_menu_black.svg);
  }
  .language {
    display: none;
  }
}
