@charset "UTF-8";
:root {
    /* color（構造層） */
    --color-text: #1a1a1a;
    --color-text-muted: #595959;
    --color-bg: #fff;
    --color-border: #ddd;
    --color-overlay: rgba(0, 0, 0, 0.5);
    /* color（semantic 層） */
    --color-primary: #1a1a1a;       /* primary btn / badge / pagination current（純黒は使わず濃い黒） */
    --color-primary-hover: #404040; /* primary 系 hover：一段明るく */
    --color-on-primary: #fff;       /* text on primary (and sale/muted) bg */
    --color-bg-hover: #f2f2f2;      /* bg 系 hover：白を一段暗く */
    --color-accent: #f24181;        /* 目を引く強調：セール価格・お気に入りON・カート件数バッジ */
    --color-selected: #4181f2;      /* 選択中フィードバック（フォーカス可視性のため青を維持） */
    /* spacing */
    --space-2xs: 2px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    /* typography */
    --font-base: sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.75rem;
    --line-height-base: 1.6;
    /* layer (z-index)：UI 種別ベース。100刻みで挿入余地。同一グループ内前後は calc() */
    --z-base: 1;          /* 同一スタッキングコンテキスト内の最前（カード内バッジ等） */
    --z-dropdown: 100;    /* ドロップダウン・アカウントメニュー */
    --z-drawer: 200;      /* モバイルドロワー（overlay は calc(var(--z-drawer) - 1)） */
    --z-modal: 300;       /* モーダル */
    /* radius */
    --radius-sm: 4px;     /* ボタン・入力欄・小バッジ */
    --radius-md: 8px;     /* カード・モーダル外縁 */
    --radius-lg: 12px;    /* ドロワー・大型パネル */
    /* shadow */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.16);
    /* motion */
    --motion-fast: 120ms;
    --motion-base: 200ms;
    --motion-slow: 320ms;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--color-text); text-decoration: underline; }
a:hover { text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: var(--space-xs) var(--space-sm); color: var(--color-text); }
input, select, textarea { font: inherit; color: var(--color-text); background: var(--color-bg); border: 1px solid var(--color-border); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); }
:focus-visible { outline: 2px solid var(--color-selected); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--color-border); padding: var(--space-sm); text-align: left; vertical-align: top; }

html { font-size: var(--font-size-base); }
body { font-family: var(--font-base); line-height: var(--line-height-base); color: var(--color-text); background: var(--color-bg); }
h1 { font-size: var(--font-size-xl); }
h2 { font-size: var(--font-size-lg); }
h3 { font-size: var(--font-size-md); }
h1, h2, h3, h4, h5, h6 { margin: 1em 0 0.5em; font-weight: bold; }

.l-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.l-header { border-bottom: 1px solid var(--color-border); padding: var(--space-sm) 0; }
.l-header-main { display: flex; flex-direction: column; gap: var(--space-sm); }
.l-header-top { display: flex; align-items: center; gap: var(--space-md); }
.l-header-top .c-logo { flex: 1; min-width: 0; text-align: center; } /* SP: 中央寄せ。PCで上書き */
.l-header-top .c-search-form { display: none; } /* SP: 非表示。PCで表示 */
.l-header-nav { display: none; } /* SP: 非表示（ドロワー内のカテゴリ一覧で代替）。PCで表示 */
.l-main { padding: var(--space-lg) 0; min-height: 60vh; }
/* メインビジュアル：$shop.mainvisual のバナー出力を l-container 幅に揃える外殻 */
.l-hero { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.l-hero img { display: block; width: 100%; height: auto; margin: 0 auto; }
.l-section { margin: 0 0 var(--space-2xl); padding: var(--space-lg) 0; border-top: 1px solid var(--color-border); }
.l-container > .l-section:first-child { border-top: 0; padding-top: 0; } /* ページ冒頭は区切り線・上余白なし */
.l-section-title { margin: 0 0 var(--space-lg); font-size: var(--font-size-lg); }
.l-footer { border-top: 1px solid var(--color-border); padding: var(--space-lg) 0; }
.l-footer-inner { display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: flex-start; }

.c-logo-text { font-weight: bold; text-decoration: none; }
.c-btn { display: inline-block; padding: var(--space-sm) var(--space-lg); color: var(--color-text); text-align: center; text-decoration: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out); }
.c-btn:hover { background: var(--color-bg-hover); }
.c-btn--primary { background: var(--color-primary); color: var(--color-on-primary); border-color: transparent; }
.c-btn--primary:hover { background: var(--color-primary-hover); }
.c-btn--block { display: block; width: 100%; }
.c-btn[aria-disabled="true"] { background: var(--color-border); color: var(--color-text-muted); cursor: not-allowed; pointer-events: none; }
.c-input { display: inline-block; }

