/* ==========================================================
   FutureShop 商品詳細ページ UI改善
   7311等の商品詳細ページ用

   方針
   ・既存の商品画像サイズを極端に変更しない
   ・商品情報の視認性を改善
   ・購入操作を明確化
   ・レビューを読みやすく
   ・FutureShopの機能を変更しない
========================================================== */


/* ==========================================================
   1. 商品詳細全体
========================================================== */

:where(.fs-body-product) .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) {

  :where(.fs-body-product) .fs-l-productLayout {
    column-gap: 48px;
  }
}


/* ==========================================================
   3. メイン商品画像
   元画像の比率を維持
========================================================== */

:where(.fs-body-product) .fs-c-productMainImage__image {
  overflow: hidden;

  background: #fff;

  border-radius: 4px;
}

:where(.fs-body-product) .fs-c-productMainImage__image img {
  display: block;

  width: 100%;
  height: auto;

  margin: 0 auto;
}


/* ==========================================================
   4. 画像拡大
========================================================== */

:where(.fs-body-product) .fs-c-productMainImage__expandButton {
  margin-top: 10px;

  text-align: center;
}

:where(.fs-body-product) .fs-c-button--viewExtendedImage {
  color: #666;

  font-size: 12px;

  text-decoration: none;
}

:where(.fs-body-product) .fs-c-button--viewExtendedImage:hover {
  color: #43372f;
}


/* ==========================================================
   5. サムネイル
========================================================== */

:where(.fs-body-product) .fs-c-productThumbnail {
  margin-top: 14px;
}

:where(.fs-body-product) .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;
}

:where(.fs-body-product) .fs-c-productThumbnail__image:hover {
  border-color: #b7b0a9;
}

:where(.fs-body-product) .fs-c-productThumbnail__image.is-active {
  border-color: #8a9b59;
}


/* ==========================================================
   6. 商品番号
========================================================== */

:where(.fs-body-product) .fs-c-productNumber {
  margin-bottom: 8px;

  color: #888;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

:where(.fs-body-product) .fs-c-productNumber__label,
:where(.fs-body-product) .fs-c-productNumber__number {
  font-weight: 400;
}


/* ==========================================================
   7. 商品名
========================================================== */

:where(.fs-body-product) .fs-c-productNameHeading {
  margin: 0 0 18px;

  color: #333;

  font-weight: 400;

  line-height: 1.65;
}


/* キャッチコピー */

:where(.fs-body-product) .fs-c-productNameHeading__copy {
  display: block;

  margin-bottom: 8px;

  color: #71675f;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.7;
}


/* 商品名 */

:where(.fs-body-product) .fs-c-productNameHeading__name {
  display: block;

  color: #302b27;

  font-size: 22px;
  font-weight: 500;

  line-height: 1.6;
  letter-spacing: 0.015em;
}


/* ==========================================================
   8. 商品マーク
========================================================== */

:where(.fs-body-product) .fs-c-productMarks {
  margin: 14px 0;
}

:where(.fs-body-product) .fs-c-productMark {
  display: flex;

  flex-wrap: wrap;
  align-items: center;

  gap: 6px 8px;
}

:where(.fs-body-product) .fs-c-productMark__label {
  color: #666;

  font-size: 11px;
  font-weight: 400;
}


/* ==========================================================
   9. 価格
========================================================== */

:where(.fs-body-product) .fs-c-productPrices--productDetail {
  margin: 20px 0 6px;
}

:where(.fs-body-product) .fs-c-productPrice--selling {
  color: #302b27;
}

:where(.fs-body-product) .fs-c-productPrice--selling .fs-c-price__currencyMark {
  font-size: 17px;
  font-weight: 500;
}

:where(.fs-body-product) .fs-c-productPrice--selling .fs-c-price__value {
  color: #302b27;

  font-size: 28px;
  font-weight: 500;

  letter-spacing: 0.01em;
}

:where(.fs-body-product) .fs-c-productPrice__addon {
  margin-left: 5px;

  color: #777;

  font-size: 12px;
}


/* ==========================================================
   10. ポイント
========================================================== */

:where(.fs-body-product) .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;
}

:where(.fs-body-product) .fs-c-productPointDisplay__label,
:where(.fs-body-product) .fs-c-productPointDisplay__quantity,
:where(.fs-body-product) .fs-c-productPointDisplay__unit {
  color: inherit !important;
}


/* ==========================================================
   11. 商品選択肢
   置き配確認など
========================================================== */

:where(.fs-body-product) .fs-c-productSelection {
  box-sizing: border-box;

  margin: 18px 0 22px;

  padding: 16px 18px;

  background: #f7f5f2;

  border: 1px solid #e7e2dd;
  border-radius: 4px;
}

:where(.fs-body-product) .fs-c-productSelection__name {
  margin-bottom: 10px;

  color: #43372f;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.7;
}

:where(.fs-body-product) .fs-c-productSelection__label {
  font-weight: 500;
}

:where(.fs-body-product) .fs-c-productSelection .fs-c-requiredMark {
  margin-left: 5px;

  color: #9a3d35;

  font-size: 10px;
  font-weight: 500;
}

:where(.fs-body-product) .fs-c-productSelection__selection {
  margin: 0;
}


/* ラジオ */

:where(.fs-body-product) .fs-c-productSelection .fs-c-radio__label {
  color: #444;

  font-size: 14px;
  font-weight: 400;

  cursor: pointer;
}


/* ==========================================================
   12. 数量・お気に入り
========================================================== */




/* 数量 */






/* お気に入り */






/* ==========================================================
   13. カートボタン
========================================================== */

:where(.fs-body-product) .fs-c-productActionButton {
  margin-top: 12px;
}

:where(.fs-body-product) .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;
}

:where(.fs-body-product) .fs-c-button--addToCart--detail:hover {
  background: #5b4b40 !important;
  border-color: #5b4b40 !important;
}

:where(.fs-body-product) .fs-c-button--addToCart--detail .fs-c-button__label {
  color: #fff !important;
}


/* ==========================================================
   14. SNS
========================================================== */

:where(.fs-body-product) .fs-p-snsArea {
  margin-top: 24px;
  padding-top: 18px;

  border-top: 1px solid #ebe8e3;
}


/* ==========================================================
   15. 商品レビュー
========================================================== */

:where(.fs-body-product) .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;
}


/* 平均評価 */

:where(.fs-body-product) .fs-c-productReview__aggregateRating {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 20px;
}

:where(.fs-body-product) .fs-c-aggregateRating__rating {
  display: flex;

  align-items: center;

  gap: 7px;
}

