/* gnb */
#gnb {
  display: block;
  position: initial;
  left: 0;
  top: 80px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: rgba(34, 34, 34, 1);
  -webkit-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}
#gnb:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#gnb ul {
  height: 40px;
  padding: 12px 0 0 0;
  text-align: center;
  font-size: 0;
}
#gnb ul li {
  display: inline-block;
  position: relative;
  border-right: solid 1px;
  border-color: rgba(255, 255, 255, 0.3);
  zoom: 1;
  padding-left: 17px;
  padding-right: 17px;
}
#gnb ul li a {
  display: block;
  position: relative;
  padding: 0 12px;
  color: #fff;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
#gnb ul li:last-child {
  border: none;
}

#gnb ul li a:hover {
  color: #f06eaa;
}
#gnb ul li a.on {
  color: #f06eaa;
  font-weight: bold;
}

#gnb ul li ul {
  display: block;
  position: absolute;
  left: 0;
  top: 16px;
  width: 120px;
  height: 0;
  overflow: hidden;
  z-index: 9999;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
#gnb ul li ul li {
  width: 100%;
  background: none;
}
#gnb ul li ul li a {
  display: block;
  height: 40px;
  padding: 0;
  color: #666;
  font-size: 12px;
  font-weight: normal;
  line-height: 40px;
  background: #fff;
  border-bottom: solid 1px #eee;
}
#gnb ul li ul li a:hover {
  color: #fff;
  background: #444;
}

/* gnb sticky*/
#gnb.sticky_gnb {
  top: 0;
  background: rgba(34, 34, 34, 0.6);
}
#gnb.sticky_gnb:after {
}
#gnb.sticky_gnb ul {
}
#gnb.sticky_gnb ul li {
}
#gnb.sticky_gnb ul li a {
}
#gnb.sticky_gnb ul li a:hover {
}
#gnb.sticky_gnb ul li a.on {
}

#gnb.sticky_gnb ul li ul {
}
#gnb.sticky_gnb ul li ul li {
}
#gnb.sticky_gnb ul li ul li a {
}
#gnb.sticky_gnb ul li ul li a:hover {
}

.open_gnb {
  display: block;
  position: absolute;
  right: 20px;
  top: 5px;
  width: 30px;
  height: 30px;
  padding: 3px;
  background: #f06eaa;
  cursor: pointer;
  display: none;
}
.open_gnb span.line1,
.open_gnb span.line2,
.open_gnb span.line3 {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}
.open_gnb span.line3 {
  margin: 0;
}

#gnb_all {
  display: block;
  position: absolute;
  left: 0px;
  top: 120px;
  width: 100%;
  height: 0;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  background: rgba(34, 34, 34, 0.9);
  z-index: 99999;
}
#gnb_all h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#gnb_all dl {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  font-size: 0;
}
#gnb_all dl:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#gnb_all dl dt {
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  color: #f06eaa;
  font-size: 12px;
  line-height: 30px;
  font-weight: bold;
}
#gnb_all dl dd {
  display: block;
  position: relative;
  float: left;
  width: 100px;
  zoom: 1;
}
#gnb_all dl dd a {
  display: block;
  position: relative;
  height: 30px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  line-height: 30px;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
#gnb_all dl dd a:hover {
  color: #f06eaa;
}

#gnb_all.sticky_gnb_all {
  position: fixed;
  top: 60px;
}

.gnb_all_close {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
}

@media screen and (max-width: 768px) {
  #gnb {
    display: none;
  }
}
