.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #fd7f23;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #f8f8f8;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}

.c-product-list--cart {
  align-items: stretch;
}

.c-product-list--cart .c-product-list__item {
  width: 100% !important;
  float: none;
  clear: none !important;
  box-sizing: border-box;
  padding: 12px 10px 36px;
  text-align: left;
}

.c-product-list--cart .c-product-list__item:nth-child(2n),
.c-product-list--cart .c-product-list__item:nth-child(3n + 1),
.c-product-list--cart .c-product-list__item:nth-child(4n) {
  clear: none !important;
}

.p-list-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "name name"
    "image table"
    "zoom table"
    "search table";
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
}

.p-list-card__main {
  grid-area: table;
  min-width: 0;
}

.c-product-list--cart .c-product-list__image-wrap {
  grid-area: image;
  width: 80px;
  max-width: 80px;
  margin: 0;
  border-width: 0;
}

.c-product-list--cart .c-image-wrap::after {
  padding-top: 140%;
}

.c-product-list--cart .c-image-wrap--link:hover .c-image-box--main {
  opacity: 1;
}

.c-product-list--cart .c-image-box--otherimg {
  display: none;
}


.p-list-card__head {
  grid-area: name;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.c-product-list--cart .p-list-card__head .c-product-list__name {
  flex: 1 1 55%;
  min-width: 0;
}

.p-list-card__cats {
  flex: 1 1 40%;
  min-width: 0;
  font-size: 11px;
  line-height: 1.3;
  text-align: right;
  color: #666;
}

.p-list-card__cats a {
  display: block;
  text-decoration: underline;
  color: #666;
  word-break: break-word;
}

.p-list-card__cats a + a {
  margin-top: 4px;
}

.p-list-card__cats a:hover {
  color: #333;
}

.c-product-list--cart .c-product-list__name {
  grid-area: name;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}

.c-product-list__name-jp,
.c-product-list__name-en {
  display: block;
}

.c-product-list__name-en {
  font-size: 12px;
  font-weight: normal;
  color: #555;
}

.p-list-zoom {
  grid-area: zoom;
  display: block;
  width: 100%;
  margin: 0;
  padding: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  text-decoration: underline;
  color: #666;
  word-break: break-word;
  border: 0;
  background: none;
  cursor: pointer;
}

.p-list-zoom:hover {
  color: #333;
}

.p-list-same-search {
  grid-area: search;
  display: block;
  margin: 0;
  padding: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #666;
  word-break: break-word;
}

.p-list-same-search button {
  display: block;
  width: 100%;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.p-list-same-search button:hover {
  color: #333;
}

.p-list-same-search__unit {
  white-space: nowrap;
}

.c-product-list--cart .c-product-list__price,
.c-product-list--cart .c-product-list__regular-price,
.c-product-list--cart .c-product-list__expl {
  display: none;
}

.c-product-list--cart .c-product-list__soldout {
  margin-top: 0;
  font-size: 13px;
  text-align: left;
}

.p-list-cart {
  margin-top: 4px;
  text-align: left;
}

.p-list-cart__loading,
.p-list-cart__msg {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.p-full-cart-wrap {
  overflow: hidden;
  max-width: 100%;
}

.p-full-cart {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11px;
}

.p-full-cart th,
.p-full-cart td {
  padding: 3px 2px;
  border: 1px solid #e5e5e5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.p-full-cart th:nth-child(3),
.p-full-cart td:nth-child(3) {
  white-space: normal;
  overflow-wrap: anywhere;
}

.p-full-cart th {
  background: #f4f4f4;
  font-weight: normal;
}

.p-full-cart th:nth-child(1),
.p-full-cart td:nth-child(1) {
  width: 4.5em;
}

.p-full-cart th:nth-child(2),
.p-full-cart td:nth-child(2) {
  width: 16%;
}

.p-full-cart th:nth-child(3),
.p-full-cart td:nth-child(3) {
  width: 26%;
}

.p-full-cart th:nth-child(4),
.p-full-cart td:nth-child(4) {
  width: 16%;
}

.p-full-cart th:nth-child(5),
.p-full-cart td:nth-child(5) {
  width: 44px;
}

.p-full-cart__stepper {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2px;
}

.p-full-cart__step {
  display: block;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f7f7f7;
  cursor: pointer;
}

.p-full-cart__step:active {
  background: #e6e6e6;
}

.p-full-cart__qty {
  width: 36px;
  max-width: 36px;
  min-width: 0;
  height: 36px;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.p-full-cart__qty::-webkit-inner-spin-button,
.p-full-cart__qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.p-full-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
}

.p-full-cart__btn {
  min-width: 0 !important;
  padding: 8px 12px !important;
  font-size: 13px;
  white-space: nowrap;
}

.p-full-cart__result {
  font-size: 12px;
  color: #333;
}

@media screen and (min-width: 600px) {
  .c-product-list--cart .c-product-list__item {
    width: 50% !important;
    padding: 14px 12px 36px;
  }

  .c-product-list--cart .c-product-list__item:nth-child(2n) {
    border-right: 0;
  }

  .p-list-card {
    grid-template-columns: 88px 1fr;
  }

  .c-product-list--cart .c-product-list__image-wrap {
    width: 88px;
    max-width: 88px;
  }

  .p-full-cart {
    font-size: 12px;
  }

  .p-full-cart th,
  .p-full-cart td {
    padding: 4px 4px;
  }

  .p-full-cart th:nth-child(5),
  .p-full-cart td:nth-child(5) {
    width: 118px;
  }

  .p-full-cart__stepper {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }

  .p-full-cart__step {
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 38px;
  }

  .p-full-cart__qty {
    width: 40px;
    max-width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

@media screen and (min-width: 960px) {
  .p-list-card {
    grid-template-columns: 96px 1fr;
    column-gap: 12px;
  }

  .c-product-list--cart .c-product-list__image-wrap {
    width: 96px;
    max-width: 96px;
  }

  .c-product-list--cart .c-product-list__name {
    font-size: 14px;
  }
}

@media screen and (min-width: 1200px) {
  .c-product-list--cart .c-product-list__item {
    width: 33.333% !important;
    padding: 12px 10px 36px;
  }

  .c-product-list--cart .c-product-list__item:nth-child(2n) {
    border-right: 1px solid #eaeaea;
  }

  .c-product-list--cart .c-product-list__item:nth-child(3n) {
    border-right: 0;
  }

  .p-list-card {
    grid-template-columns: 72px 1fr;
    column-gap: 8px;
  }

  .c-product-list--cart .c-product-list__image-wrap {
    width: 72px;
    max-width: 72px;
  }

  .p-full-cart th:nth-child(5),
  .p-full-cart td:nth-child(5) {
    width: 104px;
  }

  .p-full-cart__step {
    width: 32px;
    height: 36px;
    font-size: 20px;
    line-height: 34px;
  }

  .p-full-cart__qty {
    width: 32px;
    max-width: 32px;
    height: 36px;
  }
}

body.is-zoom-open {
  overflow: hidden;
}

.p-zoom-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.p-zoom-modal.is-open,
.p-zoom-modal:not([hidden]) {
  display: block;
}

.p-zoom-modal[hidden] {
  display: none !important;
}

.p-zoom-modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .78);
}

.p-zoom-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-sizing: border-box;
  max-width: 92vw;
  max-height: 90vh;
  transform: translate(-50%, -50%);
}

.p-zoom-modal__img {
  display: block;
  max-width: 92vw;
  max-height: calc(90vh - 52px);
  margin: 0;
  background: #fff;
}

.p-zoom-modal__close {
  position: static;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0 0 8px;
  padding: 0;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  border: 0;
  border-radius: 20px;
  background: #333;
  cursor: pointer;
}

.p-zoom-modal__close:hover {
  background: #000;
}

.c-product-list--cart .c-product-list__index {
  top: 0;
  left: 0;
}