:where(.fs-body-product) .fs-c-aggregateRating__rating .fs-c-rating__value {
  color: #43372f;

  font-size: 20px;
  font-weight: 500;
}

:where(.fs-body-product) .fs-c-aggregateRating__count {
  color: #777;

  font-size: 12px;
}


/* レビュー1件 */

:where(.fs-body-product) .fs-c-reviewList--productDescription {
  margin: 0 0 18px;
}

:where(.fs-body-product) .fs-c-reviewList--productDescription .fs-c-reviewList__item {
  box-sizing: border-box;

  padding: 18px;

  background: #faf9f7;

  border: 1px solid #ebe8e3;
  border-radius: 4px;
}


/* 投稿者 */

:where(.fs-body-product) .fs-c-reviewInfo--productDescription {
  margin-bottom: 12px;

  color: #777;

  font-size: 12px;
}

:where(.fs-body-product) .fs-c-reviewer__name__nickname {
  color: #43372f;

  font-size: 13px;
  font-weight: 500;
}


/* 本文 */

:where(.fs-body-product) .fs-c-reviewList--productDescription .fs-c-reviewBody {
  color: #333;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.85;
  letter-spacing: 0.02em;
}


/* ==========================================================
   16. レビューボタン
========================================================== */

:where(.fs-body-product) .fs-c-buttonContainer--viewAllReviews,
:where(.fs-body-product) .fs-c-buttonContainer--addReview--detail {
  margin-top: 10px;
}

:where(.fs-body-product) .fs-c-button--viewAllReviews,
:where(.fs-body-product) .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;
}

:where(.fs-body-product) .fs-c-button--viewAllReviews:hover,
:where(.fs-body-product) .fs-c-button--addReview--detail:hover {
  background: #f7f5f2 !important;
}


/* ==========================================================
   17. 返品特約・問い合わせ
========================================================== */

:where(.fs-body-product) .fs-c-returnedSpecialContract {
  margin-top: 20px;
}

:where(.fs-body-product) .fs-c-returnedSpecialContract__link a {
  color: #666;

  font-size: 12px;

  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.fs-body-product) .fs-c-inquiryAboutProduct {
  margin-top: 12px;
}

:where(.fs-body-product) .fs-c-button--inquiryAboutProduct {
  color: #59623f !important;

  font-size: 13px;
}


/* ==========================================================
   18. スマートフォン
========================================================== */

@media screen and (max-width: 767px) {

  /* 商品番号 */

  :where(.fs-body-product) .fs-c-productNumber {
    margin-top: 20px;
    margin-bottom: 7px;

    font-size: 11px;
  }


  /* キャッチコピー */

  :where(.fs-body-product) .fs-c-productNameHeading__copy {
    margin-bottom: 7px;

    font-size: 12px;
    line-height: 1.65;
  }


  /* 商品名 */

  :where(.fs-body-product) .fs-c-productNameHeading__name {
    font-size: 19px;

    line-height: 1.55;
  }


  /* 価格 */

  :where(.fs-body-product) .fs-c-productPrices--productDetail {
    margin-top: 17px;
  }

  :where(.fs-body-product) .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 26px;
  }


  /* 選択肢 */

  :where(.fs-body-product) .fs-c-productSelection {
    margin: 16px 0 20px;

    padding: 14px;
  }

  :where(.fs-body-product) .fs-c-productSelection__name {
    font-size: 12px;
  }


  /* 数量とお気に入り */










  /* カート */

  :where(.fs-body-product) .fs-c-button--addToCart--detail {
    min-height: 58px;

    font-size: 16px;
  }


  /* SNS */

  :where(.fs-body-product) .fs-p-snsArea {
    margin-top: 20px;
  }


  /* レビュー */

  :where(.fs-body-product) .fs-c-productReview {
    margin-top: 26px;
    padding-top: 20px;
  }

  :where(.fs-body-product) .fs-c-reviewList--productDescription .fs-c-reviewList__item {
    padding: 15px;
  }

  :where(.fs-body-product) .fs-c-reviewList--productDescription .fs-c-reviewBody {
    font-size: 14px;

    line-height: 1.8;
  }


  /* レビュー導線 */

  :where(.fs-body-product) .fs-c-button--viewAllReviews,
  :where(.fs-body-product) .fs-c-button--addReview--detail {
    width: 100%;

    min-height: 44px;
  }
}

/* ==========================================================
   商品詳細ページ レスポンシブ最終調整
   対象：FutureShop 商品詳細ページ 7311 / 7318 等
   方針：
   ・PC：左＝画像、右＝商品情報＋購入導線
   ・タブレット／スマホ：1列表示
   ・おすすめ商品、商品一覧、関連商品には影響させない
   ・SNSはHTML側で「商品についてのお問い合わせ」の下へ移動する前提
========================================================== */

