main {
  /* ============ header'h ============ */
}

body.is-active {
  height: 100vh !important;
  overflow: hidden !important;
}

header {
  width: 100%;
  height: auto;
  position: fixed;
  display: block;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: 10000;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  -webkit-transition: background 0.2s 0.25s, -webkit-box-shadow 0.3s;
  transition: background 0.2s 0.25s, -webkit-box-shadow 0.3s;
  -o-transition: background 0.2s 0.25s, box-shadow 0.3s;
  transition: background 0.2s 0.25s, box-shadow 0.3s;
  transition: background 0.2s 0.25s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
  -webkit-transition-delay: 0;
  -o-transition-delay: 0;
  transition-delay: 0;
}

header.down-style {
  background-color: #fff;
  -webkit-box-shadow: 0 0 7px -1px rgba(68, 68, 68, 0.5);
  box-shadow: 0 0 7px -1px rgba(68, 68, 68, 0.5);
  -webkit-transition-delay: 0;
  -o-transition-delay: 0;
  transition-delay: 0;
}

header.is-open, header.is-active {
  background-color: #fff;
  -webkit-transition: background 0.2s 0s;
  -o-transition: background 0.2s 0s;
  transition: background 0.2s 0s;
}

header .logo {
  width: 65px;
  height: auto;
  position: relative;
  display: block;
  float: left;
  margin-top: 3px;
  margin-left: 35px;
  margin-bottom: 0;
}

header .logo h1 {
  margin: 0;
}

header .logo a {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

header .navbar {
  min-height: auto;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  header {
    padding: 23px 0 17px 0;
  }
}

@media (max-width: 991px) {
  header {
    height: 70px;
  }
  header .logo {
    position: absolute;
    top: 23px;
  }
  header .navbar {
    padding: 70px 0 0 0;
  }
  header.is-active {
    max-height: 100vh;
    display: block;
    overflow-y: scroll;
    position: fixed;
    height: auto;
    -webkit-box-shadow: 0 3px 13px rgba(156, 156, 156, 0.6);
    box-shadow: 0 3px 13px rgba(156, 156, 156, 0.6);
  }
}

@media (max-width: 767px) {
  header {
    height: 55px;
  }
  header .logo {
    top: 18px;
    margin-left: 20px;
    margin-top: 0;
  }
  header .navbar {
    padding: 55px 0 0 0;
  }
}

.header-rightBox {
  text-align: right;
  display: block;
}

.header-rightBox li {
  display: inline-block;
  margin-left: 20px;
}

.header-rightBox li a {
  font-size: 14px;
  color: #262626;
}

.header-rightBox .header-searchLi {
  position: relative;
}

.header-rightBox .header-searchLi form {
  display: inline-block;
}

.header-rightBox .header-searchLi .header-search-input {
  height: 20px;
  font-size: 12px;
  display: inline-block;
  border: none;
  outline: none;
  color: #555;
  padding: 3px;
  padding-right: 60px;
  width: 0px;
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  z-index: 3;
  -webkit-transition: width .3s ease-out;
  -o-transition: width .3s ease-out;
  transition: width .3s ease-out;
  cursor: pointer;
}

.header-rightBox .header-searchLi .header-search-input:focus {
  width: 170px;
  height: 22px;
  z-index: 1;
  padding: 5px 15px;
  background-color: #e6e7ec;
  cursor: text;
  border-radius: 10px;
  top: -1px;
}

.header-rightBox .header-searchLi .header-search-btn {
  background-color: transparent;
  border: none;
  font-size: 14px;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

@media (min-width: 992px) {
  .header-rightBox {
    width: 300px;
    float: right;
    margin-right: 35px;
  }
}

@media (max-width: 991px) {
  .header-rightBox {
    width: 130px;
    position: absolute;
    right: 25px;
    top: 25px;
  }
  .header-rightBox li {
    margin-left: 3px;
    top: -7px;
  }
  .header-rightBox .header-cartLi {
    position: relative;
  }
  .header-rightBox .header-searchLi .header-search-input:focus {
    width: 130px;
  }
}

@media (max-width: 767px) {
  .header-rightBox {
    right: 10px;
    top: 15px;
  }
}

/* ============ header-main-ul ============ */
@media (min-width: 992px) {
  .header-main-nav {
    width: auto;
    display: inline-block;
  }
}

@media (max-width: 991px) {
  .header-main-nav {
    width: 100%;
    height: auto;
    position: relative;
    display: none;
    top: -1px;
  }
}

.header-main-ul {
  margin-top: 0;
  margin-bottom: 0;
}

.header-main-ul > li > a {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  color: #262626;
  -webkit-transition: color 0.3s ease-out;
  -o-transition: color 0.3s ease-out;
  transition: color 0.3s ease-out;
}

.header-main-ul > li > a .arrow {
  display: inline-block;
}

.header-main-ul > li > a:hover:before {
  right: 0;
}

@media (min-width: 992px) {
  .header-main-ul {
    width: auto;
    display: inline-block;
    float: left;
    margin-left: 40px;
  }
  .header-main-ul li {
    margin: 0 25px;
    padding: 0;
    display: inline-block;
  }
  .header-main-ul li .arrow {
    position: absolute;
    top: 2px;
    right: -18px;
  }
  .header-main-ul li a {
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
  }
  .header-main-ul li a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: -28px;
    background: #465477;
    height: 2px;
    -webkit-transition: right 0.25s ease-out;
    -o-transition: right 0.25s ease-out;
    transition: right 0.25s ease-out;
  }
  .header-main-ul li:hover > a, .header-main-ul li:focus > a, .header-main-ul li.is-active > a {
    color: #465477;
  }
  .header-main-ul li:hover > a:before, .header-main-ul li:focus > a:before, .header-main-ul li.is-active > a:before {
    right: 0;
  }
}

@media (max-width: 991px) {
  .header-main-ul {
    width: 100%;
    background-color: #fff;
  }
  .header-main-ul > li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
  }
  .header-main-ul > li > a {
    width: 100%;
    display: block;
    font-size: 14px;
    padding: 18px 30px;
    line-height: normal;
    position: relative;
    text-align: left;
  }
  .header-main-ul > li > a .arrow {
    float: right;
    font-size: 26px;
    top: 0;
    right: -2px;
    margin-left: 4px;
    position: relative;
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  }
  .header-main-ul > li:first-child {
    border-top: 1px solid #eaeaea;
  }
  .header-main-ul > li:last-child {
    border-bottom: none;
  }
  .header-main-ul > li.is-active a .arrow {
    -webkit-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    transform: scaleY(-1);
  }
  .header-main-ul .header-loinOut-li span {
    display: inline-block;
    margin-right: 7px;
    font-size: 12px;
  }
  .header-main-ul .header-social-li {
    padding-left: 30px;
    padding-right: 10px;
  }
  .header-main-ul .header-social-li a {
    width: auto;
    display: inline-block;
    margin-right: 16px;
    font-size: 27px;
    padding: 20px 0;
  }
  .header-main-ul .header-social-li a:before {
    color: #000 !important;
  }
}

