.nanumsquare {
  font-family: 'NanumSquare', sans-serif !important;
}

.inner_wrap {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.m_menu {
  display: none;
}

.m_nav {
  display: none;
}

#wrap {
  /* padding-top: 169px; */
  padding-top: 157px;
}

.bg_black {
  background-color: #000;
  opacity: 0.7;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
}

#header {
  position: fixed;
  width: 100%;
  height: 157px;
  background-color: #ffffff;
  z-index: 950;
  top: 0;
}

#header .h_top {
  max-width: 1280px;
  /* height: 127px; */
  height: 115px;
  margin: 0 auto;
  position: relative;
  padding-top: 35px;
}

#header .kimhae-simbol {
  padding-top: 1em;
  max-width: 300px;
  padding-left: 35px;
  margin: 0;
}

#header .kimhae-simbol img {
  width: 100%;
}

#header .utill {
  position: absolute;
  /* top: 26px;
  right: 59px; */
  top: 80px;
  right: 0;
}

#header .utill ul {
  display: flex;
}
.utill ul:after {
  display: block;
  clear: both;
  content: '';
}

.utill li {
  /* float: left; */
  /* margin-left: 30px; */
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  max-width: 80px;
  padding: 0 0.7em;
  position: relative;
}

.utill li:after {
  position: absolute;
  content: '';
  display: block;
  width: 1px;
  height: 12px;
  background-color: #555;
  right: 0;
  top: 8px;
  /* top: 50%;
  transform: translateY(-50%); */
}

.utill li:last-child:after {
  display: none;
}

#header .logo {
  /* padding-left: 35px;
  padding-top: 48px;
  padding-top: 5px; */
  width: 320px;
  /* height: 70px; */
  margin: 0;
}

#header .logo img {
  width: 100%;
  object-fit: contain;
}

.gnb {
  height: 42px;
  overflow: hidden;
  border-top: 2px solid #d9d9d9;
  border-bottom: 2px solid #d9d9d9;
  font-size: 0;
  position: relative;
  z-index: 99999;
}

.gnb .d1 {
  display: inline-block;
  font-weight: 500;
  font-size: 17px;
  color: #000000;
  vertical-align: top;
  /* width: 12.2%; */
  width: calc(100% / 4);
  text-align: center;
}

.gnb .d1 > a {
  display: block;
  line-height: 40px;
  padding: 0 0 0 10px;
  font-family: 'Noto Sans KR';
  position: relative;
}

.gnb .d1 > a:after {
  position: absolute;
  content: '';
  display: block;
  width: 1px;
  height: 15px;
  background-color: #555;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.gnb .d1:last-child > a:after,
.gnb .d1:nth-child(3) > a:after {
  display: none;
}
.gnb .d1:hover > a {
  color: #0a6eff;
}

.gnb .reg_class {
  text-align: center;
}

.gnb .reg_class a {
  color: #fff;
  display: inline-block;
  padding: 0 26px;
  background-color: #fa9435;
}

.gnb .reg_class:hover > a {
  color: #000;
}

.gnb .d1 .sub a:hover {
  border-bottom: 2px solid #0a6eff;
  font-weight: 500;
}

.gnb li .sub {
  /* width: 200px; */
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-stretch: condensed;
  line-height: 33px;
  color: #2d2d2d;
  font-weight: 300;
  padding: 11px 0 0 10px;
  position: relative;
  z-index: 999;
}

.gnb li .sub ul {
  position: relative;
  z-index: 999;
}

.sub_bg {
  /* width: 80%; */
  width: 100%;
  height: 250px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99;
  display: none;
}

.gnb_bg {
  width: 100%;
  height: 250px;
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 40px;
}

.gnb .reg_class .reg_class_6 li {
}

.gnb .reg_class .reg_class_6 a {
  background: none;
  color: #2d2d2d;
  padding: 0;
  margin: 0;
}

#footer {
  min-height: 158px;
  padding-bottom: 3vh;
  background-color: #808080;
}

