/* PC header */
/* PC header */
header {
  position: relative;
  margin: 20px auto;
  width: 980px;
  text-align: left;
}

header h1 span {
  display: block;
  margin: 0 0 10px;
  width: 750px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: normal;
}

header h1 img {
  display: block;
  height: 39px;
}

header p {
  position: absolute;
  bottom: 0;
  right: 0;
}

header p a {
  display: block;
  background: #e80;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 180px;
  font-size: 16px;
  line-height: 46px;
  color: #fff;
  text-align: center;
}

header ul {
  position: absolute;
  bottom: 0;
  right: 210px;
  line-height: 0;
  letter-spacing: -0.5em;
}

header ul li {
  display: inline-block;
  letter-spacing: 0;
}

header ul li + li {
  margin: 0 0 0 30px;
}

header ul li a {
  position: relative;
  display: block;
  padding: 0 15px 0 0;
  font-size: 14px;
  line-height: 26px;
  color: #3565a9;
  font-weight: bold;
}

header ul li a:after {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  content: "";
  border-top: 2px solid #3565a9;
  border-right: 2px solid #3565a9;
  width: 6px;
  height: 6px;
  transform: translate(0, -50%) rotate(45deg);
}

/* SP header */
@media screen and (max-width: 767px) {
  /* SP header */
  header.l-commonHeader {
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    border-bottom: 1px solid #d3d4d4;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 0;
  }
  header.l-commonHeader .l-commonHeader__menuIcon {
    display: block;
    margin-right: 12px;
    padding: 16px 0 15px 12px;
  }
  header.l-commonHeader .l-commonHeader__menuIconImage {
    width: 20px;
    height: 18px;
  }
  header.l-commonHeader .l-commonHeader__logoImage {
    width: 210px;
    height: 18px;
  }
  header.l-commonHeader .l-commonHeader__utility {
    margin: 0 12px 0 auto;
  }
  header.l-commonHeader .l-commonHeader__utility .l-commonHeader__utilityIconLink img {
    display: block;
    margin: 0 auto;
    width: 24px;
    height: 24px;
  }
  header.l-commonHeader .l-commonHeader__utility .l-commonHeader__utilityIconText {
    display: block;
    position: static;
    font-size: 10px;
    color: #444444;
    margin-top: 3px;
    line-height: 1;
  }
  header.l-commonHeader .l-commonHeader__utility .iconCartbadge {
    display: flex;
    justify-content: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 4px;
    right: 12px;
    border-radius: 50%;
    background-color: #de30ca;
  }
  header.l-commonHeader .l-commonHeader__utility .iconCartbadge--count {
    display: block;
    font-size: 10px;
    color: #fff;
    position: relative;
    top: 3px;
    text-align: center;
    line-height: 1;
    font-weight: bold;
    font-family: 'Arial';
  }
  .drawerMenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: scroll;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s 0s linear;
  }
  .drawerMenu.is-show {
    pointer-events: auto;
    opacity: 1;
  }
  .drawerMenu.is-show .drawerMenu__closeBtn {
    display: block;
  }
  .drawerMenu.is-show .drawerMenu__container {
    left: 0;
  }
  .drawerMenu.is-scrolling {
    transition-duration: 0s;
  }
  .drawerMenu .drawerMenu__closeBtnWrapper {
    height: 100vh;
  }
  .drawerMenu .drawerMenu__closeBtn {
    display: none;
    position: fixed;
    top: 10px;
    right: 20px;
  }
  .drawerMenu .drawerMenu__container {
    position: absolute;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100%;
    min-height: 100vh;
    background-color: #fff;
    transition: all 0.3s 0s linear;
  }
  .drawerMenu .drawerMenu__heading {
    box-sizing: border-box;
    height: 32px;
    padding: 7px 8px;
    font-size: 14px;
    font-weight: bold;
    background-color: #F5F5F5;
    line-height: 1.3;
    color: #444444;
    border-bottom: 1px solid #D3D4D4;
  }
  .drawerMenu .drawerMenu__linklist {
    background: #fff;
  }
  .drawerMenu .drawerMenu__listItem {
    border-bottom: 1px solid #D3D4D4;
  }
  .drawerMenu .drawerMenu__linkItem {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px 26px 15px 8px;
    font-size: 14px;
    color: #444444;
    line-height: 1.3;
    text-decoration: none;
  }
  .drawerMenu .drawerMenu__linkItem::after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 1px solid #3565A9;
    border-right: 1px solid #3565A9;
    top: 0;
    right: 12px;
    bottom: 0;
    transform: rotate(45deg);
    margin: auto 0;
  }
  .drawerMenu .drawerMenu__searchBox {
    position: relative;
    padding: 8px;
    z-index: 1;
  }
  .drawerMenu .drawerMenu__searchBoxForm {
    display: flex;
  }
  .drawerMenu input.drawerMenu__searchBoxInput {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 87%;
    height: 40px;
    border: 1px solid #D3D4D4;
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
    padding: 11px 2px 11px 12px;
    color: #808D96;
  }
  .drawerMenu input.drawerMenu__searchBoxInput::-webkit-input-placeholder {
    color: #808D96;
  }
  .drawerMenu input.drawerMenu__searchBoxInput::-moz-placeholder {
    color: #808D96;
  }
  .drawerMenu input.drawerMenu__searchBoxInput:-ms-input-placeholder {
    color: #808D96;
  }
  .drawerMenu input.drawerMenu__searchBoxInput::-ms-input-placeholder {
    color: #808D96;
  }
  .drawerMenu input.drawerMenu__searchBoxInput::placeholder {
    color: #808D96;
  }
  .drawerMenu .drawerMenu__searchBoxSubmit {
    display: block;
    position: relative;
    width: 13%;
    height: 40px;
    background: #0CA5E6;
    border-radius: 0 3px 3px 0;
  }
  .drawerMenu .drawerMenu__searchBoxSubmit::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("/syakaijin/smp/imgs/common/header/icon_search.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin: auto;
  }
  .drawerMenu .drawerMenu__subText {
    padding: 0 0 12px 8px;
    font-size: 10px;
    line-height: 1.3;
    border-bottom: 1px solid #D3D4D4;
  }
  header.l-commonHeader--logoOnly {
    display: block;
    position: relative;
    padding: 15px;
    margin: 0;
    width: 100%;
  }
  header.l-commonHeader--logoOnly .l-commonHeader__headline {
    display: block;
    width: auto;
    margin: 0 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.4em;
    color: #666;
  }
  header.l-commonHeader--logoOnly .l-commonHeader__logoImage {
    height: auto;
    width: 90%;
    max-width: 320px;
  }
}

