.depth2 {
  display: none;
}

header {
  background: #fff;
  padding-top: 30px;
  height: 89px;
  position: relative;
}
header.on {
  background: #000;
}
header.on .header_logo img {
  filter: brightness(0) invert(1);
}
header.on .header_gnb .gnb > ul > li a {
  color: #fff;
}
header.on .gnb_bg {
  background: #000;
}
header .gnb_bg {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  /* height: 185px; */
  height: 235px;
  background: #fff;
  z-index: 999;
  display: none;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .inner .header_logo {
  width: 100px;
}
header .inner .header_logo img {
  width: 100%;
  object-fit: cover;
}
header .inner .header_gnb {
  position: relative;
}
header .inner .header_gnb .gnb > ul {
  display: flex;
}
header .inner .header_gnb .gnb > ul > li {
  position: relative;
}
header .inner .header_gnb .gnb > ul > li > a {
  text-align: center;
  display: block;
  padding: 20px 45px;
  font-weight: 700;
  font-size: 18px;
}
header .inner .header_gnb .gnb > ul > li .depth2 {
  position: absolute;
  text-align: center;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
}
header .inner .header_gnb .gnb > ul > li .depth2 li a {
  display: block;
  width: 100%;
  font-size: 18px;
  padding: 20px 0px;
  color: #fff;
  transition: color 0.5s, background 0.5s;
}
header .inner .header_gnb .gnb > ul > li .depth2 li a:hover {
  color: #000;
  background: #fff;
}

.ham {
  display: none;
}
.ham .ham_btn {
  position: absolute;
  z-index: 100;
  top: 30px;
  left: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.ham .ham_btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  margin-bottom: 5px;
}
.ham .ham_box {
  position: absolute;
  z-index: 1000;
  top: 80px;
  background: #000;
  color: #fff;
  padding: 20px;
  border-radius: 0 20px 20px 0;
  display: none;
}
.ham .ham_box.active {
  display: block;
}
.ham .ham_box .ham_logo {
  width: 90px;
  margin-bottom: 30px;
}
.ham .ham_box .ham_logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.ham .ham_box > ul > li {
  margin-top: 5px;
}
.ham .ham_box > ul > li > a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #fff;
}
.ham .ham_box > ul > li .depth2 {
  height: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}
.ham .ham_box > ul > li .depth2 li a {
  font-size: 14px;
  display: block;
  padding: 10px 5px;
}
.ham .ham_box > ul > li .depth2 li a:hover {
  background: #fff;
  color: #000;
}
.ham .ham_box > ul > li .depth2 li:nth-of-type(1) {
  margin-top: 5px;
}
.ham .ham_box .ham_sns {
  margin-top: 40px;
}

@media screen and (max-width: 1024px) {
  header .inner .header_gnb .gnb > ul > li a {
    padding: 20px 25px;
  }
  header .inner .header_gnb .gnb > ul > li .depth2 li a{
    font-size: 17px;

  }
}
@media screen and (max-width: 820px) {
  .ham {
    display: block;
  }
  header {
    padding-top: 20px;
    height: 70px;
  }
  header .inner {
    justify-content: center;
  }
  header .inner .header_gnb {
    display: none;
  }
}
