@charset "utf-8";

.pc-only {
  display: block;
}

.mo-only {
  display: none;
}

/*------헤더 기본 스타일------*/
#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 101;
  box-sizing: border-box;
  transition: 0.5s;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

#header .header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  height: 79px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  background-color: #fff;
  transition: height 500ms linear;
}

#header h1.logo {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  height: 40px;
}

#header h1.logo img {
  width: 100%;
  height: 100%;
  transition: 0.5s;
}

#header.open h1.logo {
  visibility: visible;
  opacity: 1;
}

#header .gnb {
  z-index: 20;
  transition: 0.5s;
  width: 100%;
}

#header .gnb>ul {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  position: relative;
  z-index: 10;
}

#header .gnb ul li.depth01 {
  position: relative;
  display: flex;
}

#header .gnb ul li.depth01 span {
  display: block;
  padding: 32px 0;
  font-size: 1rem;
  font-weight: 400;
  overflow: hidden;
  color: #000;
  transition: 0.4s;
  cursor: pointer;
}

#header .gnb .depth02 {
  position: fixed;
  top: 80px;
  left: 50%;
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 600ms linear;
  z-index: 10;
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
  gap: 40px;
  transform: translateX(-50%);
  padding: 0 20px;
}

#header .gnb .depth02 li {
  display: flex;
}

#header .gnb .depth02 li a {
  display: block;
  color: #fff;
  font-size: 14px;
  text-align: left;
  line-height: 60px;
  opacity: .8;
}

#header .gnb .depth02 li a:hover {
  font-weight: bold;
  opacity: 1;
}

#header .gnb ul li.depth01:hover .depth02 {
  opacity: 1;
  visibility: visible;
}

.menu_background {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  z-index: 5;
  transition: all 300ms linear;
}

.menu_background.active {
  height: 60px;
}

#header.scroll_on {
  height: 66px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#header.scroll_on .header_inner {
  height: 66px;
  transition: height 200ms linear;
}

#header.scroll_on h1.logo {
  top: 50%;
}

#header.scroll_on .login_box ul li a {
  padding: 24px 0;
}

#header.scroll_on .gnb ul li.depth01>a span {
  font-size: 15px;
  padding: 24px 0;
}

#header.scroll_on .gnb .depth02 {
  top: 66px;
}

.menu_background.scroll_on {
  top: 66px;
}

.all_nav {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  background: #fff;
}

.all_nav.open {
  opacity: 1;
  visibility: visible;
}