.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: #00143c;
}

.header .layout__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
}

.header__logo img {
  height: 46px;
}

.header__gnb {
  display: flex;
  gap: 100px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* header background change */
.header__bg__transparent .header__gnb,
.header__bg__transparent .header__gnb_user_btn {
  color: #fff;
}

.header__bg__white .header {
  background: #fff;
}

.header__bg__white .header__gnb,
.header__bg__white .header__gnb_user_btn {
  color: #000;
}

.header__bg__transparent .header__logo img {
  content: url('/1x/common/logo-w.png');
}

.header__bg__white .header__logo img {
  content: url('/1x/common/logo-b.png');
}

.header.on_hover .header__logo img {
  content: url('/1x/common/logo-w.png') !important;
}

/* header__gnb */

.header__gnb_menu {
  display: flex;
  gap: 100px;
  position: relative;
}

.header__gnb_sub {
  position: absolute;
  top: 110px;
  display: none;
}

.header__gnb_sub li {
  margin-bottom: 1rem;
  font-weight: 400;
}

.header__gnb_user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__gnb_user_btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 12px;
  height: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transform: translateY(-1px);
}

.header__gnb_user_btn .bar {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #fff;
}

.header__gnb_user_btn .bar:nth-child(2) {
  transform: translateX(2px);
}

/* 서브 메뉴 열릴 때 */
.header.on_hover {
  background: #00143c;
}

.header.on_hover .header__gnb_user_btn .bar {
  background-color: #41b76b;
}

.header.on_hover .header__gnb,
.header.on_hover .header__gnb_user_btn {
  color: #fff;
}

.header__sub__bg {
  width: 100%;
  height: 270px;
  background: #00143c;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: none;
}


.header__gnb_menu a {
  color: inherit;
  transition: 0.3s;
}

/* hover 시 색상 유지 (JS에서 .on_hover 붙음) */
.header.on_hover .header__gnb_menu a:hover,
.header.on_hover .header__gnb_menu .header__gnb_sub a:hover {
  color: #41b76b;
}


.header__gnb_menu > li:hover > a {
  color: #41b76b;
}