@media (max-width: 767px) {
  .header-main-ul .header-social-li {
    text-align: center;
  }
}

/*  main li click, second li show */
@media (min-width: 992px) {
  .header-main-ul li > ul {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s ease-out;
    transition: opacity 0.3s, -webkit-transform 0.3s ease-out;
    -o-transition: opacity 0.3s, transform 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  }
  .header-main-ul li.is-active > ul {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    z-index: 1;
  }
}

/* ============ .header-second-ul ============ */
.header-second-ul {
  border-top: 1px solid #efeff1;
  letter-spacing: -0.31em;
}

.header-second-ul li {
  margin: 0;
  letter-spacing: normal;
}

.header-second-ul li span {
  display: inline-block;
}

.header-second-ul .header-second-box {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
}

.header-second-ul .header-second-box .text, .header-second-ul .header-second-box .pic {
  width: 100%;
  text-align: center;
}

.header-second-ul .header-second-box .text img, .header-second-ul .header-second-box .pic img {
  max-width: 100%;
  height: auto;
}

.header-second-ul .header-second-box .text {
  font-size: 13px;
  letter-spacing: 1px;
  color: #000;
  font-weight: bold;
}

@media (min-width: 992px) {
  .header-second-ul {
    width: 100%;
    background-color: #fafafa;
    padding: 25px;
    position: absolute;
    left: 0;
    top: 48px;
    padding-left: 100px;
    padding-right: 100px;
    border-bottom: 1px solid #e6e7ec;
  }
  .header-second-ul li {
    width: 175px;
    display: inline-block;
    border-right: 1px dotted #aeaeae;
  }
  .header-second-ul li:hover .header-second-box {
    opacity: 0.7;
    color: #000;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-second-ul {
    padding-left: 0;
    padding-right: 0;
  }
  .header-second-ul li {
    width: 160px;
  }
}

