@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 は触らない。 */

