/*header*/
.header {
  width: 100%;
  height: 60px;
  position: fixed;
  background: #fff;
  z-index: 999999;
  border-bottom: 1px solid #ddd;
}
.header .inner .logo {
  padding-top: 1rem;
  padding-left: 20px;
  z-index: 999;
}
.header .inner .logo a {
  cursor: pointer;
  width: 45%;
}
.header .inner .logo a img {
  width: 120px;
}
.header .inner nav {
  width: 130px;
  height: 100%;
  background: #e93d37;
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 99;
  box-shadow: -3px 0px 3px 0px rgba(0, 0, 0, 0.2);
  display: none;
}
#gnb {
  position: absolute;
  top: 100px;
  right: 0;
  width: 100%;
}
#gnb li {
  margin: 0px;
  text-align: right;
}
#gnb li:nth-of-type(1)::after {
  display: none;
}
#gnb li:nth-of-type(5) {
  margin-right: 0;
}
#gnb li a {
  display: block;
  color: #eee;
  padding: 1rem 20px 1rem 0;
  font-size: 1.6rem;
  line-height: 1.2em;
  transition: 0.2s;
  cursor: pointer;
  border-bottom: 0;
}
#gnb li a:hover {
  color: #fff;
  transition: 0.2s;
}
.header .inner .toggle {
  display: block;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 9999999;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.5s;
}
.header .inner .toggle i {
  color: #000;
}

@media screen and (min-width: 1200px) {
  .header {
    width: 100%;
    height: 94px;
  }
  .header .inner {
    padding: 0;
    position: relative;
  }
  .header .inner .logo {
    position: absolute;
    left: 0;
    top: 4px;
    padding: 0;
  }
  .header .inner .logo a {
    display: block;
    width: auto;
  }
  .header .inner .logo a img {
    width: auto;
  }
  .header .inner nav {
    background: none;
    box-shadow: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    display: block;
  }
  #gnb {
    width: auto;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 3.6rem;
  }
  #gnb li {
    margin: 0px 2rem;
    text-align: left;
    float: left;
  }
  #gnb li a {
    color: #aaa;
    padding: 0 1.5rem;
    font-weight: 400;
    font-size: 1.8rem;
  }
  #gnb li a:hover {
    background: none;
    color: #bf2d30;
  }
  .header .inner .toggle {
    display: none;
  }
}
