/*
 * TROBZ STORE（2026-10-10）
 *
 * ストアのページだけで読む（inc/add-assets.php・inc/shop.php の trobz_is_store）。見本は ops/ec/preview/。
 * 前半は見本と同じ。後半の「WooCommerce の部品」は WooCommerce が出す HTML に当てる分。
 * ヘッダーの STORE・カートは header-nav.css（カートはストア以外のページにも出るため）。
 * 決まり（CLAUDE.md・DESIGN-RULES.md）：
 *   ・角丸・楕円の札・丸いアイコン・一辺だけの色線を使わない
 *   ・金は一点だけ（見出しの下の短い線・ナビの現在地・ボタンの中の短い線）
 *   ・地と字のコントラスト 4.5:1 以上
 */

.shop {
    --s-head: #14181D;
    --s-text: #292929;
    --s-sub: #4A4F57;      /* 白地で 8.0:1 */
    --s-muted: #6B727B;    /* 白地で 4.8:1。12px 以上だけに使う */
    --s-line: #DCDCE0;
    --s-line-soft: #ECECEF;
    --s-face: #F6F6F7;
    --s-ink: #242428;
    --s-gold: #C9A551;
    --s-gold-dark: #8C6B22; /* 金の文字。白地で 4.9:1 */
    --s-en: "FuturaLTProLight", "Futura", sans-serif;
    --s-ease: cubic-bezier(.22, .61, .36, 1);
    color: var(--s-text);
    font-weight: 300;
    font-size: 14px;
    line-height: 2;
    background: #fff;
}
.shop *, .shop *::before, .shop *::after { box-sizing: border-box; }
.shop a { color: inherit; }
.shop img { display: block; max-width: 100%; }