/* ------------------------------------------
   PC：960px以上
------------------------------------------ */
@media screen and (min-width: 960px) {

  .fs-body-product .fs-l-productLayout.fs-system-product {
    display: grid !important;
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 520px);
    column-gap: 34px;
    align-items: start;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    box-sizing: border-box;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    float: none !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 {
    grid-column: 1;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    grid-column: 2;
    padding: 24px 26px;
    background: #fffdf9;
    border: 1px solid #e7ddd2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(67, 55, 47, 0.08);
  }

  /* メイン画像 */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productMainImage__image img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  /* サブ画像：横スクロール、縦横同サイズ */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail {
    --guricha-thumb-size: 94px;

    box-sizing: border-box;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--guricha-thumb-size);
    grid-template-rows: var(--guricha-thumb-size);
    gap: 10px;

    width: 100%;
    max-height: calc(var(--guricha-thumb-size) + 22px);
    margin-top: 14px;
    padding: 10px;

    background: #faf9f7;
    border: 1px solid #ebe8e3;
    border-radius: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    box-sizing: border-box;
    display: block;
    width: var(--guricha-thumb-size);
    height: var(--guricha-thumb-size);
    aspect-ratio: 1 / 1;
    margin: 0;

    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd6cf;
    border-radius: 8px;
    cursor: pointer;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image.is-active {
    border-color: #8a9b59;
    box-shadow: 0 0 0 2px rgba(138, 155, 89, 0.18);
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  /* 商品番号 */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber {
    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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__label,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__number {
    color: #fff !important;
    font-weight: 450 !important;
  }

  /* 商品名 */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNameHeading {
    margin: 0 0 14px;
    color: #302b27;
    font-weight: 400 !important;
    line-height: 1.6;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNameHeading__copy {
    display: block;
    margin-bottom: 8px;
    color: #71675f;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNameHeading__name {
    display: block;
    color: #302b27;
    font-size: 25px;
    font-weight: 400 !important;
    line-height: 1.45;
    letter-spacing: 0.01em;
  }

  /* 商品マーク */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productMarks {
    margin: 0 0 16px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productMark {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrices--productDetail {
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid #e8dfd6;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 4px;
    color: #302b27;
    line-height: 1;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__main {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__currencyMark {
    color: #302b27;
    font-size: 22px;
    font-weight: 600;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__value {
    color: #302b27;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    margin: 8px 0 14px;
    padding: 10px 0 14px;
    background: transparent;
    border-top: 0;
    border-bottom: 1px solid #e8dfd6;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview::before {
    content: "商品レビュー";
    color: #43372f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview__aggregateRating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-aggregateRating__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-aggregateRating__rating .fs-c-rating__value {
    color: #43372f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-aggregateRating__count {
    color: #71675f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-aggregateRating__count::before {
    content: "（";
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-aggregateRating__count::after {
    content: "件）";
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview__reviewList,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-reviewList--productDescription,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview__addReview,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-buttonContainer--addReview--detail {
    display: none !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productReview__allReviews,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-buttonContainer--viewAllReviews {
    display: block !important;
    grid-column: 1 / -1;
    margin: 2px 0 0;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--viewAllReviews {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 0;
    color: #59623f !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ポイント */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPointDisplay {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    color: #59623f !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 500;
  }

  /* 置き配確認 */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productSelection__name {
    margin-bottom: 9px;
    color: #43372f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productActionButton {
    margin: 0;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToCart--detail:hover {
    background: #9f3028 !important;
    border-color: #9f3028 !important;
  }

  /* SNS：HTMLを問い合わせ下へ移動した場合の見た目 */
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-p-snsArea {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ebe8e3;
  }
}

/* ------------------------------------------
   タブレット：768pxから959px
------------------------------------------ */
@media screen and (min-width: 768px) and (max-width: 959px) {

  .fs-body-product .fs-l-productLayout.fs-system-product {
    display: block !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    margin-top: 24px;
    padding: 22px;
    background: #fffdf9;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    margin-top: 12px;
    padding: 8px 2px 12px;
    background: transparent;
    border: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }
}

/* ------------------------------------------
   スマホ：767px以下
------------------------------------------ */
@media screen and (max-width: 767px) {

  .fs-body-product .fs-l-productLayout.fs-system-product {
    display: block !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
    margin-top: 20px;
    padding: 18px 14px;
    background: #fffdf9;
    border-top: 1px solid #e7ddd2;
    border-bottom: 1px solid #e7ddd2;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNameHeading__name {
    font-size: 19px;
    line-height: 1.55;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 30px;
  }



  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    scroll-snap-align: start;
  }
}

/* 商品詳細フォームと本文ブロックの間隔 */
.fs-body-product #fs_form + .product_comment-5,
.fs-body-product .product_comment-5 {
  margin-top: 48px;
}

@media screen and (max-width: 767px) {
  .fs-body-product #fs_form + .product_comment-5,
  .fs-body-product .product_comment-5 {
    margin-top: 36px;
  }
}

/* ==========================================================
   スマホ表示 修正追加
   目的：
   ・スマホでもカートボタンをPCと同じ赤に統一
   ・お気に入り、商品番号、置き配確認の見た目もPC/SPで揃える
   ・商品詳細エリアのみに限定
========================================================== */

/* 全画面共通：カートボタンの色を赤に固定 */
.fs-body-product .fs-l-productLayout.fs-system-product .fs-c-button--addToCart--detail {
  color: #fff !important;
  background: #b83a2f !important;
  border-color: #b83a2f !important;
  box-shadow: 0 6px 16px rgba(184, 58, 47, 0.24);
}

.fs-body-product .fs-l-productLayout.fs-system-product .fs-c-button--addToCart--detail:hover {
  background: #9f3028 !important;
  border-color: #9f3028 !important;
  box-shadow: 0 8px 20px rgba(184, 58, 47, 0.30);
}

.fs-body-product .fs-l-productLayout.fs-system-product .fs-c-button--addToCart--detail .fs-c-button__label {
  color: #fff !important;
  font-weight: 800;
}

/* スマホ・タブレット共通 */
@media screen and (max-width: 959px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber {
    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-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__label,
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__number {
    color: #fff !important;
    font-weight: 450 !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productSelection {
    box-sizing: border-box;
    margin: 16px 0 18px;
    padding: 14px;
    background: #fff8e8;
    border: 1px solid #ead6ba;
    border-left: 5px solid #8a9b59;
    border-radius: 10px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .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;
  }


}

/* スマホ専用：ボタンサイズと余白 */
@media screen and (max-width: 767px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productActionButton {
    margin: 10px 0 0;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToCart--detail {
    min-height: 60px;
    padding: 15px 20px;
    color: #fff !important;
    background: #b83a2f !important;
    border-color: #b83a2f !important;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 30px;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__addon {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    padding: 3px 8px;
    color: #71675f;
    background: #f6f1eb;
    border: 1px solid #e4d8ce;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    transform: translateY(-2px);
  }
}

/* ==========================================================
   追加修正：サブ画像を2段表示に変更
   目的：
   ・サブ画像が1列横並びで長くなりすぎる問題を改善
   ・PC / タブレット / スマホすべてで2段表示
   ・横スクロールは維持
   ・商品詳細エリアのサブ画像だけに限定
========================================================== */

/* PC：サムネイル94px × 2段 */
@media screen and (min-width: 960px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail {
    --guricha-thumb-size: 94px;
    --guricha-thumb-gap: 10px;
    --guricha-thumb-padding: 10px;

    box-sizing: border-box;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: var(--guricha-thumb-size);
    grid-template-rows: repeat(2, var(--guricha-thumb-size));
    gap: var(--guricha-thumb-gap);

    width: 100%;
    max-height: calc((var(--guricha-thumb-size) * 2) + var(--guricha-thumb-gap) + (var(--guricha-thumb-padding) * 2));
    margin-top: 14px;
    padding: var(--guricha-thumb-padding);

    background: #faf9f7;
    border: 1px solid #ebe8e3;
    border-radius: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    box-sizing: border-box;
    display: block;
    width: var(--guricha-thumb-size);
    height: var(--guricha-thumb-size);
    aspect-ratio: 1 / 1;
    margin: 0;
  }
}

/* タブレット：サムネイル84px × 2段 */
@media screen and (min-width: 768px) and (max-width: 959px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail {
    --guricha-thumb-size: 84px;
    --guricha-thumb-gap: 9px;
    --guricha-thumb-padding: 8px;

    box-sizing: border-box;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: var(--guricha-thumb-size);
    grid-template-rows: repeat(2, var(--guricha-thumb-size));
    gap: var(--guricha-thumb-gap);

    width: 100%;
    max-height: calc((var(--guricha-thumb-size) * 2) + var(--guricha-thumb-gap) + (var(--guricha-thumb-padding) * 2));
    margin-top: 12px;
    padding: var(--guricha-thumb-padding);

    background: #faf9f7;
    border: 1px solid #ebe8e3;
    border-radius: 12px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    box-sizing: border-box;
    display: block;
    width: var(--guricha-thumb-size);
    height: var(--guricha-thumb-size);
    flex: none;
    aspect-ratio: 1 / 1;
    margin: 0;
  }
}

/* スマホ：サムネイル72px × 2段 */
@media screen and (max-width: 767px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail {
    --guricha-thumb-size: 72px;
    --guricha-thumb-gap: 8px;
    --guricha-thumb-padding: 6px;

    box-sizing: border-box;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: var(--guricha-thumb-size);
    grid-template-rows: repeat(2, var(--guricha-thumb-size));
    gap: var(--guricha-thumb-gap);

    width: 100%;
    max-height: calc((var(--guricha-thumb-size) * 2) + var(--guricha-thumb-gap) + (var(--guricha-thumb-padding) * 2));
    margin-top: 12px;
    padding: var(--guricha-thumb-padding) 2px 10px;

    background: transparent;
    border: 0;
    border-radius: 0;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--1 .fs-c-productThumbnail__image {
    box-sizing: border-box;
    display: block;
    width: var(--guricha-thumb-size);
    height: var(--guricha-thumb-size);
    flex: none;
    aspect-ratio: 1 / 1;
    margin: 0;
    scroll-snap-align: start;
  }
}

/* ==========================================================
   追加修正：商品番号数字の強調・スマホ価格税込表示のズレ修正
   目的：
   ・商品番号の数字だけ少し大きくする
   ・スマホで価格と税込ラベルが上下/左右にズレないよう整列する
   ・商品詳細エリアだけに限定
========================================================== */

/* 商品番号：数字だけ大きく */
.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber {
  align-items: baseline;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__label {
  font-size: 12px !important;
  line-height: 1.2;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productNumber__number {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* PC/タブレット/スマホ共通：価格と税込を同一行で揃える */
.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  column-gap: 8px;
  row-gap: 0;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__main {
  display: inline-flex !important;
  align-items: baseline !important;
  flex: 0 0 auto;
  white-space: nowrap !important;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__addon {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
  margin-left: 0 !important;
  white-space: nowrap !important;
  transform: none !important;
  position: relative;
  top: -3px;
}

/* スマホ：価格と税込のズレをさらに抑える */
@media screen and (max-width: 767px) {

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    column-gap: 7px;
    width: 100%;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__main {
    display: inline-flex !important;
    align-items: baseline !important;
    white-space: nowrap !important;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__currencyMark {
    font-size: 18px !important;
    line-height: 1;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice--selling .fs-c-price__value {
    font-size: 30px !important;
    line-height: 1;
  }

  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productPrice__addon {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap !important;
    transform: none !important;
    position: relative;
    top: -3px;
  }
}


/* ==========================================================
   商品詳細：数量 → カート → お気に入り
   添付HTMLの入れ子を維持し、CSSで表示順を調整。
   数量のselect/input切替と非表示状態はFutureShopに任せる。
========================================================== */
.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 {
  display: flex;
  flex-direction: column;
}

/* inline-flexの商品番号が横幅いっぱいに伸びないよう維持 */
.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 > .fs-c-productNumber {
  align-self: flex-start;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 > .fs-c-productQuantityAndWishlist {
  display: contents;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 > .fs-c-productQuantityAndWishlist ~ * {
  order: 4;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity {
  order: 1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(100px, 140px);
  align-items: center;
  justify-content: start;
  gap: 8px 16px;
  width: 100%;
  margin: 18px 0 16px;
  padding: 14px 16px;
  background: #f7f5f0;
  border: 1px solid #e5ded4;
  border-radius: 8px;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity::before {
  content: "数量";
  color: #43372f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity .fs-c-quantity__select,
.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity .fs-c-quantity__number {
  box-sizing: border-box;
  grid-column: 2;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 8px 12px;
  color: #302b27;
  background-color: #fff;
  border: 1px solid #a99e8f;
  border-radius: 5px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity :is(select, input):focus-visible {
  outline: 2px solid #59623f;
  outline-offset: 3px;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity .fs-c-quantity__message {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.6;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity .fs-c-quantity__message:empty {
  display: none;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 > .fs-c-productActionButton {
  order: 2;
  width: 100%;
  margin: 0;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__wishlist {
  order: 3;
  width: 100%;
  margin: 12px 0 0;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToWishList--detail {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #59623f !important;
  background: #fff !important;
  border: 1px solid #aab493 !important;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToWishList--detail .fs-c-button__label {
  color: inherit;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToWishList--detail:hover {
  background: #f1f4ea !important;
}

.fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-button--addToWishList--detail:focus-visible {
  outline: 2px solid #59623f;
  outline-offset: 3px;
}

@media screen and (max-width: 640px) {
  .fs-body-product .fs-l-productLayout.fs-system-product > .fs-l-productLayout__item--2 .fs-c-productQuantityAndWishlist__quantity {
    grid-template-columns: auto minmax(90px, 1fr);
    padding: 12px;
    gap: 8px 14px;
  }
}


/* ==========================================================
   カートページ
   PCのカラム幅・間隔、カルーセルの配列はFutureShop標準に委ねる。
   900px以下の縦積み、640px以下の1商品＝1カードは元の方針を維持。
   おすすめ画像：PC 150px / タブレット 140px / スマホ 120px。
========================================================== */

/* ==========================================================
   カート：おすすめ商品（基本設定）
========================================================== */

#fs_ShoppingCart .fs-c-featuredProduct {
  margin-top: 32px;
  margin-bottom: 32px;
}


/* タイトル */

#fs_ShoppingCart .fs-c-featuredProduct__title {
  color: #43372f;

  font-size: 19px;
  font-weight: 500;

  line-height: 1.6;
}


/* ==========================================================
   3. おすすめ商品画像
========================================================== */

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productListItem__imageContainer {
  text-align: center;
}


/* 画像領域 */

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productListItem__image {
  width: 100%;
  max-width: 150px;
  height: auto;

  margin-left: auto;
  margin-right: auto;
}


/* 実画像 */

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productListItem__image__image {
  display: block;

  width: 100%;
  max-width: 150px;
  height: auto;

  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================
   4. おすすめ商品価格
========================================================== */

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productListItem__prices {
  margin-top: 10px;

  text-align: center;
}

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productPrice__main__price {
  color: #43372f;

  font-size: 14px;
  font-weight: 500;
}

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productPrice__addon {
  font-size: 10px;
}


/* ==========================================================
   5. おすすめ商品 お気に入り
========================================================== */

#fs_ShoppingCart
.fs-c-featuredProduct
.fs-c-productListItem__control {
  margin-top: 8px;

  text-align: center;
}

/* カート：タブレット以下 */
@media screen and (max-width: 900px) {

  #fs_ShoppingCart .fs-l-cart__contentsArea {
    display: block;
  }

  #fs_ShoppingCart .fs-l-cart__mainColumn,
  #fs_ShoppingCart .fs-l-cart__sideColumn {
    width: 100%;
    max-width: none;
  }



  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__image,
  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__image__image {
    max-width: 140px;
  }
}

/* カート：スマートフォン */
@media screen and (max-width: 640px) {

  /* --------------------------------------------------------
     ページタイトル
  -------------------------------------------------------- */

  #fs_ShoppingCart .fs-c-heading--page {
    margin-bottom: 22px;

    font-size: 23px;
    line-height: 1.5;
  }


  /* --------------------------------------------------------
     カート全体
  -------------------------------------------------------- */

  #fs_ShoppingCart .fs-l-cart {
    width: 100%;
  }

  #fs_ShoppingCart .fs-l-cart__contentsArea {
    width: 100%;
  }


  /* --------------------------------------------------------
     上部 送料・決済案内
  -------------------------------------------------------- */

  #fs_ShoppingCart #bk4259 {
    margin-bottom: 22px;
  }

  #fs_ShoppingCart #bk4259 .g-column {
    display: block;
  }

  #fs_ShoppingCart #bk4259 .column {
    width: 100%;

    margin-bottom: 10px;
  }

  #fs_ShoppingCart #bk4259 img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 0 auto;
  }


  /* --------------------------------------------------------
     おすすめ商品
     FutureShopカルーセル構造は変更しない
  -------------------------------------------------------- */

  #fs_ShoppingCart .fs-c-featuredProduct {
    margin: 24px 0 26px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct__title {
    font-size: 17px;
  }


  /* --------------------------------------------------------
     出荷予定
  -------------------------------------------------------- */

  #fs_ShoppingCart .guricha-shipping-frame-wrap {
    width: 100%;
    max-width: 350px;

    margin: 10px auto 22px;
  }

  #fs_ShoppingCart .guricha-shipping-frame {
    display: block;

    width: 100%;
    max-width: 100%;
  }


  /* ========================================================
     商品テーブル
     スマホでは1商品＝1カード
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartTableContainer {
    background: transparent;

    border: 0;
    border-radius: 0;

    overflow: visible;
  }

  #fs_ShoppingCart .fs-c-cartTable,
  #fs_ShoppingCart .fs-c-cartTable tbody {
    display: block;

    width: 100%;
  }


  /* PC用見出しを非表示 */

  #fs_ShoppingCart .fs-c-cartTable thead {
    display: none;
  }


  /* 商品1件 */

  #fs_ShoppingCart .fs-c-cartTable__row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    width: 100%;

    margin-bottom: 16px;

    background: #fff;

    border: 1px solid #e5e2de;
    border-radius: 4px;

    overflow: hidden;
  }


  /* 各セル */

  #fs_ShoppingCart .fs-c-cartTable__dataCell {
    display: block;

    box-sizing: border-box;

    width: auto;

    padding: 12px 14px;

    border: 0;

    font-size: 13px;
  }


  /* --------------------------------------------------------
     商品情報
     ここだけカード横幅いっぱい
  -------------------------------------------------------- */

  #fs_ShoppingCart .fs-c-cartTable__dataCell--product {
    grid-column: 1 / -1;

    padding: 16px;

    border-bottom: 1px solid #ebe8e3;
  }

  #fs_ShoppingCart .fs-c-cartTable__product {
    display: flex;

    align-items: flex-start;

    gap: 13px;
  }


  /* 商品画像 */

  #fs_ShoppingCart .fs-c-cartTable__productImage {
    flex: 0 0 82px;

    width: 82px;
  }

  #fs_ShoppingCart .fs-c-cartTable__productImage__image {
    display: block;

    width: 82px;
    max-width: 100%;
    height: auto;

    border-radius: 3px;
  }


  /* 商品情報 */

  #fs_ShoppingCart .fs-c-cartTable__productInfo {
    flex: 1 1 auto;

    min-width: 0;
  }


  /* 商品名 */

  #fs_ShoppingCart .fs-c-cartTable .fs-c-listedProductName__name {
    font-size: 14px;
    font-weight: 500;

    line-height: 1.6;
  }


  /* 選択内容 */

  #fs_ShoppingCart .fs-c-cartTable .fs-c-listedProductName__selection,
  #fs_ShoppingCart .fs-c-cartTable .fs-c-listedProductName__variation {
    margin-top: 5px;

    font-size: 11px;
  }


  /* 単価 */

  #fs_ShoppingCart .fs-c-cartTable__unitPrice {
    margin-top: 7px;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__unitPrice
  .fs-c-productPrice__main__price {
    font-size: 13px;
  }


  /* 販売期間 */

  #fs_ShoppingCart .fs-c-cartProductSalesPeriod {
    margin-top: 6px;

    font-size: 10px;
  }


  /* ========================================================
     数量
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartTable__dataCell--quantity {
    grid-column: 1;

    text-align: left;

    border-right: 1px solid #ebe8e3;
    border-bottom: 1px solid #ebe8e3;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__dataCell--quantity::before {
    content: attr(data-cell-label);

    display: block;

    margin-bottom: 6px;

    color: #777;

    font-size: 10px;
    font-weight: 500;
  }

  #fs_ShoppingCart .fs-c-cartTable__quantity {
    display: block;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__quantity
  .fs-c-quantity__select,
  #fs_ShoppingCart
  .fs-c-cartTable__quantity
  .fs-c-quantity__number {
    width: 100%;
    min-width: 0;
    height: 44px;

    font-size: 16px;
  }


  /* ========================================================
     小計
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartTable__dataCell--subtotal {
    grid-column: 2;

    text-align: right;

    border-bottom: 1px solid #ebe8e3;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__dataCell--subtotal::before {
    content: attr(data-cell-label);

    display: block;

    margin-bottom: 6px;

    color: #777;

    font-size: 10px;
    font-weight: 500;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__dataCell--subtotal
  .fs-c-price__value {
    font-size: 17px;
  }


  /* ========================================================
     ポイント
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartTable__dataCell--point {
    grid-column: 1;

    text-align: left;
  }

  #fs_ShoppingCart
  .fs-c-cartTable__dataCell--point::before {
    content: attr(data-cell-label);

    display: block;

    margin-bottom: 4px;

    color: #777;

    font-size: 10px;
    font-weight: 500;
  }


  /* ========================================================
     削除・あとで買う
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartTable__dataCell--action {
    grid-column: 2;

    display: flex;

    align-items: center;
    justify-content: flex-end;
  }

  #fs_ShoppingCart .fs-c-cartTable__actionButton {
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px 12px;
  }

  #fs_ShoppingCart .fs-c-button--cancel--cart,
  #fs_ShoppingCart .fs-c-button--buyItLater {
    font-size: 11px;
  }


  /* ========================================================
     送料割引案内
  ======================================================== */

  #fs_ShoppingCart .fs-c-cartDiscountInfo {
    margin: 16px 0;

    padding: 14px;

    font-size: 12px;
    line-height: 1.7;
  }


  /* ========================================================
     合計・決済エリア
  ======================================================== */




  /* 合計 */






  /* ========================================================
     このサイトでお支払い
  ======================================================== */








  /* ========================================================
     Amazon Pay
  ======================================================== */








  /* ========================================================
     下部案内
  ======================================================== */

  #fs_ShoppingCart .fs-p-announcement {
    margin-top: 18px;

    padding: 18px 15px;
  }

  #fs_ShoppingCart .fs-p-announcement__title {
    margin-bottom: 10px;

    font-size: 16px;
  }

  #fs_ShoppingCart .fs-p-announcement__body {
    font-size: 12px;
    line-height: 1.8;
  }


  /* 価格帯リンク */

  #fs_ShoppingCart .fs-p-flexibleColumn {
    display: grid;

    grid-template-columns: 1fr;

    gap: 8px;
  }

  #fs_ShoppingCart .fs-p-linkButton {
    width: 100%;

    min-height: 42px;
  }


  /* ========================================================
     ショッピングを続ける
  ======================================================== */

  #fs_ShoppingCart .fs-c-continueShopping {
    margin: 24px 0 40px;
  }

  #fs_ShoppingCart .fs-c-button--continueShopping {
    max-width: none;

    min-height: 48px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__image,
  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__image__image {
    max-width: 120px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productPrice__main__price {
    font-size: 13px;
  }
}

/* ==========================================================
   PCカート：おすすめ画像の左右余白・読みやすさ
   外側の左右カラムとslickの寸法・配置は変更しない。
========================================================== */
@media screen and (min-width: 901px) {
  #fs_ShoppingCart .fs-l-cart {
    color: #43372f;
    font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
      "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.7;
  }

  #fs_ShoppingCart .fs-c-featuredProduct {
    margin: 28px 0 36px;
    padding: 24px 0;
    background: #faf9f6;
    border-radius: 8px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct__header {
    margin: 0 24px 20px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct__title {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  /* 各画像の内側に余白を確保。スライド幅はそのまま。 */
  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__imageContainer {
    box-sizing: border-box;
    padding: 0 20px;
  }

  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productListItem__prices {
    margin-top: 12px;
    line-height: 1.6;
    text-align: center;
  }

  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productPrice__main__price {
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }

  #fs_ShoppingCart .fs-c-featuredProduct .fs-c-productPrice__addon {
    margin-left: 4px;
    color: #666;
    font-size: 11px;
  }

  #fs_ShoppingCart .fs-c-cartTable__headerCell {
    padding: 12px 10px;
    color: #64594f;
    background: #f5f3ef;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
  }

  #fs_ShoppingCart .fs-c-cartTable__dataCell {
    padding: 20px 10px;
    border-bottom: 1px solid #e8e3dc;
    font-size: 13px;
    line-height: 1.7;
    vertical-align: middle;
  }

  #fs_ShoppingCart .fs-c-cartTable .fs-c-listedProductName__name {
    color: #43372f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  }

  #fs_ShoppingCart .fs-c-cartTable__unitPrice {
    margin-top: 8px;
    color: #64594f;
    font-size: 13px;
  }

  #fs_ShoppingCart .fs-c-cartTable__dataCell--subtotal .fs-c-price__value {
    font-size: 16px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }








}

/* 合計・購入エリア：カートと共通の茶色・生成り・余白 */
#fs_ShoppingCart .fs-c-totalAndActions {
  color: #43372f;
  background: #fffdf9;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e5ded4;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 13px;
  line-height: 1.8;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable th,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e3dc;
  font-size: 13px;
  line-height: 1.6;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable th {
  color: #64594f;
  font-weight: 400;
  text-align: left;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable td {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable__mainRow {
  background: #f5f1e9;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable__mainRow .fs-c-price__value {
  color: #43372f;
  font-size: 23px;
  font-weight: 500;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable__getPoint td {
  color: #59623f;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-purchaseHere,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon {
  box-sizing: border-box;
  margin: 0;
  padding: 22px 18px;
  color: #43372f;
  background: transparent;
  border: 0;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon {
  border-top: 1px solid #e8e3dc;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-purchaseHere__message,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message {
  margin: 0 0 18px;
  color: #64594f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  text-align: left;
  overflow-wrap: anywhere;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-purchaseHere__message p,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message p {
  margin: 0;
}

/* 添付HTML内の赤色・大文字・太字の指定をこの説明文だけで統一 */
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-purchaseHere__message span,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message span,
#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message strong {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 500 !important;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message > br:first-child {
  display: none;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon__message img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-button--purchaseHere {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: #fff !important;
  background: #b83a2f !important;
  border: 1px solid #b83a2f !important;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-button--purchaseHere .fs-c-button__label {
  color: #fff !important;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-button--purchaseHere:hover {
  background: #9f3028 !important;
  border-color: #9f3028 !important;
}

#fs_ShoppingCart .fs-c-totalAndActions .fs-c-button--purchaseHere:focus-visible {
  outline: 2px solid #59623f;
  outline-offset: 3px;
}

/* インライン幅600pxのはみ出しを防止。決済ボタン内部は標準のまま。 */
#fs_ShoppingCart .fs-c-totalAndActions #AmazonPayButton {
  width: 100% !important;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 900px) {
  #fs_ShoppingCart .fs-c-totalAndActions {
    margin-top: 28px;
  }
}

@media screen and (max-width: 640px) {
  #fs_ShoppingCart .fs-c-totalAndActions {
    margin-top: 24px;
  }

  #fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable th,
  #fs_ShoppingCart .fs-c-totalAndActions .fs-c-orderTotalTable td {
    padding: 12px 14px;
    font-size: 12px;
  }

  #fs_ShoppingCart .fs-c-totalAndActions .fs-c-purchaseHere,
  #fs_ShoppingCart .fs-c-totalAndActions .fs-c-payWithAmazon {
    padding: 18px 15px;
  }
}


