/* nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 64px; /* font-size: 0; */
}
.header.active {
  background: rgba(255, 255, 255, 1);
}
.header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
}
.header .header-wrap > div {
  z-index: 2000;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.header .header-wrap > .right > div:not(:last-child) {
  padding-right: 8px;
}
.header .header-wrap > .left .site_logo {
  display: block;
}
.site_logo h1 {
  width: 168px;
  height: 28px;
}
.site_logo h1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 1024px) {
  .header .header-wrap {
    padding: 8px 10px; /*background: #f4f4f4;*/
    justify-content: space-between;
  }
  .header .header-wrap > div {
    padding: 0;
  }
  .site_logo h1 {
    width: 144px;
    height: 22px;
  }
  /* .header .header-wrap > .left {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 0;
  } */
}
/* @media screen and (max-width: 690px) {
  .site_logo h1 {
    height: 26px;
  }
} */

/* pc nav */
.gnb.is_pc {
  text-align: center; /* is_selected */
  height: 100%;
}
.gnb.is_pc .gnb-btn {
  display: none;
}
.gnb.is_pc .gnb-wrap {
  height: 100%;
}
.gnb.is_pc .gnb-wrap .gnb-list {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gnb.is_pc .gnb-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  transition: all 0.4s;
}
.gnb.is_pc .gnb-item a {
  display: block;
  position: relative;
  height: 100%;
  align-items: center;
  font-size: 18px; /* line-height: 34px; */
  padding: 0;
  font-weight: 500;
  color: #565954;
  word-break: keep-all;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.gnb.is_pc .gnb-item a.nav_1depth {
  padding: 0 16px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: transparent;
}
.gnb.is_pc .is_active.gnb-item a.nav_1depth {
  border: 1px solid #62bb46;
  background: rgba(98, 187, 70, 0.05);
  color: #62bb46;
  font-weight: 700;
}
.gnb.is_pc .ic-arrow-right {
  display: none;
}
.gnb.is_pc .gnb-item .nav_2depth {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 100%;
  padding-top: 8px;
}
.gnb.is_pc .gnb-item .nav_2depth .nav_2depth_list_box {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.gnb.is_pc .gnb-item .nav_2depth li + li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.gnb.is_pc .gnb-item .nav_2depth li,
.gnb.is_res .gnb-item .nav_2depth li {
  transition: all 0.3s;
}
.gnb.is_pc .gnb-item .nav_2depth li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #565954;
  font-weight: 400;
  opacity: 1;
  transition: color 0.4s;
  white-space: nowrap;
  height: 48px;
}

.gnb.is_pc .gnb-item .nav_2depth li:hover a,
.gnb.is_res .gnb-item .nav_2depth li:hover a,
.gnb.is_pc .gnb-item .nav_2depth li.is_active a {
  background-color: #eee;
  color: #312f30;
  font-weight: 700;
}

.gnb.is_pc .gnb-item:hover .nav_2depth {
  display: inline-block;
  width: auto;
}
.gnb.is_pc .gnb-item .nav_2depth .mobile-open {
  display: none;
}

.gnb.is_pc .gnb-item:hover .nav_1depth {
  background-color: rgba(86, 89, 84, 0.05);
  font-weight: 700;
}

/* res nav */
.gnb.is_res .gnb-wrap {
  position: absolute;
  top: 64px;
  right: 0;
  width: 100%;
  max-width: 376px;
  height: calc(100vh - 64px);
}
.gnb.is_res .gnb-btn {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  z-index: 10;
  background: url(../img/ic-menu.svg) no-repeat center;
  background-size: 24px;
  opacity: 0.7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  outline: 0;
}
.gnb.is_res .gnb-btn.is_open {
  background: url(../img/ic-close.svg) no-repeat center;
}
.gnb.is_res .gnb-list {
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  padding: 0 16px;
}
.gnb.is_res .gnb-list .gnb-item:not(:last-child) {
  border-bottom: 1px solid rgba(163, 163, 163, 1);
}
.gnb.is_res .gnb-item a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.7px;
  color: #111;
  width: 100%;
}
.gnb.is_res .gnb-item a.pc-open {
  justify-content: space-between;
}
.gnb.is_res .ic-arrow-right {
  display: flex;
  transition: transform 0.3s;
}
.gnb.is_res .ic-arrow-right.rotate {
  transform: rotate(90deg);
}
.gnb.is_res .gnb-title {
  display: block;
  position: relative;
}
.gnb.is_res .gnb-item .nav_2depth {
  display: none;
}
.gnb.is_res .gnb-item .nav_2depth .mobile-open {
  display: block;
  width: 100%;
}
.gnb.is_res .gnb-item .nav_2depth li a {
  padding: 8px 16px;
}
.gnb.is_res .mobile-display-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.gnb.is_res .mobile-display-box > li {
  width: 50%;
}
.gnb-wrap.intro {
  display: none;
}
@media screen and (max-width: 1200px) {
  .gnb.is_pc .gnb-item a.nav_1depth {
    padding: 0 10px;
  }
}
@media screen and (max-width: 1024px) {
  .gnb.is_pc .gnb-item:not(:first-child) {
    margin-left: 14px;
  }
  .gnb.is_pc .gnb-item a {
    font-size: 14px;
  }
}

