/* ==========================================
  商品詳細ページのスタイル
========================================== */

/* 全体レイアウト */
.product-layout {

}

.product-layout__description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

@media screen and (min-width:768px) {
  .product-layout__description-wrapper {
    gap: 20px;
    margin-top: 0;
  }
}

/* 高さ固定しておくことでタブ変更した際の上下動を防ぐ */
.product-layout__detail-wrapper {
  min-height: 600px;
}

/* PCサイズで2カラムレイアウト */
@media screen and (min-width:768px) {
  .product-layout {
    display: grid;
    grid-template-columns: 48.4% 35%;
    grid-template-rows: min-content min-content min-content 1fr;
    column-gap: 10.4%;
      grid-template-areas:
    "image description"
    "detail description";
  }

  .product-layout__image-wrapper {
    grid-area: image;
  }

  .product-layout__description-wrapper {
    grid-area: description;
    max-width: 350px;
  }

  .product-layout__detail-wrapper {
    grid-area: detail;
  }
}

/* 商品画像 */
.fs-c-productCarouselMainImage .slick-list {
  aspect-ratio: 1 /1 !important;
  height: auto !important;
}

.fs-c-productCarouselMainImage .slick-track {
  height: 100% !important;
}

.fs-c-productCarouselMainImage .fs-c-slick .slick-slide {
  aspect-ratio: 1 /1 !important;
}

.fs-c-productCarouselMainImage .fs-c-slick .slick-slide img {
  width: 100%;
}

.fs-c-productCarouselMainImage__image__caption {
  background-color: var(--accent1);
}

/* 商品サムネイル */
.fs-c-productThumbnail__image {
  flex-basis: 90px;
  min-width: 90px;
}

.fs-c-button--viewExtendedImage.fs-c-button--plain {
  display: none;
}

.fs-c-productCarouselMainImage__thumbnailList > li {
  flex-basis: 90px;
}

/* キャッチコピー、商品名 */
.fs-c-productNameHeading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fs-c-productNameHeading__copy {
  font-weight: normal;
}

.fs-c-productNameHeading__name {
  font-size: 20px;
}

@media screen and (min-width:768px) {
  .fs-c-productNameHeading__name {
    font-size: 24px;
  }
}

/* 価格下レビュー */
.review__info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review__info a:visited {
  color: var(--body-font-color);
}

.fs-c-reviewStars {
  display: flex;
  justify-content: space-between;
}

.fs-c-reviewStars::before {
  color: #F7CD46;
}

.fs-c-reviewStars[data-ratingCount=""]::before {
    content: "\e91b\e91b\e91b\e91b\e91b";
}

.fs-c-reviewStars[data-ratingCount=""] + .review__average.fs-c-rating__value + .review__count.fs-c-aggregateRating__count {
  display: none;
}

/* 価格表示 */
.fs-c-productNumber {
  border: none;
  padding: 0;
}

.fs-c-productNumber__number {
  font-weight: normal;
}

.product-layout .fs-c-productPrice__main__joint {
  font-size: 16px;
}

.product-layout .fs-c-productPrice__main__label {
  display: block;
  font-size: 12px;
}

.product-layout .fs-c-productPrice--selling .fs-c-price__currencyMark {
  font-size: 22px;
}

@media screen and (min-width:768px) {
  .product-layout .fs-c-productPrice--selling .fs-c-price__currencyMark {
    font-size: 28px;
  }
}

.product-layout .fs-c-productPrice--selling .fs-c-price__value {
  font-size: 30px;
}

@media screen and (min-width:768px) {
  .product-layout .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 38px;
  }
}

.fs-c-productPointDisplay {
  background-color: inherit;
  border: 1px solid var(--black);
  width: fit-content;
  padding: 7px;
  color: var(--body-font-color);
}

/* バリエーション選択 */
.fs-c-variationPanelList__radio:checked + .fs-c-variationPanelList__panel .fs-c-variationPanelList__panel__content {
  background-color: var(--accent1);
}

.fs-c-variationPanelList__list {
  grid-auto-flow: column;
  grid-template-columns: repeat(auto-fill, 9.6em);
  padding-bottom: 10px;
  overflow-x: scroll;
  white-space: nowrap;
  cursor: grab;
  margin-top: 6px;
  position: relative;
}

.fs-c-variationPanelList__list::before {
  position: absolute;
  top: 50%;
  left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  width: 100%;height: 100%;
  z-index: 1;
}

.fs-c-variationPanelList__list:active {
    cursor: grabbing;
}