/* ==========================================================
   FutureShop ログインページ
   既存CSSの後に読み込む追加用CSS。
   対象：添付HTMLの .fs-c-loginForm と、そのページ見出し。
   フォーム送信・パスワード表示切替・Amazonログインは既存機能を使用。
========================================================== */

.fs-l-pageMain:has(> .fs-c-loginForm) > .fs-c-heading--page {
  margin: 0 0 28px;
  color: #43372f;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
}

.fs-c-loginForm {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 48px;
  color: #43372f;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.fs-c-loginForm .fs-c-registeredUsers {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 32px 36px;
  background: #fffdf9;
  border: 1px solid #e5ded4;
  border-radius: 8px;
}

.fs-c-loginForm .fs-c-registeredUsers__title {
  margin: 0 0 24px;
  padding: 0 0 16px;
  color: #43372f;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8e3dc;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}

.fs-c-loginForm .fs-c-fsLogin,
.fs-c-loginForm .fs-c-fsLoginField {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fs-c-loginForm .fs-c-inputTable,
.fs-c-loginForm .fs-c-inputTable tbody,
.fs-c-loginForm .fs-c-inputTable tr {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.fs-c-loginForm .fs-c-inputTable__headerCell,
.fs-c-loginForm .fs-c-inputTable__dataCell {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
}

.fs-c-loginForm .fs-c-inputTable__headerCell {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.fs-c-loginForm .fs-c-inputTable__dataCell {
  margin-bottom: 20px;
}

.fs-c-loginForm .fs-c-requiredMark {
  margin-left: 6px;
  color: #a3342b;
  font-size: 11px;
  font-weight: 400;
}

.fs-c-loginForm .fs-c-inputField__field {
  position: relative;
  min-width: 0;
}

.fs-c-loginForm input[type="text"],
.fs-c-loginForm input[type="email"],
.fs-c-loginForm input[type="password"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  color: #43372f;
  background: #fff;
  border: 1px solid #cfc7bc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

/* 表示切替後にtype=textになってもボタンと入力文字が重ならない。 */
.fs-c-loginForm .fs-c-inputGroup input {
  padding-right: 52px;
}

.fs-c-loginForm .fs-c-inputGroup .fs-c-button--displayPassword {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #64594f;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.fs-c-loginForm input:focus-visible,
.fs-c-loginForm button:focus-visible,
.fs-c-loginForm a:focus-visible {
  outline: 2px solid #59623f;
  outline-offset: 3px;
}

.fs-c-loginForm .fs-c-buttonContainer--login {
  margin: 8px 0 16px;
}

.fs-c-loginForm .fs-c-button--login {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  color: #fff !important;
  background: #b83a2f !important;
  border: 1px solid #b83a2f !important;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  cursor: pointer;
}

.fs-c-loginForm .fs-c-button--login .fs-c-button__label {
  color: #fff !important;
}

.fs-c-loginForm .fs-c-button--login:hover:not(:disabled) {
  background: #9f3028 !important;
  border-color: #9f3028 !important;
}

.fs-c-loginForm .fs-c-button--login:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fs-c-loginForm .fs-c-inputInformation__link {
  margin: 16px 0 0;
  text-align: center;
}

.fs-c-loginForm .fs-c-textLink {
  color: #59623f;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fs-c-loginForm .fs-c-otherServiceLogin {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e8e3dc;
}

.fs-c-loginForm .fs-c-linkedServiceLogin__title {
  margin: 0 0 12px;
  color: #43372f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.fs-c-loginForm .fs-c-anotherLogin__message {
  margin: 0 0 18px;
  color: #64594f;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.fs-c-loginForm .fs-c-anotherLogin__message p {
  margin: 0;
}

/* Amazonボタンの外枠だけ調整。内部のロゴ・色・動作は標準を維持。 */
.fs-c-loginForm #AmazonPayButton {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .fs-l-pageMain:has(> .fs-c-loginForm) > .fs-c-heading--page {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .fs-c-loginForm {
    margin-bottom: 32px;
  }

  .fs-c-loginForm .fs-c-registeredUsers {
    padding: 24px 18px;
  }

  .fs-c-loginForm .fs-c-registeredUsers__title {
    margin-bottom: 20px;
    font-size: 17px;
  }
}

/* ==========================================================
   FutureShop ご注文手続きページ
   統合済みCSSの末尾に追加、または既存CSSの後に読み込む。
   .fs-l-checkout 内に限定。外側のカラム幅と決済機能は標準を使用。
   支払方法の詳細表示・エラー・処理中の表示は既存制御を維持。
========================================================== */

.fs-l-pageMain:has(> .fs-l-checkout) > .fs-c-heading--page {
  margin-bottom: 28px;
  color: #43372f;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.fs-l-checkout {
  color: #43372f;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.fs-l-checkout .fs-c-checkout-preview {
  box-sizing: border-box;
  margin-bottom: 24px;
  background: #fffdf9;
  border: 1px solid #e5ded4;
  border-radius: 8px;
}

.fs-l-checkout .fs-c-checkout-preview__title {
  margin: 0;
  padding: 16px 20px;
  color: #43372f;
  background: #f5f1e9;
  border: 0;
  border-bottom: 1px solid #e8e3dc;
  border-radius: 7px 7px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.fs-l-checkout .fs-c-checkout-preview__title strong,
.fs-l-checkout .fs-c-checkout-preview__title > span:first-child {
  font-weight: 500 !important;
}

/* お届け先の注意書きは省略せず、本文と同じ読みやすいサイズに。 */
.fs-l-checkout .fs-c-checkout-destination__title > span:not(:first-child) {
  color: #64594f;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.8;
}

.fs-l-checkout .fs-c-checkout-preview__body {
  padding: 20px;
  overflow-wrap: anywhere;
}

.fs-l-checkout .fs-c-checkout-customerInfo__name,
.fs-l-checkout .fs-c-checkout-destination__name {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}

.fs-l-checkout .fs-c-checkout-preview__button,
.fs-l-checkout .fs-c-checkout-previewAndEdit__button,
.fs-l-checkout .fs-c-checkout-destination__control {
  margin-top: 14px;
}

/* 変更・お届け先・クーポン・カード情報入力の補助ボタン */
.fs-l-checkout :is(.fs-c-button--change--small,
  .fs-c-button--chooseDestination, .fs-c-button--useCoupon,
  .fs-c-button--inputCreditCardData) {
  box-sizing: border-box;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 16px;
  color: #59623f !important;
  background: #fff !important;
  border: 1px solid #aab493 !important;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  white-space: normal;
  cursor: pointer;
}

.fs-l-checkout :is(.fs-c-button--change--small,
  .fs-c-button--chooseDestination, .fs-c-button--useCoupon,
  .fs-c-button--inputCreditCardData) .fs-c-button__label {
  color: inherit;
}

.fs-l-checkout :is(.fs-c-button--change--small,
  .fs-c-button--chooseDestination, .fs-c-button--useCoupon,
  .fs-c-button--inputCreditCardData):hover:not(:disabled) {
  background: #f1f4ea !important;
}

.fs-l-checkout .fs-c-checkout-paymentMethod {
  margin: 0 0 14px;
  background: #fff;
  border: 1px solid #e5ded4;
  border-radius: 6px;
}

.fs-l-checkout .fs-c-checkout-paymentMethod__title {
  padding: 14px 16px;
  color: #43372f;
  font-size: 14px;
  font-weight: 500;
}

.fs-l-checkout .fs-c-checkout-paymentMethod:has(input[type="radio"]:checked) {
  border-color: #8a9b59;
  background: #f7f8f3;
}

.fs-l-checkout .fs-c-checkout-paymentMethod__body {
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.8;
}

.fs-l-checkout .fs-c-checkout-paymentMethod__option__title {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 500;
}

.fs-l-checkout input[type="text"],
.fs-l-checkout input[type="email"],
.fs-l-checkout input[type="tel"],
.fs-l-checkout input[type="number"],
.fs-l-checkout select,
.fs-l-checkout textarea {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: #43372f;
  background-color: #fff;
  border: 1px solid #cfc7bc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.fs-l-checkout textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.fs-l-checkout :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid #59623f;
  outline-offset: 3px;
}

.fs-l-checkout .fs-c-checkout-couponCodeInput__input {
  display: inline-block;
  max-width: 100%;
  margin: 8px 8px 8px 0;
}

.fs-l-checkout .fs-c-checkout-couponCodeInput__input input {
  width: 100%;
}

.fs-l-checkout .fs-c-creditCardIcons {
  flex-wrap: wrap;
}

.fs-l-checkout .fs-c-creditCardIcons__image,
.fs-l-checkout .guricha-checkout-shipping-image {
  max-width: 100%;
  height: auto;
}

/* 注文商品 */
.fs-l-checkout .fs-c-cartTable {
  width: 100%;
  border-collapse: collapse;
}

.fs-l-checkout .fs-c-cartTable__headerCell {
  padding: 10px 8px;
  color: #64594f;
  background: #f5f3ef;
  font-size: 12px;
  font-weight: 500;
}

.fs-l-checkout .fs-c-cartTable__dataCell {
  padding: 16px 8px;
  border-bottom: 1px solid #e8e3dc;
  font-size: 13px;
  line-height: 1.7;
  vertical-align: middle;
}

.fs-l-checkout .fs-c-cartTable__productImage__image {
  max-width: 100%;
  height: auto;
}

.fs-l-checkout .fs-c-listedProductName__name {
  color: #43372f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

/* 合計金額・注文確定 */
.fs-l-checkout .fs-c-orderTotalTable {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.fs-l-checkout .fs-c-orderTotalTable th,
.fs-l-checkout .fs-c-orderTotalTable td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8e3dc;
  font-size: 13px;
  line-height: 1.6;
}

.fs-l-checkout .fs-c-orderTotalTable th {
  color: #64594f;
  font-weight: 400;
  text-align: left;
}

.fs-l-checkout .fs-c-orderTotalTable td {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.fs-l-checkout .fs-c-orderTotalTable__grandTotal {
  background: #f5f1e9;
}

.fs-l-checkout .fs-c-orderTotalTable__grandTotal .fs-c-price__value {
  color: #43372f;
  font-size: 24px;
  font-weight: 500;
}

.fs-l-checkout .fs-c-orderTotalTable__earnPoints td {
  color: #59623f;
}

.fs-l-checkout .fs-c-confirmOrder {
  padding: 20px 16px;
}

.fs-l-checkout .fs-c-confirmOrder__button {
  margin: 0;
}

.fs-l-checkout .fs-c-button--confirmOrder {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  color: #fff !important;
  background: #b83a2f !important;
  border: 1px solid #b83a2f !important;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  white-space: normal;
  cursor: pointer;
}

.fs-l-checkout .fs-c-button--confirmOrder .fs-c-button__label {
  color: #fff !important;
}

.fs-l-checkout .fs-c-button--confirmOrder:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #9f3028 !important;
  border-color: #9f3028 !important;
}

.fs-l-checkout button:disabled,
.fs-l-checkout button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.fs-l-checkout .fs-c-returnedSpecialContract {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
}

.fs-l-checkout .fs-c-returnedSpecialContract__link a {
  color: #59623f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 640px) {
  .fs-l-pageMain:has(> .fs-l-checkout) > .fs-c-heading--page {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .fs-l-checkout .fs-c-checkout-preview {
    margin-bottom: 18px;
  }

  .fs-l-checkout .fs-c-checkout-preview__title {
    padding: 14px 15px;
    font-size: 17px;
  }

  .fs-l-checkout .fs-c-checkout-preview__body {
    padding: 16px 15px;
  }

  .fs-l-checkout .fs-c-checkout-paymentMethod__title {
    padding: 12px;
  }

  .fs-l-checkout .fs-c-checkout-paymentMethod__body {
    padding: 0 12px 14px;
  }

  .fs-l-checkout .fs-c-orderTotalTable th,
  .fs-l-checkout .fs-c-orderTotalTable td {
    padding: 11px 12px;
    font-size: 12px;
  }

  /* 注文商品は標準テーブルを維持し、狭い画面ではこの枠内だけ横スクロール。 */
  .fs-l-checkout .fs-c-checkout-orderInfo__body {
    overflow-x: auto;
  }

  .fs-l-checkout .fs-c-cartTable__headerCell,
  .fs-l-checkout .fs-c-cartTable__dataCell {
    padding: 12px 6px;
    font-size: 12px;
  }
}
