/* =====================================================
   赤坂紙音 謹製おせち 注文フォーム CSS
   ===================================================== */

:root {
    --sh-ivory: #faf7f1;
    --sh-paper: #f3eee4;
    --sh-white: #ffffff;
    --sh-sumi: #2a2623;
    --sh-text: #4a4540;
    --sh-muted: #8a8279;
    --sh-gold: #b59a66;
    --sh-gold-dark: #8c7444;
    --sh-gold-pale: #eee5d3;
    --sh-line: #e2d8c5;
    --sh-shu: #b8432f;
    --sh-error: #c0392b;
    --sh-mincho: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    --sh-gothic: var(--sh-mincho); /* 全体を明朝体で統一 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* フォントを明朝体に統一（B→dashテンプレート側の指定にも勝つように全要素へ） */
body.bdash-form-input,
body.bdash-form-input *,
body.bdash-form-confirm,
body.bdash-form-confirm *,
body.bdash-form-thanks,
body.bdash-form-thanks * {
    font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif !important;
}

body,
body.bdash-form-input {
    font-family: var(--sh-gothic) !important;
    background: var(--sh-ivory) !important;
    color: var(--sh-text) !important;
    line-height: 1.8 !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
}

.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bd-pageset-header, .bd-pageset-body, .bd-pageset-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* B→dashテンプレート（cms_template_10）の固定高さ・横並びを打ち消す */
.bdash_form .bd-pageset-header,
.bdash_form .bd-pageset-body,
.bdash_form .bd-pageset-footer,
.bdash_form .bd-pageset-content-wrap {
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    transform: none !important;
    top: auto !important;
    z-index: auto !important;
    float: none !important;
}
.bdash_form .bd-pageset-content-wrap { display: block !important; }
/* テンプレートの背景画像を消す */
.bd-pageset-header { background-image: none !important; }
.bdash_form dl.page-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
.bdash_form dl.page-item > dt,
.bdash_form dl.page-item > dd {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin-left: 0 !important;
    text-align: left !important;
}
.bdash_form dl.page-item.sh-qty-dl > dt { display: none !important; }
.bdash_form dl.page-item.sh-hidden,
.bdash_form .sh-hidden { display: none !important; }

.sh-container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.sh-narrow { max-width: 760px; }

.sh-title {
    font-family: var(--sh-mincho);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--sh-sumi);
    text-align: center;
    letter-spacing: 0.18em;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.1rem;
}
.sh-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--sh-gold);
    transform: translateX(-50%);
}
.sh-subtitle {
    text-align: center;
    color: var(--sh-muted);
    margin: -1.5rem 0 3rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

/* ===== ボタン ===== */
.sh-cta {
    display: inline-block;
    min-width: 260px;
    padding: 1.05rem 2.5rem;
    background: var(--sh-sumi);
    color: #fff !important;
    font-family: var(--sh-mincho);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid var(--sh-sumi);
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}
.sh-cta::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(181,154,102,0.7);
    pointer-events: none;
}
.sh-cta:hover { background: var(--sh-gold-dark); border-color: var(--sh-gold-dark); }

/* ===== ヒーロー ===== */
.sh-hero {
    background: var(--sh-white);
    padding: 64px 24px 72px;
    text-align: center;
    border-bottom: 1px solid var(--sh-line);
}
.sh-hero-frame {
    position: relative;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    padding: 56px 32px 48px;
    border: 1px solid var(--sh-gold);
    outline: 1px solid var(--sh-gold);
    outline-offset: -8px;
    overflow: hidden;
}
.sh-hero-tsubaki {
    position: absolute;
    top: -10px;
    right: -14px;
    width: 190px;
    height: auto;
    pointer-events: none;
}
.sh-hero-body {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 56px;
    min-height: 360px;
}
.sh-hero-title {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: var(--sh-mincho);
    color: var(--sh-sumi);
    text-align: start;
}
.sh-hero-kinsei {
    display: block;
    font-size: 1.15rem;
    letter-spacing: 0.3em;
    line-height: 1;
    color: var(--sh-gold-dark);
    margin-left: 0.9em;
}
.sh-hero-h1 {
    display: block;
    font-family: var(--sh-mincho);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1;
    color: var(--sh-sumi);
    margin: 0;
    padding-top: 2.2em;
}
.sh-hero-logo { width: 92px; height: auto; }
.sh-hero-lead {
    font-family: var(--sh-mincho);
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: 0.1em;
    color: var(--sh-text);
    margin-bottom: 2rem;
}
.sh-hero-deadline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.4rem;
    background: var(--sh-paper);
    margin-bottom: 2rem;
}
.sh-hero-deadline-label {
    font-size: 0.8rem;
    color: #fff;
    background: var(--sh-gold);
    padding: 0.15rem 0.7rem;
    letter-spacing: 0.1em;
}
.sh-hero-deadline-date {
    font-family: var(--sh-mincho);
    font-size: 1.4rem;
    color: var(--sh-sumi);
    letter-spacing: 0.08em;
}
.sh-hero-deadline-date small { font-size: 0.9rem; }
.sh-hero .sh-cta { display: block; width: max-content; margin: 0 auto; }