.fs-c-variationPanelList__list__item {
  box-sizing: border-box;
  white-space: normal;
  min-width: 9.6em;
}

/* 項目選択肢 */
.fs-c-productSelection__name {
  background-color: transparent;
}

.fs-c-dropdown__menu {
  background-color: #f5f5f5;
  padding: 12px;
  width: 80%;
  max-width: 300px;
  font-weight: bold;
  border: none;
}

.fs-c-productSelection__label {
  font-size: var(--body-font-size-sp);
}

@media screen and (min-width:768px) {
  .fs-c-productSelection__label {
    font-size: var(--body-font-size-pc);
  }
}

.fs-c-dropdown::after {
  display: none;
}

.fs-c-variationPanelList__panel__content {
  text-align: center;
}

.fs-c-productVariationPrice {
  display: flex;
  flex-direction: column;
}

.fs-c-price__currencyMark,
.fs-c-price__value {
  font-size: 16px;
  color: var(--body-font-color);
}

/* オプション選択肢 */
.fs-c-productOption__name {
  background-color: transparent;
  font-size: var(--body-font-size-sp);
}

@media screen and (min-width:768px) {
  .fs-c-productOption__name {
    font-size: var(--body-font-size-pc);
  }
}

.fs-c-productOption .fs-c-requiredMark,
.product-illust .fs-c-requiredMark {
  /* デフォルトの必須※を非表示 */
  display: none;
}

.fs-c-productOption .fs-c-productOption__price {
  /* ラジオボタンの価格を非表示 */
  display: none;
}

.fs-c-productOption .fs-c-productOption__comment {
  margin-top: 12px;
}

.fs-c-productOption .fs-c-productOption__comment a {
  color: #f00 !important;
  text-decoration: underline !important;
}

.fs-c-productOption .fs-c-radioGroup {
  background-color: var(--light-gray) !important;
  padding: 8px;
}

/* 数量変更 */
.fs-c-productQuantityAndWishlist {
  margin-top: 24px;
}
.fs-c-quantity__select {
  text-align: center;
  padding: 8px 12px;
  border-radius: 4px;
}

.fs-c-quantity {
  position: relative;
}

.fs-c-quantity::before {
  content: "数量";
  position: absolute;
  top: -28px;
  left: 0;
  width: fit-content;
  height: auto;
  font-size: var(--body-font-size-sp);
  font-weight: bold;
}

@media screen and (min-width:768px) {
  .fs-c-quantity::before {
    font-size: var(--body-font-size-pc);
  }
}

.fs-c-quantity__number {
  padding: 8px 12px;
  border-radius: 4px;
}

/* お気に入り登録ボタン */
.fs-c-button--addToWishList--detail .fs-c-button__label {
  display: none;
}

.fs-c-button--particular {
  border: none;
}

.fs-c-button--particular.fs-c-button--addToWishList--detail {
  /* background-color: transparent; */
  border-radius: 999px;
  /* display: block; */
  width: 45px;
  height: 45px;
  padding: 8px;
}

