/* 메인메뉴 */
#category-wrap {
  width: 100%;
  clear: both;
  background-attachment: scroll;
  position: relative;
  z-index: 3;
}
#gnb h2 {
  display: none;
}
#gnb * {
  margin: 0;
  padding: 0;
  list-style: none;
}
#gnb {
  border-top: 1px solid #ddd;
  position: relative;
  margin: 0;
  z-index: 5;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}
#gnb .logo {
  position: absolute;
  top: 20px;
}
#gnb img {
  border: 0;
  width: 80%;
}
#gnb a {
  display: inline-block;
}

#gnb .main-wrapper {
  margin: 0 auto;
  height: auto;
  overflow: visible;
  max-width: 1200px;
  position: relative;
}

#gnb .main {
  background-repeat: no-repeat;
  background-position: center top;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  max-width: 100%;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 20px;
  height: auto;
}

#gnb .main > li {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  white-space: nowrap;
}
#gnb .main > li > a {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 20px 10px;
  letter-spacing: -0.5px;
}
#gnb .main > li > a:hover {
  color: #0099ff;
}

#gnb .main > li > ul {
  background-color: rgba(0, 153, 255, 0.5);
  padding: 10px 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  margin-left: -1px;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: max-content;
}
#gnb .main > li:hover > ul {
  display: flex;
}
#gnb .main > li > ul > li {
  line-height: 25px;
}
#gnb .main > li > ul > li a {
  font-size: 14px;
  letter-spacing: -0.2px;
  color: #fff;
  display: block;
  padding: 5px 20px;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#gnb .main > li > ul > li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffcc;
  opacity: 1;
}

#gnb .main > li:hover > a,
#gnb .main > li.on > a {
  color: #09f;
}

.gnb_bg {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}
#gnb .main-wrapper:hover .gnb_bg {
  display: block;
  border-top: 1px solid #ddd;
}

#gnb .main-wrapper .navi_bg {
  display: none !important;
}

#gnb .main-wrapper .gnb_bg {
  border-top: 1px solid #ddd;
}

#gnb .main li a img {
  margin-top: 15px;
}
#gnb .main li.main_select {}

#gnb .mask {
  display: none;
}

#gnb .sub-set {
  box-sizing: border-box;
  margin: 10px auto 0;
}
#gnb .sub-set ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#gnb .sub-set ul li {
  height: 26px;
  display: block;
  text-align: center;
  width: 20%;
}
#gnb .sub-set ul li a {
  display: block;
  font-size: 13px;
  color: #555;
  line-height: 30px;
  padding: 2px 0;
  letter-spacing: 0;
}
#gnb .sub-set ul li a:hover {
  color: #9b8265;
  letter-spacing: 0px;
}

@media screen and (max-width: 1200px) {
  #gnb .main {
    padding-right: 2%;
  }
  #gnb .sub-set {
    padding-right: 2%;
  }
}

@media screen and (max-width: 1100px) {
  #gnb .main li {
    display: none;
  }
  #gnb .logo {
    position: absolute;
    top: 28px;
    left: 10px;
  }
}
