/**
 * ヘッダーレイアウト変更
 * 20181119
 */

/* header */
#masthead {
  height: 70px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
#masthead #monoco-searchbox-layout {
  position: absolute;
  left: 15px;
  top: 44px;
  width: calc(100vw - 32px);
  margin: 0;
  padding: 0;
}
#masthead #monoco-searchbox-layout form.search input {
  width: calc(100vw - 32px);
  height: 35px;
  padding: 0 0 0 15px;
}
#masthead #monoco-searchbox-layout form.search input[type="submit"] {
  padding: 0;
  width: 1px;
  height: 1px;
}
#masthead #header-icon {
  position: relative;
  margin: 0;
  /*left: 80px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  top: 11px;*/
  margin-right: auto;
  order: 1;
}
#masthead #monoco-searchbox-layout + ul {
  position: relative;
  z-index: 100000;
}
#masthead .header-tagList {
  width: calc(100vw - 30px);
  margin: 0 auto;
  text-align: left;
  padding-top: 70px;
}
#masthead .header-tagList ul {
  text-align: left;
}
#masthead .header-tagList li {
  display: inline-block;
  font-size: 10px;
}
#masthead .header-tagList li a {
  color: #000;
}

/* .contentsのpadding調整 */
#sb-site.contents {
  padding-top: 110px;
}

/* .shoppingcart用 */
body.shoppingCart #masthead {
  height: 46px;
  box-shadow: unset;
}
body.shoppingCart #sb-site.contents {
  padding-top: 45px;
}

@media screen and (min-width: 769px) {
  /* header */
  #masthead #header_inner {
    position: relative;
    display: flex;
  }
  #masthead #monoco-searchbox-layout {
    width: 200px;
    left: 130px;
    top: 7px;
  }
  #masthead #monoco-searchbox-layout form.search input {
    padding: 0 10px;
    width: 200px;
    height: 33px;
  }
  #masthead #monoco-searchbox-layout form.search input[type="submit"] {
    padding: 0;
    width: 1px;
    height: 1px;
  }
  #masthead #header-icon {
    left: 50px;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
  }
  #masthead .topnav-container {
    margin: 0 auto 0;
    max-width: 100%;
  }
  #masthead .header-tagList {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 0px;
    top: 0;
    left: 0;
    position: relative;
  }
  #masthead .header-tagList ul {
    position: absolute;
    left: 340px;
    top: 7px;
  }
  #masthead .header-tagList li {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
  }
  #masthead .header-tagList li a {
    color: #000;
  }

  /* .shoppingcart用 */
  body.shoppingCart #sb-site.contents {
    padding-top: 45px;
  }
  body.shoppingCart #masthead #header-icon {
    margin: 0 auto;
    position: static;
  }
  body.shoppingCart #masthead #header-icon img {
    margin: -4px auto 0;
    display: block;
  }
}

@media screen and (min-width: 1213px) {
  /* header */
  #masthead {
    height: 156px;
  }
  #masthead #monoco-searchbox-layout {
    width: 300px;
    left: 60px;
    top: 15px;
  }
  #masthead #monoco-searchbox-layout form.search input {
    width: 300px;
  }
  #masthead #header-icon {
    position: static;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
  }
  #masthead .header-tagList {
    display: block;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  #masthead .header-tagList ul {
    position: absolute;
    left: 370px;
    top: 25px;
  }
  #masthead .header-tagList li {
  }

  /* .contentsのpadding調整 */
  #sb-site.contents {
    padding-top: 163px;
    margin: 0 auto 340px;
  }

  /* .shoppingcart用 */
  body.shoppingCart #masthead {
    height: 104px;
  }
  body.shoppingCart #masthead #header-icon {
    margin-top: 15px;
  }
}
