@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-color: transparent;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  transition: all 300ms linear;
}

#header h1.logo {
  width: 280px;
  height: auto;
  transition: all 300ms linear;
}

#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%;
  height: 80px;
}

#header .gnb>ul {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  height: 80px;
}

#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: #333;
  transition: 0.4s;
  cursor: pointer;
}

#header .gnb .depth02 {
  position: absolute;
  top: 75px;
  left: -10px;
  width: 200px;
  padding: 8px 0;
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 0 10px 0px #00000047;
}

#header .gnb .depth02 li a {
  display: block;
  padding: 12px 15px;
  color: #131313;
  font-size: 14px;
  text-align: left;
}

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

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

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

#header .login_box>ul {
  display: flex;
  justify-content: flex-end;
  gap: 2vw;
}

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

#header .login_box ul li a {
  display: block;
  padding: 32px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  transition: 0.4s;
}

#header .linear-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  transition: 0.5s;
}

#header .linear-progress .progress-bar {
  width: 0%;
  height: inherit;
  position: absolute;
  z-index: 10;
  background-color: #676563;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  transition: width 800ms;
}

#header.open {
  box-shadow: none !important;
}

#header.open .linear-progress {
  opacity: 0;
}

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

#header.scroll_on .gnb ul li.depth01 span {
  color: #333;
}

.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;
}