/******************************/
/* Product */
/******************************/

/* form */
@media screen and (max-width: 1240px) {
  .p-product form {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .p-product form {
    padding-left: 0;
    padding-right: 0;
  }
}

.p-product select {
  box-sizing: border-box;
  height: 40px;
  border: 2px solid #282828;
  font-size: 16px;
}

.p-product input[type="text"] {
  box-sizing: border-box;
  height: 40px;
  border: 2px solid #282828;
  font-size: 16px;
}

.p-product input[type="text"]:focus {
  outline: unset;
}

.p-product-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media screen and (max-width: 1024px) {
  .p-product-main {
    display: block;
  }
}

.p-product-img {
  width: 50%;
  margin-bottom: 45px;
}

@media screen and (max-width: 1024px) {
  .p-product-img {
    width: auto;
  }
}

.p-product-img__main {
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .p-product-img__main {
    margin-left: auto;
    margin-right: auto;
    /* width: 530px; */
    max-width: 600px;
  }
}

.p-product-img__main-item {
  position: relative;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-product-img__main-item {
    text-align: center;
  }

  .p-product-img__main.js-images-slider > .p-product-img__main-item:not(:first-child) {
    display: none;
  }
}

.p-product-img__main-item:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.p-product-img__main-item a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-product-img__main-item img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  border-radius: 10px;
  background-color: #f7f7f7;
}

.p-product-thumb-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
  margin-top: 10px;
}

@media screen and (max-width: 1240px) {
  .p-product-thumb-list {
    margin-left: 0;
    margin-right: 0;
    flex-wrap: nowrap;
  }
}

.p-product-thumb-list__item {
  box-sizing: border-box;
  margin-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  width: 20%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media screen and (max-width: 1240px) {
  .p-product-thumb-list__item {
    margin-right: 10px;
    padding-left: 0;
    padding-right: 0;
    width: 120px;
  }
}

@media screen and (max-width: 767px) {
  .p-product-thumb-list__item {
    margin-right: 5px;
    width: 60px;
  }
}

.p-product-thumb-list__item:hover,
.p-product-thumb-list__item.is-current {
  opacity: 0.2;
  cursor: pointer;
}

@media screen and (max-width: 1240px) {
  .p-product-thumb-list__item img {
    width: 120px;
  }
}

@media screen and (max-width: 767px) {
  .p-product-thumb-list__item img {
    width: 60px;
  }
}

.p-product-thumb-list__img {
  /* overflow用 */
  position: relative;
  text-align: center;
}

@media screen and (max-width: 1240px) {
  .p-product-thumb-list__img {
    width: 120px;
  }
}

@media screen and (max-width: 767px) {
  .p-product-thumb-list__img {
    width: 60px;
    text-align: center;
  }
}

.p-product-thumb-list__img:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.p-product-thumb-list__img img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  border-radius: 10px;
  background-color: #f7f7f7;
}

/* 商品画像 slider */
.p-product-img__main .slick-track {
  margin-left: 0;
  margin-right: 0;
}

.p-product-img__main .slick-prev,
.p-product-img__main .slick-next {
  top: 50%;
  width: 32px;
  height: 32px;
  transition: all 0.4s ease;
  z-index: 1;
  background: rgba(0, 0, 0, 0.1);
}

.p-product-img__main .slick-prev:hover,
.p-product-img__main .slick-prev:focus,
.p-product-img__main .slick-next:hover,
.p-product-img__main .slick-next:focus {
  background: #d2d2d2;
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev,
  .p-product-img__main .slick-next {
    width: 45px;
    height: 45px;
  }
}

.p-product-img__main .slick-prev:before,
.p-product-img__main .slick-next:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 11px;
  width: 15px;
  height: 15px;
  border-left: 1px solid #000000;
  border-top: 1px solid #000000;
  transition: all 0.4s ease;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev:before,
  .p-product-img__main .slick-next:before {
    top: 15px;
  }
}

.p-product-img__main .slick-prev {
  left: 0px;
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev {
    left: 0px;
  }
}

.p-product-img__main .slick-prev:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-prev:before {
    left: 17px;
  }
}

.p-product-img__main .slick-next {
  right: 0px;
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-next {
    right: 0px;
  }
}

.p-product-img__main .slick-next:before {
  left: 4px;
  transform: rotate(135deg);
}

@media screen and (max-width: 767px) {
  .p-product-img__main .slick-next:before {
    left: 13px;
  }
}

/***** 商品情報 *****/
.p-product-info {
  width: 45%;
}

@media screen and (max-width: 1024px) {
  .p-product-info {
    width: auto;
  }
}

