@charset "UTF-8";

/* ==========================================================================
   me-q.jp コマースクリエイター用スタイルシート
   --------------------------------------------------------------------------
   2026-09-10 全面整理版 ／ 株式会社THREE D PLUS

   このファイルの前提
     このスタイルシートの「あと」に、現行サイトと同じ
     https://www.me-q.jp/cs_make/css/original.css が読み込まれます
     （確認した13ページ種すべてで同じ順でした）。
     そのため .pageTitle / .CrossHead / body / #gnav / #foot_main のような
     旧クラスへの調整は、ここに書いても後勝ちで負けます。
     旧クラスを触る修正は cs_make 側で行ってください。
     コマースクリエイター専用の fs-c- / fs-l- 系は original.css に無いので、
     ここに書いたものがそのまま効きます。

   2026-09-10 の整理でやったこと
     ・original.css の複製2つ（62,940バイト×2）を削除
       同じ内容を cs_make が最後に読むため表示は変わりません
     ・見出しのCSSが 9/4 版・（任意）ボックス版・9/5 版（赤帯）と
       3つ重なっていたので、現行デザインに戻した v3 に一本化
     ・商品詳細レイアウト（上段2カラム）を追加
     ・商品詳細の中身を現行の見た目へ寄せるブロックを追加
     ・バリエーションのタイルがスマホで見切れて選べない件を修正
     ・パンくず1項目目を現行と同じ「商品カテゴリ一覧」に変更
     ・全角スペースの混入で無効になっていた
       .fs-c-orderHistoryItem a の1ルールを修正
     ・@charset をファイルの実体（UTF-8）に合わせて修正

   書くときの注意
     content プロパティに日本語を直接書かないでください。
     必要なときはユニコードエスケープで書きます（円 なら \5186）。
   ========================================================================== */


/* ==========================================================================
   01  CC向けの基本調整
   カート・ボタン・必須マーク・パンくず幅・書類ページの見出しなど。
   旧クラス（body / .pageTitle / a:link / #gnav）への指定も含まれますが、
   あとから cs_make の original.css が読まれるため効きません。
   ========================================================================== */

@media screen and (max-width: 740px) {
  .FS2_body_Cart_ShoppingCart #form > .itemLeft50 {
float: none;
width: calc(100% - 20px);
  }
}


/* ==== 全体・共通（PC基準） ==== */
body {
    background: #ffffff;
    color: #222222; /* rgb(34, 34, 34) */
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, Osaka, "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

/* ==== サイト幅（コンテンツ幅） ==== */
/* .pageTitle/#form/.wrapper が無いため futureshop の .fs-l-main に対応 */
#form,
.wrapper,
.fs-l-main {
    width: 990px;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;
    box-sizing: border-box;
}

/* ==== ページタイトル（.pageTitle → .fs-c-heading--page） ==== */
.pageTitle,
.fs-c-heading--page {
    text-align: center;
    font-size: 139%;      /* PC時 本文14px基準で 約19.46px */
    color: #63d5c2;       /* rgb(99, 213, 194) */
    padding: 0 0 6px;
    border-bottom: 1px solid #63d5c2;
    margin: 0 0 25px;
    font-weight: bold;
}
.fs-c-requiredMark::before {
    font-size: 1.0em;
}
.fs-c-breadcrumb__list {
    margin: 0 0 40px 0;
}
/* ==== リンク ==== */
a:link,
a:visited {
    color: #222222;
    text-decoration: none;
}
a:hover {
    color: #666666;
    text-decoration: none;
}

/* ==== カート ==== */
.fs-c-cartTable__headerCell {
    background-color: #63d5c2;
    color: #fff;
}
.fs-p-announcement__title {
    color: #63d5c2;
    font-weight: bold;
}
.fs-c-button--standard:hover, .fs-c-button--standard:visited, .fs-c-button--standard:active {
    color: #fff;
    text-decoration: none;
    background: #FF5926;
}
.fs-c-button--primary {
    background: #FF5926;
    border: 1px solid #FF5926;
    color: #ffffff;
    box-shadow: 0 0 2px #FF5926;
}
.fs-c-cartDiscountInfo__info {
    justify-content: center;
    font-weight: bold;
    padding: 20px;
    border: 2px solid #FF5926;
    color: #FF5926;
    border-radius: 10px;
}
.meq-repeat-thumb img{
    width: 100%;
}

.fs-c-buttonContainer--myPageTop a {
    text-align: center;
    color: #fff;
    display: block;
    margin: 0 auto;
background-color: #63d5c2;
    width: auto;
    padding: 10px;
}
.fs-c-buttonContainer--myPageTop a span{
    color: #fff;
}

/* =========================================
   タブレット（〜1000px）
========================================= */
@media screen and (max-width: 1000px) {
    #gnav {
        width: 84%;
        margin-left: 4%;
    }
    #form,
    .wrapper,
    .fs-l-main {
        width: 100%;
        padding: 0 20px;
    }


}

/* =========================================
   スマホ（〜740px）
========================================= */
@media screen and (max-width: 740px) {
    body {
        min-width: 500px;
        font-size: 18px;
    }
    .pageTitle,
    .fs-c-heading--page {
        font-size: 139%; /* 本文18px基準で 約25px相当 */
    }
    #form,
    .wrapper,
    .fs-l-main {
        width: 100%;
        padding: 0 15px;
    }
    /* グローバルナビはハンバーガーメニュー化される想定 */
    #gnav {
        display: none;
        position: absolute;
        top: 130px;
        left: 0;
        width: 100%;
        background: rgba(44, 166, 224, 0.93);
        color: #ffffff;
    }
.fs-c-accountService__page {
    flex-basis: 30%;
}


}


/* ============================================
   ① パンくずをコンテンツ幅(990px)に揃える
   ※下層ページで左端に張り付く崩れを解消
============================================ */
.fs-c-breadcrumb {
    width: 990px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

/* ============================================
   ②③ 濃色（黒・暗色）ボタンの文字を白に
============================================ */
.fs-c-button--primary,
.fs-c-button--primary .fs-c-button__label,
.fs-c-button--secondary,
.fs-c-button--secondary .fs-c-button__label,
.fs-c-button--addToAddressbook,
.fs-c-button--addToAddressbook .fs-c-button__label,
.fs-c-button--change,
.fs-c-button--change .fs-c-button__label {
    color: #ffffff !important;
}

/* ============================================
   ④⑤ 小見出し(h3)をページタイトルと同系デザインに
============================================ */
.fs-c-documentColumn__heading {
    color: #63d5c2;
    border-left: 5px solid #63d5c2;
    border-bottom: 1px solid #63d5c2;
    font-weight: bold;
}

/* ⑤ 大見出し(h2)をティール系に統一 */
.fs-c-documentArticle__heading {
    background: #63d5c2;
    color: #ffffff;
}


/* ⑤ ドキュメント系ページ（送料・規約など）の dt 背景だけをクリーム色に */
.fs-c-documentArticle dt,
.fs-c-documentColumn dt {
    background: #FFF6EB;
}
/* ============================================
   レスポンシブ調整
============================================ */
@media screen and (max-width: 1000px) {
    .fs-c-breadcrumb {
        width: 100%;
        padding: 0 20px;
    }
}
@media screen and (max-width: 740px) {
    .fs-c-breadcrumb {
        width: 100%;
        padding: 0 15px;
    }
    .fs-c-documentColumn__heading {
        font-size: 100%; /* 本文18px基準に追従 */
    }
}

/* ⑤ ドキュメント系ページ（送料・規約など）のテーブル見出し(dt/th)を
      クリーム色に。マイページ系は対象外 */
.fs-c-documentArticle dt,
.fs-c-documentColumn dt,
.fs-c-documentArticle th,
.fs-c-documentColumn th {
    background: #FFF6EB;
    padding: 8px;
}
.fs-c-documentColumn__content p a {
    color: #63D4BD;
    font-weight: bold;
}
#top_make {
    margin-bottom: 0;
}
#top_make .content.wraptop {
    max-width: 960px;
    width: 100%;
}

/* ==========================================================================
   02  個別調整（注文履歴・ポイント・カート・商品一覧の幅など）
   ========================================================================== */

