/* ==========================================================
   FutureShop 商品詳細ページ UI改善
   7311等の商品詳細ページ用

   方針
   ・既存の商品画像サイズを極端に変更しない
   ・商品情報の視認性を改善
   ・購入操作を明確化
   ・レビューを読みやすく
   ・FutureShopの機能を変更しない
========================================================== */


/* ==========================================================
   1. 商品詳細全体
========================================================== */

.fs-l-productLayout {
  font-family:
    "Zen Kaku Gothic New",
    "Yu Gothic",
    YuGothic,
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;

  color: #333;
}


/* ==========================================================
   2. PC：左右カラムの間隔
========================================================== */

@media screen and (min-width: 768px) {

  .fs-l-productLayout {
    column-gap: 48px;
  }
}


/* ==========================================================
   3. メイン商品画像
   元画像の比率を維持
========================================================== */

.fs-c-productMainImage__image {
  overflow: hidden;

  background: #fff;

  border-radius: 4px;
}

.fs-c-productMainImage__image img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0 auto;
}


/* ==========================================================
   4. 画像拡大
========================================================== */

.fs-c-productMainImage__expandButton {
  margin-top: 10px;

  text-align: center;
}

.fs-c-button--viewExtendedImage {
  color: #666;

  font-size: 12px;

  text-decoration: none;
}

.fs-c-button--viewExtendedImage:hover {
  color: #43372f;
}


/* ==========================================================
   5. サムネイル
========================================================== */

.fs-c-productThumbnail {
  margin-top: 14px;
}

