#pageHeader {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
#pageHeader.is-open.login #customerMenu {
  height: 253px;
}
#pageHeader.is-open.logout #customerMenu {
  height: 173px;
}
#pageHeader.is-open .btn-header.menu {
  background-color: #fff;
  border: solid #ccc;
  border-width: 0 1px;
  z-index: 10002;
}
#pageHeader.is-open .btn-header.menu svg path:nth-of-type(1) {
  transform: translate(-1px, 11px) rotate(225deg);
}
#pageHeader.is-open .btn-header.menu svg path:nth-of-type(2) {
  transform: rotate(-360deg);
  fill: transparent;
}
#pageHeader.is-open .btn-header.menu svg path:nth-of-type(3) {
  transform: translate(-1px, -12px) rotate(-225deg);
}
#pageHeader.is-open .btn-header.menu span:nth-of-type(1) {
  display: none;
}
#pageHeader:not(.is-open) .btn-header.menu span:nth-of-type(2) {
  display: none;
}
#pageHeader:not(.is-open) #customerMenu {
  border-top-width: 0;
  height: 0;
  transition: height 0.2s ease-in-out 0s, border 0.2s ease-in-out 0s;
}
#pageHeader.login #miniCartDetailArea {
  width: 356px;
}
@media screen and (min-width: 1200px) {
  #pageHeader.login #miniCartDetailArea {
    width: 365px;
  }
}
#pageHeader.logout .btn-header.cart {
  width: 108px;
}
#pageHeader > .username {
  height: 55px;
  margin: 0 20px 5px 0;
  padding: 5px 0;
  display: flex;
  flex: 1 1 0;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
}
#pageHeader > .username.isActive {
  opacity: 1;
}
#pageHeader > .username.isDropdown {
  width: calc(100% - 580px);
  flex: 0 0 auto;
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
  #pageHeader > .username.isDropdown {
    width: calc(100% - 572px);
  }
}
#pageHeader > .username * {
  box-sizing: border-box;
  word-break: break-all;
}
#pageHeader > .username .usernameWrapper {
  max-width: 100%;
  max-height: 80px;
  overflow: hidden;
}

.btn-header {
  background-color: #f2f2f2;
  border: none;
  color: #333;
  font-size: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 5px;
  padding: 0;
  width: 55px;
  height: 55px;
}
.btn-header:not(href) {
  color: #333;
}
.btn-header:not(href):hover {
  color: #d43500;
}
.btn-header > span {
  line-height: 1;
  margin-top: 5px;
  margin-bottom: 6px;
}
.btn-header svg {
  fill: #5b5b5b;
}
.btn-header.cart, .btn-header.favorite {
  color: #fff;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  font-size: 14px;
  order: 1;
  margin: 5px 0 0;
  width: 88px;
  height: 59px;
}
.btn-header.cart:not(href):hover, .btn-header.favorite:not(href):hover {
  color: #fff;
}
.btn-header.cart svg path, .btn-header.favorite svg path {
  fill: #fff;
}
.btn-header.cart {
  background-color: #ef9713;
  position: relative;
}
.btn-header.cart:hover {
  background-color: #f5a224;
}
.btn-header.cart svg {
  width: 37px;
  height: 25px;
}
.btn-header.favorite {
  background-color: #5b5b5b;
}
.btn-header.favorite:hover {
  background-color: #4b4b4b;
}
.btn-header.favorite svg {
  margin: -1px;
  width: 30px;
  height: 27px;
}
.btn-header.login svg, .btn-header.logout svg {
  width: 19px;
  height: 24px;
}
.btn-header.menu {
  position: relative;
}
.btn-header.menu svg path {
  transform: translate(0, 0) rotate(0);
}
@supports (transform-origin: center center) {
  .btn-header.menu svg path {
    transition: all 0.2s linear 0s;
  }
  .btn-header.menu svg path:nth-of-type(1) {
    transform-origin: center top;
  }
  .btn-header.menu svg path:nth-of-type(2) {
    transform-origin: center center;
  }
  .btn-header.menu svg path:nth-of-type(3) {
    transform-origin: center bottom;
  }
}
.btn-header + .btn-header:not(.cart) {
  margin-left: 1px;
}