.c-search-form { display: inline-flex; align-items: center; gap: var(--space-xs); }
.c-search-form .c-input { border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; flex: 1; min-width: 0; background: transparent; padding: var(--space-xs) 0; transition: border-color var(--motion-fast) var(--ease-out); }
.c-search-form .c-input:focus { border-bottom-width: 2px; border-bottom-color: var(--color-selected); padding-bottom: calc(var(--space-xs) - 1px); } /* グローバル outline の代替：下線を 2px 青に。padding 補正で高さズレ防止 */
.c-search-form .c-input:focus-visible { outline: 0; }
.c-search-form .search-url { display: inline-flex; align-items: center; padding: var(--space-xs); color: inherit; text-decoration: none; border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out); }
.c-search-form .search-url:hover { background: var(--color-bg-hover); }
.c-cart-icon { position: relative; display: inline-flex; align-items: center; text-decoration: none; line-height: 1; padding: var(--space-xs); border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out); }
.c-cart-icon:hover { background: var(--color-bg-hover); }
.c-cart-icon-count { position: absolute; top: 0.2em; right: -0.4em; min-width: 1.25em; padding: 0 0.35em; text-align: center; background: var(--color-accent); color: var(--color-on-primary); border-radius: 9999px; outline: 2px solid var(--color-bg); font-size: var(--font-size-xs); font-weight: bold; line-height: 1.25; }
.c-header-actions { display: inline-flex; align-items: center; gap: var(--space-md); }
.c-header-account { display: none; align-items: center; font-size: var(--font-size-sm); } /* SP: 非表示（ドロワー側で扱う）。PCで表示 */
.c-header-account a { color: var(--color-text-muted); text-decoration: none; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.c-header-account a:hover { background: var(--color-bg-hover); color: var(--color-text); }
.c-header-account a + a { position: relative; margin-left: var(--space-sm); } /* セパレータはこのmargin内に描画。hover背景はリンク内に閉じる */
.c-header-account a + a::before { content: ""; position: absolute; left: calc(var(--space-sm) / -2); top: 50%; width: 1px; height: 1em; background: var(--color-border); transform: translate(-50%, -50%); }

.c-icon { display: inline-block; width: 1.75em; height: 1.75em; vertical-align: middle; fill: none; stroke: currentColor; flex-shrink: 0; pointer-events: none; }
.c-icon--sm { width: 1.25em; height: 1.25em; }
.c-icon--lg { width: 2.25em; height: 2.25em; }
.favorite-on .c-icon { fill: currentColor; } /* お気に入りON時はハート塗りつぶし（全箇所共通） */
.c-btn .c-icon { margin-right: .35em; }

.c-hamburger { display: inline-flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; padding: 0; border: 0; }
.c-hamburger-line { display: block; height: 2px; background: var(--color-text); }

.c-drawer { position: fixed; top: 0; left: -80%; width: 80%; max-width: 320px; height: 100%; background: var(--color-bg); border-right: 1px solid var(--color-border); padding: var(--space-lg); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); transition: left var(--motion-base) var(--ease-out); z-index: var(--z-drawer); }
.c-drawer.is-open { left: 0; }
.c-drawer-overlay { display: none; position: fixed; inset: 0; background: var(--color-overlay); z-index: calc(var(--z-drawer) - 1); }
.c-drawer-overlay.is-open { display: block; }
body.is-drawer-open { overflow: hidden; } /* ドロワー展開中は背景スクロールを止める */
.c-drawer-close { display: inline-flex; align-items: center; padding: var(--space-xs); background: transparent; border: 0; color: var(--color-text); cursor: pointer; border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out); flex-shrink: 0; }
.c-drawer-close:hover { background: var(--color-bg-hover); }
.c-drawer-section { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.c-drawer-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.c-drawer-section--search { display: flex; align-items: center; gap: var(--space-sm); } /* ×ボタンと検索フォームを水平に並べる */
.c-drawer-section--search .c-search-form { flex: 1; min-width: 0; }
.c-drawer-section ul a { display: block; padding: var(--space-sm) 0; text-decoration: none; } /* タップ余白を確保。非リンク anchor には適用しない */
.c-drawer-label { margin: 0 0 var(--space-xs); color: var(--color-text-muted); font-size: var(--font-size-xs); letter-spacing: .08em; }
.c-drawer-member { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-sm); color: var(--color-text-muted); }
.c-drawer-subcategory a { color: var(--color-text-muted); font-size: var(--font-size-sm); padding-left: var(--space-md); } /* 子カテゴリ：色・サイズ・インデントで親と区別 */

