#header {
  border-bottom: 1px solid #f1eeeb;
  top: 0px;
  height: auto;
  background: #ffffff;
  z-index: 9999;
  width: 100%;
  position: relative;
}
#header .top_header img {
  width: 100%;
}
#header .header_wrap {
  width: 80%;
  max-width: 1700px;
  min-width: 1300px;
  margin: 1rem auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100px;
  position: relative;
}
#header h1 {
  float: left;
  line-height: 98px;
}
#header.fixed {
  position: fixed;
}

@media all and (max-width: 768px) {
  #header > .header_wrap {
    width: 100%;
    min-width: 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0;
    height: 75px;
  }
  #header > .header_wrap h1 {
    padding: 2px;
    line-height: none;
  }
  #header > .header_wrap h1 a img {
    width: 185px;
  }
  #header > .header_wrap a:first-child {
    padding: 2px;
    width: 46px;
    position: absolute;
    left: 9px;
  }
  #header > .header_wrap a:first-child img {
    width: 100%;
  }
  #header > .header_wrap .gnb a {
    width: 100%;
    position: static;
  }
  .btn_gnb {
    position: absolute;
    font-size: 25px;
    right: 12px;
    height: 25px;
    width: 34px;
    bottom: 26px;
    color: #acaaa7;
    z-index: 99999;
  }
}
.sub_contents {
  margin-top: 180px;
}

@media (max-width: 1200px) {
  #header .header_wrap {
    min-width: unset;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
  }
}
@media (max-width: 1023px) {
  #header > .header_wrap {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: 75px;
    position: relative;
  }
  #header > .header_wrap .mo_tel_icon {
    padding: 2px;
    width: 46px;
    position: absolute;
    left: 9px;
  }
  #header > .header_wrap h1 a img {
    width: 185px;
  }
  #header .btn_gnb {
    width: 34px;
    height: 25px;
    position: absolute;
    right: 12px;
    font-size: 25px;
    top: 27px;
  }
  #header .gnb a {
    width: 100%;
    position: static;
  }
}