.fs-c-button--particular.fs-c-button--addToWishList--detail::after {
  content: "";
  background: url("../images/common/icon_fav.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* カートに入れるボタン */
.fs-c-button--primary {
  background-color: var(--accent1);
  border: none;
  color: var(--white) !important;
  width: 100%;
  max-width: 400px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* お問い合わせはこちら */
.fs-c-button--inquiryAboutProduct {
  position: relative;
  padding-left: 40px;
}

.fs-c-button--inquiryAboutProduct::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  background: url("../images/common/icon_mail.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
}

/* シェアボタン */
.fs-p-snsArea {
  align-items: center;
}

.fs-p-snsArea .sns__fx__wrap {
  display: flex;
  align-items: center;
}

.fs-p-snsArea .sns__fx__wrap a {
  width: 40px;
}

/* ==========================================
  商品ページで使用しているフリーパーツ
========================================== */
/* ==========================================
  フリーパーツ：キャンペーン
========================================== */
.product-campaign {
  display: block;
  width: 100%;

}

.product-campaign img {
  width: 100%;
  object-fit: contain;
}

/* ==========================================
  フリーパーツ：商品イラスト一覧
========================================== */
.product-illust li {
  min-width: 9.6em;
  text-align: center;
  position: relative;
}

.product-illust li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.product-illust span {
  font-size: 12px;
  display: block;
  background-color: var(--accent1);
  color: var(--white);
  padding: 4px;
}

/* ==========================================
  フリーパーツ：注意事項
========================================== */
.product-caution {

}

.product-caution__item {
}

/* --- トリガー --- */
.product-caution__trigger {
  width: 100%;
  padding: 12px 0;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.product-caution__title {
  font-size: 14px;
}

@media screen and (min-width:768px) {
  .product-caution__title {
    font-size: 16px;
  }
}

.product-caution__icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.product-caution__icon::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
}

.product-caution__body {
  display: none;
  padding-left: 16px;
}

.product-caution__body p + p {
  margin-top: 12px;
}

.product-caution__item--open .product-caution__body {
  display: block;
}

.product-caution__item--open .product-caution__icon::before {
  content: "-";
}

/* ==========================================
  【フリーパーツ】商品詳細情報タブ
========================================== */
.product-detail-tab {
  margin-top: 24px;
}

.product-detail-tab__list {
  display: flex;
  gap: 3%;
  border-bottom: 1px solid #707070;
}

/* タブ共通 */
.product-detail-tab__button {
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid #707070;
  border-bottom: none;
  text-align: center;
  cursor: pointer;
}

@media screen and (min-width:1024px) {
  .product-detail-tab__button {
    padding: 18px 22px;
  }
}

/* アクティブタブ */
.product-detail-tab__button.is-active {
  background: var(--black);
  color: var(--white);
}

/* パネル */
.product-detail-tab__panels {
  padding-top: 28px;ss
}

@media screen and (min-width:768px) {
  .product-detail-tab__panels {
    padding-top: 36px;
    min-height: 600px;
  }
}

.product-detail-tab__panel {
  font-size: 14px;
  line-height: 1.8;
}


/* ==========================================
  タブパネルごとのスタイル
========================================== */
.product-detail-tab__size-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width:768px) {
  .product-detail-tab__size-images {
    gap: 32px;
  }
}

/* ==========================================
  レビュー
========================================== */
.review__wrapper {
  margin-top: 60px;
}

@media screen and (min-width:768px) {
  .review__wrapper {
    margin-top: 90px;
  }
}

.review__inner {
  margin-top: 20px;
  background-color: var(--accent1);
  padding: 35px 15px;
}

@media screen and (min-width:768px) {
  .review__inner {
    padding: 50px 40px;
  }
}

.fs-c-productReview {
  max-width: 853px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.fs-c-productReview__aggregateRating {
  display: none;
}

.fs-c-reviewer__status {
  display: none;
}

@media screen and (min-width:768px) {
  .fs-c-reviewList__item__info {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
}

.fs-c-reviewList__item:first-child,
.fs-c-reviewList__item {
  border: none;
}

.fs-c-productReview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.fs-c-productReview__reviewList {
  width: 100%;
  flex-shrink: 0;
  padding: 20px 15px;
  margin-bottom: 20px;
  background-color: var(--white);
}

@media screen and (min-width:768px) {
  .fs-c-productReview__reviewList {
    padding: 50px 30px;
  }
}

.fs-c-reviewer__name__reviewNumber {
  display: none;
}

.fs-c-reviewBody {
  border: none;
}



/* レビューのボタン */
.fs-c-button--plain.fs-c-button--viewAllReviews::before {
  display: none;
}

.fs-c-button--plain.fs-c-button--addReview--detail::before {
  display: none;
}

.review__wrapper .fs-c-button--plain {
  width: fit-content;
  font-size: calc(var(--common-button-font-size) * 0.75);
  background-color: var(--common-button-bg-color);
  color: var(--body-font-color);
  font-weight: bold;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  padding: 22px 32px;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:768px) {
  .review__wrapper .fs-c-button--plain
  {
    font-size: var(--common-button-font-size);
  }
}

.fs-c-reviewInfo--productDescription .fs-c-reviewInfo__reviewer {
  gap: 6px;
}

.fs-c-reviewer__name {
  font-size: 16px;
}

@media screen and (min-width:768px) {
  .fs-c-reviewer__name {
    font-size: 20px;
  }
}

.review__wrapper .fs-c-buttonContainer {
  margin: 0 12px;
}

/* ==========================================
  おすすめ商品の調整
========================================== */
.fs-c-featuredProduct__header {
  display: none;
}

/* ==========================================
  お顔登録モーダル
========================================== */
.face-modal {
  text-decoration: underline;
  color: #f00;
  cursor: pointer;
  transition: opacity .2s ease-in-out;
}

.face-modal:hover {
  opacity: 0.8;
}

.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  max-width: 500px;
  padding: 10px 30px;
  background-color: #fff;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}