.c-nav-menu { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.c-nav-menu-item { position: relative; }
.c-nav-menu-link { display: inline-block; padding: var(--space-xs) var(--space-sm); text-decoration: none; white-space: nowrap; border-radius: var(--radius-sm); transition: background var(--motion-fast) var(--ease-out); }
.c-nav-menu-link:hover { background: var(--color-bg-hover); }
.c-nav-menu-sub { position: absolute; top: 100%; left: 0; min-width: 160px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: var(--space-sm); display: none; z-index: var(--z-dropdown); }
.c-nav-menu-item:hover .c-nav-menu-sub { display: block; }

/* 商品カード（統合：モジュール / 商品一覧 / 関連商品 共通。BEM風。JSフッククラス併記） */
.c-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); list-style: none; padding: 0; margin: 0 0 var(--space-xl); }
.c-product-card { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); }
.c-product-card a { text-decoration: none; color: var(--color-text); }
.c-product-card:hover .c-product-card-name a { text-decoration: underline; }
.c-product-card-image { position: relative; }
.c-product-card-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 1px solid var(--color-border); } /* aspect-ratio で画像領域を予約し CLS を防止。1:1 cover（既存 makeshop-custom-select-image と同じ視覚言語で一覧を均質化）*/
.c-product-card-sale-badge { position: absolute; top: 10px; left: 0; z-index: var(--z-base); background: var(--color-accent); color: var(--color-on-primary); padding: var(--space-2xs) var(--space-xs); font-size: var(--font-size-sm); font-weight: bold; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
/* ランキングバッジ（SALE と同形状・色のみ primary）。両方出る時は SALE を下にスタック */
.c-product-card-rank { position: absolute; top: 10px; left: 0; z-index: var(--z-base); background: var(--color-primary); color: var(--color-on-primary); padding: var(--space-2xs) var(--space-xs); font-size: var(--font-size-sm); font-weight: bold; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-width: 24px; text-align: center; }
.c-product-card--ranking .c-product-card-sale-badge { top: 42px; }
.c-product-card-soldout-overlay { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); background: var(--color-overlay); color: var(--color-on-primary); text-align: center; font-weight: bold; padding: var(--space-sm) 0; z-index: var(--z-base); }
/* カスタムアイコン群（画像 div の外・商品名直前の通常フロー） */
.c-product-card-icons { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; }
.c-product-card-icon-img { max-height: 24px; width: auto; max-width: 96px; }
.c-product-card-name { margin: 0; font-size: var(--font-size-base); font-weight: normal; }
.c-product-card-name a { text-decoration: none; color: inherit; }
/* レビュー summary（商品一覧のみ）。u-komi 実行前後とも :empty 該当 → 非表示で flex gap 二重化を防ぐ。
   u-komi が display:block !important を当てるため :empty 限定で !important 上書き */
.c-product-card-review:empty { display: none !important; }
.c-product-card-price-row { display: flex; align-items: center; gap: var(--space-sm); } /* 価格 + お気に入りを横並び */
.c-product-card-price-row .c-product-card-price { flex: 1; min-width: 0; }
.c-product-card-price { margin: 0; font-weight: bold; } /* 販売価格は常に通常色。セール時は取消線の定価を右に追加 */
.c-product-card-price-original { margin-left: var(--space-xs); color: var(--color-text-muted); font-weight: normal; text-decoration: line-through; }
.c-product-card-favorite { flex-shrink: 0; } /* 価格行内・ハートのみ・装飾なし */
.c-product-card-favorite .favorite-icon { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-text-muted); transition: color var(--motion-fast) var(--ease-out); }
.c-product-card-favorite .favorite-icon:hover { color: var(--color-text); }
.c-product-card-favorite .favorite-icon .c-icon { width: 24px; height: 24px; }
.c-product-card-favorite .favorite-on { color: var(--color-text); }

/* 最近チェックした商品（checked モジュール・top / item で共用）：画像のみ横スクロール（最大10・二次モジュールの視覚重量を抑える）*/
.checked-strip { display: flex; gap: var(--space-sm); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 0 0 var(--space-xs); margin: 0; list-style: none; }
.checked-strip-item { flex: 0 0 auto; width: 96px; scroll-snap-align: start; }
.checked-strip-item img { width: 96px; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }

.c-news-item { padding: var(--space-sm) 0; border-top: 1px solid var(--color-border); }
.c-news-item:first-child { border-top: 0; } /* 先頭は線なし（.l-section と同じ border-top 区切り idiom）*/
.c-news-date { display: inline-block; margin-right: var(--space-sm); }
.c-news-title { text-decoration: none; }
.c-news-title:hover .c-news-title-text { text-decoration: underline; }
.c-news-title-text { font-weight: bold; }

.c-page-top { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: var(--space-lg); bottom: var(--space-lg); width: 40px; height: 40px; border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); border-radius: 50%; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: background var(--motion-fast) var(--ease-out), opacity var(--motion-base) var(--ease-out), visibility var(--motion-base) var(--ease-out); } /* 円アイコンボタン共通 tone（枠+bg+currentColor）。浮遊ボタンのため shadow で本文と分離 */
.c-page-top.is-visible { opacity: 1; visibility: visible; }
.c-page-top:hover { background: var(--color-bg-hover); }

/* カレンダー2枚分の自然幅でキャップ。凡例が伸びて footer-nav-column を圧迫しないよう内部で wrap */
.footer-calendar-block { display: flex; flex-direction: column; gap: var(--space-sm); flex: 0 1 auto; max-width: 360px; }
.footer-calendar-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.footer-calendar-col { flex: 0 1 160px; min-width: 0; }
.footer-calendar-title { font-weight: bold; }
.footer-calendar-table table { width: 100%; table-layout: fixed; border: 1px solid var(--color-border); }
.footer-calendar-table th, .footer-calendar-table td { padding: var(--space-2xs); text-align: center; font-size: var(--font-size-sm); }
.footer-calendar-legend { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); margin: 0; padding: 0; list-style: none; }
.footer-calendar-legend-item { display: inline-flex; align-items: center; gap: var(--space-xs); }
.footer-calendar-legend-color { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--color-border); } /* 枠線＝カレンダー表と同じ線。白系の特定日色でもチップが視認できる */
.footer-nav-column { flex: 1; min-width: 200px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin-bottom: var(--space-sm); }
.footer-copyright { margin-top: var(--space-lg); font-size: var(--font-size-sm); }