.shopIn { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ---------- ページの見出し（英字の小さなラベル＋和文の見出し＋金の短い線） ---------- */
.shopHead { padding: 168px 0 0; }
.shopLabel { margin: 0 0 14px; font-family: var(--s-en); font-size: 12px; letter-spacing: .28em; color: var(--s-muted); line-height: 1; }
.shopTitle { margin: 0; font-size: 46px; font-weight: 500; letter-spacing: .1em; color: var(--s-head); line-height: 1.3; }
.shopRule { display: block; width: 40px; height: 2px; margin: 26px 0 28px; background: var(--s-gold); }
.shopLead { max-width: 560px; margin: 0; }

/* パンくず */
.shopCrumb { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 0 40px; padding: 140px 0 0; font-family: var(--s-en); font-size: 12px; letter-spacing: .14em; color: var(--s-muted); }
.shopCrumb a { text-decoration: none; }
.shopCrumb a:hover { color: var(--s-head); }
.shopCrumb span:last-child { font-family: inherit; color: var(--s-sub); letter-spacing: .04em; }

.shopPrice { font-family: var(--s-en); font-size: 20px; letter-spacing: .04em; color: var(--s-head); line-height: 1; }
.shopTax { font-size: 12px; color: var(--s-muted); }

/* 画像が無い商品：文字だけで置く（写真の代わりの素材は使わない） */
.phEmpty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.phEmpty .mk { font-family: var(--s-en); font-size: 44px; letter-spacing: .3em; color: #C5C5CC; line-height: 1; padding-left: .3em; }
.phEmpty .tx { font-size: 12px; letter-spacing: .1em; color: var(--s-muted); }

.shopEnd { padding: 0 0 140px; }

/* 主ボタン：墨の地に白い字（15.8:1）。中に金の短い線 */
.shop .shopBtn { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 64px; margin: 36px 0 0; padding: 0 24px; border: 0; background: var(--s-ink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 400; letter-spacing: .14em; text-decoration: none; cursor: pointer; transition: background .4s var(--s-ease); }
.shopBtn::after { content: ""; width: 22px; height: 1px; background: var(--s-gold); transition: width .4s var(--s-ease); }
.shop .shopBtn:hover { background: #111114; color: #fff; }
.shopBtn:hover::after { width: 36px; }
.shop .shopBtn[disabled] { background: #6B6B73; cursor: not-allowed; } /* 白い字で 5.3:1 */
.shopBtn[disabled]::after { background: #fff; }
.shopSub { display: block; margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--s-sub); text-underline-offset: 4px; }

/* ---------- 購入手続き ---------- */
.coSteps { display: flex; gap: 0; margin: 48px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--s-line); }
.coSteps li { display: flex; align-items: center; gap: 12px; padding: 0 32px 16px 0; font-size: 13px; color: var(--s-muted); }
.coSteps b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #A3A3AB; font-family: var(--s-en); font-size: 13px; font-weight: 400; line-height: 1; }
.coSteps .is-done b { border-color: var(--s-head); color: var(--s-head); }
.coSteps .is-now { color: var(--s-head); font-weight: 400; box-shadow: inset 0 -2px 0 var(--s-head); }
.coSteps .is-now b { background: var(--s-head); border-color: var(--s-head); color: #fff; }

.coWrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; margin: 56px 0 0; }
.coSec + .coSec { margin-top: 56px; }
.coSec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 24px; font-size: 20px; font-weight: 500; letter-spacing: .06em; color: var(--s-head); line-height: 1.5; }
.coSec h2 .en { font-family: var(--s-en); font-size: 12px; font-weight: 300; letter-spacing: .24em; color: var(--s-muted); }
.coGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.coGrid .w2 { grid-column: span 2; }
.coGrid .w1 { grid-column: span 1; }
.coField label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 400; color: var(--s-head); line-height: 1.5; }
.coField label em { font-style: normal; font-size: 11px; color: #fff; background: var(--s-ink); padding: 2px 6px; letter-spacing: .06em; }
.coField label small { font-size: 12px; font-weight: 300; color: var(--s-muted); }
.coField input, .coField select { width: 100%; height: 52px; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: 8px; background: #fff; font-family: inherit; font-size: 16px; font-weight: 300; color: var(--s-head); -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.coField select { background-image: linear-gradient(45deg, transparent 50%, var(--s-head) 50%), linear-gradient(135deg, var(--s-head) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.coField input::placeholder { color: #9A9AA2; }
.coField input:focus, .coField select:focus { outline: none; border-color: var(--s-head); }
.coField .hint { margin: 6px 0 0; font-size: 12px; color: var(--s-muted); line-height: 1.7; }

/* Stripe の入力欄（実物は Stripe の Payment Element。見た目を下の値に合わせる設定をする） */
/* 10-13 灰色の大きな箱をやめ、カードの行（.coCardToggle）だけを枠で囲む */
.coPay { padding: 0; background: none; }
.coBrands { display: flex; gap: 8px; margin: 0 0 18px; }
.coBrands span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--s-line); background: #fff; font-family: var(--s-en); font-size: 11px; letter-spacing: .08em; color: var(--s-head); }
.coPay .coGrid { gap: 16px; }
.coPay .coField input { background: #fff; }
.coSecure { display: flex; gap: 10px; margin: 18px 0 0; font-size: 12px; color: var(--s-sub); line-height: 1.8; }
.coSecure svg { flex: none; margin-top: 3px; }

/* 右：ご注文内容と最終確認 */
.coAside { position: sticky; top: 110px; border: 1px solid var(--s-line); background: #fff; }
.coAside .hd { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 28px; background: var(--s-ink); color: #fff; }
.coAside .hd h2 { margin: 0; font-size: 15px; font-weight: 400; letter-spacing: .1em; }
.coAside .hd span { font-family: var(--s-en); font-size: 12px; letter-spacing: .22em; color: var(--s-gold); }
.coAside .bd { padding: 24px 28px 28px; }
.coItem { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 0 0 20px; border-bottom: 1px solid var(--s-line-soft); }
.coItem img { width: 72px; height: 90px; object-fit: cover; background: var(--s-face); }
.coItem .nm { font-size: 13px; font-weight: 400; color: var(--s-head); line-height: 1.6; }
.coItem .op { display: block; margin: 4px 0 0; font-size: 12px; color: var(--s-sub); line-height: 1.6; }
.coItem .pr { font-family: var(--s-en); font-size: 15px; color: var(--s-head); }
.coSum { margin: 16px 0 0; }
.coSum div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.coSum dt { color: var(--s-sub); }
.coSum dd { margin: 0; font-family: var(--s-en); font-size: 15px; color: var(--s-head); }
.coSum .total { margin: 12px 0 0; padding: 16px 0 0; border-top: 1px solid var(--s-head); align-items: baseline; }
.coSum .total dt { color: var(--s-head); font-weight: 400; font-size: 14px; }
.coSum .total dd { font-size: 26px; }

/* 最終確認（特定商取引法：注文確定の直前に一目でわかる形で出す） */
.coFinal { margin: 22px 0 0; padding: 20px 20px 18px; background: var(--s-face); }
.coFinal p.t { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--s-head); line-height: 1.6; }
.coFinal dl { margin: 0; }
.coFinal dl div { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid #E6E6EA; font-size: 12px; line-height: 1.75; }
.coFinal dl div:first-child { border-top: 0; }
.coFinal dt { color: var(--s-sub); }
.coFinal dd { margin: 0; color: var(--s-head); }
.coFinal a { color: var(--s-head); text-underline-offset: 3px; }

.coAgree { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; font-size: 13px; line-height: 1.8; cursor: pointer; }
.coAgree input { position: absolute; opacity: 0; }
.coAgree .bx { flex: none; position: relative; width: 20px; height: 20px; margin-top: 3px; border: 1px solid var(--s-head); background: #fff; }
.coAgree input:checked + .bx { background: var(--s-ink); }
.coAgree input:checked + .bx::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.coAgree input:focus-visible + .bx { outline: 2px solid var(--s-gold); outline-offset: 2px; }
.coAgree a { color: var(--s-head); text-underline-offset: 3px; }
.coAside .shopBtn { margin-top: 20px; }

/* ---------- フッター：ストアの規約リンク ---------- */
.policyFt a.ja { font-family: inherit; font-size: 12px; letter-spacing: .04em; }

/* ---------- 狭い画面 ---------- */
@media (max-width: 1024px) {
    .coWrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
@media (max-width: 768px) {
    .shopIn { padding: 0 20px; }
    .shopHead { padding: 112px 0 0; }
    .shopTitle { font-size: 32px; }
    .shopRule { margin: 20px 0 22px; }
    .shopCrumb { padding: 96px 0 0; margin: 0 0 24px; }
    .shopPrice { font-size: 17px; }
    .phEmpty .mk { font-size: 26px; }
    .shopEnd { padding-bottom: 96px; }

    .coSteps { margin-top: 32px; overflow-x: auto; }
    .coSteps { overflow: visible; }
    .coSteps li { flex: none; gap: 7px; padding-right: 14px; font-size: 12px; }
    .coSteps b { width: 22px; height: 22px; font-size: 12px; }
    .coWrap { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
    .coGrid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
    .coGrid .wSp2 { grid-column: span 2; }
    .coAside { position: static; margin: 0 -4px; }
    .coAside .hd, .coAside .bd { padding-left: 18px; padding-right: 18px; }
}

/* =====================================================================
 * WooCommerce の部品（WooCommerce が出す HTML に当てる）
 * ===================================================================== */

/* お知らせ（エラー・案内） */
.shop .woocommerce-notices-wrapper:empty { display: none; }
.shop .woocommerce-error, .shop .woocommerce-message, .shop .woocommerce-info { margin: 0 0 32px; padding: 18px 22px; list-style: none; background: #FBF3F2; color: #8A1F17; font-size: 13px; line-height: 1.8; } /* 淡い赤の面に濃い赤の字 8.4:1 */
.shop .woocommerce-message, .shop .woocommerce-info { background: var(--s-face); color: var(--s-head); }
.shop .woocommerce-error li + li { margin-top: 4px; }
.shop .woocommerce-error a, .shop .woocommerce-message a, .shop .woocommerce-info a { color: inherit; text-underline-offset: 3px; }
.shop .woocommerce-message .button, .shop .woocommerce-info .button { float: right; margin-left: 16px; font-size: 12px; }

/* ---------- カート・購入手続き・完了の共通 ---------- */
.shopPage .shopHead { padding-bottom: 0; }
.shopBody { margin: 0; }
.shop .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop .button { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border: 1px solid var(--s-head); border-radius: 0; background: #fff; color: var(--s-head); font-family: inherit; font-size: 13px; letter-spacing: .1em; text-decoration: none; cursor: pointer; }
.shop .button:hover { background: var(--s-face); }
.shop .button.alt, .shop .checkout-button { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.shop .button.alt:hover, .shop .checkout-button:hover { background: #111114; }
.shop .button:disabled, .shop .button.disabled { opacity: 1; background: var(--s-face); border-color: var(--s-face); color: #6B727B; cursor: not-allowed; }

/* ---------- 購入手続き：入力欄 ---------- */
form.coWrap { margin: 56px 0 0; }
.coSteps { margin-top: 40px; }
.coMain .coSec + .coSec { margin-top: 56px; }
.coFields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.coFields .form-row { grid-column: span 2; margin: 0; padding: 0; }
.coFields .form-row-first, .coFields .form-row-last { grid-column: span 1; }
.coFields .form-row[style*="display: none"], .coFields .form-row.hidden { display: none !important; }
.coFields #billing_country_field { display: none !important; } /* 日本だけ */
.coFields label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 400; color: var(--s-head); line-height: 1.5; }
/* 必須・任意の印（WooCommerce の JS が * と (optional) を付け直すので、その印を隠して CSS で出す） */
.coFields label abbr, .coFields label .required { display: none; }
.coFields .validate-required > label::after { content: "必須"; font-size: 11px; color: #fff; background: var(--s-ink); padding: 2px 6px; letter-spacing: .06em; line-height: 1.4; } /* 白い字 15.5:1 */
.coFields label .optional { font-size: 0; }
.coFields label .optional::after { content: "任意"; font-size: 12px; font-weight: 300; color: var(--s-muted); }
.coFields input.input-text, .coFields select, .coFields textarea { width: 100%; height: 52px; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: 8px; background: #fff; font-family: inherit; font-size: 16px; font-weight: 300; color: var(--s-head); -webkit-appearance: none; appearance: none; box-shadow: none; transition: border-color .3s; }
.coFields select { background-image: linear-gradient(45deg, transparent 50%, var(--s-head) 50%), linear-gradient(135deg, var(--s-head) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.coFields input::placeholder { color: #757580; } /* 白地で 4.55:1 */
.coFields input:focus, .coFields select:focus { outline: none; border-color: var(--s-head); }
.coFields .woocommerce-input-wrapper { display: block; }
.coFields .description { display: block; margin: 6px 0 0; font-size: 12px; color: var(--s-sub); line-height: 1.7; }
.coFields .woocommerce-invalid input.input-text, .coFields .woocommerce-invalid select { border-color: #B3261E; }
.coFields .checkout-inline-error-message { margin: 6px 0 0; font-size: 12px; color: #8A1F17; }
/* selectWoo（都道府県の選択）を使っている場合も同じ見た目に */
.coFields .select2-container .select2-selection--single { height: 52px; border: 1px solid var(--s-line); border-radius: 8px; }
.coFields .select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px; padding-left: 16px; font-size: 16px; color: var(--s-head); }
.coFields .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.woocommerce-shipping-fields:empty, .woocommerce-additional-fields:empty { display: none; }
/* 都道府県の欄は出さない（ご住所の頭から入れる。inc/shop.php・shop-zip.js。10-13 畔栁さん）。WooCommerce の JS が都道府県の欄だけは出し直すので CSS で隠す */
#billing_state_field, #shipping_state_field { display: none !important; }

/* Apple Pay・Google Pay のボタン（Stripe のプラグイン）：お支払いの見出しの下、カードの欄の上に（inc/shop.php 12b） */
.coMain #wc-stripe-express-checkout-element, .coMain .wc-stripe-payment-request-wrapper { margin: 0 0 12px !important; }
/* 「もしくは」の行は出さない（カードの行がそのまま次の選択肢に見えるので。10-13） */
.coMain #wc-stripe-express-checkout-button-separator, .coMain #wc-stripe-payment-request-button-separator { display: none !important; }

/* ---------- 購入手続き：お支払い ---------- */
.coPay .wc_payment_methods { margin: 0; padding: 0; list-style: none; }
.coPay .wc_payment_method + .wc_payment_method { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--s-line); }
.coPay .wc_payment_method > label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--s-head); cursor: pointer; }
/* クレジットカードの行（押すと下にカードの欄が開く。woocommerce/checkout/payment-method.php・shop.js） */
.coPay .wc_payment_method { border: 1px solid var(--s-line); border-radius: 8px; background: #fff; }
.coPay .wc_payment_method > .input-radio { display: none !important; }
.coCardToggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 0 20px; border: 0; background: none; font-family: inherit; text-align: left; color: var(--s-head); cursor: pointer; }
.coCardToggle .nm { font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.coCardToggle .br { flex: 1; font-family: var(--s-en); font-size: 11px; letter-spacing: .06em; color: var(--s-muted); }
.coCardToggle .pm { position: relative; flex: none; width: 14px; height: 14px; }
.coCardToggle .pm::before, .coCardToggle .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--s-head); transition: transform .3s; }
.coCardToggle .pm::after { transform: rotate(90deg); }
.coCardToggle[aria-expanded="true"] .pm::after { transform: rotate(0); }
.coCardToggle:focus-visible { outline: 2px solid var(--s-head); outline-offset: -2px; }
.coPay .wc_payment_method:not(.is-open) > .payment_box { display: none !important; }
.coPay .wc_payment_method.is-open > .payment_box { margin: 0; padding: 4px 20px 20px; }
@media (max-width: 768px) {
    .coCardToggle { flex-wrap: wrap; gap: 4px 14px; padding: 14px 16px; }
    .coCardToggle .br { order: 3; flex-basis: 100%; }
    .coCardToggle .pm { margin-left: auto; }
    .coPay .wc_payment_method.is-open > .payment_box { padding: 4px 16px 16px; }
}
.coPay .wc_payment_method > label img { display: inline-block; max-height: 22px; width: auto; }
.coPay .payment_box { margin: 14px 0 0; font-size: 13px; color: var(--s-text); }
.coPay .payment_box p:last-child { margin-bottom: 0; }
.coPay .payment_box fieldset { margin: 0; padding: 0; border: 0; }
.coNoJs { margin: 12px 0 0; font-size: 12px; color: #8A1F17; }

/* ---------- 購入手続き：ご注文内容 ---------- */
.coReview .coItem + .coItem { padding-top: 16px; }
.coItem .th { width: 72px; height: 90px; position: relative; overflow: hidden; background: var(--s-face); }
.coItem .th img { width: 72px; height: 90px; object-fit: cover; }
.coItem .th .phEmpty .mk { font-size: 11px; letter-spacing: .2em; }
.coItem .th .phEmpty .tx { display: none; }
.coItem .pr .amount, .coSum .amount { font-family: var(--s-en); }
/* 数量の −／＋・削除（10-13 畔栁さん：カートの画面でなく購入手続きで変える） */
.coQty { display: flex; align-items: center; gap: 0; margin: 10px 0 0; }
.coQty .qBtn { width: 32px; height: 32px; padding: 0; border: 1px solid var(--s-line); background: #fff; font-size: 14px; line-height: 1; color: var(--s-head); cursor: pointer; }
.coQty .qBtn:first-of-type { border-radius: 6px 0 0 6px; }
.coQty .qBtn[data-step="1"] { border-radius: 0 6px 6px 0; }
.coQty .qBtn:disabled { color: #B4B4BA; cursor: default; }
.coQty .qNum { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 32px; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); font-family: var(--s-en); font-size: 14px; color: var(--s-head); }
.coQty .coDel { margin: 0 0 0 16px; padding: 6px 0; border: 0; background: none; font-size: 12px; color: var(--s-sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.coQty .coDel:hover { color: var(--s-head); }
.coItem.is-removing { opacity: .4; }
table.coSum { width: 100%; margin: 16px 0 0; border-collapse: collapse; }
.coSum th, .coSum td { padding: 4px 0; font-size: 13px; font-weight: 300; text-align: left; vertical-align: baseline; }
.coSum th { color: var(--s-sub); }
.coSum td { text-align: right; font-family: var(--s-en); font-size: 15px; color: var(--s-head); }
.coSum td ul { margin: 0; padding: 0; list-style: none; }
.coSum td label { font-weight: 300; }
.coSum .woocommerce-shipping-destination, .coSum .woocommerce-shipping-calculator { display: none; }
.coSum tr.total th, .coSum tr.total td { padding-top: 16px; border-top: 1px solid var(--s-head); }
.coSum tr.total th { color: var(--s-head); font-weight: 400; font-size: 14px; }
.coSum tr.total th small { font-size: 12px; font-weight: 300; }
.coSum tr.total td { font-size: 26px; }
.coSum tr.total td small, .coSum .includes_tax { display: none; }
.coAside .place-order { margin: 0; }
.coAside #place_order:disabled { background: #6B6B73; cursor: not-allowed; } /* 白い字で 5.3:1 */
.coAside #place_order:disabled::after { background: #fff; }
.coAside .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* ---------- カート ---------- */
.shopPage .woocommerce-cart-form { margin: 48px 0 0; }
.shopPage table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shopPage table.shop_table th, .shopPage table.shop_table td { padding: 18px 10px; border-bottom: 1px solid var(--s-line); text-align: left; font-weight: 300; vertical-align: middle; }
.shopPage table.shop_table thead th { padding-top: 0; font-size: 12px; color: var(--s-sub); }
.shopPage table.shop_table .product-thumbnail img { width: 72px; height: 90px; object-fit: cover; background: var(--s-face); }
.shopPage table.shop_table .product-name a { color: var(--s-head); text-decoration: none; }
.shopPage table.shop_table .product-remove a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--s-sub); font-size: 20px; text-decoration: none; }
.shopPage table.shop_table .product-remove a:hover { color: var(--s-head); }
.shopPage table.shop_table .amount { font-family: var(--s-en); color: var(--s-head); }
.shopPage .quantity input.qty { width: 72px; height: 44px; border: 1px solid var(--s-line); border-radius: 0; text-align: center; font-family: var(--s-en); font-size: 15px; }
.shopPage .actions { text-align: right; }
.shopPage .actions .coupon { display: none; }
.shopPage .cart-collaterals { display: flex; justify-content: flex-end; margin: 40px 0 0; }
.shopPage .cart_totals { width: 420px; max-width: 100%; }
.shopPage .cart_totals h2 { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: var(--s-head); }
.shopPage .cart_totals table.shop_table th { width: 40%; color: var(--s-sub); }
.shopPage .cart_totals table.shop_table td { text-align: right; }
.shopPage .woocommerce-shipping-destination, .shopPage .woocommerce-shipping-calculator { display: none; }
.shopPage .wc-proceed-to-checkout { margin: 24px 0 0; }
.shopPage .wc-proceed-to-checkout .checkout-button { width: 100%; height: 64px; font-size: 15px; letter-spacing: .14em; }
.shopPage .cart-empty { margin: 48px 0 0; }
.shopPage .return-to-shop { margin: 24px 0 0; }

/* ---------- 完了 ---------- */
.is-thanks .woocommerce-order { margin: 0; }
.is-thanks .coSteps { margin: 0 0 40px; }
.is-thanks .woocommerce-thankyou-order-received { margin: 0 0 32px; font-size: 15px; color: var(--s-head); }
.is-thanks ul.order_details { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 56px; padding: 0; list-style: none; background: var(--s-face); }
.is-thanks ul.order_details li { padding: 22px 24px; font-size: 12px; color: var(--s-sub); line-height: 1.8; }
.is-thanks ul.order_details li + li { box-shadow: -1px 0 0 #fff; }
.is-thanks ul.order_details strong { display: block; font-size: 15px; font-weight: 400; color: var(--s-head); }
.is-thanks h2 { margin: 48px 0 16px; font-size: 18px; font-weight: 500; letter-spacing: .06em; color: var(--s-head); }
.is-thanks address { font-style: normal; line-height: 2; }
.is-thanks .woocommerce-customer-details--phone, .is-thanks .woocommerce-customer-details--email { margin: 0; }

/* ---------- 法令ページ ---------- */
.legalBody { max-width: 820px; }
.legalBody h2 { margin: 48px 0 12px; font-size: 18px; font-weight: 500; letter-spacing: .04em; color: var(--s-head); line-height: 1.6; }
.legalBody h2:first-child { margin-top: 0; }
.legalBody p, .legalBody li { font-size: 14px; line-height: 2; }
.legalBody p { margin: 0 0 12px; }
.legalBody ul, .legalBody ol { margin: 0 0 12px; padding-left: 1.4em; }
.legalBody dl { display: grid; grid-template-columns: 13em 1fr; margin: 0; border-top: 1px solid var(--s-line); }
.legalBody dt, .legalBody dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--s-line); font-size: 14px; line-height: 2; }
.legalBody dt { padding-right: 24px; font-weight: 400; color: var(--s-head); }
.legalBody dd p { margin: 0; }
.legalBody a { color: var(--s-head); text-underline-offset: 3px; }
.legalBody .legalNote { margin: 24px 0 0; font-size: 13px; color: var(--s-sub); }
.legalBack { margin: 56px 0 0; font-size: 13px; }
.legalBack a { color: var(--s-head); text-underline-offset: 4px; }

@media (max-width: 768px) {
    form.coWrap { margin-top: 36px; }
    .coFields { gap: 18px 10px; }
    .coFields .form-row-first, .coFields .form-row-last { grid-column: span 1; }
    .shopPage table.shop_table thead { display: none; }
    .shopPage table.shop_table tr.cart_item { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--s-line); }
    .shopPage table.shop_table tr.cart_item td { padding: 0; border: 0; }
    .shopPage table.shop_table tr.cart_item td::before { display: none; }
    .shopPage table.shop_table .product-thumbnail { grid-row: span 3; }
    .shopPage table.shop_table .product-remove { order: 9; grid-column: 3; }
    .shopPage table.shop_table .product-price { display: none; }
    .shopPage .cart_totals { width: 100%; }
    .is-thanks ul.order_details { grid-template-columns: 1fr 1fr; }
    .legalBody dl { grid-template-columns: 1fr; }
    .legalBody dt { padding: 16px 0 0; border-bottom: 0; }
    .legalBody dd { padding: 4px 0 16px; }
}

/* =====================================================================
 * 一覧・商品ページ（2026-10-12 決定：一覧は見本の A、商品ページは 2案）
 * 見本は ops/ec/design2/（src/shared.css・1.css・2.css）。ここは見本の CSS を .st の中に閉じたもの。
 * 一覧は <main class="st s1">、商品ページは <main class="st s2 isP">。
 * ===================================================================== */
.st {
    --ink: #242428; --head: #14181D; --text: #292929;
    --sub: #4A4F57;   /* 白地 8.0:1 */
    --muted: #646A73; /* 白地 5.4:1・淡い面 4.9:1 */
    --line: #DCDCE0; --line-soft: #ECECEF; --face: #F4F4F5; --photo: #EBEBEC;
    --gold: #C9A551; --red: #9B2C22; /* 白地 7.4:1 */
    --en: "FuturaLTProLight", "Futura", sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    color: var(--text); font-weight: 300; font-size: 13px; line-height: 1.8; background: #fff; padding: 96px 0 0;
}
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st a { color: inherit; text-decoration: none; }
.st img { display: block; max-width: 100%; }
.st button, .st select { font-family: inherit; }
.st p { margin: 0; }
.st .en { font-family: var(--en); }
.st .sIn { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
/* お知らせの帯・店のメニュー */
.st .sBar { background: var(--ink); color: #fff; text-align: center; font-size: 11px; letter-spacing: .08em; line-height: 34px; }
.st .sNav { display: flex; align-items: center; gap: 32px; max-width: 1360px; margin: 0 auto; padding: 0 40px; height: 56px; border-bottom: 1px solid var(--line); }
.st .sNavHome { font-size: 13px; letter-spacing: .26em; color: var(--head); white-space: nowrap; }
.st .sNavCats { display: flex; gap: 28px; }
.st .sNavCats a { position: relative; font-size: 13px; color: var(--sub); line-height: 56px; }
.st .sNavCats a:hover, .st .sNavCats a[aria-current] { color: var(--head); }
.st .sNavCats a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--head); }
.st .sNavSide { display: flex; gap: 24px; margin-left: auto; font-size: 12px; color: var(--sub); }
.st .sNavSide a:hover { color: var(--head); }
.st .sNavSide .en { letter-spacing: .16em; color: var(--head); }
.st .crumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 0; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.st .crumb a:hover { color: var(--head); }
.st .crumb [aria-current] { color: var(--sub); }
/* 一覧の見出し・道具 */
.st .lTitle { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 0; }
.st .lTitle h1 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: .06em; color: var(--head); line-height: 1.4; }
.st .lCount { font-size: 12px; color: var(--sub); }
.st .lCount b { font-weight: 300; font-size: 14px; color: var(--head); }
.st .lTools { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st .sort { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-size: 12px; color: var(--sub); }
.st .sort select { height: 34px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 0; background: #fff linear-gradient(45deg, transparent 50%, var(--head) 50%) no-repeat calc(100% - 14px) 50% / 4px 4px, #fff linear-gradient(135deg, var(--head) 50%, transparent 50%) no-repeat calc(100% - 10px) 50% / 4px 4px; font-size: 12px; color: var(--head); -webkit-appearance: none; appearance: none; }
.st .fOpen { display: none; }
.st .lTabs { display: flex; gap: 0; margin: 20px 0 0; border-bottom: 1px solid var(--line); }
.st .lTabs button { display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 20px 12px 0; margin-right: 20px; border: 0; background: none; font-size: 13px; color: var(--sub); cursor: pointer; position: relative; }
.st .lTabs button em { font-style: normal; font-size: 11px; color: var(--muted); }
.st .lTabs button[aria-pressed="true"] { color: var(--head); }
.st .lTabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 20px; bottom: -1px; height: 1px; background: var(--head); }
.st .lTabs + .lTools { border-top: 0; margin-top: 0; }
/* 絞り込み：横の帯（押すと下に開く） */
.st .fBar { display: flex; gap: 8px; }
.st .fDrop { position: relative; }
.st .fDrop summary { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border: 1px solid var(--line); font-size: 12px; color: var(--head); cursor: pointer; list-style: none; }
.st .fDrop summary::-webkit-details-marker { display: none; }
.st .fDrop summary i { width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.st .fDrop[open] summary { border-color: var(--head); }
.st .fPanel { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 14px 16px; background: #fff; border: 1px solid var(--head); }
/* 絞り込み：左の欄 */
.st .fSide { width: 200px; flex: none; }
.st .fGrp { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line-soft); }
.st .fHd { margin: 0 0 10px !important; font-size: 12px; font-weight: 500; color: var(--head); letter-spacing: .06em; }
.st .fClear { padding: 0; border: 0; background: none; font-size: 12px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* 絞り込みの1行 */
.st .fSide label, .st .fPanel label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--text); cursor: pointer; }
.st label input { position: absolute; opacity: 0; pointer-events: none; }
.st .fSide label > span, .st .fPanel label > span { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.st .fSide label > span::before, .st .fPanel label > span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1px solid #9A9AA2; background: #fff; }
.st .fSide label input:checked + span::before, .st .fPanel label input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.st .fSide label input:focus-visible + span::before, .st .fPanel label input:focus-visible + span::before { outline: 2px solid var(--gold); outline-offset: 2px; }
.st .fSide label em, .st .fPanel label em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.st .fc i { order: 2; width: 14px; height: 14px; border: 1px solid var(--line); }
.st .fc > span { order: 3; }
.st .fc > span::before { display: none !important; }
.st .fc input:checked ~ i { outline: 1px solid var(--head); outline-offset: 2px; }
.st .fc input:checked ~ span { color: var(--head); font-weight: 400; }
.st .fc em { order: 4; }
.st .fSide .fSize { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st .fSide .fSize .fHd { grid-column: 1 / -1; }
.st .fs { justify-content: center; height: 34px; padding: 0 !important; border: 1px solid var(--line); }
.st .fs > span::before { display: none !important; }
.st .fs:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.st .fPanel.fs, .st .fSize .fPanel { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; }
/* 商品の札 */
.st .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.st .card[hidden] { display: none; }
.st .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--photo); }
.st .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st .tag { display: inline-block; padding: 3px 7px; background: #fff; font-size: 10px; letter-spacing: .16em; color: var(--head); line-height: 1.2; }
.st .ph .tag { position: absolute; left: 10px; top: 10px; }
.st .cInfo { padding: 12px 0 0; }
.st .cName { font-size: 13px; font-weight: 400; color: var(--head); line-height: 1.6; }
.st .card a:hover .cName { text-decoration: underline; text-underline-offset: 3px; }
.st .cColor { display: flex; align-items: center; gap: 8px; margin: 4px 0 0 !important; font-size: 12px; color: var(--sub); }
.st .sw { display: inline-flex; gap: 4px; }
.st .sw i { width: 12px; height: 12px; border: 1px solid var(--line); }
.st .sw i[aria-current] { outline: 1px solid var(--head); outline-offset: 1px; }
.st .cPrice { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 0 !important; }
.st .cPrice b { font-weight: 300; font-size: 14px; letter-spacing: .03em; color: var(--head); }
.st .cPrice small { font-size: 10px; color: var(--muted); }
.st .cSizes { display: flex; gap: 8px; margin: 6px 0 0 !important; font-size: 11px; letter-spacing: .06em; color: var(--sub); }
.st .cSizes s { color: var(--muted); }
.st .cNote { margin: 4px 0 0 !important; font-size: 11px; color: var(--red); }
.st .cPre { color: var(--sub); }
.st .ph .tag { font-size: 10px; letter-spacing: .08em; }
.st .pPre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 0 !important; padding: 10px 14px; background: var(--face); font-size: 12px; color: var(--text); }
.st .pPre b { font-weight: 500; color: var(--head); }
.st .lEmpty { padding: 64px 0; text-align: center; color: var(--sub); }
.st .lNote { margin: 32px 0 0 !important; font-size: 11px; color: var(--muted); }
/* 特集の帯（小さく） */
.st .feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; margin: 96px 0 0; padding: 0; }
.st .featPh { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st .featPh img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.st .feat .lab { margin: 0 0 12px !important; font-size: 11px; letter-spacing: .26em; color: var(--muted); }
.st .feat h2 { margin: 0 0 12px; font-size: 20px; font-weight: 500; letter-spacing: .06em; color: var(--head); line-height: 1.6; }
.st .feat p:last-child { max-width: 28em; }
.st .infoStrip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1360px; margin: 96px auto 0; padding: 0 40px; }
.st .infoStrip div { padding: 22px 24px; background: var(--face); }
.st .infoStrip div + div { box-shadow: -1px 0 0 #fff; }
.st .infoStrip dt { font-size: 11px; color: var(--sub); }
.st .infoStrip dd { margin: 2px 0 0; font-size: 13px; color: var(--head); }
/* 商品ページ */
.st .pWrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: 56px; margin: 18px 0 0; align-items: start; }
.st .spRail, .st .spRailCnt { display: none; }
.st .pInfo { position: sticky; top: 96px; }
.st .pCat { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sub); }
.st .pCat .tag { background: var(--face); }
.st .pInfo h1 { margin: 8px 0 0; font-size: 20px; font-weight: 500; letter-spacing: .04em; color: var(--head); line-height: 1.5; }
.st .pPrice { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 0 !important; }
.st .pPrice b { font-weight: 300; font-size: 20px; letter-spacing: .03em; color: var(--head); }
.st .pPrice small { font-size: 11px; color: var(--muted); }
.st .pOpt { margin: 24px 0 0; }
.st .pOptHd { display: flex; align-items: baseline; gap: 4px; margin: 0 0 10px !important; font-size: 12px; color: var(--sub); }
.st .pOptHd b { font-weight: 400; color: var(--head); }
.st .pGuideLink { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.st .pColors { display: flex; gap: 8px; }
.st .pColors a { width: 56px; aspect-ratio: 4 / 5; background: var(--photo); outline: 1px solid transparent; outline-offset: 2px; }
.st .pColors a img { width: 100%; height: 100%; object-fit: cover; }
.st .pColors a[aria-current], .st .pColors a:hover { outline-color: var(--head); }
.st .sz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st .sz button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; height: 48px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 13px; color: var(--head); cursor: pointer; line-height: 1.3; }
.st .sz button small { font-size: 10px; color: var(--red); }
.st .sz button:hover { border-color: var(--head); }
.st .sz button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.st .sz button[aria-pressed="true"] small { color: #F1C7C2; }
/* 墨の地 10:1 */
.st .sz button:disabled { background: var(--face); border-color: var(--face); color: var(--muted); cursor: not-allowed; }
.st .sz button:disabled .en { text-decoration: line-through; }
.st .sz button:disabled small { color: var(--muted); }
.st .pStock { margin: 8px 0 0 !important; font-size: 12px; color: var(--red); }
.st .pBuy { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin: 24px 0 0; }
.st .qty { display: grid; grid-template-columns: 40px 40px 40px; border: 1px solid var(--line); }
.st .qty button { height: 52px; border: 0; background: #fff; font-size: 15px; color: var(--head); cursor: pointer; }
.st .qty output { display: flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 14px; color: var(--head); }
.st .btn { display: flex; align-items: center; justify-content: center; gap: 14px; height: 54px; border: 0; border-radius: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 400; letter-spacing: .14em; cursor: pointer; transition: background .3s; }
.st .btn:hover { background: #000; }
.st .btn::after { content: ""; width: 18px; height: 1px; background: var(--gold); transition: width .3s; }
.st .btn:hover::after { width: 28px; }
.st .pPoints { margin: 20px 0 0; padding: 14px 16px; list-style: none; background: var(--face); font-size: 12px; color: var(--text); }
.st .pPoints li { display: grid; grid-template-columns: 5em 1fr; padding: 3px 0; }
.st .pPoints b { font-weight: 400; color: var(--sub); }
.st .acc { margin: 24px 0 0; border-top: 1px solid var(--line); }
.st .acc details { border-bottom: 1px solid var(--line); }
.st .acc summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 13px; font-weight: 400; color: var(--head); cursor: pointer; list-style: none; }
.st .acc summary::-webkit-details-marker { display: none; }
.st .acc summary i { position: relative; width: 10px; height: 10px; }
.st .acc summary i::before, .st .acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s; }
.st .acc summary i::after { transform: rotate(90deg); }
.st .acc details[open] summary i::after { transform: rotate(0); }
.st .acc .bd { padding: 0 0 18px; font-size: 13px; }
.st .acc .bd p + p, .st .acc .bd p + dl { margin-top: 10px !important; }
.st .acc dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 4px 12px; margin: 0; font-size: 12px; }
.st .acc dt { color: var(--sub); }
.st .acc dd { margin: 0; }
.st .guide { width: 100%; border-collapse: collapse; font-size: 12px; }
.st .guide th, .st .guide td { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); text-align: center; font-weight: 300; }
.st .guide thead th { color: var(--sub); }
.st .guide tbody th { text-align: left; color: var(--sub); }
.st .guideNote { margin: 8px 0 0 !important; font-size: 11px; color: var(--muted); }
.st .gal .thumbs button { padding: 0; border: 1px solid transparent; background: var(--photo); cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; }
.st .gal .thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.st .gal .thumbs button[aria-current="true"] { border-color: var(--head); }
.st .rel { margin: 96px 0 0; }
.st .rel h2 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--head); }
.st .rel .grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
    .st .grid { grid-template-columns: repeat(3, 1fr); }
    .st .pWrap { gap: 32px; }
}
@media (max-width: 768px) {
    .st { padding-top: 76px; }
    .st .sIn { padding: 0 16px; }
    .st .sBar { font-size: 10px; line-height: 1.6; padding: 8px 16px; }
    .st .sNav { gap: 0; height: auto; padding: 0 16px; flex-wrap: wrap; }
    .st .sNavHome { line-height: 44px; }
    .st .sNavSide { gap: 16px; }
    .st .sNavCats { order: 3; width: 100%; gap: 22px; overflow-x: auto; border-top: 1px solid var(--line-soft); scrollbar-width: none; }
    .st .sNavCats a { flex: none; line-height: 44px; }
    .st .lTitle h1 { font-size: 18px; }
    .st .lTools { flex-wrap: wrap; }
    .st .fBar { display: none; }
    .st .fOpen { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--head); }
    .st .lTabs { overflow-x: auto; scrollbar-width: none; }
    .st .lTabs button { flex: none; }
    .st .grid { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
    .st .cName { font-size: 12px; }
    .st .feat { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
    .st .infoStrip { grid-template-columns: 1fr 1fr; margin-top: 64px; padding: 0 16px; }
    .st .infoStrip div { padding: 14px 14px; }
    .st .infoStrip div:nth-child(3) { box-shadow: 0 -1px 0 #fff; }
    .st .infoStrip div:nth-child(4) { box-shadow: -1px 0 0 #fff, 0 -1px 0 #fff; }
    .st .pWrap { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
    .st .gal { display: none !important; }
    .st .spRail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; scrollbar-width: none; }
    .st .spRail::-webkit-scrollbar { display: none; }
    .st .spRail .ph { flex: 0 0 100%; scroll-snap-align: start; }
    .st .spRailCnt { display: block; margin: 8px 0 0; font-size: 11px; letter-spacing: .14em; color: var(--sub); text-align: right; }
    .st .pInfo { position: static; margin-top: 12px; }
    .st .pInfo h1 { font-size: 18px; }
    .st .rel { margin-top: 64px; }
    .st .rel .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .st.fShow .fBar { display: flex; flex-wrap: wrap; width: 100%; order: 5; }
    .st.fShow .s1 .fSide, .st.fShow .fSide { display: block; width: 100%; margin: 0 0 16px; position: static; }
    .st .fOpen[aria-expanded="true"] { border-color: var(--head); }
}
.st .ph img.zoom { object-position: 64% 58%; }
/* 1案 STANDARD：左に絞り込みの欄、右に商品（COS・ARKET の形）。商品ページは写真を2列に並べ、右の欄がついてくる */
.st.s1 .lWrap { display: flex; gap: 40px; margin: 24px 0 0; align-items: flex-start; }
.st.s1 .fSide { position: sticky; top: 96px; padding-top: 4px; }
.st.s1 .lMain { flex: 1; min-width: 0; }
.st.s1 .lTools { margin-top: 0; border-top: 0; padding-top: 0; }
.st.s1 .grid { grid-template-columns: repeat(3, 1fr); }
.st.s1 .rel .grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
    .st.s1 .lWrap { display: block; }
    .st.s1 .fSide { display: none; }
    .st.s1.fShow .fSide { display: block; width: 100%; position: static; margin: 0 0 16px; }
    .st.s1 .grid { grid-template-columns: 1fr 1fr; }
}
/* 2案 SELECT：上にカテゴリーのタブと絞り込みの帯、4列で多く見せる（セレクトショップ・SSENSE の形）。商品ページは左に小さな写真の列 */
.st.s2 .grid { grid-template-columns: repeat(4, 1fr); gap: 36px 12px; }
.st.s2 .galSide { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.st.s2 .galSide .thumbs { display: grid; gap: 8px; }
.st.s2 .pWrap { grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr); }
@media (max-width: 768px) {
    .st.s2 .grid { grid-template-columns: 1fr 1fr; }
    .st.s2 .pWrap { grid-template-columns: 1fr; }
}

/* 商品ページ：カートに入れる部分（WooCommerce が出す HTML を見本の形に合わせる） */
.st .pBuyWc { margin: 24px 0 0; }
.st .pBuyWc form.cart { margin: 0; }
.st .pBuyWc table.variations { width: 100%; border-collapse: collapse; }
.st .pBuyWc table.variations tr, .st .pBuyWc table.variations th, .st .pBuyWc table.variations td { display: block; padding: 0; text-align: left; }
.st .pBuyWc table.variations th { display: flex; align-items: baseline; gap: 4px; margin: 0 0 10px; font-size: 12px; font-weight: 300; color: var(--sub); }
.st .pBuyWc table.variations th label { font-weight: 300; }
.st .pBuyWc table.variations th b { font-weight: 400; color: var(--head); }
.st .pBuyWc .pdGuide { margin-left: auto; font-size: 12px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.st .pdPick select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.st .pdSizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st .pdSize { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 0; background: #fff; font-family: var(--en); font-size: 13px; letter-spacing: .06em; color: var(--head); cursor: pointer; }
.st .pdSize:hover { border-color: var(--head); }
.st .pdSize[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.st .pdSize:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.st .pdSize.is-out { background: var(--face); border-color: var(--face); color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.st .pdStock { margin: 8px 0 0; font-size: 12px; color: var(--red); }
.st .pBuyWc .reset_variations { display: none !important; }
.st .pBuyWc .woocommerce-variation { margin: 8px 0 0; font-size: 12px; color: var(--sub); }
.st .pBuyWc .woocommerce-variation-price { display: none; } /* 価格は上に出ている */
.st .pBuyWc .woocommerce-variation-availability p { margin: 0; }
.st .pBuyWc .stock { margin: 8px 0 0; font-size: 12px; color: var(--sub); }
.st .pBuyWc .stock.out-of-stock { color: var(--red); }
.st .pBuyWc .woocommerce-variation-add-to-cart, .st .pBuyWc form.cart:not(.variations_form) { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin: 24px 0 0; }
.st .pBuyWc .quantity { display: grid; grid-template-columns: 40px 40px 40px; border: 1px solid var(--line); }
.st .pBuyWc .quantity .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st .pBuyWc .quantity .qBtn { height: 52px; padding: 0; border: 0; background: #fff; font-size: 15px; color: var(--head); cursor: pointer; }
.st .pBuyWc .quantity input.qty { width: 100%; height: 52px; padding: 0; border: 0; border-radius: 0; text-align: center; font-family: var(--en); font-size: 14px; color: var(--head); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.st .pBuyWc .quantity input.qty::-webkit-inner-spin-button, .st .pBuyWc .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.st .pBuyWc .single_add_to_cart_button { display: flex; align-items: center; justify-content: center; gap: 14px; height: 54px; padding: 0 20px; border: 0; border-radius: 0; background: var(--ink); color: #fff; font-family: inherit; font-size: 14px; font-weight: 400; letter-spacing: .14em; cursor: pointer; transition: background .3s; }
.st .pBuyWc .single_add_to_cart_button::after { content: ""; width: 18px; height: 1px; background: var(--gold); transition: width .3s; }
.st .pBuyWc .single_add_to_cart_button:hover { background: #000; }
.st .pBuyWc .single_add_to_cart_button:hover::after { width: 28px; }
.st .pBuyWc .single_add_to_cart_button.disabled, .st .pBuyWc .single_add_to_cart_button:disabled { background: #6B6B73; cursor: not-allowed; } /* 白い字で 5.3:1 */
.st .pBuyWc .single_add_to_cart_button.disabled::after { background: #fff; }
.st .acc .bd table { width: 100%; border-collapse: collapse; font-size: 12px; }
.st .acc .bd table th, .st .acc .bd table td { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); text-align: center; font-weight: 300; }
.st .acc .bd thead th { color: var(--sub); }
.st .acc .bd tbody th { font-family: var(--en); color: var(--head); }
.st .acc .bd p { margin: 0; }
.st .acc .bd table + p { margin: 8px 0 0; font-size: 11px; color: var(--muted); }
.st .woocommerce-notices-wrapper:empty { display: none; }
.st .woocommerce-error, .st .woocommerce-message, .st .woocommerce-info { margin: 16px 0 0; padding: 14px 18px; list-style: none; background: #FBF3F2; color: #8A1F17; font-size: 13px; } /* 淡い赤の面に濃い赤の字 8.4:1 */
.st .woocommerce-message, .st .woocommerce-info { background: var(--face); color: var(--head); }
.st .phEmpty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.st .phEmpty .mk { font-family: var(--en); font-size: 32px; letter-spacing: .3em; color: #C5C5CC; line-height: 1; }
.st .phEmpty .tx { font-size: 12px; color: var(--muted); }
.st .card.is-out .ph img { opacity: .55; }
.st .sEnd { padding: 0 0 120px; }
@media (max-width: 768px) {
    .st .sEnd { padding-bottom: 80px; }
}

/* ---------- 完了（10-12 日本語の表にした。woocommerce/checkout/thankyou.php） ---------- */
.tyInfo { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; background: var(--s-face); }
.tyInfo > div { padding: 22px 24px; }
.tyInfo > div + div { box-shadow: -1px 0 0 #fff; }
.tyInfo dt { font-size: 12px; color: var(--s-sub); line-height: 1.6; }
.tyInfo dd { margin: 6px 0 0; font-size: 15px; color: var(--s-head); line-height: 1.6; }
.tyInfo dd.en { font-family: var(--s-en); font-size: 18px; letter-spacing: .04em; }
.tyNote { margin: 12px 0 0; font-size: 12px; color: var(--s-sub); }
.tySec { margin: 56px 0 0; max-width: 720px; }
.tySec h2 { margin: 0 0 20px; padding: 0 0 12px; border-bottom: 1px solid var(--s-line); font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--s-head); }
.tyItems .coItem { margin: 0 0 16px; }
.tySec .coSum { width: 100%; }
.tySec .coSum small { margin-left: 6px; font-size: 11px; color: var(--s-sub); font-weight: 300; }
.tyAddr { margin: 0; font-size: 14px; line-height: 2; color: var(--s-head); }
.tyBack { margin: 48px 0 0; max-width: 720px; text-align: left; }
.tyBack .shopSub { display: inline-block; text-align: left; }
@media (max-width: 768px) {
    .tyInfo { grid-template-columns: 1fr 1fr; }
    .tyInfo > div { padding: 16px 16px; }
    .tyInfo > div:nth-child(n+3) { box-shadow: 0 -1px 0 #fff; }
}
/* カートの商品の下の「予約商品：…」を1行に */
.shop .variation { margin: 4px 0 0; font-size: 12px; color: var(--s-sub); }
.shop .variation dt, .shop .variation dd { display: inline; margin: 0; font-weight: 300; }
.shop .variation dd p { display: inline; margin: 0; }
.shop .trobzTax { font-size: 11px; color: var(--s-sub); }
/* 10-12：写真がまだ無い商品の小さな升（色の切り替え・カートの小さな写真）では文字を出さない */
.st .pColors a { position: relative; overflow: hidden; }
.st .pColors .phEmpty .mk, .st .pColors .phEmpty .tx, .st .gal .thumbs .phEmpty .tx { display: none; }
.st .pColors .phEmpty { background: var(--photo); }
/* お届け・送料・キャンセル・お支払いの見出しの幅（「キャンセル」が入る幅） */
.st .pPoints li { grid-template-columns: 6em 1fr; }