@media (max-width: 991px) {
  .header-second-ul {
    background-color: #f4f4f4;
    position: relative;
    padding: 0;
    display: none;
  }
  .header-second-ul li a, .header-second-ul .header-second-box .text {
    text-align: left;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #000;
    font-weight: bold;
    padding-left: 30px;
  }
  .header-second-ul > li {
    border-bottom: 1px solid #eaeaea;
  }
  .header-second-ul > li:last-child {
    border-bottom: none;
  }
  .header-second-ul > li a {
    width: 100%;
    display: block;
  }
  .header-second-ul > li .header-second-box {
    padding-left: 0;
    position: relative;
  }
  .header-second-ul > li .header-second-box .text {
    position: relative;
  }
  .header-second-ul > li.has-second-toggle .text:before, .header-second-ul > li.has-second-toggle .text:after {
    content: "";
    background-color: #444;
    display: block;
    position: absolute;
  }
  .header-second-ul > li.has-second-toggle .text:before {
    width: 13px;
    height: 2px;
    top: 25px;
    right: 14px;
    z-index: 0;
  }
  .header-second-ul > li.has-second-toggle .text:after {
    width: 2px;
    height: 12px;
    top: 20px;
    right: 19px;
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  .header-second-ul > li.is-active.has-second-toggle .text:after {
    opacity: 0;
  }
}

/*  second li click, three li show*/
@media (min-width: 992px) {
  .header-second-ul li > ul {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s ease-out;
    transition: opacity 0.3s, -webkit-transform 0.3s ease-out;
    -o-transition: opacity 0.3s, transform 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  }
  .header-second-ul li.is-active > ul {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    z-index: 1;
  }
}

/* ============ .header-three-ul ============ */
.header-three-ul {
  text-transform: uppercase;
  border-top: 1px solid #eaeaea;
}

@media (min-width: 992px) {
  .header-three-ul {
    width: 100%;
    background-color: #efeff1;
    border-bottom: 1px solid #e6e7ec;
    padding: 15px;
    position: absolute;
    top: 154px;
    left: 0;
    letter-spacing: -0.31em;
    word-spacing: -0.43em;
    padding-left: 150px;
    padding-right: 140px;
  }
  .header-three-ul li {
    width: calc(100% / 6);
    padding: 8px 10px;
    letter-spacing: normal;
    margin: 0;
    border-right: none;
  }
  .header-three-ul li a {
    font-size: 12px;
    color: #000000;
    display: block;
    text-align: left;
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  .header-three-ul li a:before {
    display: none;
  }
  .header-three-ul li:hover a {
    opacity: 0.7;
    color: #000;
  }
}

@media (max-width: 991px) {
  .header-three-ul {
    padding-top: 11px;
    padding-bottom: 10px;
    position: relative;
    display: none;
  }
  .header-three-ul li {
    width: 100%;
  }
  .header-three-ul li a {
    width: 100%;
    display: block;
    font-size: 12px;
    color: #000000;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* ============ .hamburger ============ */
.hamburger {
  width: 50px;
  height: auto;
  position: relative;
  display: block;
  display: inline-block;
  overflow: visible;
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.35s ease-out;
  -o-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}

.hamburger .hamburger-box {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 24px;
  -webkit-perspective: 80px;
  perspective: 80px;
}

.hamburger .hamburger-inner {
  top: 50%;
  display: block;
  margin-top: -2px;
}

.hamburger .hamburger-inner, .hamburger .hamburger-inner:before, .hamburger .hamburger-inner:after {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000;
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger .hamburger-inner:before, .hamburger .hamburger-inner:after {
  display: block;
  content: "";
}

.hamburger .hamburger-inner:before {
  top: -7px;
}

.hamburger .hamburger-inner:after {
  bottom: -7px;
}

.hamburger:hover .hamburger-inner, .hamburger:hover .hamburger-inner:before, .hamburger:hover .hamburger-inner:after {
  background: #000;
}

.hamburger.is-active .hamburger-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background-color: transparent;
}

.hamburger.is-active .hamburger-inner:before {
  -webkit-transform: translate3d(0, 7px, 0) rotate(45deg);
  transform: translate3d(0, 7px, 0) rotate(45deg);
}

.hamburger.is-active .hamburger-inner:after {
  -webkit-transform: translate3d(0, -7px, 0) rotate(-45deg);
  transform: translate3d(0, -7px, 0) rotate(-45deg);
}