/* PC footer */
/* PC footer */
footer {
  margin: 40px 0 0;
  padding: 30px 0;
  background: #f5f5f5;
  text-align: left;
}

footer div {
  margin: 0 auto;
  width: 980px;
}

footer ul {
  margin: 0 0 30px;
  line-height: 1.8em;
  letter-spacing: -0.5em;
}

footer ul li {
  display: inline;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.2em;
}

footer ul li:nth-child(n + 3), footer ul li:nth-child(-n + 3) {
  display: inline;
}

footer ul li:after {
  display: inline;
  content: "";
  margin: 0 0.6em;
  border-right: 1px solid #ccc;
}

footer ul li:last-child:after {
  display: none;
}

footer dl {
  margin: 0 0 30px;
  padding: 14px;
  border: 1px solid #d00;
  letter-spacing: -0.5em;
  text-align: center;
}

footer dl dd {
  display: inline-block;
  padding: 0 10px;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.2em;
}

footer dl dd a {
  color: #d00;
}

footer p {
  font-size: 12px;
  line-height: 1.2em;
}

footer p img {
  display: block;
  margin: 0 0 10px;
  max-width: 320px;
}

/* SP footer */
@media screen and (max-width: 767px) {
  /* SP footer */
  footer {
    margin: 0;
    padding: 15px 15px 75px;
    background: #f5f5f5;
  }
  footer div {
    margin: 0 auto;
    width: 100%;
  }
  footer ul {
    margin: 0 0 10px;
    line-height: 1.8em;
    letter-spacing: -0.5em;
    text-align: center;
  }
  footer ul li {
    display: inline-block;
    letter-spacing: 0;
    font-size: 12px;
    line-height: 1.2em;
  }
  footer ul li:nth-child(n + 3), footer ul li:nth-child(-n + 3) {
    display: inline-block;
  }
  footer ul li:after {
    display: none;
  }
  footer ul li + li {
    border-left: 1px solid #3565a9;
  }
  footer ul li a {
    display: block;
    padding: 0 10px;
  }
  footer dl {
    margin: 0 0 10px;
    padding: 9px;
    border: 1px solid #d00;
    letter-spacing: normal;
    text-align: left;
  }
  footer dl dd {
    display: block;
    padding: 0;
    letter-spacing: 0;
  }
  footer dl dd a {
    color: #d00;
    display: block;
    font-size: 12px;
    line-height: 1.2em;
    text-align: center;
  }
  footer dl dd + dd {
    margin: 5px 0 0;
  }
  footer p {
    margin: 0 0 5px;
    font-size: 10px;
    line-height: 1.2em;
  }
  footer p img {
    margin: 0 0 10px;
    max-width: 320px;
  }
}

.headerPc,
.footerPc {
  display: block;
}

.headerSp,
.footerSp,
.drawerMenu {
  display: none;
}

@media screen and (max-width: 767px) {
  .headerPc,
  .footerPc {
    display: none;
  }
  .headerSp {
    display: flex;
  }
  .footerSp,
  .drawerMenu {
    display: block;
  }
}