#sitelogoArea {
  margin-top: 8px;
  margin-right: auto;
}
#sitelogoArea a {
  display: inline-block;
}

@media screen and (max-width: 1199.98px) and (min-width: 992px) {
  #sitelogoArea {
    width: 440px;
  }

  #sitelogoArea img {
    width: calc(100% - 20px);
    height: auto;
  }
}
@media screen and (max-width:991.98px) {
   #sitelogoArea {
       margin-top: 2px
   }
}
@media screen and (min-width:768px) {
   #sitelogoArea {
       margin-left: 2px
   }
}

#searchArea {
  background-color: #f2f2f2;
  flex-basis: calc(100% - 440px);
  flex-grow: 1;
  margin-top: 5px;
  padding: 13px 10px;
}

#searchform {
  display: flex;
}
#searchform .searchCategoryCode,
#searchform .searchWord input {
  position: relative;
}
#searchform .searchCategoryCode:hover, #searchform .searchCategoryCode:focus,
#searchform .searchWord input:hover,
#searchform .searchWord input:focus {
  z-index: 1;
}
#searchform .searchCategoryCode {
  border-radius: 3px 0 0 3px;
  max-width: 232px;
  height: 33px;
}
#searchform .searchWord {
  display: flex;
  flex-grow: 1;
  position: relative;
}
#searchform .searchWord::before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31' height='32' viewBox='0 0 31 32' fill='%23ccc'%3E%3Cpath d='M12.6 3.39a9.22 9.22 0 109.2 9.22 9.22 9.22 0 00-9.2-9.22m0-3.39A12.61 12.61 0 110 12.61 12.6 12.6 0 0112.6 0z'/%3E%3Cpath d='M28.58 32a2.39 2.39 0 01-1.71-.71l-7.75-7.76a2.42 2.42 0 013.41-3.44l7.75 7.76a2.43 2.43 0 010 3.43 2.4 2.4 0 01-1.7.72z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 5px;
  top: 7px;
  width: 17px;
  height: 18px;
  z-index: 2;
}
#searchform .searchWord input {
  flex-grow: 1;
  border-radius: 0;
  margin-left: -1px;
  padding-left: 28px;
  width: 225px;
  height: 33px;
}
#searchform .searchButton {
  border-radius: 0 3px 3px 0;
  margin: 0;
  white-space: nowrap;
  background-color: #ef9713;
  border-color: #ef9713;
}
#searchform .catalogSearchButton {
  display: flex;
  align-items: center;
  margin: 0 0 0 10px;
  white-space: nowrap;
}

/* #miniCartRoot -> .miniCartRootParent */
.miniCartRootParent {
  background-color: #f2f2f2;
  border: solid #ccc;
  border-width: 0 1px;
  flex-basis: 188px;
  margin-top: 5px;
  white-space: nowrap;
}

#menuArea {
  border-top: 1px solid #ccc;
  flex-basis: 100%;
  margin-bottom: 30px;
  order: 1;
}
#menuArea > .list-link-stack {
  background-color: #fff;
  border-width: 10px 1px 0;
  border-top-color: #e6e6e6;
  display: none;
}

#customerMenu {
  background-color: #fff;
  border: solid #ccc;
  border-width: 1px 1px 0;
  overflow: hidden;
  position: absolute;
  top: 54px;
  right: 0;
  transition: height 0.2s ease-in-out 0.1s, border 0.2s ease-in-out 0.1s;
  min-width: 256px;
  z-index: 10001;
}
#customerMenu .login {
  padding: 20px;
}
#customerMenu .login .btn {
  background-color: #ffcf86;
  border-color: #ffcf86;
  color: #333;
  padding: 10px;
  width: 100%;
}
#customerMenu .username {
  display: none;
}
#customerMenu .username + .list-link-stack {
  border-top-width: 0;
}
#customerMenu .list-link-stack:first-child {
  border-top-width: 0;
}
#customerMenu .list-link-stack .point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}
#customerMenu .list-link-stack .point h3 {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 0;
  padding: 0;
  height: auto;
  margin-right: 10px;
}
#customerMenu .list-link-stack .favorite {
  display: none;
}