/* ===== ごあいさつ ===== */
.sh-greeting { padding: 88px 0; background: var(--sh-ivory); }
.sh-greeting-text {
    font-family: var(--sh-mincho);
    text-align: center;
    font-size: 1rem;
    line-height: 2.3;
    letter-spacing: 0.06em;
    margin-bottom: 1.8rem;
}
.sh-greeting-sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-top: 2.5rem;
    font-family: var(--sh-mincho);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: var(--sh-sumi);
}

/* ===== 商品 ===== */
.sh-products { padding: 88px 0; background: var(--sh-white); }
.sh-product {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
}
.sh-product:last-of-type { margin-bottom: 24px; }
.sh-product:nth-of-type(even) .sh-product-photo { order: 2; }
.sh-product-photo img { display: block; width: 100%; height: auto; }
.sh-product-info { padding-top: 8px; }
.sh-badge {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--sh-shu);
    border: 1px solid var(--sh-shu);
    padding: 0.1rem 0.7rem;
    margin-bottom: 0.9rem;
}
.sh-product-name {
    font-family: var(--sh-mincho);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--sh-sumi);
    letter-spacing: 0.12em;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}
.sh-product-size { color: var(--sh-gold-dark); letter-spacing: 0.2em; font-size: 0.95rem; margin-bottom: 0.8rem; }
.sh-product-price {
    font-family: var(--sh-mincho);
    font-size: 2rem;
    color: var(--sh-sumi);
    line-height: 1.2;
    letter-spacing: 0.04em;
}
.sh-product-price small { font-size: 1rem; margin-left: 0.15em; }
.sh-product-tax { font-size: 0.85rem; color: var(--sh-muted); margin-bottom: 1.4rem; }
.sh-product-desc { font-size: 0.95rem; line-height: 2; margin-bottom: 1.6rem; }
.sh-photo-note { font-size: 0.8rem; color: var(--sh-muted); text-align: right; }

.sh-menu { border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); }
.sh-menu summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 0;
    font-family: var(--sh-mincho);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--sh-sumi);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sh-menu summary::-webkit-details-marker { display: none; }
.sh-menu summary::after { content: "＋"; color: var(--sh-gold-dark); font-family: var(--sh-gothic); }
.sh-menu[open] summary::after { content: "－"; }
.sh-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1.6rem;
    padding: 0.4rem 0 1.4rem;
}
.sh-menu-col h4 {
    font-family: var(--sh-mincho);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sh-sumi);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--sh-gold-pale);
}
.sh-menu-col ul { list-style: none; }
.sh-menu-col li {
    position: relative;
    padding-left: 1em;
    font-size: 0.88rem;
    line-height: 1.9;
}
.sh-menu-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 5px;
    height: 5px;
    background: var(--sh-gold);
}
.sh-menu-note { display: block; font-size: 0.8rem; color: var(--sh-muted); line-height: 1.7; }