.u-text-center { text-align: center; }
.u-mt-md { margin-top: var(--space-lg); }
.u-mt-lg { margin-top: var(--space-2xl); }
.u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.u-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.is-hidden { display: none; }
.hide { display: none !important; } /* MakeShop システム付与（お気に入りトグル等）。!important で確実に効かせる */

/* 静的ページ（guide / policy / company / contract） */
.static-lead { margin: 0 0 var(--space-xl); color: var(--color-text-muted); }
.static-content { white-space: pre-wrap; font-family: inherit; font-size: var(--font-size-md); line-height: 1.7; margin: 0; }
/* $*.content が HTML（入れ子 <pre> 等）を含む場合の正規化。素の <pre> は monospace + no-wrap で
   兄弟ページとフォント/折返しが食い違い横スクロールを生むため、外側 .static-content に揃える。 */
.static-content pre { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
/* 項目|内容の情報テーブル（th=項目／td=内容）。SP は行ごとにカード状へスタック、PC（>=1024px）で表組みに戻す */
/* static-content 内（運営会社）に置いても見た目が揃うよう、継承する pre-wrap / 文字サイズ / 行間をリセット */
.static-table { white-space: normal; font-size: var(--font-size-base); line-height: var(--line-height-base); }
.static-table, .static-table tbody, .static-table tr, .static-table th, .static-table td { display: block; }
.static-table tr { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-md); }
.static-table tr + tr { margin-top: var(--space-sm); }
.static-table th { border: 0; padding: 0 0 var(--space-2xs); font-size: var(--font-size-sm); color: var(--color-text-muted); }
.static-table td { border: 0; padding: 0; }
.static-note { margin: var(--space-lg) 0 0; font-size: var(--font-size-sm); color: var(--color-text-muted); }
.static-cta { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.static-cta-text { margin: 0 0 var(--space-md); font-size: var(--font-size-sm); color: var(--color-text-muted); }
.static-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (min-width: 1024px) {
    .static-table { display: table; }
    .static-table tbody { display: table-row-group; }
    .static-table tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; }
    .static-table th, .static-table td { display: table-cell; padding: var(--space-sm); border: 1px solid var(--color-border); }
    .static-table th { width: 12em; font-size: inherit; color: inherit; }
}

/* カタログ注文（catalog。標準ページ。専用 catalog.css を持たず common に集約） */
.catalog-input { width: 100%; max-width: 320px; padding: var(--space-sm); }
.catalog-result { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }
.catalog-result-media { flex: 0 0 auto; width: 160px; }
.catalog-result-media img { width: 100%; height: auto; border: 1px solid var(--color-border); }
.catalog-result-body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.catalog-result-body .c-btn { align-self: flex-start; }
.catalog-result-name { font-weight: bold; }
.catalog-tax { font-size: var(--font-size-sm); font-weight: normal; margin-left: var(--space-xs); }

/* 商品一覧（category / search / bulk 共通） */
.category-name { font-size: var(--font-size-lg); font-weight: bold; margin: 0 0 var(--space-sm); }
.category-description { font-size: var(--font-size-sm); }
.category-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; margin-bottom: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.category-count { font-size: var(--font-size-sm); }
.category-sort { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); font-size: var(--font-size-sm); }
.category-sort-link { color: var(--color-text-muted); text-decoration: none; }
.category-sort-link:hover { color: var(--color-text); }
.category-sort-link.is-current { color: var(--color-text); font-weight: bold; border-bottom: 2px solid var(--color-selected); padding-bottom: 3px; }
.category-empty { padding: var(--space-2xl); text-align: center; border: 1px solid var(--color-border); }
.category-children { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.category-child-link { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-sm); text-decoration: none; transition: background var(--motion-fast) var(--ease-out); }
.category-child-link:hover { background: var(--color-bg-hover); }

.c-breadcrumb { padding: var(--space-sm) 0; font-size: var(--font-size-sm); }
.c-breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.c-breadcrumb li::after { content: " > "; margin-left: var(--space-xs); }
.c-breadcrumb li:last-child::after { content: ""; }

.c-pagination { display: flex; justify-content: center; gap: var(--space-xs); padding: var(--space-lg) 0; }
.c-pagination a, .c-pagination span { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-border); border-radius: var(--radius-sm); text-decoration: none; transition: background var(--motion-fast) var(--ease-out); }
.c-pagination a:hover { background: var(--color-bg-hover); }
.c-pagination .is-current { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }

.c-form-row { margin-bottom: var(--space-lg); }
.c-form-label { display: block; margin-bottom: var(--space-xs); font-weight: bold; }
.c-form-required { color: var(--color-text); font-weight: normal; margin-left: var(--space-xs); }

@media (min-width: 1024px) {
    .l-header-top .c-logo { flex: 0 0 auto; text-align: left; }
    .l-header-top .c-logo img { max-height: 36px; width: auto; }
    .l-header-top .c-header-actions { margin-left: auto; }
    .c-header-actions .c-search-form { display: inline-flex; }
    .c-header-actions .c-search-form .c-input { width: 200px; }
    .l-header-nav { display: flex; align-items: center; gap: var(--space-md); }
    .c-header-account { display: inline-flex; }
    .c-hamburger { display: none; }
    .c-drawer, .c-drawer-overlay.is-open { display: none; }
    .c-product-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
    .footer-calendar-row { gap: var(--space-xl); }
    h1 { font-size: var(--font-size-2xl); }
    h2 { font-size: var(--font-size-xl); }
}