#globalMenu > h2 {
  display: none;
}
#globalMenu dl {
  background-color: #fff;
  display: flex;
  position: relative;
}
@supports (display: grid) {
  #globalMenu dl {
    /*! autoprefixer: off */
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 45px;
  }
}
#globalMenu dl > div {
  flex-grow: 1;
}
#globalMenu dl > div:hover > dt {
  background-color: #fff;
  border-left-color: #ccc;
  z-index: 1001;
}
#globalMenu dl > div:hover > dt::after {
  display: none;
}
#globalMenu dl > div:hover > dd {
  top: 55px;
  bottom: auto;
}
#globalMenu dl > div:hover > dd .list-link {
  opacity: 1;
}
#globalMenu dl > div:hover + div > dt {
  border-left-color: #ccc;
}
#globalMenu dl > div:hover:first-of-type > dt {
  border-left-color: #ccc;
}
#globalMenu dl > div:hover:last-of-type > dt {
  border-right-color: #ccc;
}
#globalMenu dl > div + div > dt {
  border-left: 1px solid #fff;
}
#globalMenu dl > div:first-of-type > dt {
  border-left: 1px solid #f2f2f2;
}
#globalMenu dl > div:last-of-type > dt {
  border-right: 1px solid #f2f2f2;
}
#globalMenu dl > div.logout {
  display: none;
}
#globalMenu dl dt {
  background-color: #f2f2f2;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 14px;
  font-weight: normal;
  padding: 7px 21px 5px 8px;
  position: relative;
  height: 56px;
}
#globalMenu dl dt::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='%23333' stroke='%23333'%3E%3Cpath d='M5 1.81l-3.79 4a.7.7 0 01-1 0 .77.77 0 010-1.06L4.51.22a.69.69 0 011 0l4.31 4.5a.78.78 0 01-.06 1.06.7.7 0 01-.95 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%) rotate(180deg);
  width: 8px;
  height: 4px;
}
#globalMenu dl dd {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 22px 30px 30px;
  position: absolute;
  bottom: 200px;
  left: 0;
  width: 100%;
  z-index: 1000;
}
#globalMenu dl dd[style="display: none;"] {
  display: block !important;
}
#globalMenu .list-link {
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 25%;
  position: relative;
}
#globalMenu .list-link > li {
  flex-basis: calc(100% / 3);
}
#globalMenu .list-link > li:first-of-type {
  position: absolute;
  left: 0;
  width: 25%;
}
#globalMenu .list-link a {
  align-items: flex-start;
  padding: 8px 20px 8px 0;
}
#globalMenu .list-link a::before {
  margin-top: 7px;
}

#spHeadMenu {
  display: none;
}

#headerItemCount {
  background-color: #af0000;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  display: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-width: 10px;
  position: absolute;
  top: -4px;
  right: -2px;
  bottom: auto;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
  width: 22px;
  height: 16px;
}
#headerItemCount[style="display: inline;"] {
  display: none !important;
}

@media screen and (max-width: 1199px) {
  #globalMenu dl dt {
    font-size: 12px;
    padding: 10px 16px 5px 7px;
  }
}
@media screen and (max-width: 991.98px) {
  #pageHeader {
    padding: 0 10px 0;
  }
  #pageHeader.is-open.login #customerMenu {
    height: auto;
  }
  #pageHeader.is-open.logout #customerMenu {
    height: auto;
  }
  #pageHeader.is-open .btn-header.menu {
    background-color: transparent;
    border-width: 0;
    color: #fff;
    align-items: flex-start;
    padding-left: 5px;
    position: fixed;
    right: 0;
    transition: width 0.2s ease-in-out 0s;
    width: 100%;
    max-width: 361px;
    z-index: 10000;
  }
  #pageHeader.is-open .btn-header.menu svg {
    margin-left: 2px;
  }
  #pageHeader.is-open .btn-header.menu svg path {
    fill: #fff;
  }
  #pageHeader.is-open .btn-header.menu::before {
    opacity: 1;
    top: 0;
    transition: opacity 0.2s linear 0s;
    z-index: -1;
  }
  #pageHeader.is-open #menuArea {
    z-index: 10001;
  }
  #pageHeader:not(.is-open) #menuArea {
    height: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.2s ease-in-out 0s, opacity 0s linear 0.2s, z-index 0s linear 0.2s;
    z-index: -1;
  }
  #pageHeader:not(.is-open) #customerMenu {
    height: auto;
  }
  #pageHeader.logout .btn-header.cart {
    width: 40px;
  }
  #pageHeader > .username {
    display: none;
  }
  #pageHeader .searchCategoryCode,