/* ===== ご注文の流れ ===== */
.sh-flow { padding: 80px 0; background: var(--sh-paper); }
.sh-flow-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.sh-flow-item {
    background: var(--sh-white);
    padding: 1.8rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.sh-flow-num {
    width: 44px;
    height: 44px;
    line-height: 42px;
    border: 1px solid var(--sh-gold);
    border-radius: 50%;
    font-family: var(--sh-mincho);
    color: var(--sh-gold-dark);
    font-size: 1.1rem;
}
.sh-flow-text { font-size: 0.95rem; line-height: 1.8; color: var(--sh-sumi); }
.sh-flow-text small { color: var(--sh-muted); font-size: 0.8rem; }

/* ===== フォーム見出し ===== */
.sh-form-head { padding: 88px 0 24px; background: var(--sh-white); }
.sh-form-points {
    list-style: none;
    background: var(--sh-ivory);
    border-left: 3px solid var(--sh-gold);
    padding: 1.2rem 1.5rem;
}
.sh-form-points li { position: relative; padding-left: 1.2em; font-size: 0.92rem; margin-bottom: 0.3rem; }
.sh-form-points li:last-child { margin-bottom: 0; }
.sh-form-points li::before { content: "・"; position: absolute; left: 0; color: var(--sh-gold-dark); }
.sh-form-points strong { color: var(--sh-shu); font-weight: 600; }

/* =====================================================
   B→dash フォーム
   ===================================================== */
.bd-pageset-body { background: var(--sh-white) !important; padding-bottom: 72px !important; }
.bd-pageset-content-wrap { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
.bd-pageset-parent {
    max-width: 760px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    float: none !important;
}
.bdash_form, form.bdash_form {
    background: transparent !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* フォーム上の案内文（f_16008） */
#bdash_form_f_16008 {
    text-align: center !important;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    background: transparent !important;
}
#bdash_form_f_16008 p,
#bdash_form_f_16008 span { color: var(--sh-muted) !important; font-size: 0.9rem !important; margin: 0 !important; }

/* フォーム下の不要テキスト（f_16021） */
#bdash_form_f_16021 { display: none !important; }

/* JSで差し込むグループ見出し */
.sh-group-title {
    font-family: var(--sh-mincho);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--sh-sumi);
    letter-spacing: 0.15em;
    margin: 3rem 0 1.5rem;
    padding: 0.2rem 0 0.6rem 0.9rem;
    border-left: 3px solid var(--sh-gold);
    border-bottom: 1px solid var(--sh-line);
}
.sh-group-title:first-child { margin-top: 1rem; }

.page-item { margin: 0 0 1.6rem !important; padding: 0 !important; }
.page-item-label {
    display: block !important;
    margin-bottom: 0.6rem !important;
    font-weight: 500 !important;
    color: var(--sh-sumi) !important;
    font-size: 0.95rem !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
}
.page-item-info { padding: 0 !important; margin: 0 !important; width: 100% !important; }
.page-item-required {
    font-size: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin-left: 0.4rem !important;
}
.page-item-required::after {
    content: "必須";
    font-size: 0.7rem;
    color: #fff;
    background: var(--sh-shu);
    padding: 0.1rem 0.45rem;
    vertical-align: 2px;
    letter-spacing: 0.05em;
}

.form-control,
.custom-select {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border: 1px solid var(--sh-line) !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    font-family: var(--sh-gothic) !important;
    background: var(--sh-ivory) !important;
    color: var(--sh-sumi) !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}
input.form-control { height: auto !important; }
select.form-control,
select.custom-select {
    height: auto !important;
    min-height: 50px !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}
.form-control:focus,
.custom-select:focus {
    outline: none !important;
    border-color: var(--sh-gold) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(181,154,102,0.18) !important;
}
.form-control::placeholder { color: #b5ada2 !important; }
.form-control + .form-control { margin-top: 0.6rem !important; }

.page-item-description,
.sh-note {
    font-size: 0.8rem !important;
    color: var(--sh-muted) !important;
    margin-top: 0.45rem !important;
    line-height: 1.6 !important;
}
.page-item-message { color: var(--sh-error) !important; font-size: 0.85rem !important; margin-top: 0.4rem !important; }
.sh-invalid { border-color: var(--sh-error) !important; background: #fdf4f2 !important; }

/* 姓・名／セイ・メイ 横並び */
#bdash_form_f_16009, #bdash_form_f_16010,
#bdash_form_f_16011, #bdash_form_f_16012 {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
}
#bdash_form_f_16009, #bdash_form_f_16011 { margin-right: 4% !important; }

/* 郵便番号 */
.form-item-postalcode .page-item-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.4rem !important;
}
.form-item-postalcode input.form-control { width: 96px !important; flex: 0 0 auto !important; margin: 0 !important; }
.form-item-postalcode .mx-2 { margin: 0 0.2rem !important; }
.form-item-postalcode .page-item-message,
.form-item-postalcode .sh-note { flex-basis: 100% !important; }

/* 同意チェック */
.form-item-agreement .page-item-info { display: block !important; }
.form-item-agreement .page-item-info > label {
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    padding: 0.9rem 1rem !important;
    background: var(--sh-ivory) !important;
    border: 1px solid var(--sh-line) !important;
    cursor: pointer !important;
    margin: 0 !important;
}
.form-item-agreement input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    accent-color: var(--sh-gold-dark);
    cursor: pointer !important;
}
.form-item-agreement label label { display: inline !important; margin: 0 !important; font-size: 0.95rem !important; color: var(--sh-sumi) !important; cursor: pointer !important; }
.agreement-text { font-size: 0.88rem !important; color: var(--sh-text) !important; margin-bottom: 0.8rem !important; background: transparent !important; padding: 0 !important; }
.agreement-text p { margin: 0 !important; }
.agreement-text a { color: var(--sh-gold-dark) !important; text-decoration: underline !important; }