.fs-c-productThumbnail__image {
  box-sizing: border-box;

  border: 1px solid transparent;
  border-radius: 3px;

  overflow: hidden;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.fs-c-productThumbnail__image:hover {
  border-color: #b7b0a9;
}

.fs-c-productThumbnail__image.is-active {
  border-color: #8a9b59;
}


/* ==========================================================
   6. 商品番号
========================================================== */

.fs-c-productNumber {
  margin-bottom: 8px;

  color: #888;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.fs-c-productNumber__label,
.fs-c-productNumber__number {
  font-weight: 400;
}


/* ==========================================================
   7. 商品名
========================================================== */

.fs-c-productNameHeading {
  margin: 0 0 18px;

  color: #333;

  font-weight: 400;

  line-height: 1.65;
}


/* キャッチコピー */

.fs-c-productNameHeading__copy {
  display: block;

  margin-bottom: 8px;

  color: #71675f;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.7;
}


/* 商品名 */

.fs-c-productNameHeading__name {
  display: block;

  color: #302b27;

  font-size: 22px;
  font-weight: 500;

  line-height: 1.6;
  letter-spacing: 0.015em;
}


/* ==========================================================
   8. 商品マーク
========================================================== */

.fs-c-productMarks {
  margin: 14px 0;
}

.fs-c-productMark {
  display: flex;

  flex-wrap: wrap;
  align-items: center;

  gap: 6px 8px;
}

.fs-c-productMark__label {
  color: #666;

  font-size: 11px;
  font-weight: 400;
}


/* ==========================================================
   9. 価格
========================================================== */

.fs-c-productPrices--productDetail {
  margin: 20px 0 6px;
}

.fs-c-productPrice--selling {
  color: #302b27;
}

.fs-c-productPrice--selling .fs-c-price__currencyMark {
  font-size: 17px;
  font-weight: 500;
}

.fs-c-productPrice--selling .fs-c-price__value {
  color: #302b27;

  font-size: 28px;
  font-weight: 500;

  letter-spacing: 0.01em;
}

.fs-c-productPrice__addon {
  margin-left: 5px;

  color: #777;

  font-size: 12px;
}


/* ==========================================================
   10. ポイント
========================================================== */

.fs-c-productPointDisplay {
  display: inline-block;

  margin: 4px 0 20px;

  padding: 0;

  color: #59623f !important;
  background: transparent !important;

  border: 0 !important;

  box-shadow: none !important;

  font-size: 13px;
  font-weight: 400;
}

.fs-c-productPointDisplay__label,
.fs-c-productPointDisplay__quantity,
.fs-c-productPointDisplay__unit {
  color: inherit !important;
}


/* ==========================================================
   11. 商品選択肢
   置き配確認など
========================================================== */

.fs-c-productSelection {
  box-sizing: border-box;

  margin: 18px 0 22px;

  padding: 16px 18px;

  background: #f7f5f2;

  border: 1px solid #e7e2dd;
  border-radius: 4px;
}

.fs-c-productSelection__name {
  margin-bottom: 10px;

  color: #43372f;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.7;
}

.fs-c-productSelection__label {
  font-weight: 500;
}

.fs-c-productSelection .fs-c-requiredMark {
  margin-left: 5px;

  color: #9a3d35;

  font-size: 10px;
  font-weight: 500;
}

.fs-c-productSelection__selection {
  margin: 0;
}


/* ラジオ */

.fs-c-productSelection .fs-c-radio__label {
  color: #444;

  font-size: 14px;
  font-weight: 400;

  cursor: pointer;
}


/* ==========================================================
   12. 数量・お気に入り
========================================================== */

.fs-c-productQuantityAndWishlist {
  display: flex;

  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin: 20px 0 12px;
}


/* 数量 */

.fs-c-productQuantityAndWishlist__quantity {
  display: flex;

  align-items: center;
}

.fs-c-quantity__select,
.fs-c-quantity__number {
  box-sizing: border-box;

  min-width: 82px;
  height: 46px;

  padding: 0 12px;

  color: #333;
  background: #fff;

  border: 1px solid #cfcac4;
  border-radius: 3px;

  font-family: inherit;
  font-size: 15px;
}


/* お気に入り */

.fs-c-button--addToWishList--detail {
  min-height: 42px;

  padding: 8px 14px;

  color: #59623f !important;
  background: #fff !important;

  border: 1px solid #aab493 !important;
  border-radius: 3px;

  font-family: inherit;

  font-size: 13px;
  font-weight: 500;
}

.fs-c-button--addToWishList--detail:hover {
  background: #f3f5ed !important;
}


/* ==========================================================
   13. カートボタン
========================================================== */

.fs-c-productActionButton {
  margin-top: 12px;
}

.fs-c-button--addToCart--detail {
  box-sizing: border-box;

  width: 100%;
  min-height: 58px;

  padding: 14px 24px;

  color: #fff !important;
  background: #43372f !important;

  border: 1px solid #43372f !important;
  border-radius: 4px;

  font-family:
    "Zen Kaku Gothic New",
    "Yu Gothic",
    YuGothic,
    sans-serif;

  font-size: 17px;
  font-weight: 500;

  letter-spacing: 0.06em;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.fs-c-button--addToCart--detail:hover {
  background: #5b4b40 !important;
  border-color: #5b4b40 !important;
}

.fs-c-button--addToCart--detail .fs-c-button__label {
  color: #fff !important;
}


/* ==========================================================
   14. SNS
========================================================== */

.fs-p-snsArea {
  margin-top: 24px;
  padding-top: 18px;

  border-top: 1px solid #ebe8e3;
}


/* ==========================================================
   15. 商品レビュー
========================================================== */

.fs-c-productReview {
  margin-top: 30px;

  padding-top: 24px;

  border-top: 1px solid #e5e2de;

  font-family:
    "Zen Kaku Gothic New",
    "Yu Gothic",
    YuGothic,
    sans-serif;
}


/* 平均評価 */

.fs-c-productReview__aggregateRating {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 20px;
}

.fs-c-aggregateRating__rating {
  display: flex;

  align-items: center;

  gap: 7px;
}

.fs-c-aggregateRating__rating .fs-c-rating__value {
  color: #43372f;

  font-size: 20px;
  font-weight: 500;
}

.fs-c-aggregateRating__count {
  color: #777;

  font-size: 12px;
}


/* レビュー1件 */

.fs-c-reviewList--productDescription {
  margin: 0 0 18px;
}

.fs-c-reviewList--productDescription .fs-c-reviewList__item {
  box-sizing: border-box;

  padding: 18px;

  background: #faf9f7;

  border: 1px solid #ebe8e3;
  border-radius: 4px;
}


/* 投稿者 */

.fs-c-reviewInfo--productDescription {
  margin-bottom: 12px;

  color: #777;

  font-size: 12px;
}

.fs-c-reviewer__name__nickname {
  color: #43372f;

  font-size: 13px;
  font-weight: 500;
}


/* 本文 */

.fs-c-reviewList--productDescription .fs-c-reviewBody {
  color: #333;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.85;
  letter-spacing: 0.02em;
}


/* ==========================================================
   16. レビューボタン
========================================================== */

.fs-c-buttonContainer--viewAllReviews,
.fs-c-buttonContainer--addReview--detail {
  margin-top: 10px;
}

.fs-c-button--viewAllReviews,
.fs-c-button--addReview--detail {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;

  padding: 8px 18px;

  color: #43372f !important;
  background: #fff !important;

  border: 1px solid #bdb6af !important;
  border-radius: 3px;

  font-size: 13px;
  font-weight: 500;

  text-decoration: none;
}

.fs-c-button--viewAllReviews:hover,
.fs-c-button--addReview--detail:hover {
  background: #f7f5f2 !important;
}


/* ==========================================================
   17. 返品特約・問い合わせ
========================================================== */

.fs-c-returnedSpecialContract {
  margin-top: 20px;
}

.fs-c-returnedSpecialContract__link a {
  color: #666;

  font-size: 12px;

  text-decoration: underline;
  text-underline-offset: 3px;
}

.fs-c-inquiryAboutProduct {
  margin-top: 12px;
}

.fs-c-button--inquiryAboutProduct {
  color: #59623f !important;

  font-size: 13px;
}


/* ==========================================================
   18. スマートフォン
========================================================== */

@media screen and (max-width: 767px) {

  /* 商品番号 */

  .fs-c-productNumber {
    margin-top: 20px;
    margin-bottom: 7px;

    font-size: 11px;
  }


  /* キャッチコピー */

  .fs-c-productNameHeading__copy {
    margin-bottom: 7px;

    font-size: 12px;
    line-height: 1.65;
  }


  /* 商品名 */

  .fs-c-productNameHeading__name {
    font-size: 19px;

    line-height: 1.55;
  }


  /* 価格 */

  .fs-c-productPrices--productDetail {
    margin-top: 17px;
  }

  .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 26px;
  }


  /* 選択肢 */

  .fs-c-productSelection {
    margin: 16px 0 20px;

    padding: 14px;
  }

  .fs-c-productSelection__name {
    font-size: 12px;
  }


  /* 数量とお気に入り */

  .fs-c-productQuantityAndWishlist {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;
  }

  .fs-c-productQuantityAndWishlist__wishlist,
  .fs-c-productQuantityAndWishlist__quantity {
    width: 100%;
  }

  .fs-c-button--addToWishList--detail {
    box-sizing: border-box;

    width: 100%;

    min-height: 44px;
  }

  .fs-c-quantity__select,
  .fs-c-quantity__number {
    width: 100%;
    height: 48px;
  }


  /* カート */

  .fs-c-button--addToCart--detail {
    min-height: 58px;

    font-size: 16px;
  }


  /* SNS */

  .fs-p-snsArea {
    margin-top: 20px;
  }


  /* レビュー */

  .fs-c-productReview {
    margin-top: 26px;
    padding-top: 20px;
  }

  .fs-c-reviewList--productDescription .fs-c-reviewList__item {
    padding: 15px;
  }

  .fs-c-reviewList--productDescription .fs-c-reviewBody {
    font-size: 14px;

    line-height: 1.8;
  }


  /* レビュー導線 */

  .fs-c-button--viewAllReviews,
  .fs-c-button--addReview--detail {
    width: 100%;

    min-height: 44px;
  }
}

/* ==========================================================
   ここから：2列レイアウト最終統合CSS
========================================================== */

/* ==========================================================
   商品詳細ページ 2列レイアウト最終調整
   対象：FutureShop 商品詳細ページ 7311 / 7318 等
   方針：
   ・HTMLに存在する要素だけで構成
   ・商品説明文、特徴アイコン3つ、送料無料/ギフト対応行は追加しない
   ・左＝商品画像、右＝商品情報＋購入導線
   追記先：itemcart.css の末尾
========================================================== */

@media screen and (min-width: 960px) {

  /* 商品詳細全体：左画像／右商品情報の2列 */
  .fs-l-productLayout {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(440px, 1fr);
    column-gap: 32px;
    align-items: start;
  }

  .fs-l-productLayout__item--1,
  .fs-l-productLayout__item--2 {
    min-width: 0;
  }

  /* 左列：商品画像 */
  .fs-l-productLayout__item--1 {
    grid-column: 1;
  }

  .fs-c-productMainImage__image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee8e1;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(67, 55, 47, 0.06);
  }

  .fs-c-productMainImage__image img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  /* サブ画像：コンパクトな横並びグリッド */
  .fs-c-productThumbnail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding: 10px;
    background: #faf9f7;
    border: 1px solid #ebe8e3;
    border-radius: 12px;
    max-height: 130px;
    overflow-y: auto;
  }

  .fs-c-productThumbnail__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd6cf;
    border-radius: 8px;
    cursor: pointer;
  }

  .fs-c-productThumbnail__image.is-active {
    border-color: #8a9b59;
    box-shadow: 0 0 0 2px rgba(138, 155, 89, 0.18);
  }

  .fs-c-productThumbnail__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 右列：商品情報＋購入導線を1枚のカード化 */
  .fs-l-productLayout__item--2 {
    grid-column: 2;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    padding: 24px 26px;
    background: #fffdf9;
    border: 1px solid #e7ddd2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(67, 55, 47, 0.08);
  }

  /* 商品番号 */
  .fs-c-productNumber {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 5px 12px;
    color: #fff !important;
    background: #43372f !important;
    border: 1px solid #43372f !important;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 450 !important;
    line-height: 1.4;
  }

  .fs-c-productNumber__label,
  .fs-c-productNumber__number {
    color: #fff !important;
    font-weight: 450 !important;
  }

  /* 商品名 */
  .fs-c-productNameHeading {
    margin: 0 0 14px;
    color: #302b27;
    font-weight: 400 !important;
    line-height: 1.6;
  }

  .fs-c-productNameHeading__copy {
    display: block;
    margin-bottom: 8px;
    color: #71675f;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
  }

  .fs-c-productNameHeading__name {
    display: block;
    color: #302b27;
    font-size: 25px;
    font-weight: 400 !important;
    line-height: 1.45;
    letter-spacing: 0.01em;
  }

  /* 商品マーク */
  .fs-c-productMarks {
    margin: 0 0 16px;
  }

  .fs-c-productMark {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .fs-c-productMark__item {
    display: inline-flex;
    align-items: center;
  }

  .fs-c-productMark__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    color: #555;
    background: #fff;
    border: 1px solid #d6d0c8;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
  }

  /* 価格：税込表示を価格の横に寄せる */
  .fs-c-productPrices--productDetail {
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid #e8dfd6;
  }

  .fs-c-productPrice--selling {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 4px;
    color: #302b27;
    line-height: 1;
  }

  .fs-c-productPrice__main {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
  }

  .fs-c-productPrice--selling .fs-c-price__currencyMark {
    color: #302b27;
    font-size: 22px;
    font-weight: 600;
  }

  .fs-c-productPrice--selling .fs-c-price__value {
    color: #302b27;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .fs-c-productPrice__addon {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    padding: 4px 9px;
    color: #71675f;
    background: #f6f1eb;
    border: 1px solid #e4d8ce;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    transform: translateY(-3px);
  }

  /* ポイント */
  .fs-c-productPointDisplay {
    display: block;
    margin: 6px 0 14px;
    padding: 0;
    color: #59623f !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 500;
  }

  .fs-c-productPointDisplay__label,
  .fs-c-productPointDisplay__quantity,
  .fs-c-productPointDisplay__unit {
    color: inherit !important;
  }

  /* 置き配確認 */
  .fs-c-productSelection {
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 13px 14px;
    background: #fff8e8;
    border: 1px solid #ead6ba;
    border-left: 5px solid #8a9b59;
    border-radius: 10px;
  }

  .fs-c-productSelection__name {
    margin-bottom: 9px;
    color: #43372f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
  }

  .fs-c-productSelection .fs-c-requiredMark {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 7px;
    color: #fff;
    background: #b83a2f;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
  }

  .fs-c-productSelection__selection {
    margin: 0;
  }

  .fs-c-productSelection .fs-c-radio__label {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    color: #333;
    background: #fff;
    border: 1px solid #d7d0c8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .fs-c-productSelection .fs-c-radio__label:hover {
    background: #f7f5f2;
    border-color: #b7b0a9;
  }

  /* 数量・お気に入り */
  .fs-c-productQuantityAndWishlist {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    margin: 0 0 12px;
  }

  .fs-c-productQuantityAndWishlist__quantity {
    order: 1;
    display: block;
    width: 100%;
  }

  .fs-c-productQuantityAndWishlist__wishlist {
    order: 2;
    display: block;
    width: 100%;
  }

  .fs-c-productQuantityAndWishlist__quantity::before {
    content: "数量";
    display: block;
    margin-bottom: 5px;
    color: #43372f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
  }

  .fs-c-quantity__select,
  .fs-c-quantity__number {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 10px;
    color: #333;
    background: #fff;
    border: 1px solid #cfc7bf;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
  }

  .fs-c-button--addToWishList--detail {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    color: #59623f !important;
    background: #fff !important;
    border: 1px solid #aab493 !important;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
  }

  .fs-c-button--addToWishList--detail:hover {
    background: #f3f5ed !important;
  }

  /* カートボタン：赤 */
  .fs-c-productActionButton {
    margin: 0;
  }

  .fs-c-button--addToCart--detail {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 15px 22px;
    color: #fff !important;
    background: #b83a2f !important;
    border: 1px solid #b83a2f !important;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(184, 58, 47, 0.24);
    font-family:
      "Zen Kaku Gothic New",
      "Yu Gothic",
      YuGothic,
      "Hiragino Kaku Gothic ProN",
      Meiryo,
      sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.15s ease,
      box-shadow 0.2s ease;
  }

  .fs-c-button--addToCart--detail:hover {
    background: #9f3028 !important;
    border-color: #9f3028 !important;
    box-shadow: 0 8px 20px rgba(184, 58, 47, 0.3);
    transform: translateY(-1px);
  }

  .fs-c-button--addToCart--detail .fs-c-button__label {
    color: #fff !important;
  }

  /* SNS・レビュー */
  .fs-p-snsArea {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ebe8e3;
  }

  .fs-c-productReview {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e2de;
  }
}