.p-product-info__ttl {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .p-product-info__ttl {
    font-size: 21px;
  }
}

.p-product-info__ttl img {
  vertical-align: middle;
  position: relative;
  bottom: 2px;
}

.p-product-info__id {
  margin-top: 5px;
  font-size: 10px;
  color: #909090;
}

.p-product-price {
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-product-price__sell {
  font-size: 21px;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .p-product-price__sell {
    font-size: 18px;
  }
}

.p-product-price__sell.is-discount {
  color: #ee0000;
}

.p-product-price__yen {
  font-size: 14px;
}

.p-product-price__off {
  font-size: 14px;
}

.p-product-price__normal {
  font-size: 12px;
  color: #909090;
}

.p-product-price__normal.is-strikethrough {
  margin-top: 0;
  text-decoration: line-through;
}

@media screen and (max-width: 767px) {
  .p-product-price__normal {
    font-size: 12px;
  }
}

.p-product-price__list-price {
  font-size: 12px;
  color: #909090;
}

.p-product-price__list-price.is-strikethrough {
  margin-top: 0;
  text-decoration: line-through;
}

@media screen and (max-width: 767px) {
  .p-product-price__list-price {
    font-size: 12px;
  }
}

.p-product-price__extra {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.p-product-point {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #459e48;
}

.p-product-point span {
  height: fit-content;
  padding: 0 5px;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  background: #4caf50;
}

.p-product-shipping {
  font-size: 12px;
  background-color: color-mix(in srgb, #4caf50 20%, #ffffff);
  border-radius: 12px;
  padding: 0 6px;
}

.p-product-sexpl {
  margin-top: 30px;
  margin-bottom: 30px;
}

.p-product-sexpl__ttl {
  padding-left: 15px;
  padding-right: 15px;
  line-height: 2;
  width: fit-content;
  color: #ffffff;
  background-color: #909090;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.p-product-sexpl__ttl + .p-product-sexpl__body {
  border-top-color: #7d7d7d;
}

.p-product-sexpl__body {
  padding: 20px;
  font-weight: bold;
  background-color: #f7f7f7;
  border: 1px solid #d2d2d2;
}

/* オプション table */
.p-product-option {
  margin-top: 30px;
  margin-bottom: 30px;
}

.p-product-option-tbl table {
  margin-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-collapse: collapse;
  width: 100%;
}

.p-product-option-tbl table div {
  display: inline-block !important;
}

.p-product-option-tbl th {
  min-width: 100px;
}

.p-product-option-tbl th,
.p-product-option-tbl td {
  padding: 12px 5px;
  /* border-top: 1px solid #b2b2b2 !important;
  border-bottom: 1px solid #b2b2b2 !important; */
  border-top: 1px solid #d7d7d7 !important;
  border-bottom: 1px solid #d7d7d7 !important;
  border-left: 0;
  text-align: center;
}

.p-product-option-tbl label {
  display: inline-block !important;
  margin-left: 5px;
  margin-bottom: 0;
}

.p-product-option-tbl input {
  margin-top: 0;
}

/* オプション select */
.p-product-option-select__box {
  margin-top: 15px;
}

.p-product-option-select__ttl {
  margin-bottom: 5px;
  font-weight: bold;
}

/* 名入れ */
.p-product-name {
  margin-top: 30px;
  margin-bottom: 30px;
}

.p-product-name__box {
  margin-top: 15px;
}

.p-product-name__ttl {
  margin-bottom: 5px;
  font-weight: bold;
}

.p-product-name__body input {
  width: 100%;
}

/* 数量 */
.p-product-form-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-product-form-stock__input {
  display: flex;
  align-items: center;
}

.p-product-form-stock__input input {
  width: 60px;
  text-align: center;
}

.p-product-form-stock-num__updw {
  margin-left: 5px;
  line-height: 1;
}

.p-product-form-stock__unit {
  margin-left: 10px;
}

.p-product-form-stock__stock {
  margin-left: 25px;
  color: #909090;
}

/* ボタン */
.p-product-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.p-product-form-btn__cart {
  flex: 1;
}

.p-product-form-btn__favorite-btn {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d2d2d2;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-product-form-btn__favorite-btn.is-added {
  color: steelblue;
}

.p-product-form-btn__favorite-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.p-product-form__error-message {
  color: #f44336;
  margin-top: 15px;
}

/* SNS */
.p-product-sns-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.p-product-sns-list__item {
  margin-right: 20px;
}

/* ordering-memo */
.p-product-ordering-memo {
  margin-top: 40px;
}

.p-product-ordering-memo__body {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  line-height: 1.4;
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
}

/* link */
.p-product-link-list {
  margin-top: 40px;
}

.p-product-link-list__item {
  margin-bottom: 5px;
}

/***** 商品詳細 *****/
.p-product-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 75px;
  margin-bottom: 75px;
}

@media screen and (max-width: 1240px) {
  .p-product-detail {
    display: block;
  }
}

.p-product-explain {
  width: 50%;
}

.p-product-explain.is-max {
  width: auto;
}

.p-product-other {
  width: 45%;
}

@media screen and (max-width: 1240px) {
  .p-product-explain,
  .p-product-other {
    width: auto;
  }
}

.p-product-explain,
.p-product-recommend,
.p-product-review {
  margin-bottom: 75px;
}

/* タイトルの装飾 */
.p-product__ttl {
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #7d7d7d;
}

.p-product__ttl span {
  display: block;
  margin: 0;
  padding-left: 15px;
  padding-right: 15px;
  line-height: 2;
  width: fit-content;
  font-size: 12px;
  color: #ffffff;
  background-color: #282828;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

@media screen and (max-width: 767px) {
  .p-product__ttl span {
    font-size: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }
}

.p-product-explain__ttl {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 14px;
  font-feature-settings: "palt" 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.p-product-explain-ttl-wrap {
  display: flex;
  height: 24px;
  width: 160px;
  padding-left: 15px;
  background-color: #282828;
  position: relative;
  /* transform: rotate(5deg) translate3d(0, 0, 0); */
  transform: rotate(6deg);
  position: relative;
  left: -8px;
}

.p-product-explain-ttl-wrap:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 24px solid transparent;
  border-left: 24px solid #282828;
  left: 159px;
  top: -12px;
}

.p-product-explain-ttl-wrap span {
  font-weight: normal;
  color: #d2d2d2;
}

.p-product-explain__body {
  line-height: 2;
}

/* 末尾のショップの説明 */
.p-product-shopinfo {
  margin-top: 75px;
  margin-bottom: 75px;
  font-size: 12px;
  color: #909090;
  text-align: center;
}

/* おすすめ商品 */
.p-product-recommend-list {
  display: flex;
  gap: 40px;
}

@media screen and (max-width: 767px) {
  .p-product-recommend-list {
    gap: 20px;
  }
}

.p-product-recommend-list__item {
  position: relative;
  box-sizing: border-box;
  width: 33.3333%;
  padding-bottom: 24px;
  word-break: break-all;
}

.p-product-recommend-list__img {
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}

.p-product-recommend-list__img:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.p-product-recommend-list__img a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-product-recommend-list__img img {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: auto !important;
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  border-radius: 10px;
  background-color: #f7f7f7;
}

.p-product-recommend-list__price {
  margin-top: 15px;
  color: #909090;
}

.p-product-recommend-list__price.is-discount {
  color: #dd6666;
}

.p-product-recommend-list__price.is-strikethrough {
  margin-top: 0;
  text-decoration: line-through;
}

.p-product-recommend-list__expl {
  margin-top: 15px;
  font-size: 12px;
}

/* レビュー */
.p-product-review-link-list__item {
  margin-bottom: 5px;
}

.p-product-review__item {
  box-sizing: border-box;
  margin-bottom: 15px;
  padding: 40px;
  background: #f7f7f7;
}

@media screen and (max-width: 767px) {
  .p-product-review__item {
    padding: 20px;
  }
}

.p-product-review__item.is-hidden {
  display: none;
}

.p-product-review__ttl {
  font-weight: bold;
}

.p-product-review-info__item {
  display: inline-block;
  font-size: 11px;
}

.p-product-review-info__item.is-type {
  margin-right: 35px;
  font-weight: bold;
}

.p-product-review__img {
  margin-bottom: 15px;
  text-align: center;
}

.p-product-review__rates {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.p-product-review__rate {
  width: 18px;
  height: 18px;
  vertical-align: -0.3em;
  fill: #d2d2d2;
}

.p-product-review__rate.is-color {
  fill: #ffd700;
}

/* レビュー 返信 */
.p-product-review-reply {
  box-sizing: border-box;
  margin-top: 20px;
  padding: 5px 0;
  color: #909090;
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
  font-size: 11px;
}

.p-product-review-reply__date {
  font-size: 12px;
}

.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}

.p-product-form__error-message:empty {
  display: none;
}

.c-input--select-wrap {
  position: relative;
}

.c-input--select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 4px 8px;
}

.c-input--select-wrap:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 2px;
  top: calc(50% - 12px);
  z-index: 100;
  pointer-events: none;
  background-image: url(https://img.shop-pro.jp/tmpl_img/73/icon24_b.png);
  background-position: -528px -192px;
}

.c-input--select:focus {
  outline: none;
}