h3.Definition {
    margin: 25px 0 0 0;
    font-weight: bold;
    color: #63d5c2;
}
.PrivacyPolicy .CrossHead {
    margin: 30px 0;
    text-align: left;
}


    .fs-c-orderHistoryItem__header {
        background: #FFF6EB;
    }
.fs-c-pointListTable__dataDetail dd a {
color: #63d5c2;
}

.fs-c-orderHistoryItem a{
    color: #63d5c2;
}

@media screen and (max-width: 740px) {
  .FS2_body_Cart_ShoppingCart #form > .itemLeft50 {
float: none;
width: calc(100% - 20px);
  }
.foot_nav #___gcse_0 {
    width: 100%;
}
}


@media screen and (min-width: 600px) {
    .fs-c-explainList {
        grid-row-gap: 1px;
    }
}

@media screen and (min-width: 960px) {
    .fs-l-product2 .fs-c-productActionButton .fs-c-button--primary, .fs-l-product2 .fs-c-productActionButton .fs-c-button--secondary {
        min-width: 100%;
    background: #FF5926;
    border: 1px solid #FF5926;
    }
}

.fs-c-documentContent{
    TEXT-ALIGN: CENTER;
}
.fs-c-productPointDisplay {
    background-color: #63d5c2;
    color: #fff;
}

.fs-c-breadcrumb__list {
    max-width: 1200px;
    margin: 0 auto;
}
.logout.my-false { display: none; }
.login.my-true { display: none; }
.regist.my-true { display: none; }


.fs-c-productList {
    max-width: 1100px;
    margin: 30px auto;
}

/* ==========================================================================
   03  文字サイズ調整  2026-09-02
   ご指摘「文字サイズが小さい」への対応。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター タイポグラフィ調整
   --------------------------------------------------------------------------
   目的 : 「文字が小さい」「メリハリがない」というご指摘への対応
   対象 : コマースクリエイター標準ページのみ（fs- 系クラス）
   場所 : CC管理画面のスタイルシートに追記すること
          ※ original.css は WordPress と共用のため、そちらには書かない
   検証 : /c/shoppingmall/gd1367 で適用確認（2026-09-02）
   ========================================================================== */

/* --- 本文まわり：10px で出ていた箇所を底上げ --------------------------- */
.fs-p-card,
.fs-p-card__message,
.fs-p-productDescription,
.fs-c-productListItem__description,
.fs-c-explainBox,
.fs-c-noResultMessage,
.fs-c-documentColumn__content,
.fs-c-inputInformation__message {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

/* --- フォーム・ボタンのラベル ------------------------------------------ */
.fs-c-productOption__label,
.fs-c-requiredMark,
.fs-c-button__label,
.fs-c-dropdown select,
.fs-c-dropdown option,
.fs-c-quantity__number {
  font-size: 14px;
}

/* --- 補足テキスト ------------------------------------------------------- */
.fs-c-breadcrumb,
.fs-c-productNumber,
.fs-c-productPointDisplay,
.fs-c-productPrice__main__label {
  font-size: 13px;
}

/* --- 商品名 ------------------------------------------------------------- */
.fs-c-productNameHeading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

/* --- 価格（既存指定が強いため要素側も指定する） ------------------------ */
.fs-c-productPrice__main__price.fs-c-price,
.fs-c-productPrice__main__price .fs-c-price__value,
.fs-c-productPrice__main__price .fs-c-price__currencyMark {
  font-size: 30px;
  font-weight: 700;
}
.fs-c-productPrice__addon {
  font-size: 14px;
}

/* --- 見出し ------------------------------------------------------------- */
.fs-c-heading--page {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}
.fs-p-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #00bcc7;
}

/* --- ボタン ------------------------------------------------------------- */
.fs-c-button--addToCart--detail,
.fs-c-button--primary {
  font-size: 17px;
  font-weight: 700;
}

/* ==========================================================================
   04  SHOPPING MALL ページ用の上書き  2026-09-05 / 09-08
   ご指摘「一覧ページの文字サイズ・行間・余白・色が現行と違う」への対応。
   body:where(:has(#mall-header)) でモール配下だけに限定しています。
   ========================================================================== */

/* =========================================================
   ME-Q SHOPPING MALL ページ用 上書きCSS（コマースクリエイター専用）
   2026-09-05 THREE D PLUS
   置き場所: デザイン管理 > スタイルシート（コマースクリエイター用）の末尾
   対象: モールのヘッダー（#mall-header）があるページだけ。
         body:where(:has(#mall-header)) で限定し、:where() で詳細度を上げていないので
         common.css（モール用CSS）のクラス指定はそのまま優先される。
   ========================================================= */

/* 1. 現行の .system_content 相当
   現行は本文が <div class="system_content">（common.css: font-size 1.8rem = 18px、
   スマホ幅 1.6rem = 16px）の中に入っている。CCにはこのラッパーが無く、body の 10px を
   そのまま継承しているため、見出し・説明文・商品一覧が 10px 基準で描画されていた。 */