/* 非表示（出し分け） */
.sh-hidden { display: none !important; }

/* ===== 個数カード（JSで生成） ===== */
.sh-qty-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--sh-line);
    background: var(--sh-ivory);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.sh-qty-card.is-active { border-color: var(--sh-gold); background: #fffdf8; box-shadow: inset 3px 0 0 var(--sh-gold); }
.sh-qty-info { min-width: 0; }
.sh-qty-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--sh-shu);
    border: 1px solid var(--sh-shu);
    padding: 0 0.45rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.08em;
}
.sh-qty-name {
    font-family: var(--sh-mincho);
    font-size: 1.15rem;
    color: var(--sh-sumi);
    letter-spacing: 0.08em;
    line-height: 1.4;
}
.sh-qty-meta { font-size: 0.82rem; color: var(--sh-muted); margin-top: 0.15rem; }
.sh-qty-meta strong { color: var(--sh-sumi); font-weight: 500; font-size: 0.95rem; }
.sh-stepper { display: flex; align-items: center; flex-shrink: 0; }
.sh-qty-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--sh-gold);
    background: #fff;
    color: var(--sh-gold-dark);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.sh-qty-btn:hover { background: var(--sh-gold-pale); }
.sh-qty-btn:disabled { opacity: 0.35; cursor: default; background: #fff; }
.sh-stepper input.form-control {
    width: 56px !important;
    height: 44px !important;
    min-height: 44px !important;
    text-align: center !important;
    padding: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--sh-gold) !important;
    border-bottom: 1px solid var(--sh-gold) !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
}
.sh-qty-unit { font-size: 0.85rem; margin-left: 0.4rem; color: var(--sh-text); }
.sh-qty-dl .page-item-label { display: none !important; }

.sh-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding: 1rem 1.2rem;
    margin: -0.4rem 0 1.6rem;
    background: var(--sh-sumi);
    color: #fff;
}
.sh-total-label { font-size: 0.9rem; letter-spacing: 0.1em; }
.sh-total-price { font-family: var(--sh-mincho); font-size: 1.5rem; letter-spacing: 0.04em; }
.sh-total-price small { font-size: 0.8rem; margin-left: 0.3rem; color: #d8cfbf; }

/* ===== 送信ボタン ===== */
.bdash_form_button_input,
.bdash_form_button_confirm {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    margin: 2.5rem 0 0 !important;
    padding: 0 !important;
}
input[type="submit"].bdash_form_commit_button,
.bdash_form_commit_button {
    display: block !important;
    width: 320px !important;
    max-width: 100% !important;
    height: 60px !important;
    line-height: 60px !important;
    padding: 0 2rem !important;
    margin: 0 !important;
    background: var(--sh-sumi) !important;
    color: #fff !important;
    border: 1px solid var(--sh-sumi) !important;
    border-radius: 0 !important;
    font-family: var(--sh-mincho) !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.25em !important;
    cursor: pointer !important;
    box-shadow: inset 0 0 0 4px var(--sh-sumi), inset 0 0 0 5px rgba(181,154,102,0.8) !important;
    transition: background 0.3s ease !important;
    -webkit-appearance: none !important;
}
.bdash_form_commit_button:hover { background: var(--sh-gold-dark) !important; border-color: var(--sh-gold-dark) !important; box-shadow: inset 0 0 0 4px var(--sh-gold-dark), inset 0 0 0 5px rgba(255,255,255,0.5) !important; }
.bdash_form_commit_button:disabled { opacity: 0.6 !important; cursor: not-allowed !important; }
.bdash_form_back_button {
    display: block !important;
    width: 150px !important;
    height: 60px !important;
    line-height: 58px !important;
    padding: 0 1rem !important;
    background: #fff !important;
    color: var(--sh-sumi) !important;
    border: 1px solid var(--sh-sumi) !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
}
.bdash_form_button_confirm .bdash_form_commit_button { width: 220px !important; }

/* =====================================================
   フッター
   ===================================================== */
.sh-details { padding: 80px 0; background: var(--sh-paper); }
.sh-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sh-detail { background: #fff; padding: 1.6rem 1.5rem; }
.sh-detail-label {
    font-family: var(--sh-mincho);
    font-size: 1.05rem;
    color: var(--sh-sumi);
    letter-spacing: 0.12em;
    padding-bottom: 0.6rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--sh-gold);
}
.sh-detail-content { font-size: 0.95rem; line-height: 1.9; }
.sh-detail-content small { font-size: 0.8rem; color: var(--sh-muted); }

.sh-terms { padding: 64px 0; background: var(--sh-white); }
.sh-terms-title {
    font-family: var(--sh-mincho);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--sh-sumi);
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 1.6rem;
}
.sh-terms-list { list-style: none; margin-bottom: 2.8rem; }
.sh-terms-list li { position: relative; padding-left: 1.2em; font-size: 0.88rem; line-height: 1.9; margin-bottom: 0.4rem; }
.sh-terms-list li::before { content: "※"; position: absolute; left: 0; color: var(--sh-gold-dark); }
.sh-contact {
    text-align: center;
    border: 1px solid var(--sh-line);
    padding: 1.6rem 1rem;
}
.sh-contact-label { font-size: 0.8rem; color: var(--sh-gold-dark); letter-spacing: 0.2em; margin-bottom: 0.4rem; }
.sh-contact-name { font-family: var(--sh-mincho); font-size: 1.2rem; color: var(--sh-sumi); letter-spacing: 0.1em; }
.sh-contact-tel a { font-family: var(--sh-mincho); font-size: 1.4rem; color: var(--sh-sumi) !important; text-decoration: none !important; letter-spacing: 0.08em; }

