/* ========== HEADER ========== */
.main #header {
  background: none;
}

#header {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
}

#header.is-scroll {
  background-color: rgba(255, 255, 255, 1);
}

#header .logo a{
  display:block;
}

#header .logo img {
  height:100%;
}

#header .header-inner {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 95px;
  transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
}

#header .header-inner .gnb {
  display: flex;
  flex: 1;
  justify-content: center;
}

#header .header-inner .gnb ul {
  display: flex;
  align-items: center;
}

#header .header-inner .gnb ul li {
  position: relative;
  padding: 10px;
  margin: 0 15px
}

#header .header-inner .gnb ul li.on::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background-color: #353543;
}

#header .header-inner .gnb ul li a {
  display: block;
  font-size: 1.8rem;
  color: #1c1c1c
}

#header .header-inner .gnb ul li.on a {
  font-weight: 500;
}

#header .mobile_menu_btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  display: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  margin: auto;
  text-align: center;
}

#header .mobile_menu_btn .bar {
  display: block;
  position: absolute;
  top: 15px;
  width: inherit;
  height: 2px;
  background: #353543;
  transition: transform .3s cubic-bezier(0.25, 0.1, 0, 1.34), top .3s ease, left .45s cubic-bezier(0.26, 0.54, 0, 1.39);
  -webkit-transition: transform .3s cubic-bezier(0.25, 0.1, 0, 1.34), top .3s ease, left .45s cubic-bezier(0.26, 0.54, 0, 1.39);
  -moz-transition: transform .3s cubic-bezier(0.25, 0.1, 0, 1.34), top .3s ease, left .45s cubic-bezier(0.26, 0.54, 0, 1.39);
}

#header .mobile_menu_btn .bar:nth-child(1) {
  top: 5px;
}

#header .mobile_menu_btn .bar:nth-child(2) {
  left: 0
}

#header .mobile_menu_btn .bar:nth-child(3) {
  top: 25px;
}

#header .mobile_menu_btn.is-open .bar:nth-child(1) {
  top: 15px;
  transform: translateY(0) rotate(45deg);
  -webkit-transform: translateY(0) rotate(45deg);
  -moz-transform: translateY(0) rotate(45deg);
}

#header .mobile_menu_btn.is-open .bar:nth-child(2) {
  left: 100%;
}

#header .mobile_menu_btn.is-open .bar:nth-child(3) {
  top: 15px;
  transform: translateY(0) rotate(-45deg);
  -webkit-transform: translateY(0) rotate(-45deg);
  -moz-transform: translateY(0) rotate(-45deg);
}

#header .mobile_menu {
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: -100%;
  height: 100%;
  width: 80%;
  background-color: #101013;
}

#header .mobile_menu ul {
  width: 100%;
  list-style-type: none;
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 0;
  top: 95px;
  left: 0;
  right: 60px;
  height: auto;
  text-align: left;
}

#header .mobile_menu ul li,
#header .mobile_menu ul a {
  display: block;
  width: 100%;
  line-height: 1.4;
  padding: 0;
  font-weight: 200;
}

#header .mobile_menu ul a {
  color: #bbbbbb;
  text-align: right;
  box-sizing: border-box;
  padding: 10px 20px 10px;
  font-size: 2.8rem;
}

#header .mobile_menu ul li.on a {
  color: #ffffff
}

#header .mobile_menu ul li {
  border-top: 1px solid #474a50;
}

#header .mobile_menu ul li:last-child {
  border-bottom: 1px solid #474a50;
}

#header .mobile_menu ul li.menu-contacts a {
  font-size: 16px;
  text-transform: inherit;
}

#header .mobile_menu.is-open {
  right: 0;
}

#header .mobile_menu ul li.sub-menu {
  background: #2e333c;
  padding: 11px 0 0 50px;
}

#header .mobile_menu .mobile_menu_btn {
  right: 20px;
  top: 50px;
}

#header .mobile_menu .mobile_menu_btn .bar {
  background-color: #ffffff;
}

.overlay_bg {
  position: fixed;
  top: 0;
  z-index: 9998;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

#footer{
  background-color:#101015;
  display: flex;
  justify-content: center;
  padding:30px 0;
}

#footer .inner_footer{
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}

#footer .footer_txt{margin-left:20px;}
#footer .footer_txt p, #footer .footer_txt a{
  font-size: 16px;
  color:#d3d4de;
  font-weight: 300;
}

/* ========== Media Query (desktop) ========== */
@media all and (max-width:1024px) {}

/* ========== Media Query (tablet) ========== */
@media all and (max-width:786px) {
  

  #header .header-inner .gnb {
    display: none;
  }

  #header .mobile_menu_btn {
    display: block;
  }

  #footer .inner_footer img{width:80%;}
  #footer .footer_txt{margin-left:0px; padding:20px;}
  #footer .footer_txt p{
    font-size: 14px;
    text-align: center;
  }
}

/* ========== Media Query (mobile) ========== */
@media all and (max-width:480px) {
  #header .header-inner{
    height:65px;
    padding:5px 10px;
    box-sizing: border-box;
  }
  #header .logo a, #header .header-inner .logo{
    height:100%;
  }

}