@media screen and (max-width: 690px) {
  .site_logo h1 {
    width: 144px;
    height: 22px;
  }
  .gnb.is_res .gnb-item a {
    font-size: 16px;
  }
}

.breadcrumbs {
  display: inline-block;
  padding-left: 30px;
  vertical-align: middle;
  opacity: 0.7;
}

.breadcrumbs_item {
  font-size: 16px;
  color: #fff;
}

.breadcrumbs_item strong {
  padding-left: 0;
}

@media screen and (max-width: 999px) {
  .breadcrumbs_item span:not(.is_now) {
    display: none;
  }
}

/* 우상단 버튼 크기 공통 */
.util-button-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.util-button {
  position: relative;
  height: 40px;
  width: 40px;
  /* padding: 8px; */
  border-radius: 8px;
  background-color: #f8f8f8;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  transition:
    background,
    border-color 0.3s;
}
.util-button:hover {
  border-color: #999;
  background-color: #eee;
}
.util-button svg,
.util-button img {
  width: 100%;
  margin: auto;
}
/* sound button */
.sound-box button.soundOff .sound-on {
  display: none;
}
.sound-box button.soundOff .sound-off {
  display: block;
}
.sound-box button.soundOff:hover {
  border-color: #999;
  background-color: #eee;
}
.sound-box button.soundOn {
  border-color: #62bb46;
  background-color: rgba(98, 187, 70, 0.05);
}
.sound-box button.soundOn path {
  stroke: rgba(98, 187, 70, 1);
}
.sound-box button.soundOn:hover {
  border-color: #36b07d;
  background-color: rgba(54, 176, 125, 0.05);
}
.sound-box button.soundOn:hover path {
  stroke: rgba(54, 176, 125, 1);
}
.sound-box button.soundOn .sound-on {
  display: block;
}
.sound-box button.soundOn .sound-off {
  display: none;
}
/* 가이드(help) 버튼 */
.btn_help_pop button {
  width: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  height: 40px;
}
.btn_help_pop img {
  width: auto;
}
.btn_help_pop span {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
}
.btn_help_pop.hidden {
  display: none;
}
/* .sound-box:hover .sound-button,
.map-box:hover .map-icon,
.help-box:hover .help-button {
  background: rgba(255, 255, 255, 1);
} */

@media screen and (max-width: 1200px) {
  .btn_help_pop span {
    font-size: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .btn_help_pop {
    display: none;
  }
}

@media screen and (max-width: 690px) {
  /* .header .header-wrap {
    padding: 13px;
  } */

  .util-button,
  .btn_menu {
    height: 34px !important;
    width: 34px !important;
  }
  .help-button {
    width: auto !important;
  }
  .btn_help_pop {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .header .header-wrap .quick_nav {
    display: none;
  }
  .sound-button,
  .btn_menu {
    height: 32px !important;
    width: 32px !important;
  }
}

@media screen and (max-width: 320px) {
  .header .header-wrap {
    padding: 8px;
  }
  .header .header-wrap > div {
    padding: 0;
  }
}

.header .gnb-icon .icon {
  margin: 8px auto;
  width: 90%;
  height: 2px;
  background: #fff;
  transition: all 0.4s;
}
.header .gnb-icon .icon {
  margin: 8px auto;
  width: 90%;
  height: 2px;
  background: #fff;
  transition: all 0.4s;
}
.header .btn-lobby {
  position: absolute;
  top: 50%;
  left: 16px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 8px 24px;
  background: #da9528;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@media screen and (max-width: 1024px) {
  .header .btn-lobby {
    left: auto;
    right: 10px;
    padding: 6px 24px;
  }
}
