.fs-c-button--addToCart--detail{
    background: #005731 !important;
    border-color: #005731 !important;
    }
    
    /*--- マイページ ---*/
    .mypage-logout{
    text-align: center;
    }
    
    
    /*--- オリジナルＣＳＳ ---*/
    body {
      margin: 0;
      padding: 0;
    }
    
    .box {
      display:flex;
      flex-direction: column;
      padding: 0px;
    }
    
    .text {
        font-family: Yu Mincho,YuMincho,ヒラギノ明朝 ProN W3,Hiragino Mincho ProN,HG明朝E,ＭＳ Ｐ明朝,ＭＳ 明朝,serif; 
        font-size:115%;
        width: 100%;
        text-align: left;
        margin-top:0px;
    }
    
    h3 {
        font-size: 130%;
        text-align: center;
        line-height:3;
    }
    
    .pict {
        text-align: center;
        width: 100%;
        min-height: 0%;
    }
    
    .pict img {
        max-width: 80vw;
        height:auto;
    }
    .box:nth-child(even) {
        <!--background-color: #f1f1f1;-->
        padding: 20px;
    }
    
    @media (min-width:900px) {
        body {
            padding: 0;
        }
    
        .box {
            flex-direction: row;
            justify-content:center;
            margin-bottom: 0px;
        }
    
        .box:nth-child(even) {
            flex-direction: row-reverse;
        }
    
        .text {
            font-family: Yu Mincho,YuMincho,ヒラギノ明朝 ProN W3,Hiragino Mincho ProN,HG明朝E,ＭＳ Ｐ明朝,ＭＳ 明朝,serif; 
            font-size: 115%;
            text-align: left;
            line-height: 1;
            margin-top:10px;
            margin-bottom:10px;
            margin-left:10px;
            margin-right:10px;
        }
    
        h3 {
            font-family: Yu Mincho,YuMincho,ヒラギノ明朝 ProN W3,Hiragino Mincho ProN,HG明朝E,ＭＳ Ｐ明朝,ＭＳ 明朝,serif; 
            font-size: 115%;
            text-align: left;
            line-height:3;
        }
    
        .box:nth-child(even) .text {
            text-align: left;
        }
    
        .pict {
            text-align: center;
            width: 40vw;
            margin-top:10px;
            margin-bottom:10px;
            margin-left:10px;
            margin-right:10px;
        }
    
        .pict img {
            max-width: 300px;
            width: 100%;
            height:auto;
        }
    
        .box:nth-child(even) .pict {
            margin-left: 0;
            margin-right: 3%;
        }
    }
    
    @media screen and (max-width: 600px) {
        .fs-c-membershipCard__image {
            transform: rotate(-90deg);
        }
    }
    
    @media screen and (min-width: 900px) {
        .fs-body-cart .fs-l-main .fs-l-cart__contentsArea{
        -ms-grid-columns: 1fr 320px; grid-template-columns: 1fr 320px; 
        } 
    }

    .ec-productRole__description {
        font-family: Yu Mincho,YuMincho,ヒラギノ明朝 ProN W3,Hiragino Mincho ProN,HG明朝E,ＭＳ Ｐ明朝,ＭＳ 明朝,serif; 
        font-size: 115%;
    }
    
    /* PAGE TOPボタンの位置（FutureShop標準準拠） */
    .ssf-PageTop {
        position:fixed;
        right:2vw;
        bottom:5vh;
        z-index:1
    }
    
    .hero-Sub_TextWrapper {
        font-family: Yu Mincho,YuMincho,ヒラギノ明朝 ProN W3,Hiragino Mincho ProN,HG明朝E,ＭＳ Ｐ明朝,ＭＳ 明朝,serif; 
        font-size: 115%;
    }
    
    /* 商品詳細 おすすめ商品 */
    .fs-c-featuredProduct .fs-c-productListCarousel__list__item {
        width: 56.4vw !important;
        max-width: none;
    }
    .fs-c-productListCarousel [class^=fs-c-button--] {font-size: 8vw;}
    .fs-l-productLayout .fs-c-featuredProduct {margin-top:8vw;}
    
    @media screen and (min-width: 600px) {
    .fs-c-featuredProduct .fs-c-productListCarousel__list__item {width: 300px !important;}
    .fs-c-productListCarousel [class^=fs-c-button--] {font-size: 36px;}
    .fs-l-productLayout .fs-c-featuredProduct {margin-top:75px;}
    }


    /* ログイン連携 */
    .fs-c-accountService__page--linkedAccounts .fs-c-accountService__pageLink__label::before {
        content: "\e93f";
    }


    /*--- 「今までにチェックした商品」表示崩れ対策 (2026/04 追記) ---*/
    /* PC（769px以上）: 3列 */
    #_rcmdjp_display_1 .doc-Ranking_Items.swiper-wrapper,
    #_rcmdjp_display_1 .swiper-wrapper {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 24px !important;
      flex-wrap: nowrap !important;
    }
    #_rcmdjp_display_1 .swiper-slide {
      width: auto !important;
      margin: 0 !important;
    }
    /* スマホ（768px以下）: 2列 */
    @media screen and (max-width: 768px) {
      #_rcmdjp_display_1 .doc-Ranking_Items.swiper-wrapper,
      #_rcmdjp_display_1 .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
      }
    }


/* ============================================
   フローティングボタン関連
   - eギフトボタンの位置調整
   - PAGE TOPはFutureShop標準デザインを維持
   2026/05/02 追加・調整
   ============================================ */

/* AnyGift（eギフト）ボタンの位置調整
   PAGE TOP（70px）+ 余白 + 標準位置（5vh）の上に配置 */
.anygift-floating-cart {
  bottom: calc(5vh + 80px) !important;
}


/* ============================================
   ヘッダー「カゴを見る」のバッジ（カート内商品数）
   - 初期は非表示にしてちらつき防止
   - JSが1以上を検知したときだけ表示
   2026/05/02 追加
   ============================================ */

/* バッジの親（リンク要素）を相対配置に */
.ssh-Utility_Item-cart > a {
  position: relative !important;
  display: inline-block !important;
}

/* ヘッダーバッジのデザイン（初期は非表示） */
.ssh-Utility_ItemBadge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  background-color: #d42828 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: bold !important;
  line-height: 18px !important;
  text-align: center !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  z-index: 10 !important;
  display: none;  /* ★初期は非表示 */
}

/* JSが「表示すべき」と判定したクラスを付けたときだけ表示 */
.ssh-Utility_ItemBadge.is-visible {
  display: block !important;
}

/* ============================================
   PAGE TOPボタン: 枠なし・シンプルデザイン
   - 矢印アイコン + 文字の縦配置
   - 黒色・透明背景
   2026/05/02 追加・調整
   ============================================ */
.ssf-PageTop {
  position: fixed !important;
  width: 56px !important;
  height: 70px !important;
  right: 2vw !important;
  bottom: 5vh !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100 !important;
}

.ssf-PageTop:hover {
  transform: translateY(-2px) !important;
  opacity: 0.7 !important;
}

.ssf-PageTop .ssf-PageTop_Link {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  gap: 4px !important;
  box-sizing: border-box !important;
}

.ssf-PageTop .ssf-PageTop_Icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.ssf-PageTop .ssf-PageTop_Icon img {
  width: 24px !important;
  height: 24px !important;
  filter: brightness(0) !important;
  display: block !important;
}

.ssf-PageTop .ssf-PageTop_Text {
  display: block !important;
  font-size: 9px !important;
  line-height: 1 !important;
  color: #1a1a1a !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  font-weight: 500 !important;
}