/* タブレット以下は1列 */
@media screen and (max-width: 959px) {
  .fs-l-productLayout {
    display: block;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {

  .fs-l-productLayout__item--2 {
    padding: 18px 14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fs-c-productNameHeading__name {
    font-size: 19px;
    line-height: 1.55;
  }

  .fs-c-productPrice--selling {
    display: flex;
    align-items: baseline;
    column-gap: 8px;
  }

  .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 30px;
  }

  .fs-c-productSelection {
    margin: 16px 0 18px;
    padding: 14px;
    border-radius: 8px;
  }

  .fs-c-productQuantityAndWishlist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0 12px;
  }

  .fs-c-productQuantityAndWishlist__quantity,
  .fs-c-productQuantityAndWishlist__wishlist {
    width: 100%;
  }

  .fs-c-button--addToWishList--detail {
    min-height: 46px;
  }

  .fs-c-productActionButton {
    margin: 10px 0 0;
  }

  .fs-c-button--addToCart--detail {
    min-height: 60px;
    font-size: 17px;
    border-radius: 9px;
  }

  .fs-c-productThumbnail {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 2px 12px;
    background: transparent;
    border: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .fs-c-productThumbnail__image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    scroll-snap-align: start;
  }
}

/* ==========================================================
   修正版：価格下レビュー表示の整理
   問題：
   ・商品レビュー部品全体を価格下に移動すると、レビュー本文や投稿日まで入ってしまう
   方針：
   ・価格下には「商品レビュー」「評価点」「レビュー件数」だけを表示
   ・レビュー本文、投稿日、投稿者、レビューを書くボタンは購入導線内では非表示
   ・HTMLは変更しない
========================================================== */

@media screen and (min-width: 960px) {

  /* 表示順 */
  .fs-c-productNumber {
    order: 10;
  }

  .fs-c-productNameHeading {
    order: 20;
  }

  .fs-c-productMarks {
    order: 30;
  }

  .fs-c-productPrices--productDetail {
    order: 40;
  }

  /* レビューは価格直下に、評価サマリーだけ表示 */
  .fs-c-productReview {
    order: 45;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 8px 0 14px;
    padding: 10px 0 14px;
    background: transparent;
    border-top: 0;
    border-bottom: 1px solid #e8dfd6;
  }

  .fs-c-productReview::before {
    content: "商品レビュー";
    display: inline-flex;
    align-items: center;
    color: #43372f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }

  .fs-c-productReview__aggregateRating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
  }

  .fs-c-aggregateRating__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .fs-c-aggregateRating__rating .fs-c-rating__value {
    color: #43372f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .fs-c-aggregateRating__count {
    color: #71675f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
  }

  .fs-c-aggregateRating__count::before {
    content: "（";
  }

  .fs-c-aggregateRating__count::after {
    content: "件）";
  }

  /* 価格下ではレビュー本文・投稿者・投稿日・ボタンは出さない */
  .fs-c-productReview__reviewList,
  .fs-c-reviewList--productDescription,
  .fs-c-productReview__allReviews,
  .fs-c-productReview__addReview,
  .fs-c-buttonContainer--viewAllReviews,
  .fs-c-buttonContainer--addReview--detail {
    display: none !important;
  }

  .fs-c-productPointDisplay {
    order: 50;
  }

  .fs-c-productSelection {
    order: 60;
  }

  .fs-c-productQuantityAndWishlist {
    order: 70;
  }

  .fs-c-productActionButton {
    order: 80;
  }

  .fs-p-snsArea {
    order: 90;
  }
}

/* スマホはレビューを縦に伸ばしすぎない */
@media screen and (max-width: 767px) {

  .fs-c-productReview {
    margin-top: 14px;
    padding-top: 14px;
  }

  .fs-c-productReview__reviewList,
  .fs-c-reviewList--productDescription {
    display: none !important;
  }
}