#pageHeader .catalogSearchButton {
    display: none;
  }

  .btn-header {
    background-color: transparent;
    -ms-grid-row-align: center;
    align-self: center;
    margin: 10px 0 0;
    width: 40px;
    height: 40px;
  }
  .btn-header.logout {
    width: 50px;
  }
  .btn-header.cart {
    background-color: transparent;
    color: #333;
    font-size: 10px;
    margin: 10px 45px 0 2px;
    order: 0;
    width: 40px;
    height: 40px;
  }
  .btn-header.cart:not(href):hover, .btn-header.cart:hover {
    background-color: transparent;
    color: #d43500;
  }
  .btn-header.cart svg {
    width: 32px;
    height: 24px;
  }
  .btn-header.cart svg path {
    fill: #5b5b5b;
  }
  .btn-header.cart svg path:nth-of-type(n + 4) {
    fill: #ef9713;
  }
  .btn-header.favorite {
    display: none;
  }
  .btn-header.menu {
    position: absolute;
    top: 0;
    right: 10px;
    width: 42px;
    z-index: 10001;
  }
  .btn-header.menu::before {
    background-color: rgba(51, 51, 51, 0.9);
    content: "";
    cursor: auto;
    display: block;
    opacity: 0;
    position: fixed;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 0.2s linear 0s, top 0s linear 0.2s;
  }
  .btn-header svg {
    margin-bottom: -2px;
  }
  .btn-header span {
    line-height: 1.4;
    margin-top: 3px;
    margin-bottom: 0;
  }
  .btn-header + .btn-header:not(.cart) {
    margin-left: 7px;
  }

  #sitelogoArea {
    flex-grow: 1;
    margin-top: 12px;
    margin-right: 0;
    min-width: 125px;
  }

  #searchArea {
    background-color: #fff;
    flex-basis: 100%;
    margin-top: 12px;
    padding: 0;
  }

  #searchform .searchWord input {
    border-left-width: 1px;
    border-radius: 3px 0 0 3px;
  }

  #miniCartRoot {
    display: none;
  }

  #menuArea {
    overflow: auto;
    padding-bottom: calc(env(safe-area-inset-bottom));
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 42px);
    max-height: 100vh;
    max-height: calc(100vh - env(safe-area-inset-bottom));
    max-width: 319px;
    transition: transform 0.2s ease-in-out 0s;
  }
  #menuArea > .list-link-stack {
    display: block;
  }

  #customerMenu {
    border-top-width: 0;
    position: static;
    width: 100%;
  }
  #customerMenu .username {
    width: 100%;
    height: 65px;
    margin: 0;
    padding: 5px 10px;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 1.3;
    opacity: 0;
  }
  #customerMenu .username.isActive {
    opacity: 1;
  }
  #customerMenu .username.isFull {
    padding: 5px;
  }
  #customerMenu .username + .list-link-stack {
    border-top-width: 1px;
  }
  #customerMenu .username * {
    box-sizing: border-box;
    word-break: break-all;
  }
  #customerMenu .username .usernameMain {
    max-width: 100%;
  }
  #customerMenu .list-link-stack:first-child {
    border-top-width: 1px;
  }
  #customerMenu .list-link-stack .favorite {
    display: block;
  }
  #customerMenu .logout {
    display: none;
  }

  #globalMenu {
    background-color: #fff;
    border-top-width: 0;
  }
  #globalMenu h2 {
    background-color: #e6e6e6;
    border: solid #ccc;
    border-width: 0 1px;
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 0;
    padding: 5px 10px;
  }
  #globalMenu > div {
    overflow: auto;
  }
  #globalMenu dl {
    display: block;
  }
  #globalMenu dl > div {
    border: solid #ccc;
    border-width: 0 1px 1px;
  }
  #globalMenu dl > div:first-of-type > dt, #globalMenu dl > div:last-of-type > dt {
    border-width: 0;
  }
  #globalMenu dl > div:hover > dt::after {
    display: block;
  }
  #globalMenu dl > div + div > dt {
    border-left-width: 0;
  }
  #globalMenu dl dt {
    background-color: #fff;
    font-size: 14px;
    font-weight: bold;
    justify-content: flex-start;
    padding: 10px 20px 10px 10px;
    height: auto;
  }
  #globalMenu dl dt::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='%23333'%3E%3Cpath d='M5 1.81l-3.79 4a.7.7 0 01-1 0 .77.77 0 010-1.06L4.51.22a.69.69 0 011 0l4.31 4.5a.78.78 0 01-.06 1.06.7.7 0 01-.95 0z'/%3E%3C/svg%3E");
    right: 6px;
    transform: translateY(-50%) rotate(180deg);
    width: 12px;
    height: 6px;
    transition: transform 0.1s linear 0s;
  }
  #globalMenu dl dt.is-open::after {
    transform: translateY(-50%);
  }
  #globalMenu dl dd {
    border-width: 1px 0 0;
    display: none;
    padding: 0;
    position: static;
  }
  #globalMenu dl dd[style="display: none;"] {
    display: none !important;
  }
  #globalMenu .list-link {
    display: block;
    padding-left: 0;
  }
  #globalMenu .list-link > li:first-of-type {
    position: static;
    width: auto;
  }
  #globalMenu .list-link > li:first-of-type > a {
    font-weight: bold;
  }
  #globalMenu .list-link > li + li {
    border-top: 1px solid #ccc;
  }
  #globalMenu .list-link a {
    padding: 10px 20px;
    position: relative;
  }
  #globalMenu .list-link a::before {
    display: block;
    margin: 0;
    position: absolute;
    top: calc(50% - 2px);
    right: 6px;
    left: auto;
  }
  #globalMenu .list-link-stack {
    display: block;
  }

  #spHeadMenu {
    background-color: #f2f2f2;
    border-top: 1px solid #ccc;
    display: flex;
    margin: 10px -34px;
    width: calc(100% + 68px);
  }
  #spHeadMenu .prev,
