.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  z-index: 100;
}
.header-head {
  border-bottom: 1px solid #e9eef5;
}
.header-inner {
  padding: 0 40px;
}
.header-head-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.header-head-txt {
  display: flex;
  align-items: center;
  line-height: 1.4;
  margin: 0 0 0 40px;
  border-top: 1px solid #d8dee9;
  border-bottom: 1px solid #d8dee9;
  font-size: 14px;
  font-weight: 700;
}
.header-head-txt span {
  display: inline-block;
  margin: 0 4px;
  color: #7ebee6;
  font-size: 28px;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.05em;
}
.txt-color-red {
  display: inline-block;
  color: #c30e18;
  margin-left: 4px;
}
.header-head-large {
  font-size: 21px;
}
.header-head-nav {
  margin-left: auto;
}
.header-head-nav-li {
  display: flex;
  align-items: center;
}
.header-head-nav-item + .header-head-nav-item {
  margin-left: 24px;
}
.header-head-nav-item.cart {
  margin-bottom: 0 !important;
}
.header-head-nav-item > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  font-size: 14px;
  transition: 0.3s;
}
.header-head-nav-item a::before {
  content: "";
  display: inline-block;
  margin-right: 8px;
}
.header-head-nav-item.faq a::before {
  width: 16px;
  height: 16px;
  background-image: url("/sakaimachi/assets/img/common/XS.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.header-head-nav-item.guide a::before {
  width: 16px;
  height: 16px;
  background-image: url("/sakaimachi/assets/img/common/help_FILL0_wght300_GRAD0_opsz48.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.header-head-nav-item.login a::before {
  width: 16px;
  height: 16px;
  background-image: url("/sakaimachi/assets/img/common/login_FILL0_wght300_GRAD0_opsz48.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.header-head-nav-item.entry a::before {
  width: 16px;
  height: 16px;
  background-image: url("/sakaimachi/assets/img/common/person_FILL0_wght300_GRAD0_opsz48.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.header-head-nav-item.cart a::before {
  width: 16px;
  height: 16px;
  background-image: url("/sakaimachi/assets/img/common/shopping_cart_FILL0_wght300_GRAD0_opsz48.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.cart-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-family: "Roboto";
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 100%;
  background: #c30e18;
  margin-left: 8px;
}
.header-main-inner {
  display: flex;
  align-items: center;
  height: 96px;
}
.header-logo a {
  display: inline-block;
}
.header-main {
  border-bottom: 1px solid #e9eef5;
}
.header-main-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.header-main-nav {
  padding-right: 48px;
}
.header-main-nav-li {
  display: flex;
}
.header-main-nav-item + .header-main-nav-item {
  margin-left: 36px;
}
.header-main-nav-item.cart {
  margin-bottom: 0;
}
.header-main-nav-item > a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 96px;
  font-size: 16px;
}
.header-main-nav-item > a.is-current {
  color: #7ebee6;
}
.header-main-nav-item > a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #7ebee6;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.3s;
}
.header-main-nav-item > a.is-current::before {
  transform: scale(1, 1);
}
.mega-menu {
  display: none;
  position: absolute;
  top: 138px;
  right: 0;
  left: 0;
  padding: 48px 16px;
  background: #f9f9f9;
  box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}
.mega-menu-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.mega-menu-ttl {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #e6e6e6;
  padding: 0 0 16px;
}
.mega-menu-li {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 40px;
}
.mega-menu-li + .mega-menu-ttl {
  margin-top: 32px;
}
.mega-menu-item a {
  display: inline-block;
  font-size: 15px;
}
.mega-menu-item a span {
  background: linear-gradient(#333, #333) 0 100%/0 1px no-repeat;
  transition: background 0.3s;
}
.header-main-keyword {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 48px;
  font-size: 14px;
}
.header-main-keyword:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 30px;
  background: #e9eef5;
  transform: translateY(-50%);
}
input[type="text"].header-search-input {
  width: 164px;
  border-bottom: 1px solid #e9eef5;
  border-radius: 0;
  padding: 0 0 12px;
  margin-right: 16px;
}
.header-search-input::placeholder {
  color: #a7b0bb;
  letter-spacing: 0.05em;
}
.btn-search {
  flex: none;
  text-indent: -9999px;
  width: 16px;
  height: 17px;
  background-image: url("/sakaimachi/assets/img/common/search_FILL0_wght300_GRAD0_opsz48.svg");
  background-size: 16px;
  background-position: center;
  margin-top: 5px;
}
@media (hover: hover) {
  .header-main-nav-item > a:hover {
    color: #7ebee6;
  }
  .header-main-nav-item > a:hover::before {
    transform: scale(1, 1);
  }
  .mega-menu-item a:hover span {
    background-size: 100% 1px;
  }
  .header-head-nav-item > a:hover {
    opacity: 0.7;
  }
}
@media screen and (min-width: 897px) {
  .header-sp {
    display: none;
  }
}
@media screen and (max-width: 896px) {
  .header.fix {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .header-head {
    display: none;
  }
  .header-main {
    display: none;
  }
  .header-sp {
    padding: 0 16px;
  }
  .header-sp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px 8px 0;
  }
  .header-sp-logo img {
    width: 144px;
    vertical-align: middle;
  }
  .header-sp-nav-li {
    display: flex;
    gap: 0 8px;
  }
  .header-sp-nav-item a {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    line-height: 1;
  }
  .header-sp-nav-item a::before {
    content: "";
    display: inline-block;
    margin-bottom: 6px;
  }
  .header-sp-nav-item.login a::before {
    width: 16px;
    height: 16px;
    background-image: url("/sakaimachi/assets/img/common/login_FILL0_wght300_GRAD0_opsz48.svg");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .header-sp-nav-item.entry a::before {
    width: 16px;
    height: 16px;
    background-image: url("/sakaimachi/assets/img/common/person_FILL0_wght300_GRAD0_opsz48.svg");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .header-sp-bottom {
    padding: 8px 0 24px;
  }
  .header-main-keyword {
    padding: 0;
  }
  .header-main-keyword::before {
    content: none;
  }
  input[type="text"].header-search-input {
    width: 100%;
    padding: 0 0 8px;
  }
}
