.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-sub {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 9px 0 11px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #929292;
  border-bottom: 1px solid #ebebeb;
}

.header-sub * {
  margin: 0;
}

.header-sub__text {
  font-size: 14px;
}

.header-sub__sns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
}

.header-sub__sns li {
  display: inline-block;
  margin-right: 25px;
}

.header-sub__sns li:last-child {
  margin-right: 0;
}

.header-sub__sns li a {
  color: #929292;
  font-size: 14px;
}

.header-sub__sns li a:hover {
  color: #ee3333;
  text-decoration: none;
  -webkit-transition: all .6s;
  transition: all .6s;
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 25px 0 20px;
}

.header-main__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-main__logo {
  margin-right: 20px;
}

.header-main__nav {
  width: calc(100% - 38%);
  margin-right: auto;
}

.header-main__menu-toggle {
  display: none;
}

.header-main__menu-sp {
  display: none;
}

.header-main__mask {
  display: none;
}

.header-main__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding-top: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  list-style-type: none;
}

.header-main__menu li {
  padding-bottom: 8px;
}

.header-main__menu li:last-child {
  margin-right: 0;
}

.header-main__menu li .header-menu-link {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #292929;
  cursor: pointer;
}

.header-main__menu li .header-menu-link i {
  margin-right: 4px;
}

.header-main__menu li:hover > .header-menu-link {
  color: #ee3333;
  text-decoration: none;
}

.header-cart__item:last-of-type {
  margin-top: 5px;
}

.header-cart {
  padding-right: 32px;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .header-cart {
    padding-right: 0;
  }
}

.header-search,
.searchform {
  width: 100%;
}

.searchform .form-input {
  height: 40px;
  padding: 0 22px 0 10px;
  border: 1px solid #707070;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}

.searchform .ws {
  width: calc(100% - 15px);
  height: 38px;
  line-height: 38px;
  margin: 0;
  border: none;
  background: none;
  color: #606060;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-size: 16px;
  outline: none;
  padding: 10px 15px;
  border-radius: 2px;
}

.searchform .searchsubmit {
  height: 38px;
  padding: 0;
  line-height: 38px;
  border: none;
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #606060;
  outline: none;
  -webkit-transition: .2s ease;
  transition: .2s ease;
  cursor: pointer;
  display: inline-block;
  vertical-align: bottom;
}

.btn-header-cart {
  position: relative;
  min-width: 105px;
  padding: 7px 14px 5px 34px;
  border: 1px solid #707070;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  background-color: transparent;
}

.btn-header-cart::before {
  position: absolute;
  top: 50%;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  content: '\f07a';
  left: 0.7rem;
  font-size: 22px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.btn-header-cart:hover {
  border-color: #ee3333;
  color: #ee3333;
}

.btn-header-mypage {
  position: relative;
  min-width: 105px;
  padding: 2px 8px 2px 26px;
  border: 1px solid #707070;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  background-color: transparent;
}

.btn-header-mypage::before {
  position: absolute;
  top: 50%;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  content: '\f007';
  left: 0.7rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.btn-header-mypage:hover {
  border-color: #ee3333;
  color: #ee3333;
}

.js-dropdown-menu-toggle {
  position: relative;
}

.js-dropdown-menu-item {
  position: absolute;
  top: 24px;
  left: 0;
}

.header-menu-dropdown {
  display: none;
  padding-top: 26px;
  z-index: 999;
}

.header-menu-dropdown.open {
  display: block;
}

.header-menu-dropdown ul {
  min-width: 270px;
  padding: 25px;
  border: 1px solid #ebebeb;
  background: #fff;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
  font-size: 13px;
}

.header-menu-dropdown ul li {
  padding: 0;
  margin-bottom: 10px;
}

.header-menu-dropdown ul li:last-child {
  margin-bottom: 0;
}

.header-menu-dropdown ul li a {
  line-height: 1.8;
  border: none;
  color: #606060;
  font-size: 13px;
}

.header-menu-dropdown ul li:hover a {
  color: #ee3333;
  -webkit-transition: all .6s;
  transition: all .6s;
}

@media screen and (max-width: 992px) {
  .header-sub,
  .header-main__search,
  .header-main__nav,
  .l-header__cart-content {
    display: none;
  }
  .header-container {
    max-width: 720px;
  }
  .header-main {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .header-main__logo img {
    width: 107px;
  }
  .header-main__menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
    color: #292929;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
  }
  .header-main__menu-toggle i {
    vertical-align: middle;
  }
  .header-main__menu-toggle:hover {
    background: #323232;
    color: #ffffff;
    border-radius: 50rem;
  }
  .header-main__menu-sp {
    width: 350px;
    max-width: 90%;
    max-height: 90%;
    display: block;
    position: fixed;
    top: 55px;
    padding: 60px 30px 20px;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.99);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  }
  .header-main__menu-sp ul {
    width: 100%;
  }
  .header-main__menu-sp ul li {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ebebeb;
  }
  .header-main__menu-sp ul li:last-of-type {
    border-bottom: none;
  }
  .header-main__menu-sp ul li a {
    color: #999;
    display: block;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
  }
  .header-main__menu-sp ul li .fa,
  .header-main__menu-sp ul li .bi {
    color: #999;
    cursor: pointer;
    float: right;
    height: 40px;
    line-height: 40px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 40px;
    z-index: 2;
  }
  .header-main__mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 98;
  }
  .header-main__mask.menu-open {
    display: block;
  }
  .header-main .menu-sp__close {
    background: #ee3333;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    outline: none;
    padding: 5px 15px;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 89;
  }
}

@media screen and (max-width: 767px) {
  .header-container {
    max-width: none;
    padding: 0;
  }
}