body:where(:has(#mall-header)) .categorybnr2,
body:where(:has(#mall-header)) .categorybnr3,
body:where(:has(#mall-header)) .category__bnr,
body:where(:has(#mall-header)) .category__delivery,
body:where(:has(#mall-header)) .description-of-item,
body:where(:has(#mall-header)) .detail__description,
body:where(:has(#mall-header)) .fs-c-productList,
body:where(:has(#mall-header)) .fs-c-breadcrumb {
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  body:where(:has(#mall-header)) .categorybnr2,
  body:where(:has(#mall-header)) .categorybnr3,
  body:where(:has(#mall-header)) .category__bnr,
  body:where(:has(#mall-header)) .category__delivery,
  body:where(:has(#mall-header)) .description-of-item,
  body:where(:has(#mall-header)) .detail__description,
body:where(:has(#mall-header)) .detail__description,
  body:where(:has(#mall-header)) .fs-c-productList,
  body:where(:has(#mall-header)) .fs-c-breadcrumb {
    font-size: 16px;
  }
}

/* 2. fs_theme.css が汎用タグに与えている差分を、現行（ブラウザ既定）に戻す */
body:where(:has(#mall-header)) {
  font-weight: 400;        /* fs_theme: 300（本文が細く薄く見える） */
}
body:where(:has(#mall-header)) h1,
body:where(:has(#mall-header)) h2,
body:where(:has(#mall-header)) h3,
body:where(:has(#mall-header)) h4,
body:where(:has(#mall-header)) h5 {
  font-weight: bold;       /* fs_theme: 500（日本語フォントでは太字にならない） */
  line-height: inherit;    /* fs_theme: 1.2 → 現行は original.css の 1.8 を継承 */
}

/* 3. パンくず（レイアウトにパンくずリストパーツを入れた場合、現行 .pan と同じ見た目にする） */
body:where(:has(#mall-header)) .fs-c-breadcrumb {
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  padding: 10px 0 40px;
  font-size: 12px;
  color: #828282;
}
body:where(:has(#mall-header)) .fs-c-breadcrumb a { color: #828282; }
body:where(:has(#mall-header)) .fs-c-breadcrumb__list { margin: 0; padding: 0; }
@media screen and (max-width: 1080px) {
  body:where(:has(#mall-header)) .fs-c-breadcrumb { padding: 10px 10px 40px; }
}
@media screen and (max-width: 768px) {
  body:where(:has(#mall-header)) .fs-c-breadcrumb { padding: 10px 16px 20px; font-size: 12px; }
}

/* 4. SHOPPING MALL トップ（/c/shoppingmall）
   現行はバナーのみで商品一覧を出していないので、CCの商品一覧パーツを非表示にする */
body.fs-body-category-shoppingmall .fs-c-productList { display: none; }
/* 商品0件のカテゴリ（/c/shoppingmall/ecocase など）で空のメッセージ枠が余白を作らないようにする */
body:where(:has(#mall-header)) .fs-c-productList:not(:has(.fs-c-productList__list)) { display: none; }


/* 5. 商品一覧カード（/c/shoppingmall/GLASSFILM など）
   現行 #FS2_itemlayout_IHL1 の見た目（4列・中央寄せ・12px太字・黒）に合わせる */
body:where(:has(#mall-header)) .fs-c-productList {
  max-width: 1080px;
  margin: 0 auto;
}
body:where(:has(#mall-header)) .fs-c-productList__controller {
  font-size: 12px;
  color: #828282;
}
body:where(:has(#mall-header)) .fs-c-productList__controller a { color: #828282; }
body:where(:has(#mall-header)) .fs-c-productList__list {
  display: grid;
  grid-template-columns: repeat(4, 23.5%);
  column-gap: 2%;
  row-gap: 85px;
}
body:where(:has(#mall-header)) .fs-c-productList__list__item {
  border-bottom: none;
  padding: 0;
}
body:where(:has(#mall-header)) .fs-c-productListItem__image { margin: 0 0 8px; }
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productListItem__productName {
  display: block;
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productListItem__productName a,
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productName__name { color: #1f1f1f; }
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main { justify-content: center; }
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice:not(.fs-c-productPrice--listed) .fs-c-productPrice__main__price,
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main__price.fs-c-price,
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main__price .fs-c-price__value {
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 700;
}
/* 現行で非表示だった要素: 「当店特別価格」「(税込)」「他の画像を見る」「詳細を見る」「お気に入り」 */
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main__label,
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__addon,
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main__addon,
body:where(:has(#mall-header)) .fs-c-productListItem__viewMoreImageButton,
body:where(:has(#mall-header)) .fs-c-productListItem__control { display: none; }
body:where(:has(#mall-header)) .fs-c-productListItem__notice {
  font-size: 12px;
  margin: 8px 0 0;
}
@media screen and (max-width: 768px) {
  body:where(:has(#mall-header)) .fs-c-productList__list {
    grid-template-columns: repeat(2, 47%);
    column-gap: 6%;
    row-gap: 36px;
  }
}

/* 6. 価格表記・在庫切れ・並び替え（/c/shoppingmall/GLASSFILM など） */
/* 9/2 の文字サイズ調整CSS（商品詳細向け）が一覧の「￥」にも効いて 30px になっているのを戻す */
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-productPrice__main__price .fs-c-price__currencyMark {
  font-size: 12px;
  line-height: inherit;
}
/* 現行の「980円」表記に合わせる（「￥980」のままでよければこの2行は削除） */
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-price__currencyMark { display: none; }
body:where(:has(#mall-header)) .fs-c-productListItem .fs-c-price__value::after { content: "\5186"; }

/* 在庫切れ: 現行 .itemStock（グレー地に白文字） */
body:where(:has(#mall-header)) .fs-c-productListItem__outOfStock,
body:where(:has(#mall-header)) .fs-c-productListItem__lowInStock {
  margin: 10px 0 0;
  padding: 6px 0;
  background: #949494;
  border: none;
  font-size: 12px;
  line-height: normal;
  color: #fff;
}
/* 並び替え・件数表示: 現行 .FS2_sort_menu_bg / .pager（右上に並び替え、下に件数と罫線） */
body:where(:has(#mall-header)) .fs-c-productList__controller {
  flex-direction: column;
  align-items: flex-end;
  margin: 0 0 54px;
}
body:where(:has(#mall-header)) .fs-c-productList__controller > * { margin: 0; }
body:where(:has(#mall-header)) .fs-c-sortItems { font-size: 12px; }
body:where(:has(#mall-header)) .fs-c-sortItems__label,
body:where(:has(#mall-header)) .fs-c-sortItems__list__item__label {
  border: none;
  padding: 0 3px;
  line-height: inherit;
}
body:where(:has(#mall-header)) .fs-c-sortItems__list__item { border-right: 1px solid #828282; }
body:where(:has(#mall-header)) .fs-c-sortItems__list__item:last-child { border-right: none; }
body:where(:has(#mall-header)) .fs-c-sortItems__list__item.is-active { background: none; color: #828282; }
body:where(:has(#mall-header)) .fs-c-listControl {
  width: 100%;
  justify-content: flex-start;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid #828282;
}

/* ==========================================================================
   05  メルマガ申込フォーム  2026-09-09
   フッターのフォームをコマースクリエイターで登録できる形にした分。
   ========================================================================== */

/* ==========================================================================
   メルマガ申込フォーム（コマースクリエイター対応）
   2026-09-09 THREE D PLUS
   置き場所: デザイン管理 > スタイルシート（コマースクリエイター用）の末尾
   ========================================================================== */

/* --- 同意チェックの行 ---------------------------------------------------- */
.meq-ml-agree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #222;
  cursor: pointer;
}
.meq-ml-agree a {
  color: #222;
  text-decoration: underline;
}
.mall-footer__ml__box--agree .mall-footer__ml__box--input {
  display: flex;
  align-items: center;
  min-height: 40px;
}

/* チェックボックスの見た目を戻す。
   original.css の .mall-footer__ml input が appearance:none を当てているため、
   これを打ち消さないとチェックを入れても白い四角のままで見分けがつかない。 */
.mall-footer__ml .meq-ml-agree input[type="checkbox"] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
  display: inline-block;
  flex: none;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  border-radius: 0;
}

/* --- ME-Q共通フッターに置く場合の文字サイズ ------------------------------
   モール用CSS（common.css）が読み込まれないページ向け。
   original.css は 1.0rem 指定だが、コマースクリエイターは 1rem=10px のため
   そのままだと10pxに縮む。px で指定し直す。
   モールのページは common.css が後から同じ値を当てるので影響しない。 */
#footer .mall-footer__ml--title { font-size: 16px; }
#footer .mall-footer__ml__box--title { font-size: 16px; }
#footer .mall-footer__ml input { font-size: 14px; }

/* ==========================================================================
   06  ボタンの枠色とマイページのタイル  2026-09-09
   ご指摘「ショッピングを続けるボタンに緑の枠が残る」「マイページが読みにくい」。
   ========================================================================== */

/* ボタンの枠を背景に揃える */
.fs-c-button--standard,
.fs-c-button--standard:link,
.fs-c-button--standard:visited,
.fs-c-button--standard:hover,
.fs-c-button--standard:active {
  background: #FF5926;
  border-color: #FF5926;
  color: #fff;
}

/* マイページのタイルを白地へ */
.fs-c-accountService__page:not(.fs-c-accountService__page--accountDelete) .fs-c-accountService__pageLink {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: none;
  color: #231815;
}
.fs-c-accountService__page:not(.fs-c-accountService__page--accountDelete) .fs-c-accountService__pageLink__label::before {
  color: #ff6670;
}

/* ==========================================================================
   07  パンくずリストの位置と行数  2026-09-10
   ご指摘「位置をもう一度確認」「3行もあるのは現行ではない」への対応。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター パンくずリストの位置と行数 2026-09-10
   --------------------------------------------------------------------------
   ご指摘（2026-09-09 MAW様）
     「パンくずリストの位置をもう一度ご確認ください。
       またパンくずリストが3行もあるのも現行ではないです。」

   現行サイトの挙動（/shoppingmall/_mall/js/setting.js で実測）
     if($('#FS2_body_Goods').length && $('.FS2_upper_comment').length){
       $('.FS2_SeniorDesign_comment').after($('.pan').eq(0).addClass('show'));
     }
     → SHOPPING MALL 配下のページだけ、パンくずを JS でヒーロー画像＋
       「お届け予定日」帯の下へ移動している。だから現行は帯の下に出る。
     → 商品詳細のパンくずは 1 本だけ（サブグループ分は出さない）。

   CC の現状（2026-09-10 実測）
     カテゴリ13ページ … パンくずがヒーローの上（＝ヘッダー直下）。13/13 で要修正
     商品詳細67点 …… 位置は現行と同じだが「サブグループパンくずリストパーツ」が
                        併用されていて 2〜4 行（59点が3行）。現行は 1 行

   ★推奨は管理画面での対応（下の CSS は管理画面で直せない場合の代替）
     1) 商品グループ用レイアウト: パンくずリストパーツを、ヒーロー画像を出している
        パーツ（category__bnr／お届け予定日）の下へ移動する
     2) 商品詳細用レイアウト（モール用）: サブグループパンくずリストパーツを削除する

   置き場所: CC用スタイルシートの末尾（SHOPPING MALL 用ブロックの後ろ）
   ========================================================================== */

/* --- 1. カテゴリページ: パンくずをヒーロー＋お届け予定日の下へ ------------- */
/* .fs-l-page の中身を「ヘッダー → ヒーロー → パンくず → それ以外」の順に並べ替える。
   SHOPPING MALL トップは商品一覧とフッターが .fs-l-page の外に出ているので、
   ヒーローに使われる要素（video / .categorybnr2 / .categorybnr3）も含めて指定する。 */
body.fs-body-category:where(:has(#mall-header)) .fs-l-page {
  display: flex;
  flex-direction: column;
}
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > * { order: 3; }
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > #fs-page-error-container,
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > #mall-header { order: 0; }
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > .category__bnr,
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > .category__delivery,
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > video,
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > .categorybnr2,
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > .categorybnr3 { order: 1; }
body.fs-body-category:where(:has(#mall-header)) .fs-l-page > .fs-c-breadcrumb { order: 2; }

/* --- 2. 商品詳細: サブグループのパンくず（2行目以降）を出さない ----------- */
body:where(:has(#mall-header)) .fs-c-breadcrumb:where(:has(.fs-c-breadcrumb__list--subgroup)) {
  display: none;
}

/* ==========================================================================
   08  見出しデザイン v3（現行に戻す）  2026-09-10
   ご指摘「現行のイメージにもどせますか／赤が強すぎ／ボックス（帯）もやめて」。
   9/4 版・（任意）ボックス版・9/5 版（赤帯）を削除し、このブロックに一本化。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター 見出しデザイン v3（現行デザインへ戻す）2026-09-10
   --------------------------------------------------------------------------
   ご指摘（2026-09-09 MAW様）
     「fs で作成するページあたりですが、現行のイメージにもどせますか？
       色の赤がつよすぎかもです。ボックス（帯）のあしらいもやめてください。」
   → 9/5 の v2（赤い帯・ストライプ下線・赤い破線）を撤回し、現行サイトの
     見出し（ミントグリーンの下線）に戻す。

   現行サイトの実測値（/fs/make/BusinessDeal.html をローカルミラーで計測）
     本文（body）        14px
     .pageTitle  h2タグ  19.46px(=139%) / 太字 / #63d5c2 / 中央 /
                         margin 0 0 25px / padding-bottom 6px /
                         border-bottom 1px solid #63d5c2
     .CrossHead  h3タグ  15.12px(=108%) / 太字 / #63d5c2 / 中央 /
                         margin 20px 0 5px / padding-bottom 6px /
                         border-bottom 2px solid #63d5c2
     .Definition h4タグ  14px(=100%) / 太字 / #222 / 左 /
                         margin 20px 0 5px / border-bottom 2px dotted #63d5c2

   意図的に現行と変えている点は次の2つだけ
     1. 本文の基準を 14px ではなく 16px にしている
        （2026-09-02 のご指摘「文字サイズが小さい」への対応を維持するため。
          現行の 139% / 108% / 100% という比率はそのまま使っている）
     2. 小見出しの下線に padding-bottom 4px を入れている
        （16px だと文字と破線が接触するため）

   CC標準ページでの対応要素
     h1 = .fs-c-heading--page（現行の .pageTitle にあたる）
     h2 = .fs-c-documentArticle__heading / .fs-c-subSection__title ほか
     h3 = .fs-c-documentColumn__heading ／ h4 = .fs-c-documentSubColumn__heading
   対象: CC標準ページ（規約・特定商取引法・送料・カート・ログイン・会員登録・
         マイページ等）の本文領域 .fs-l-pageMain の中の見出し。
         商品詳細（fs-body-product）は 9/2 の調整があるので除外。
   置き場所: CC用スタイルシートの末尾。
         「見出しデザイン（h1〜h5）2026-09-05 版」のブロックは削除して置き換える。
   ========================================================================== */

/* --- h1（現行 .pageTitle 相当：中央・ミント・細い下線） ------------------ */
body:not(.fs-body-product) .fs-l-pageMain h1 {
  margin: 0 0 25px;
  padding: 0 0 6px;
  font-size: 22px;              /* 16px × 139% */
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
  color: #63d5c2;
  background: none;
  border: none;
  border-bottom: solid #63d5c2 1px;
  border-radius: 0;
}

/* --- h2（現行 .CrossHead 相当：中央・ミント・2px の下線） ---------------- */
body:not(.fs-body-product) .fs-l-pageMain h2 {
  margin: 30px 0 12px;
  padding: 0 0 6px;
  font-size: 18px;              /* 16px × 108% */
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
  color: #63d5c2;
  background: none;
  border: none;
  border-bottom: solid #63d5c2 2px;
}

/* --- h3・h4・h5（現行 .Definition 相当：左・黒文字・ミントの破線） ------- */
body:not(.fs-body-product) .fs-l-pageMain h3,
body:not(.fs-body-product) .fs-l-pageMain h4,
body:not(.fs-body-product) .fs-l-pageMain h5 {
  margin: 24px 0 8px;
  padding: 0 0 4px;
  font-size: 16px;              /* 16px × 100% */
  font-weight: bold;
  line-height: 1.8;
  text-align: left;
  color: #222;
  background: none;
  border: none;
  border-bottom: dotted #63d5c2 2px;
}

/* --- v2 で付けた帯の折り返し・ストライプ下線を打ち消す ------------------- */
body:not(.fs-body-product) .fs-l-pageMain h1::before,
body:not(.fs-body-product) .fs-l-pageMain h1::after,
body:not(.fs-body-product) .fs-l-pageMain h2::before,
body:not(.fs-body-product) .fs-l-pageMain h2::after,
body:not(.fs-body-product) .fs-l-pageMain h3::before,
body:not(.fs-body-product) .fs-l-pageMain h3::after,
body:not(.fs-body-product) .fs-l-pageMain h4::before,
body:not(.fs-body-product) .fs-l-pageMain h4::after,
body:not(.fs-body-product) .fs-l-pageMain h5::before,
body:not(.fs-body-product) .fs-l-pageMain h5::after {
  content: none;
}

/* --- 見出しが続く場合は上の余白を詰める ---------------------------------- */
body:not(.fs-body-product) .fs-l-pageMain h1 + h2,
body:not(.fs-body-product) .fs-l-pageMain h2 + h3,
body:not(.fs-body-product) .fs-l-pageMain h3 + h4,
body:not(.fs-body-product) .fs-l-pageMain h4 + h5 {
  margin-top: 0;
}

/* --- スマホ幅 ------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body:not(.fs-body-product) .fs-l-pageMain h1 { font-size: 20px; margin-bottom: 20px; }
  body:not(.fs-body-product) .fs-l-pageMain h2 { font-size: 17px; margin: 24px 0 10px; }
  body:not(.fs-body-product) .fs-l-pageMain h3,
  body:not(.fs-body-product) .fs-l-pageMain h4,
  body:not(.fs-body-product) .fs-l-pageMain h5 { font-size: 15px; margin-top: 20px; }
}

/* --- 本文（v2 から変更なし） ---------------------------------------------- */
.fs-c-documentColumn__content,
.fs-c-documentArticle__content,
.fs-p-announcement__body,
.fs-c-subSection,
.fs-p-card,
.fs-p-card__message {
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   09  商品詳細のレイアウト  2026-09-10
   ご指摘「商品レイアウトも現行に合わせてほしい」への対応。
   上段をメイン画像50% / サムネイル47.2%の2カラムにします。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター 商品詳細レイアウトを現行に合わせる 2026-09-10
   --------------------------------------------------------------------------
   ご指摘（2026-09-10 MAW様）
     「商品レイアウトも現行に合わせてほしい」

   現行の組み立て（/shoppingmall/_mall/js/setting.js + common.css で実測）
     上段  左 50%    メイン画像
           右 47.22% 商品イメージ（サムネイル・4列グリッド・120px角）
     下段  左 50%    商品説明
           右 47.22% 商品名・価格・オプション・カート
     ※ 現行は JS で .detail__top / .detail__btm を組み立て、
       common.css の float で2カラムにしている。

   CC の現状
     .fs-l-productLayout は 2列グリッド（479px 479px）。
     下段（item--2 商品説明 ／ item--3 商品名・価格）は現行と同じ並びだが、
     上段（item--1）だけが2列ぶち抜きで、メイン画像が幅いっぱい（878px）、
     サムネイルがその下に横1列で並ぶ。差が出ているのは上段だけ。

   対応: item--1 の中を現行と同じ2カラムにし、サムネイルを4列グリッドにする。
   置き場所: コマースクリエイター > デザイン管理 >
             スタイルシート（コマースクリエイター用）の末尾
   ========================================================================== */

/* --- 上段を「メイン画像 左50% ／ サムネイル 右47.22%」の2カラムに ---------- */
body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 {
  display: grid;
  grid-template-columns: 50% 47.2222%;
  justify-content: space-between;
  align-items: start;
}
body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 > .fs-c-productMainImage {
  grid-column: 1;
}
body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 > .fs-c-productThumbnail {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 22%);
  justify-content: space-between;
  row-gap: 4%;
  align-content: start;
}

/* --- サムネイルを現行と同じ 120px 角・薄いグレーの枠に --------------------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productThumbnail__image {
  width: auto;
  margin: 0;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productThumbnail__image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  padding: 2px;
  border: solid #d1d1d1 1px;
  box-sizing: border-box;
}

/* --- メイン画像を左カラムの幅に収める ------------------------------------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productMainImage__image img {
  width: 100%;
  height: auto;
}

/* --- スマホ幅は現行と同じく1カラムへ戻す ---------------------------------- */
@media screen and (max-width: 768px) {
  body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 {
    display: block;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 > .fs-c-productThumbnail {
    display: grid;
    grid-template-columns: repeat(4, 22%);
    justify-content: space-between;
    row-gap: 4%;
    margin-top: 20px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productThumbnail__image img {
    height: 80px;
  }
}

/* ==========================================================================
   10  商品詳細を現行の見た目へ寄せる  2026-09-10
   ご指示「CC仕様の部分は仕方がないが、限りなく現行のデザインに合わせる」。
   商品名・価格・オプション・カート・お問い合わせなどを現行の実測値に合わせ、
   現行に無い要素（商品番号・ポイント・拡大ボタン・お気に入り）を消します。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター 商品詳細を現行の見た目へ寄せる 2026-09-10
   --------------------------------------------------------------------------
   ご指示（2026-09-10）
     「CC仕様の部分は仕方がないが、限りなく現行のデザインに合わせる」

   09（商品詳細のレイアウト）で上段の2カラムはそろったので、
   ここでは商品情報カラムの中身を現行の見た目に寄せる。

   現行の実測値（/fs/make/gssc-0956-ip のローカルミラーで計測）
     商品名        h1 32px / 700 / #222 / 左 / 上32px・下16px
     商品番号      非表示（original.css の .itemNumber { display:none }）
     価格エリア    右寄せ。「当店特別価格」は非表示
     価格の数字    34px / 700 / #222 /「1,680円」（¥ ではなく後ろに円）
     税込表記      14px / 700 /「(税込)」
     ポイント      表示あり（[17ポイント進呈 ] 15.3px / 400 / #ff3300 / 背景なし）
     オプション名  18px / 700 / #828282 / 背景なし
     select        18px / 高さ54px / 枠1px #828282 / 左右パディング25px
     カートボタン  #ff4c5d / 18px / 700 / 白 / 幅100% / 上下パディング18px
     お問い合わせ  #1f1f1f の黒帯 / 18px / 700 / 白 / 幅100% / 上マージン60px
     サムネ見出し  「商品イメージ」18px / #828282
     数量・お気に入り・画像拡大  いずれも表示なし
     商品説明の本文  #1f1f1f 14px / 小見出し .medium #1f1f1f 16px 600 /
                     リード文 #ff4c5d 18px 700（いずれもCCと一致済み）

   CSSでは埋められない差（パーツ追加や仕様のため）
     ・商品マーク（オススメ / NEW / SALE）… CCの商品詳細に出力要素が無い
     ・「バリエーションのイメージ」の見出し … サムネイルが1ブロックのため分割不可
     ・オプション未選択のときカートボタンが隠れる … CCの仕様

   2026-09-10 追記
     バリエーションのタイルがスマホで横に見切れて選べない状態だったので、
     折り返す形に変更しました（PC3列 / スマホ2列）。

   対象: SHOPPING MALL 配下の商品詳細のみ（#mall-header があるページ）
   置き場所: コマースクリエイター > デザイン管理 >
             スタイルシート（コマースクリエイター用）の末尾（09 のブロックの後ろ）
   ========================================================================== */

/* --- 商品名: 現行と同じ 32px / #222 / 上下の余白 -------------------------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productNameHeading {
  padding-top: 32px;
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

/* --- 現行に無い要素を消す ------------------------------------------------- */
/* 商品番号のバッジ・画像の拡大ボタン・お気に入り */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productNumber,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productMainImage__expandButton,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productQuantityAndWishlist__wishlist {
  display: none;
}
/* 数量欄も現行は非表示（.FS2_figure_table_td_input_cnt）。
   数量を選べるようにしたい場合はこの1ブロックだけ削除する */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productQuantityAndWishlist__quantity {
  display: none;
}

/* --- 価格: 右寄せ・34px・黒・「1,680円」表記 ------------------------------ */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrices {
  text-align: right;
  margin-bottom: 15px;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice--selling {
  justify-content: flex-end;
}
/* 「当店特別価格」は現行では非表示（original.css の .FS2_special_price） */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__label {
  display: none;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price.fs-c-price,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price .fs-c-price__value {
  font-size: 34px;
  font-weight: 700;
  color: #222;
}
/* 通貨記号を消して、数字のうしろに「円」を付ける（現行と同じ並び）
   \5186 は「円」のユニコードエスケープ */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price .fs-c-price__currencyMark {
  display: none;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price .fs-c-price__value::after {
  content: "\5186";
}
/* 税込を現行と同じ「(税込)」太字14pxに */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__addon {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__addon::before { content: "("; }
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__addon::after  { content: ")"; }

/* --- ポイント進呈: 現行は表示あり（#ff3300・背景なし・右寄せ） -------------
   9/10 の初回対応で誤って非表示にしていました。現行の実測は
   「[17ポイント進呈 ]」15.3px / 400 / #ff3300 / 背景なし。
   コマースクリエイターの既定はミント地の白文字バッジなので、そこを戻します。 */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productPointDisplay {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  background: none;
  text-align: right;
  font-size: 15px;
  font-weight: 400;
  color: #ff3300;
}

/* --- オプション: 見出し18px #828282・selectは高さ54pxの現行仕様 ---------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productOption {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: solid #828282 1px;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productOption__name,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productChooseVariation__variationName {
  padding: 0;
  background: none;
  font-size: 18px;
  font-weight: 700;
  color: #828282;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-productOption__option,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productChooseVariation__variation {
  padding-top: 6px;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-dropdown select {
  padding: 0 25px;
  width: 100%;
  height: 54px;
  background: #fff;
  border: solid #828282 1px;
  border-radius: 0;
  font-size: 18px;
  color: #1f1f1f;
}

/* --- カートボタン: 現行の #ff4c5d・幅100%・18px ------------------------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-productActionButton .fs-c-button--addToCart--detail,
body.fs-body-product:where(:has(#mall-header)) .fs-c-productActionButton .fs-c-button--primary {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 18px 0;
  background: #ff4c5d;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* --- お問い合わせ: 現行の黒帯（#1f1f1f・幅100%・上に60px） -------------- */
body.fs-body-product:where(:has(#mall-header)) .fs-c-buttonContainer--inquiryAboutProduct {
  display: block;
  margin: 60px 0 0;
  padding: 0;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-button--inquiryAboutProduct {
  display: block;
  width: 100%;
  padding: 18px 0;
  background: #1f1f1f;
  border: none;
  border-radius: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* --- サムネイルの上に現行と同じ「商品イメージ」の見出しを出す ------------
   \5546\54C1\30A4\30E1\30FC\30B8 = 商品イメージ
   ファイルは UTF-8 なので日本語を直接書いても出ますが、
   取り違えを避けるためエスケープで書いています。 */
body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 > .fs-c-productThumbnail::before {
  content: "\5546\54C1\30A4\30E1\30FC\30B8";
  grid-column: 1 / -1;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
  color: #828282;
}

/* --- バリエーション（機種）のタイル ---------------------------------------
   CCの既定は「1行の横スクロール」で、機種が多い商品ではタイルが画面の外に
   出てしまい、スマホでは選べませんでした（iPhone用は23機種）。
   折り返して全部見える形に変えます。PCは3列、スマホは2列。
   選択中のタイルは内側の __panel__content が色を持っているので、そこを
   サイトの色に合わせます（テーマ既定は青）。色を変えたくない場合は
   :checked のブロックだけ削除してください。 */
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__list {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row;
  overflow-x: visible;
  gap: 8px;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__list__item {
  width: auto;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__panel {
  height: 100%;
  box-sizing: border-box;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__panel,
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__list__item {
  font-size: 14px;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__radio:checked + .fs-c-variationPanelList__panel .fs-c-variationPanelList__panel__content {
  background: #ff4c5d;
  color: #fff;
}
/* 「機種」などの軸ラベルが10pxで読めないので、他のオプション見出しと同じ色・大きさに */
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationLabel__label {
  font-size: 14px;
  color: #828282;
}
body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__panel__stock {
  font-size: 12px;
}
@media screen and (min-width: 769px) {
  body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- 「返品特約について」--------------------------------------------------
   現行には無い CC の表示。10pxで読めないので13pxにする。
   出したくない場合は display: none に変える（法定表示にあたるため、
   消してよいかは先方にご確認ください）。 */
body.fs-body-product:where(:has(#mall-header)) .fs-c-returnedSpecialContract {
  font-size: 13px;
}

/* --- スマホ幅 ------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productNameHeading {
    padding-top: 20px;
    font-size: 22px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price.fs-c-price,
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productPrice__main__price .fs-c-price__value {
    font-size: 26px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productOption__name,
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productChooseVariation__variationName {
    font-size: 14px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-dropdown select {
    padding: 0 12px;
    height: 48px;
    font-size: 14px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productActionButton .fs-c-button--addToCart--detail,
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productActionButton .fs-c-button--primary,
  body.fs-body-product:where(:has(#mall-header)) .fs-c-button--inquiryAboutProduct {
    padding: 14px 0;
    font-size: 14px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-buttonContainer--inquiryAboutProduct {
    margin-top: 30px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-l-productLayout__item--1 > .fs-c-productThumbnail::before {
    font-size: 16px;
  }
  body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__panel,
  body.fs-body-product:where(:has(#mall-header)) .fs-c-variationPanelList__list__item {
    font-size: 12px;
  }
}

/* ==========================================================================
   11  パンくず1項目目を現行の表記へ  2026-09-10
   ご指示「現行『商品カテゴリ一覧』も併せます。全ページ共通」。
   コマースクリエイターの「HOME」を、現行と同じ「商品カテゴリ一覧」に差し替えます。
   ========================================================================== */

/* ==========================================================================
   ME-Q コマースクリエイター パンくず1項目目を現行の表記へ 2026-09-10
   --------------------------------------------------------------------------
   ご指示（2026-09-10）
     「現行『商品カテゴリ一覧』も併せます。全ページ共通」

   現行サイトは <p class="pan FS2_breadcrumbs"> の1項目目が
   「商品カテゴリ一覧」（リンク先はトップ）。
   コマースクリエイターのパンくずリストパーツは「HOME」で出力されます。
   パーツ側で表示名を変えられる設定が見つかれば、そちらが本筋です。
   ここでは CSS で表示だけ差し替えています。

   仕組み
     1項目目のリンクの文字サイズを 0 にして「HOME」を消し、
     ::after に「商品カテゴリ一覧」を入れる。リンクはそのまま生きています。
     ::after は文字サイズを継承できない（親が 0 のため）ので、
     ページ種ごとに実測値を明示しています。
       CC標準ページ  13px（03 の文字サイズ調整で .fs-c-breadcrumb が 13px）
       モール配下    12px（04 の SHOPPING MALL 用ブロックで 12px）

   \5546\54C1\30AB\30C6\30B4\30EA\4E00\89A7 = 商品カテゴリ一覧

   注意
     構造化データ（JSON-LD の BreadcrumbList）は「HOME」のままです。
     画面表示とだけ差が出ますが、検索結果の表示には影響しません。
     気になる場合はパーツ設定側での変更が必要です。

   対象: 全ページ共通
   置き場所: コマースクリエイター > デザイン管理 >
             スタイルシート（コマースクリエイター用）の末尾
   ========================================================================== */

.fs-c-breadcrumb__list > .fs-c-breadcrumb__listItem:first-child > a {
  font-size: 0;
}
.fs-c-breadcrumb__list > .fs-c-breadcrumb__listItem:first-child > a::after {
  content: "\5546\54C1\30AB\30C6\30B4\30EA\4E00\89A7";
  font-size: 13px;
}

/* SHOPPING MALL 配下はパンくずが 12px */
body:where(:has(#mall-header)) .fs-c-breadcrumb__list > .fs-c-breadcrumb__listItem:first-child > a::after {
  font-size: 12px;
}

/* ポイント進呈の文字色を現行（#ff3300）に固定 */
body.fs-body-product .fs-c-productPointDisplay,
body.fs-body-product .fs-c-productPointDisplay__label,
body.fs-body-product .fs-c-productPointDisplay__quantity,
body.fs-body-product .fs-c-productPointDisplay__unit {
  color: #ff3300 !important;
  background: none !important;
}
/* 商品詳細の価格を赤に */
body.fs-body-product .fs-c-productPrice__main__price.fs-c-price,
body.fs-body-product .fs-c-productPrice__main__price .fs-c-price__value {
  color: #ff003e !important;
}

.fs-l-cart .fs-p-announcement {
    display: none;
}
.fs-c-continueShopping {
    text-align: center;
}

.fs-c-cartDiscountInfo__info {
    justify-content: center;
    font-weight: bold;
    padding: 20px;
    border: 2px solid #FF5926;
    color: #FF5926;
    border-radius: 10px;
}
/* → 18px・太字・オレンジ枠・角丸で表示される */

/* ②-1 ご利用方法を非表示 */
.fs-l-cart .fs-p-announcement {
    display: none;
}

/* ②-2 続けるボタンを中央に */
.fs-c-continueShopping {
    text-align: center;
}

/* ②-3 PCではカート本文の直下に置く（下記「浮き」対策） */
@media screen and (min-width: 960px) {
    .fs-body-cart .fs-l-cart:has(> .fs-l-cart__contentsArea > .fs-l-cart__sideColumn) {
        display: grid;
        grid-template-columns: 1fr 280px;
        column-gap: 24px;
        grid-template-rows: min-content 1fr;
        align-items: start;
    }
    .fs-body-cart .fs-l-cart:has(> .fs-l-cart__contentsArea.is-linkedServiceLoginAvailable) {
        grid-template-columns: 1fr 332px;
    }
    .fs-body-cart .fs-l-cart:has(> .fs-l-cart__contentsArea > .fs-l-cart__sideColumn) > .fs-l-cart__contentsArea {
        display: contents;
    }
    .fs-body-cart .fs-l-cart__mainColumn { grid-column: 1; grid-row: 1; }
    .fs-body-cart .fs-l-cart__sideColumn { grid-column: 2; grid-row: 1 / span 2; }
    .fs-body-cart .fs-c-continueShopping { grid-column: 1; grid-row: 2; margin-top: 24px; }
}

.fs-c-cartTable__product {
    display: grid;
    grid-template-columns: 80px 1fr;   /* 1列目=画像, 2列目=商品名 */
}
.fs-c-cartTable__productImage + .fs-c-cartTable__productInfo {
    grid-column: 2;                    /* 画像あり → 2列目から */
}
.fs-c-cartTable__productInfo {
    grid-column: 1/span 2;             /* 画像なし → 1列目から2列ぶち抜き */
}


.fs-c-cartTable__product:not(:has(.fs-c-cartTable__productImage))::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 72px;   /* 商品サムネイルの表示幅（PC・スマホとも72px）に合わせる */
    height: 72px;
    background: #f5f5f5 url("https://www.me-q.jp/wp/wp-content/uploads/2020/11/logo.png") center / 70% no-repeat;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}
.fs-c-cartTable__productInfo {
    grid-column: 2;
}

.fs-l-header--min .layout_body {
    padding-top: 0;
}
.fs-l-header--min #header {
    position: relative;
}


body.fs-body-product:where(:has(#mall-header)) .fs-c-productThumbnail__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 2px;
  border: solid #d1d1d1 1px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  body.fs-body-product:where(:has(#mall-header)) .fs-c-productThumbnail__image img {
    height: auto;
  }
}

/* ⑥ 送料無料の表示を現行に合わせる */
.fs-c-cartDiscountInfo--postage .fs-c-cartDiscountInfo__info {
    color: #ff0000;
    border: 2px solid #ff0000;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    padding: 24px;
    justify-content: center;
    align-items: baseline;
}
.fs-c-cartDiscountInfo--postage .fs-c-cartDiscountInfo__info::before {
    content: "\203B";
}
.fs-c-cartDiscountInfo--postage .fs-c-price__currencyMark {
    display: none;
}
.fs-c-cartDiscountInfo--postage .fs-c-price__value::after {
    content: "\5186";
}

/* ⑤ カートの「あとで買う」を非表示（PC・スマホとも） */
.fs-c-cartTable__actionButton__container--buyItLater {
    display: none;
}
/* カートの商品名（棒線の箇所）のリンクを無効化 */
.fs-c-cartTable__productName a,
.fs-c-cartTable__productName {
  pointer-events: none;
}

/* 商品価格 */
.fs-c-productPrice__main__price.fs-c-price,
.fs-c-productPrice__main__price .fs-c-price__value,
.fs-c-productPrice__main__price .fs-c-price__currencyMark {
  font-size: 22px;
}

/* バリエーション・選択項目 */
.fs-c-listedProductName__variation,
.fs-c-listedProductName__selection {
  font-size: 1.2rem;
}

/* ボタン */
.fs-c-button--primary {
  border-radius: 4px;
  padding: 0.8em 1.6em;
}
/* 会員規約など：入れ子の番号リストの縦線を消す（2026-09-16） */
.fs-c-orderedList > li .fs-c-orderedList {
  border-left: none;
}

.fs-l-header--min .layout_body {
  padding-top: 0 !important;
}
.fs-l-header--min {
  padding: 0 0 6px;
}
/* ==============================================================
   ME-Q コマースクリエイター
   法務3ページの見た目を現行サイトに合わせる（2026-09-16）

   対象: 特定商取引法に基づく表示 / 送料とお支払い方法について（利用規約）
         / 個人情報取り扱いについて（プライバシーポリシー）
   ※ body クラスで3ページに限定しているので、他ページには影響しない。

   現行の実測値（1440px幅・2026-09-16）
     本文          14px / line-height 1.8(25.2px) / #222 / 400 / letter-spacing 1.4px
     本文コンテナ   990px
     ページ見出し   .pageTitle  19.46px / 700 / #63d5c2 / 中央 / 下線 1px solid #63d5c2
                   margin 0 0 25px / padding-bottom 6px
     中見出し      .CrossHead  15.12px / 700 / #63d5c2 / 中央 / 下線 2px solid #63d5c2
                   margin 20px 0 5px / padding-bottom 6px
     小見出し      .Definition 16.38px / 700 / #222 / 左 / 下線 2px dotted #63d5c2
                   margin 20px 0 5px / padding-bottom 0
     表(th)        14px / 400 / 背景 #fff6eb / padding 3px 5px / 罫線 1px solid #ddd
     表(td)        14px / 400 / 背景 #fff6eb / padding 20px / 罫線 1px solid #ddd
============================================================== */

/* --- 対象3ページの共通変数 ------------------------------------------- */
body.fs-body-about-terms,
body.fs-body-about-shippingPayment,
body.fs-body-about-privacyPolicy {
  --meq-text: 14px;
  --meq-lh: 1.8;
  --meq-mint: #63d5c2;
  --meq-rule: #ddd;
  --meq-cell-bg: #fff6eb;
}

/* --- 本文コンテナの幅を現行（990px）に合わせる ------------------------ */
body.fs-body-about-terms .fs-l-main,
body.fs-body-about-shippingPayment .fs-l-main,
body.fs-body-about-privacyPolicy .fs-l-main {
  padding-left: 0;
  padding-right: 0;
}

/* --- 本文の文字 ------------------------------------------------------- */
body.fs-body-about-terms .fs-l-pageMain,
body.fs-body-about-shippingPayment .fs-l-pageMain,
body.fs-body-about-privacyPolicy .fs-l-pageMain {
  font-size: var(--meq-text) !important;
  line-height: var(--meq-lh) !important;
}

/* --- CC が内側に入れているラッパーの余白を消して本文幅 990px に合わせる --- */
body.fs-body-about-terms .fs-c-documentArticle,
body.fs-body-about-shippingPayment .fs-c-documentArticle,
body.fs-body-about-terms .fs-c-documentArticle__content,
body.fs-body-about-shippingPayment .fs-c-documentArticle__content {
  padding-left: 0;
  padding-right: 0;
}

body.fs-body-about-terms .fs-c-documentColumn__content,
body.fs-body-about-shippingPayment .fs-c-documentColumn__content {
  padding: 0;
  /* 標準は display:grid（子要素の間に32pxの隙間が入り、子が全幅のブロックになる）。
     現行にはこの隙間がなく、<strong> も行内なので、通常のブロック表示に戻す。 */
  display: block;
}

body.fs-body-about-terms .fs-l-pageMain :is(p, li, dd, dt, td, th, div, span, strong, b, a),
body.fs-body-about-shippingPayment .fs-l-pageMain :is(p, li, dd, dt, td, th, div, span, strong, b, a),
body.fs-body-about-privacyPolicy .fs-l-pageMain :is(p, li, dd, dt, td, th, div, span, strong, b, a) {
  font-size: var(--meq-text);
  line-height: var(--meq-lh);
  font-weight: 400;
}

body.fs-body-about-terms .fs-l-pageMain strong,
body.fs-body-about-shippingPayment .fs-l-pageMain strong,
body.fs-body-about-privacyPolicy .fs-l-pageMain strong {
  font-weight: 700;
}

/* 現行では <b> は通常の太さで表示されている */
body.fs-body-about-shippingPayment .fs-l-pageMain b {
  font-weight: 400;
}

/* 現行の <strong> は行内の要素（横幅いっぱいに広がらない） */
body.fs-body-about-terms .fs-l-pageMain strong,
body.fs-body-about-shippingPayment .fs-l-pageMain strong,
body.fs-body-about-privacyPolicy .fs-l-pageMain strong {
  display: inline !important;
}

/* --- h1（現行 .pageTitle） ------------------------------------------- */
body.fs-body-about-terms .fs-c-heading--page,
body.fs-body-about-shippingPayment .fs-c-heading--page,
body.fs-body-about-privacyPolicy .fs-c-heading--page {
  font-size: 19.46px !important;
  line-height: var(--meq-lh) !important;
}

/* --- h2 -------------------------------------------------------------
   送料ページ: CC の documentArticle__heading = 現行 .pageTitle
   特商法ページ: 同じ要素が現行 .CrossHead にあたる（対応が違う）
------------------------------------------------------------------- */
body.fs-body-about-shippingPayment .fs-c-documentArticle__heading {
  font-size: 19.46px !important;
  line-height: var(--meq-lh) !important;
  font-weight: 700 !important;
  color: var(--meq-mint) !important;
  text-align: center !important;
  margin: 0 0 25px !important;
  padding: 0 0 6px !important;
  border-bottom: 1px solid var(--meq-mint) !important;
}

body.fs-body-about-shippingPayment .fs-c-documentArticle + .fs-c-documentArticle .fs-c-documentArticle__heading {
  margin-top: 30px !important;
}

body.fs-body-about-terms .fs-c-documentArticle__heading {
  font-size: 15.12px !important;
  line-height: var(--meq-lh) !important;
  font-weight: 700 !important;
  color: var(--meq-mint) !important;
  text-align: center !important;
  margin: 20px 0 5px !important;
  padding: 0 0 6px !important;
  border-bottom: 2px solid var(--meq-mint) !important;
}

/* --- h3（CC の documentColumn__heading = 現行 .CrossHead 相当） -------- */
body.fs-body-about-terms .fs-c-documentColumn__heading,
body.fs-body-about-shippingPayment .fs-c-documentColumn__heading {
  font-size: 15.12px !important;
  line-height: var(--meq-lh) !important;
  font-weight: 700 !important;
  color: var(--meq-mint) !important;
  text-align: center !important;
  margin: 20px 0 5px !important;
  padding: 0 0 6px !important;
  border-bottom: 2px solid var(--meq-mint) !important;
}

/* --- プライバシーポリシー（現行の作りのまま移っているページ） --------- */
body.fs-body-about-privacyPolicy .system_content h3.CrossHead {
  font-size: 15.12px !important;
  line-height: var(--meq-lh) !important;
  font-weight: 700 !important;
  color: var(--meq-mint) !important;
  text-align: center !important;
  margin: 20px 0 5px !important;
  padding: 0 0 6px !important;
  border-bottom: 2px solid var(--meq-mint) !important;
}

body.fs-body-about-privacyPolicy .system_content h3.Definition {
  font-size: 16.38px !important;
  line-height: var(--meq-lh) !important;
  font-weight: 700 !important;
  color: #222 !important;
  text-align: left !important;
  margin: 20px 0 5px !important;
  padding: 0 !important;
  border-bottom: 2px dotted var(--meq-mint) !important;
}

/* --- 特商法の店舗情報（現行は2列の表 / CC は定義リスト） -------------- */
body.fs-body-about-terms .fs-c-explainList {
  display: grid;
  grid-template-columns: 297px 692px;
  width: 989px;
  max-width: 100%;
  margin: 0;
  border-top: 1px solid var(--meq-rule);
  border-left: 1px solid var(--meq-rule);
}

body.fs-body-about-terms .fs-c-explainList > dt,
body.fs-body-about-terms .fs-c-explainList > dd {
  box-sizing: border-box;
  margin: 0;
  background: var(--meq-cell-bg);
  border-right: 1px solid var(--meq-rule);
  border-bottom: 1px solid var(--meq-rule);
  font-weight: 400;
}

body.fs-body-about-terms .fs-c-explainList > dt {
  padding: 3px 5px;
  text-align: left;
}

body.fs-body-about-terms .fs-c-explainList > dd {
  padding: 20px;
}

/* --- 送料ページの都道府県表・料金表 ---------------------------------- */
body.fs-body-about-shippingPayment .fs-c-postage__list > dt,
body.fs-body-about-shippingPayment .fs-c-postage__list > dd,
body.fs-body-about-shippingPayment .fs-c-specTable__headerCell,
body.fs-body-about-shippingPayment .fs-c-specTable__dataCell {
  border-color: var(--meq-rule);
  background: var(--meq-cell-bg);
  font-weight: 400;
}

body.fs-body-about-shippingPayment .fs-c-postage__list {
  grid-template-columns: repeat(8, 1fr);
  column-gap: 0;
  row-gap: 0;
  border-top: 1px solid var(--meq-rule);
  border-left: 1px solid var(--meq-rule);
}

body.fs-body-about-shippingPayment .fs-c-postage__list > dt,
body.fs-body-about-shippingPayment .fs-c-postage__list > dd {
  box-sizing: border-box;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid var(--meq-rule);
  border-bottom: 1px solid var(--meq-rule);
}

body.fs-body-about-shippingPayment .fs-c-postage__list > dt {
  padding: 3px 5px;
  text-align: center;
}

body.fs-body-about-shippingPayment .fs-c-postage__list > dd {
  padding: 3px 5px;
  text-align: right;
  margin-bottom: 0;
}

body.fs-body-about-shippingPayment .fs-c-specTableContainer {
  grid-template-columns: 1fr;
}

/* 4つ目の見出し（配送サービスについて）は現行では上の余白なし */
body.fs-body-about-shippingPayment .fs-c-documentArticle:nth-of-type(4) .fs-c-documentArticle__heading {
  margin-top: 0 !important;
}

/* 手数料表の列幅を現行に合わせる（686px / 303px） */
body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable:not(.fs-c-specTable--salesTax) tr > *:first-child {
  width: 686px !important;
}

body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable:not(.fs-c-specTable--salesTax) tr > *:last-child {
  width: 303px !important;
}

/* 太字の見出しで始まる段落は、現行では上下40pxの余白 */
body.fs-body-about-shippingPayment .fs-l-pageMain p:has(b) {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

body.fs-body-about-shippingPayment .fs-c-specTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

body.fs-body-about-shippingPayment .fs-c-specTable__headerCell,
body.fs-body-about-shippingPayment .fs-c-specTable__dataCell {
  width: auto !important;
}

body.fs-body-about-shippingPayment .fs-c-specTable__headerCell {
  padding: 3px 5px;
  text-align: center;
  border-left: 0;
}

body.fs-body-about-shippingPayment .fs-c-specTable__dataCell {
  padding: 3px 5px;
  text-align: center;
  border-left: 0;
}

/* --- プライバシーポリシー（現行の作りのまま移っているページ）の余白 ---- */
body.fs-body-about-privacyPolicy td.layout_content {
  margin-top: 0;
}

body.fs-body-about-privacyPolicy .system_content form {
  margin: 0 !important;
  padding: 0 !important;
}

body.fs-body-about-privacyPolicy .itemRight {
  width: 100%;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}
/* --- スマホ（768px以下）では固定幅を解除する -------------------------- */
@media screen and (max-width: 768px) {
  body.fs-body-about-terms .fs-c-explainList {
    display: block;
    width: auto;
    border-left: 0;
    border-top: 0;
  }

  body.fs-body-about-terms .fs-c-explainList > dt,
  body.fs-body-about-terms .fs-c-explainList > dd {
    border-right: 0;
  }

  body.fs-body-about-terms .fs-c-explainList > dd {
    padding: 8px 5px;
  }

  body.fs-body-about-shippingPayment .fs-c-postage__list {
    grid-template-columns: repeat(4, 1fr);
  }

  body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable tr > *:first-child,
  body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable tr > *:last-child {
    width: auto !important;
  }

  body.fs-body-about-shippingPayment .fs-l-pageMain p:has(b) {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* 特商法の店舗情報：列24px・行1pxの隙間を消す */
body.fs-body-about-terms .fs-c-explainList {
  column-gap: 0;
  row-gap: 0;
}

/* 消費税：現行は罫線も背景もない文章。表の見た目を外して左に寄せる */
body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable--salesTax tr > *:first-child,
body.fs-body-about-shippingPayment .fs-c-specTableContainer:first-of-type .fs-c-specTable--salesTax tr > *:last-child {
  width: auto !important;
}

body.fs-body-about-shippingPayment .fs-c-specTable--salesTax {
  width: auto !important;
  justify-self: start;
  border: 0 !important;
}

body.fs-body-about-shippingPayment .fs-c-specTable--salesTax th,
body.fs-body-about-shippingPayment .fs-c-specTable--salesTax td {
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  padding: 0 !important;
  white-space: nowrap;
}

body.fs-body-about-shippingPayment .fs-c-specTable--salesTax th {
  padding-right: 6px !important;
}

/* ログイン・会員登録ページはCSPでJSが読めないため、CSSだけでメニューを開く */
@media screen and (max-width: 740px) {
  #gnav:target { display: block; }
}
@media screen and (max-width: 740px) {
  /* 閉じるリンクは開いているときだけ表示 */
  #head_top .menu .menu-close { display:none; font-size:28px; line-height:30px; text-align:center; color:#333; text-decoration:none; }
  #gnav:target ~ .menu .menu-open  { display:none; }
  #gnav:target ~ .menu .menu-close { display:block; }
}