#footer .inner_wrap {
  background-image: url(../images/f_logo.png);
  background-repeat: no-repeat;
  background-position: 0 57px;
  padding: 55px 0 0 345px;
  font-size: 0;
}

#footer span {
  display: inline-block;
  color: #ffffff;
  vertical-align: top;
}

#footer address span:first-child {
  margin-right: 20px;
}

#footer address {
  font-size: 13px;
  color: #ffffff;
  line-height: 20px;
  font-weight: 400;
  display: inline-block;
  margin-right: 27px;
}

#footer .copy {
  font-size: 13px;
  color: #b3b3b3;
  line-height: 35px;
  font-weight: 400;
  display: inline-block;
}

#footer .copy span {
  display: inline-block;
  color: #b3b3b3;
  vertical-align: top;
}

#footer .flex-container {
  display: flex;
  flex-wrap: wrap;
}

#footer .flex-container li {
  min-width: 30%;
  margin: 0;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
}

#footer .flex-container li strong {
  color: #fff;
}

@media screen and (max-width: 1280px) {
  #wrap {
    padding-top: 127px;
  }

  #header {
    height: auto;
  }

  .utill {
    display: none;
  }

  .gnb {
    display: none;
  }

  .m_menu {
    display: block;
    width: 80px;
    height: 100%;
    background: url(../images/btn_open_menu.png) no-repeat center center;
    position: absolute;
    right: 0;
    top: 0;
  }

  .m_menu a {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
  }

  .m_nav {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    top: 0;
    bottom: 0;
    z-index: 99999;
    background-color: #fff;
    overflow-y: auto;
  }

  .m_nav_top {
    padding: 15px 20px;
    background-color: #3bafc6;
    color: #fff;
    font-size: 18px;
    line-height: 40px;
  }

  .m_nav_top a {
    color: #fff;
    text-decoration: underline;
  }

  .m_nav_top span {
    font-size: 15px;
    line-height: 20px;
  }

  .m_nav > ul {
    position: relative;
  }

  .m_nav .d1 > a {
    display: block;
    line-height: 43px;
    background-color: #dfdfdf;
    border-bottom: 1px solid #c9c9c9;
    vertical-align: middle;
    font-size: 16px;
    background: url(../images/btn_m_nav.png) no-repeat center right 35px / 16px auto;
    padding: 5px 18px;
  }

  .m_nav .active > a {
    background-image: url(../images/btn_m_nav_on.png);
  }

  .m_nav .d1 .sub {
    font-size: 18px;
    border-bottom: 1px solid #d9d9d9;
    display: none;
  }

  .m_nav .d1 .sub li {
    background-color: #fff;
    font-size: 15px;
    line-height: 20px;
    padding: 10px 20px;
  }

  .m_nav .d1 .sub li a {
    color: #3a3a3a;
  }

  .btn_m_nav_close {
    display: block;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    background: url(../images/btn_m_close.png) no-repeat center center / 20px auto;
    position: absolute;
    right: 20px;
    top: 8px;
  }

  .under_black a {
    color: #000;
  }

  .under_black2 {
    display: block;
  }
}

@media screen and (max-width: 1100px) {
  #footer {
    height: auto;
  }

  #footer .inner_wrap {
    padding: 96px 0 30px 30px;
    background-position: 20px 30px;
  }

  #footer address {
    line-height: 17px;
  }

  #footer .copy {
    line-height: 17px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  #header .h_top {
    padding-top: 0;
  }
  #header .logo {
    max-width: 200px;
    padding-left: 18px;
    height: 100%;
    display: flex;
    align-items: center;
  }
  #header .kimhae-simbol {
    max-width: 200px;
    padding-left: 18px;
  }
  .logo img {
    width: 260px;
  }

  .m_menu {
    width: 61px;
  }
}

@media (max-width: 650px) {
  #wrap {
    padding-top: 80px;
  }

  #header .h_top {
    height: 80px;
  }
}