/* ==== カスタムはこの下に追記（更新時はこの線から下を新版へ貼り直す）====
   色は :root のトークン上書きを優先。js- で始まる class は触らない。 */


.item-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.item-detail-gallery { display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; }
.item-detail-main-image { border: 1px solid var(--color-border); overflow: hidden; }
.item-detail-main-image img { display: block; width: 100%; height: auto; }
/* 前/次ボタン：セットで中央寄せ＝左右往復を最小化（SP/PC共用）。アイコンは #icon-arrow-up を ±90°回転で流用 */
.item-detail-nav { display: flex; justify-content: center; gap: var(--space-sm); }
.item-detail-nav-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-bg); cursor: pointer; transition: background var(--motion-fast) var(--ease-out); } /* 44x44 正方なので 50% で真円 */
.item-detail-nav-btn:hover { background: var(--color-bg-hover); }
.item-detail-nav-btn:disabled { opacity: 0.4; cursor: default; } /* 端で無効化 */
.item-detail-nav-prev .c-icon { transform: rotate(-90deg); }
.item-detail-nav-next .c-icon { transform: rotate(90deg); }
/* 多数画像(最大51枚)でも縦に伸びないよう1行の横スクロールストリップにする。サムネは固定サイズ */
.item-detail-thumbs { display: flex; gap: var(--space-xs); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; min-width: 0; }
.item-detail-thumb { flex: 0 0 auto; height: 64px; padding: 0; scroll-snap-align: start; border: 2px solid var(--color-border); cursor: pointer; transition: border-color var(--motion-fast) var(--ease-out); } /* button 既定 padding を 0 化（余白除去）。高さ固定・幅は画像比率で可変（トリミング/余白なし）。枠は常時2px・色だけ変える（ON/OFFで外寸不変＝カクつかない）*/
.item-detail-thumb img { display: block; height: 100%; width: auto; }
.item-detail-thumb.is-active { border-color: var(--color-selected); }

.item-detail-info { display: flex; flex-direction: column; gap: var(--space-xs); }
.item-detail-name { font-size: var(--font-size-lg); font-weight: bold; margin: 0; }
.item-detail-code { font-size: var(--font-size-sm); color: var(--color-text-muted); }

.item-pricing { display: flex; flex-direction: column; gap: var(--space-xs); }
.item-price { font-size: var(--font-size-lg); font-weight: bold; margin: 0; }
.item-tax { font-size: var(--font-size-sm); font-weight: normal; margin-left: var(--space-xs); }
.sale-text { margin: 0; font-size: var(--font-size-lg); }
.sale-text .original { text-decoration: line-through; color: var(--color-text-muted); font-size: var(--font-size-md); font-weight: normal; margin-right: var(--space-sm); }
.sale-text .sale-rate { color: var(--color-accent); font-size: var(--font-size-md); margin-right: var(--space-sm); }
.sale-text .sale-price { color: var(--color-accent); font-weight: bold; }
.sale-period { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }
.subscription-price { font-size: var(--font-size-md); margin: 0; color: var(--color-text); }
.item-subscription-discount { border: 1px solid var(--color-border); padding: var(--space-sm); margin: 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.item-subscription-discount-title { font-size: var(--font-size-sm); font-weight: bold; margin: 0; }
.item-subscription-discount-row { font-size: var(--font-size-sm); margin: 0; }
.item-subscription-discount-point { color: var(--color-accent); }
.item-subscription-gift { display: flex; flex-direction: column; gap: var(--space-sm); margin: var(--space-sm) 0 0; }
.subscription-gift { display: flex; gap: var(--space-sm); align-items: flex-start; }
.subscription-gift-image { flex: 0 0 auto; }
.subscription-gift-text { font-size: var(--font-size-sm); margin: 0; }

/* 追加商品画像（PC: 枚数に関係なく3分割。1～2枚時は右側に空セル） */
.item-add-image-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-lg); }
.item-add-image-item { display: flex; flex-direction: column; gap: var(--space-xs); }
.item-add-image-item img { display: block; max-width: 100%; height: auto; }
.item-add-image-desc { font-size: var(--font-size-sm); }
@media (min-width: 1024px) {
    .item-add-image-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); align-items: start; }
}

.member-original-price { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }
.member-original-price span { text-decoration: line-through; }
.fixed-price { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }
.item-point { font-size: var(--font-size-sm); margin: 0; }
.item-bulk { font-size: var(--font-size-sm); margin: 0; }
.item-stock { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; } /* 在庫数の補足表示。残りわずかの accent とは別、単なる情報なので sm/muted */
/* 購入不可メッセージ（掲載期間外 / 品切れ+再入荷不可）。点線ボーダー・センター揃えで共通化 */
.item-out-of-period, .item-soldout { font-size: var(--font-size-md); color: var(--color-text-muted); margin: 0; padding: var(--space-sm); border: 1px dashed var(--color-border); text-align: center; }