.sh-cta-section {
    padding: 72px 24px;
    background: var(--sh-sumi);
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
.sh-cta-lead { font-family: var(--sh-mincho); color: #e9dfcc; letter-spacing: 0.15em; margin-bottom: 1.4rem; }
.sh-cta-section .sh-cta { background: var(--sh-gold-dark); border-color: var(--sh-gold-dark); }
.sh-cta-section .sh-cta::after { border-color: rgba(255,255,255,0.45); }
.sh-cta-section .sh-cta:hover { background: var(--sh-gold); }

.sh-footer {
    background: #1d1a18;
    color: #cfc6b8;
    text-align: center;
    padding: 2.5rem 24px 2rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
.sh-footer-logo { display: block; font-family: var(--sh-mincho); font-size: 1.05rem; letter-spacing: 0.15em; color: #efe8dc; margin-bottom: 1rem; }
.sh-footer-links { margin-bottom: 0.8rem; white-space: nowrap; }
.sh-footer-links a { color: #cfc6b8 !important; text-decoration: none !important; font-size: 0.75rem; margin: 0 0.4rem; }
.sh-footer-links a:hover { color: #fff !important; }
.sh-footer-sep { color: rgba(255,255,255,0.3); }
.sh-footer-copy { font-size: 0.7rem; color: #8f877c; }

/* LINEバナー（前回と同じ） */
.line-banner-wrapper { position: fixed !important; right: 0 !important; bottom: 20px !important; width: 200px !important; z-index: 999 !important; margin: 0 !important; padding: 0 !important; }
.line-banner-link { display: block !important; transition: transform 0.3s ease !important; }
.line-banner-link:hover { transform: scale(1.05) !important; }
.line-banner-pc { display: block !important; width: 100% !important; height: auto !important; }
.line-banner-sp { display: none !important; }

/* =====================================================
   スマホ
   ===================================================== */
@media (max-width: 768px) {
    .sh-container { padding: 0 16px; }
    .sh-title { font-size: 1.45rem; margin-bottom: 2rem; letter-spacing: 0.12em; }

    .sh-hero { padding: 32px 16px 48px; }
    .sh-hero-frame { padding: 40px 16px 32px; margin-bottom: 2rem; }
    .sh-hero-tsubaki { width: 120px; top: -6px; right: -12px; }
    .sh-hero-body { gap: 36px; min-height: 0; }
    .sh-hero-h1 { font-size: 1.55rem; }
    .sh-hero-kinsei { font-size: 0.95rem; }
    .sh-hero-logo { width: 66px; }
    .sh-hero-lead { font-size: 0.92rem; line-height: 2.1; }
    .sh-hero-deadline-date { font-size: 1.2rem; }

    .sh-greeting, .sh-products { padding: 60px 0; }
    .sh-greeting-text { font-size: 0.9rem; text-align: left; }
    .sh-greeting-text br { display: none; }

    .sh-product { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
    .sh-product:nth-of-type(even) .sh-product-photo { order: 0; }
    .sh-product-photo { margin: 0 -16px; }
    .sh-product-name { font-size: 1.4rem; }
    .sh-product-price { font-size: 1.7rem; }
    .sh-product-desc { font-size: 0.9rem; }
    .sh-menu-grid { gap: 1.2rem 1rem; }

    .sh-flow { padding: 56px 0; }
    .sh-flow-list { grid-template-columns: 1fr; gap: 10px; }
    .sh-flow-item { flex-direction: row; text-align: left; padding: 1rem 1.2rem; gap: 1rem; }
    .sh-flow-num { flex-shrink: 0; width: 38px; height: 38px; line-height: 36px; font-size: 1rem; }
    .sh-flow-text br { display: none; }
    .sh-flow-text small { display: block; }

    .sh-form-head { padding: 60px 0 16px; }

    .bd-pageset-parent { padding: 0 16px !important; }
    #bdash_form_f_16009, #bdash_form_f_16010,
    #bdash_form_f_16011, #bdash_form_f_16012 { width: 48% !important; }

    .sh-qty-card { padding: 0.9rem; gap: 0.6rem; }
    .sh-qty-name { font-size: 1rem; }
    .sh-qty-btn { width: 40px; height: 40px; }
    .sh-stepper input.form-control { width: 46px !important; height: 40px !important; min-height: 40px !important; }
    .sh-qty-unit { display: none; }

    input[type="submit"].bdash_form_commit_button,
    .bdash_form_commit_button { width: 100% !important; }
    .bdash_form_back_button { width: 110px !important; flex-shrink: 0 !important; }
    .bdash_form_button_confirm .bdash_form_commit_button { width: auto !important; flex: 1 !important; }

    .sh-details { padding: 56px 0; }
    .sh-details-grid { grid-template-columns: 1fr; gap: 12px; }
    .sh-terms { padding: 48px 0; }
    .sh-cta-section { padding: 56px 16px; }
    .sh-cta { min-width: 0; width: 100%; max-width: 340px; }

    /* LINEバナー：スマホは下部固定。送信ボタン・フッターが隠れないよう余白を確保 */
    .line-banner-pc { display: none !important; }
    .line-banner-sp { display: block !important; width: 100% !important; height: auto !important; }
    .line-banner-wrapper { width: 100% !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
    .sh-footer { padding-bottom: 110px; }
}

@media (max-width: 374px) {
    #bdash_form_f_16009, #bdash_form_f_16010,
    #bdash_form_f_16011, #bdash_form_f_16012 { display: block !important; width: 100% !important; margin-right: 0 !important; }
}

/* =====================================================
   2026/11 修正分
   ===================================================== */
/* ご注文の流れ（4ステップ・縦並び） */
.sh-flow-list { grid-template-columns: 1fr !important; max-width: 760px; gap: 12px; }
.sh-flow-item { flex-direction: row !important; align-items: flex-start !important; text-align: left !important; padding: 1.4rem 1.5rem !important; gap: 1.2rem !important; }
.sh-flow-num { flex-shrink: 0; }
.sh-flow-body { display: flex; flex-direction: column; gap: 0.3rem; }
.sh-flow-head { font-size: 1.1rem; color: var(--sh-sumi); letter-spacing: 0.1em; }
.sh-flow-text { font-size: 0.92rem; line-height: 1.9; color: var(--sh-text); }
.sh-flow-text strong { color: var(--sh-shu); font-weight: 600; }
.sh-flow-text small { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--sh-muted); }
.sh-flow-text a { color: var(--sh-gold-dark) !important; }

/* チェックボックス項目（お届け先が同じ／請求書・領収書） */
.form-item-checkbox .page-item-info { display: block !important; }
.form-item-checkbox .page-item-info > label {
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    padding: 0.85rem 1rem !important;
    margin: 0 0 0.5rem !important;
    background: var(--sh-ivory) !important;
    border: 1px solid var(--sh-line) !important;
    cursor: pointer !important;
}
.form-item-checkbox input[type="checkbox"] {
    width: 20px !important; height: 20px !important; min-width: 20px !important;
    margin: 0 !important; accent-color: var(--sh-gold-dark); cursor: pointer !important;
}
.form-item-checkbox input[type="checkbox"][name*="[index]"] { display: none !important; }
.label-text-checkbox { font-size: 0.95rem !important; color: var(--sh-sumi) !important; }

/* 連絡欄 */
textarea.form-control { min-height: 120px !important; line-height: 1.8 !important; resize: vertical; }

/* JSで差し込む小見出し（お届け先情報など） */
.sh-sub-title {
    font-size: 1rem; color: var(--sh-gold-dark); letter-spacing: 0.12em;
    margin: 1.8rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 1px dashed var(--sh-line);
}

/* 完了画面 */
.sh-thanks { max-width: 640px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.sh-thanks-title { font-size: 1.6rem; color: var(--sh-sumi); letter-spacing: 0.15em; line-height: 1.7; margin-bottom: 1.6rem; }
.sh-thanks-text { font-size: 0.95rem; line-height: 2; margin-bottom: 1.6rem; }
.sh-thanks-box { background: var(--sh-ivory); border: 1px solid var(--sh-gold); padding: 1.4rem 1.2rem; margin-bottom: 1.6rem; }
.sh-thanks-box strong { display: block; font-size: 1.1rem; color: var(--sh-sumi); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.sh-thanks-box p { font-size: 0.88rem; line-height: 1.9; color: var(--sh-text); }
.sh-thanks-box a { color: var(--sh-gold-dark) !important; }
body.bdash-form-thanks .sh-hero,
body.bdash-form-thanks .sh-greeting,
body.bdash-form-thanks .sh-products,
body.bdash-form-thanks .sh-flow,
body.bdash-form-thanks .sh-form-head,
body.bdash-form-thanks .sh-cta-section { display: none !important; }

@media (max-width: 768px) {
    .sh-flow-item { padding: 1.1rem 1rem !important; gap: 0.9rem !important; }
    .sh-flow-head { font-size: 1rem; }
    .sh-flow-text { font-size: 0.88rem; }
    .sh-thanks { padding: 48px 16px; }
    .sh-thanks-title { font-size: 1.3rem; }
}
.sh-flow-num { display: flex !important; align-items: center; justify-content: center; line-height: 1 !important; padding: 0 !important; }
.sh-thanks-text a { color: var(--sh-gold-dark) !important; }

/* =====================================================
   確認画面・完了画面：ヘッダーを小さくしてフォームから表示
   ===================================================== */
body.bdash-form-confirm .sh-greeting,
body.bdash-form-confirm .sh-products,
body.bdash-form-confirm .sh-flow,
body.bdash-form-confirm .sh-form-points,
body.bdash-form-confirm .sh-details,
body.bdash-form-confirm .sh-cta-section,
body.bdash-form-thanks .sh-form-head,
body.bdash-form-thanks .sh-details,
body.bdash-form-thanks .sh-terms { display: none !important; }

/* ヒーローはロゴだけ残す */
body.bdash-form-confirm .sh-hero,
body.bdash-form-thanks .sh-hero { display: block !important; padding: 28px 16px 20px !important; }
body.bdash-form-confirm .sh-hero-frame,
body.bdash-form-thanks .sh-hero-frame { border: none !important; outline: none !important; padding: 0 !important; margin: 0 auto !important; }
body.bdash-form-confirm .sh-hero-tsubaki,
body.bdash-form-confirm .sh-hero-title,
body.bdash-form-confirm .sh-hero-lead,
body.bdash-form-confirm .sh-hero-deadline,
body.bdash-form-confirm .sh-hero > .sh-cta,
body.bdash-form-thanks .sh-hero-tsubaki,
body.bdash-form-thanks .sh-hero-title,
body.bdash-form-thanks .sh-hero-lead,
body.bdash-form-thanks .sh-hero-deadline,
body.bdash-form-thanks .sh-hero > .sh-cta { display: none !important; }
body.bdash-form-confirm .sh-hero-body,
body.bdash-form-thanks .sh-hero-body { min-height: 0 !important; }
body.bdash-form-confirm .sh-hero-logo,
body.bdash-form-thanks .sh-hero-logo { width: 56px !important; }

body.bdash-form-confirm .sh-form-head { padding: 24px 0 8px !important; }
.sh-confirm-lead { text-align: center; font-size: 0.92rem; color: var(--sh-text); line-height: 1.9; margin-top: -1rem; }

/* 確認画面の項目表示 */
body.bdash-form-confirm .page-item { padding: 1rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--sh-line) !important; }
body.bdash-form-confirm .page-item-label { color: var(--sh-gold-dark) !important; font-size: 0.85rem !important; margin-bottom: 0.3rem !important; }
body.bdash-form-confirm .page-item-info { font-size: 1rem !important; color: var(--sh-sumi) !important; }
body.bdash-form-confirm .page-item-required { display: none !important; }
body.bdash-form-confirm #bdash_form_f_16009, body.bdash-form-confirm #bdash_form_f_16010,
body.bdash-form-confirm #bdash_form_f_16011, body.bdash-form-confirm #bdash_form_f_16012 {
    display: block !important; width: 100% !important; margin-right: 0 !important;
}
@media (max-width: 768px) {
    .bdash_form_button_confirm { flex-direction: column-reverse !important; gap: 0.8rem !important; }
    .bdash_form_button_confirm .bdash_form_commit_button,
    .bdash_form_button_confirm .bdash_form_back_button { width: 100% !important; max-width: 100% !important; flex: none !important; }
}

/* =====================================================
   完了画面（B→dashの完了画面は body.bdash-form-submit）
   ===================================================== */
body.bdash-form-submit,
body.bdash-form-submit * {
    font-family: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif !important;
}
body.bdash-form-submit .sh-greeting,
body.bdash-form-submit .sh-products,
body.bdash-form-submit .sh-flow,
body.bdash-form-submit .sh-form-head,
body.bdash-form-submit .sh-details,
body.bdash-form-submit .sh-terms,
body.bdash-form-submit .sh-cta-section { display: none !important; }
body.bdash-form-submit .sh-hero { display: block !important; padding: 28px 16px 20px !important; }
body.bdash-form-submit .sh-hero-frame { border: none !important; outline: none !important; padding: 0 !important; margin: 0 auto !important; }
body.bdash-form-submit .sh-hero-tsubaki,
body.bdash-form-submit .sh-hero-title,
body.bdash-form-submit .sh-hero-lead,
body.bdash-form-submit .sh-hero-deadline,
body.bdash-form-submit .sh-hero > .sh-cta { display: none !important; }
body.bdash-form-submit .sh-hero-body { min-height: 0 !important; }
body.bdash-form-submit .sh-hero-logo { width: 56px !important; }
body.bdash-form-submit .bd-pageset-parent { padding: 32px 16px 64px !important; }
body.bdash-form-submit .bd-pageset-parent span { color: var(--sh-sumi) !important; }

/* 戻るボタン・確認ボタン：文字が枠からはみ出さないように */
.bdash_form_back_button,
.bdash_form_button_confirm .bdash_form_commit_button {
    width: auto !important;
    min-width: 180px !important;
    padding: 0 1.8rem !important;
    white-space: nowrap !important;
    letter-spacing: 0.1em !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
.bdash_form_button_confirm .bdash_form_commit_button { min-width: 260px !important; }
@media (max-width: 768px) {
    .bdash_form_back_button,
    .bdash_form_button_confirm .bdash_form_commit_button { width: 100% !important; min-width: 0 !important; }
}

/* お届け予定日（JSで表示） */
.sh-arrival {
    background: var(--sh-ivory);
    border-left: 3px solid var(--sh-gold);
    padding: 0.7rem 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--sh-sumi);
}
.sh-arrival strong { color: var(--sh-shu); font-weight: 600; }
.sh-arrival small { display: block; font-size: 0.8rem; color: var(--sh-muted); margin-top: 0.2rem; }
.bdash_form dl.page-item.form-item-postalcode > dd.page-item-info {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 0.4rem !important;
}

/* ご注意事項（フォーム内・同意チェックの直前） */
.sh-form-terms {
    border: 1px solid var(--sh-gold);
    background: var(--sh-ivory);
    padding: 1.2rem 1.3rem 0.6rem;
    margin: 0 0 1.4rem;
}
.sh-form-terms-title {
    font-size: 1rem;
    color: var(--sh-shu);
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.sh-form-terms .sh-terms-list { margin-bottom: 0.6rem !important; }
.sh-form-terms .sh-terms-list li { font-size: 0.85rem; line-height: 1.8; }
/* 移したあとはフッターの見出しを隠し、お問い合わせだけ残す */
body.sh-terms-moved .sh-terms-title { display: none !important; }
body.sh-terms-moved .sh-terms { padding-top: 48px; }