#spHeadMenu .next {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 28px;
    opacity: 0;
    height: 32px;
    transition: opacity 0.2s ease-in-out 0s;
  }
  #spHeadMenu .prev::before,
#spHeadMenu .next::before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='%23333'%3E%3Cpath d='M5 1.81l-3.79 4a.7.7 0 01-1 0 .77.77 0 010-1.06L4.51.22a.69.69 0 011 0l4.31 4.5a.78.78 0 01-.06 1.06.7.7 0 01-.95 0z'/%3E%3C/svg%3E");
    background-size: cover;
    content: "";
    display: block;
    width: 12px;
    height: 6px;
  }
  #spHeadMenu .prev.is-active,
#spHeadMenu .next.is-active {
    cursor: pointer;
    opacity: 1;
  }
  #spHeadMenu .prev {
    transform: rotate(-90deg);
  }
  #spHeadMenu .next {
    transform: rotate(90deg);
  }
  #spHeadMenu ul {
    display: flex;
    flex-basis: calc(100% - 56px);
    list-style-type: none;
    font-size: 12px;
    line-height: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }
  #spHeadMenu ul > li {
    white-space: nowrap;
  }
  #spHeadMenu ul > li > a {
    display: block;
    padding: 10px 0;
  }
  #spHeadMenu ul > li + li {
    margin-left: 25px;
  }

  #headerItemCount {
    display: inline-flex;
  }
  #headerItemCount[style="display: inline;"] {
    display: inline-flex !important;
  }
}
@media screen and (max-width: 767px) {
  #spHeadMenu {
    margin-right: -10px;
    margin-left: -10px;
    width: calc(100% + 20px);
  }
}
#listDiv {
  display: none;
}