.item-sell-text, .item-reserve { font-size: var(--font-size-sm); padding: var(--space-sm); border: 1px dashed var(--color-border); }
.item-sell-text p, .item-reserve p { margin: 0; }

/* 購入エリア（右側ブロック全体のラッパ：オプション/カート/モーダル/お気に入りを内包） */
/* 子ブロックの間隔は gap に集約（個別 margin-bottom を持たせない）。display:none の末尾モーダルは
   flex アイテムから除外されるためトレイリング余白が出ない */
.item-purchase { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.item-purchase > * { margin-bottom: 0; } /* 間隔は gap に一元化。外部部品(.c-form-row 等)の自前 margin が gap と二重になるのを防ぐ */
.item-purchase select, .item-purchase input[type="text"] { width: 100%; }
.item-purchase .c-btn { width: 100%; }
/* 数量 + ボタン列 + お気に入り の3カラム flex（ボタン列は同一幅、お気に入りは右端・上端揃え） */
.item-cart-action { display: flex; gap: var(--space-sm); align-items: flex-start; flex-wrap: wrap; }
.item-cart-action > .item-quantity { flex: 0 0 auto; }
/* flex-basis: 0 でボタン列を行分割計算上「0幅」扱いに。auto だと内容幅でお気に入りを押し出し SP で回り込む（iPhone SE2 等） */
.item-cart-buttons { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.item-cart-buttons > .c-btn { width: 100%; margin: 0; }
/* 定期+通常の併売：都度購入/定期購入を横並び（都度=primary維持）。nowrap＋横padding詰めで狭幅でも中折れさせず1行に収め、極狭は flex-wrap で縦積み */
.item-cart-buttons--dual { flex-direction: row; flex-wrap: wrap; }
.item-cart-buttons--dual > .c-btn { flex: 1 1 0; width: auto; white-space: nowrap; padding-left: var(--space-sm); padding-right: var(--space-sm); }
.item-favorite { flex: 0 0 auto; display: flex; gap: var(--space-xs); }
.item-favorite .favorite-icon { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-md) var(--space-sm); color: var(--color-text-muted); text-decoration: none; transition: color var(--motion-fast) var(--ease-out); } /* 高さを c-btn(~44px) に合わせる。ハート色は一覧 .c-product-card-favorite と同 tone（既定 muted→hover/ON text） */
.item-favorite .favorite-icon:hover { color: var(--color-text); }
.item-favorite .favorite-on { color: var(--color-text); }
.item-favorite .favorite-icon .c-icon { width: 20px; height: 20px; }
.item-contact-link-row { margin: var(--space-sm) 0; } /* 問い合わせリンク（item-purchase の外、SNS の直上） */
.item-contact-link { color: var(--color-text); } /* テキストリンクは body 基底に従う */

/* カート投入完了モーダル（cartentry.html data-remodal-id="cart-success"）内ボタン列。フレームは remodal 標準に委譲 */
.modal-cart-btn { display: flex; flex-direction: column; gap: var(--space-xs); list-style: none; padding: 0; margin: var(--space-md) 0 0; }
/* Amazon Pay は width:200px の block な div[role=button] を出力するため flex で中央寄せ */
.modal-amazonpay { margin: var(--space-sm) 0 0; display: flex; justify-content: center; }

/* 数量入力（SKU 系の商品ページ単位） */
.item-quantity { display: flex; align-items: center; gap: var(--space-sm); }
.item-quantity .c-form-label { margin: 0; }
.item-quantity .c-input { width: 4em; flex: 0 0 auto; padding: var(--space-sm); } /* 数量は数桁。狭め固定で SP のカートボタン文字を1行に保つ余地を作る。縦 padding を .c-btn と揃え高さを一致 */

/* 名入れフォーム：間隔は gap に一元化（個別 margin を持たせない）。フィールド間は md で塊を分け、フィールド内は xs で束ねる */
.item-name-print { display: flex; flex-direction: column; gap: var(--space-md); }
.item-name-print-field { display: flex; flex-direction: column; gap: var(--space-xs); }
.item-name-print .c-form-label { margin: 0; }
.item-name-print-hint { margin: 0; font-size: var(--font-size-sm); color: var(--color-text-muted); } /* 入力可能文字はヒント調(sm/muted)に下げ、input の補足だと分かるように */

/* バリエーション統合ブロック（SKU表モード / 専用画像モード。軸2カードは全モード共通） */
.variation-axis-label { font-size: var(--font-size-sm); font-weight: normal; color: var(--color-text-muted); margin: 0 0 var(--space-xs); } /* 軸名はラベル調(sm/muted)に下げ、軸1セレクタ(チップ/サムネ)とカードを主役にする。margin-top は付けない：先頭ラベル時に親 flex gap や inline-flex トグルの mb と相殺されず 20px の不揃いになるため。section gap は前要素の mb / 親 gap(12px) に一任し、ラベルとコントロールは mb xs(4px) で密結合 */
/* 購入種別トグル（通常+定期の併売）。custom-select ボタンと同じ --color-selected 塗りで選択を示す。stretched-link カードを単一アクションに保つためのページ単位スイッチ */
.variation-purchase-toggle { display: inline-flex; gap: var(--space-sm); margin-bottom: var(--space-md); }
.variation-purchase-option { padding: var(--space-sm) var(--space-lg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); font-size: var(--font-size-sm); cursor: pointer; transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.variation-purchase-option:hover { background: var(--color-bg-hover); }
.variation-purchase-option.selected { background: var(--color-selected); border-color: var(--color-selected); color: var(--color-on-primary); }
/* 軸1 サムネ列（専用画像モード専用） */
.variation-axis1-thumbs { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.variation-thumb { display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); text-decoration: none; color: var(--color-text); cursor: pointer; }
.variation-thumb-img { width: 60px; height: 60px; object-fit: cover; display: block; border: 2px solid var(--color-border); }
.variation-thumb.is-active .variation-thumb-img { border-color: var(--color-selected); }
.variation-thumb-caption { font-size: var(--font-size-sm); text-align: center; }
/* 軸1 テキストチップ（標準SKU 2軸専用）。purchase-toggle と同じ --color-selected 選択 tone。クリックで軸2カードを絞り込み */
.variation-axis1-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.variation-chip { padding: var(--space-xs) var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); font-size: var(--font-size-sm); cursor: pointer; transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.variation-chip:hover { border-color: var(--color-selected); }
.variation-chip.is-active { background: var(--color-selected); border-color: var(--color-selected); color: var(--color-on-primary); }
/* 軸2 カードグリッド（全モード共通）。stretched-link は単一アクション設計のため許容 */
.variation-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-sm); }
.variation-card { position: relative; border: 2px solid var(--color-border); padding: var(--space-sm); transition: border-color var(--motion-fast) var(--ease-out); } /* 枠は常時2px・hover は色だけ変える（外寸不変＝カクつかない）*/
.variation-card:hover { border-color: var(--color-selected); }
.variation-card-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-bottom: var(--space-xs); border: 1px solid var(--color-border); }
.variation-card .variation-card-label { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0 0 var(--space-2xs); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); } /* 名前/在庫/カートアイコンを水平中央で揃える。余白源は gap のみ（各要素に個別 margin を持たせない） */
.variation-card-restock { text-decoration: underline; }
.variation-card-restock:hover { text-decoration: none; }
.variation-card-stock { color: var(--color-accent); }
/* 品切れカード: 全体 opacity を避け画像・価格のみ muted 化（actionable 要素の発色を保持）。hover も無効化 */
.variation-card.variation-card-soldout:hover { border-color: var(--color-border); }
.variation-card.variation-card-soldout .variation-card-thumb { opacity: 0.6; }
.variation-card.variation-card-soldout .price { color: var(--color-text-muted); }
/* stretched-link: ラベル内アンカーをカード全面に拡張 */
.variation-card-link { color: inherit; text-decoration: none; }
.variation-card-link::after { content: ''; position: absolute; inset: 0; }
.variation-card-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); } /* 価格を左、favorite を右 */
.variation-card-meta .price { margin: 0; font-weight: bold; }
/* favorite は stretched-link の上層に置く（カード全体クリックより優先） */
.variation-card-favorite { position: relative; z-index: var(--z-base); display: flex; gap: var(--space-xs); }
.variation-card-favorite .favorite-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--color-text-muted); text-decoration: none; transition: color var(--motion-fast) var(--ease-out); } /* ハート色は一覧 .c-product-card-favorite と同 tone（既定 muted→hover/ON text） */
.variation-card-favorite .favorite-icon:hover { color: var(--color-text); }
.variation-card-favorite .favorite-on { color: var(--color-text); }
.variation-card-favorite .favorite-icon .c-icon { width: 20px; height: 20px; }
/* SKU表/専用画像モード：冗長なネイティブ SKU プルダウンを初回描画から非表示（旧 item.js hide の FOUC/シフト解消）。1行目=select を持つ wrap のみ隠し SKU×カスタムセレクト併用時はカスタムセレクトを残す（カスタムセレクトは select を含まない）／2行目=カスタムセレクトが無ければコンテナ畳み（gap二重化防止）*/
.item-options--variation .makeshop-option-wrap:has(.makeshop-option-select) { display: none; }
.item-options--variation:not(:has(.makeshop-custom-select-wrap)) { display: none; }

.item-info-list { display: grid; grid-template-columns: auto 1fr; gap: var(--space-xs) 0; margin: var(--space-sm) 0 0; } /* 上のみ余白：枠線付き購入ボックス直下の詰まりを緩和（カラムの gap space-xs に加算） */
.item-info-list dt { font-weight: bold; }
.item-info-list dd { margin: 0; }

.item-sns-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); list-style: none; padding: 0; margin: 0; }
.item-sns-item { display: inline-flex; align-items: center; line-height: 1; }
.item-sns-item iframe { vertical-align: middle; display: block; }

.item-description { padding: var(--space-lg) 0; }
.item-section { margin: var(--space-xl) 0; padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.item-section-title { font-size: var(--font-size-md); font-weight: bold; margin: 0 0 var(--space-md); }

@media (min-width: 1024px) {
    .item-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .item-info-list { grid-template-columns: 6em 1fr; }
}

/* カスタムセレクト（$item.option_html 内・MakeShop サーバ出力。.makeshop-custom-select-* は改名不可）。
   5つの表示形式（ラジオ / 数値入力 / プルダウン / カード / 画像ボタン）の DOM 分岐をインラインで内包 */
.makeshop-option-label { display: block; margin-bottom: var(--space-2xs); }
.makeshop-option-wrap + .makeshop-option-wrap { margin-top: var(--space-md); } /* 隣接 wrap 間ギャップ */
/* 表示制御（data-condition-met による出し分け） */
.makeshop-custom-select-wrap { display: none; margin: 0; padding: 0; }
.makeshop-custom-select-wrap[data-condition-met="1"] { display: block; }
.makeshop-custom-select-wrap[data-condition-met="0"] { display: none; }
.makeshop-custom-select-wrap:empty { display: none; }
/* ラジオボタン形式 */
.makeshop-custom-select-radio-wrap { display: flex; flex-wrap: wrap; gap: var(--space-xl); padding: var(--space-sm) 0; }
.makeshop-custom-select-radio-label { cursor: pointer; display: flex; align-items: center; position: relative; flex: 0 1 auto; }
.makeshop-custom-select-radio { display: none; }
.makeshop-custom-select-radio-text { display: flex; align-items: center; font-size: var(--font-size-base); color: var(--color-text); line-height: 1.2; }
.makeshop-custom-select-radio-text::before { content: ''; display: inline-block; width: 20px; height: 20px; border: 2px solid var(--color-border); border-radius: 50%; margin-right: var(--space-sm); background: var(--color-bg); transition: border-color var(--motion-fast) var(--ease-out); box-sizing: border-box; flex-shrink: 0; }
.makeshop-custom-select-radio-text::after { content: ''; position: absolute; left: 5px; top: 50%; transform: translateY(-50%) scale(0); width: 10px; height: 10px; background: var(--color-selected); border-radius: 50%; transition: transform var(--motion-base) var(--ease-out); }
.makeshop-custom-select-radio:checked + .makeshop-custom-select-radio-text::before { border-color: var(--color-selected); }
.makeshop-custom-select-radio:checked + .makeshop-custom-select-radio-text::after { transform: translateY(-50%) scale(1); }
/* 数値入力形式（プレーン input） */
.makeshop-custom-select-text .makeshop-custom-select-text-wrap { display: flex; flex-direction: row; align-items: center; gap: var(--space-lg); }
.makeshop-custom-select-text-wrap .makeshop-custom-select-text { width: 4em; flex: 0 0 auto; padding: var(--space-sm); } /* 数量入力(.item-quantity .c-input)と同じ標準 tone。border/radius/bg/font は base input に委ね、幅・padding のみ指定 */
/* プルダウン形式（カスタム矢印）。SKU select とカスタムセレクトのプルダウンに共通適用 */
.makeshop-option-select-wrap::after { display: none; }
.makeshop-option-select { appearance: none; width: 100%; height: 50px; padding: 0 40px 0 var(--space-lg); border: 1px solid var(--color-border); background: var(--color-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-lg) center; background-size: 14px; cursor: pointer; }
/* カード形式（非画像、選択肢ボタン横並び） */
.makeshop-custom-select-wrap:not(.makeshop-custom-select-image-button) .makeshop-custom-select-button-wrap { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-xs) 0; }
.makeshop-custom-select-wrap:not(.makeshop-custom-select-image-button) .makeshop-custom-select-button { width: auto; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: var(--color-bg); cursor: pointer; transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.makeshop-custom-select-wrap:not(.makeshop-custom-select-image-button) .makeshop-custom-select-button:hover { background: var(--color-bg-hover); }
.makeshop-custom-select-wrap:not(.makeshop-custom-select-image-button) .makeshop-custom-select-button.selected { background: var(--color-selected); border-color: var(--color-selected); color: var(--color-on-primary); }
/* 画像ボタン形式（インライン展開。.variation-card と同じ視覚言語に統一） */
.makeshop-custom-select-wrap.makeshop-custom-select-image-button .makeshop-custom-select-button-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-sm); padding: var(--space-xs) 0; }
.makeshop-custom-select-button.makeshop-custom-select-image-button { display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: var(--space-sm); border: 2px solid var(--color-border); background: var(--color-bg); cursor: pointer; transition: border-color var(--motion-fast) var(--ease-out); } /* .variation-card と同じく常時2px・色だけ変える */
.makeshop-custom-select-button.makeshop-custom-select-image-button:hover { border-color: var(--color-selected); }
.makeshop-custom-select-button.makeshop-custom-select-image-button.selected { border-color: var(--color-selected); }
.makeshop-custom-select-button.makeshop-custom-select-image-button .makeshop-custom-select-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-bottom: var(--space-xs); border: 1px solid var(--color-border); }
.makeshop-custom-select-button.makeshop-custom-select-image-button .makeshop-custom-select-button-text { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0 0 var(--space-2xs); }
.makeshop-custom-select-button.makeshop-custom-select-image-button .makeshop-custom-select-price { font-size: var(--font-size-sm); font-weight: bold; }

/* ==== カスタムはこの下に追記（更新時はこの線から下を新版へ貼り直す）====
   色は :root のトークン上書きを優先。js- で始まる class は触らない。 */
