/* ======================================================
   MOKU-LINK カスタムデザイン - EC-CUBE全ページ統一スタイル
   デザインカラー: #5C1F14 (ブラウン) / #f2f2e7 (ベージュ)
   フォント: Noto Sans JP / Poppins
   ====================================================== */

/* ==============================
   リセット・ベース
   ============================== */
/* EC-CUBEレイアウト調整 - カスタムヘッダー/フッター使用のためデフォルトを非表示 */
.ec-layoutRole {
    display: contents;
}
/* デフォルトのヘッダー/フッターブロックは非表示（カスタムで置き換え済み） */
.ec-layoutRole__header,
.ec-layoutRole__footer {
    display: none;
}
/* コンテンツエリアの余白リセット */
.ec-layoutRole__contents {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.ec-layoutRole__main,
.ec-layoutRole__mainWithColumn,
.ec-layoutRole__mainBetweenColumn {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
/* ページトップボタン */
.ec-blockTopBtn {
    display: none;
}

/* ==============================
   共通コンポーネント
   ============================== */

/* --- セクションタイトル --- */
.ec-pageHeader h1,
.ec-pageHeader h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    color: #5C1F14;
    font-size: 24px;
    border-bottom: 2px solid #5C1F14;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

/* --- コンテナ --- */
.ec-cartRole,
.ec-orderRole,
.ec-registerRole,
.ec-contactRole,
.ec-forgotRole,
.ec-mypageRole,
.ec-helpRole {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* --- ボタン共通 --- */
.ec-blockBtn--action,
.ec-blockBtn--cancel,
.ec-inlineBtn--action,
.ec-inlineBtn--cancel,
.ec-blockBtn {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    border-radius: 4px;
    font-size: 14px;
    padding: 12px 24px;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    border: none;
}

.ec-blockBtn--action,
.ec-inlineBtn--action {
    background: #5C1F14;
    color: #fff !important;
    border: 1px solid #5C1F14;
}
.ec-blockBtn--action:hover,
.ec-inlineBtn--action:hover {
    opacity: 0.85;
    color: #fff;
}

.ec-blockBtn--cancel,
.ec-inlineBtn--cancel {
    background: #fff;
    color: #5C1F14 !important;
    border: 1px solid #5C1F14;
}
.ec-blockBtn--cancel:hover,
.ec-inlineBtn--cancel:hover {
    background: #f2f2e7;
}

/* --- フォーム共通 --- */
.ec-input input[type="text"],
.ec-input input[type="email"],
.ec-input input[type="password"],
.ec-input input[type="number"],
.ec-input input[type="tel"],
.ec-input textarea,
.ec-halfInput input,
.ec-numberInput input,
.ec-zipInput input,
.ec-telInput input,
.ec-select select,
.ec-birth select {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    transition: border-color 0.2s;
    color: #333;
    background: #fff;
}
.ec-input input:focus,
.ec-halfInput input:focus,
.ec-numberInput input:focus,
.ec-zipInput input:focus,
.ec-telInput input:focus,
.ec-select select:focus,
.ec-input textarea:focus {
    border-color: #5C1F14;
    outline: none;
    box-shadow: 0 0 0 2px rgba(92, 31, 20, 0.1);
}

/* --- ラベル --- */
.ec-label {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    color: #5C1F14;
    font-size: 14px;
}

/* --- 必須バッジ --- */
.ec-required {
    background: #5C1F14;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
}

/* --- エラー --- */
.ec-errorMessage,
.errormsg {
    color: #c0392b;
    font-size: 13px;
}

/* --- メンテナンスアラート --- */
.ec-maintenanceAlert,
.ec-debugModeAlert {
    max-width: 100%;
}

/* ==============================
   モーダル
   ============================== */
.ec-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
.ec-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.ec-modal-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.ec-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
}
.ec-modal-close img {
    width: 20px;
    height: 20px;
}
#ec-modal-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #5C1F14;
    text-align: center;
}
.ec-modal-box .ec-role {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ==============================
   カートページ
   ============================== */
.ec-cartRole {
    font-family: "Noto Sans JP", sans-serif;
}
.ec-cartRole__progress {
    margin-bottom: 30px;
}
.ec-progress {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 0;
}
.ec-progress__item {
    text-align: center;
    font-size: 13px;
    color: #999;
    flex: 1;
    position: relative;
    padding: 10px 0;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-progress__item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 2px;
    background: #ddd;
}
.ec-progress__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    height: 2px;
    background: #ddd;
}
.ec-progress__item:first-child::before,
.ec-progress__item:last-child::after {
    display: none;
}
.ec-progress__item.is-complete {
    color: #5C1F14;
}
.ec-progress__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.ec-progress__item.is-complete .ec-progress__number {
    background: #5C1F14;
}
.ec-progress__label {
    display: block;
    font-size: 12px;
}
.ec-cartTable {
    width: 100%;
    border-collapse: collapse;
}
.ec-cartHeader {
    display: none;
}
.ec-cartRow {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ec-cartRow__unitPrice,
.ec-cartRow__subtotal {
    font-weight: 700;
    color: #5C1F14;
}
.ec-cartRow__delColumn {
    margin-left: auto;
}
.ec-cartRow__delColumn a,
.ec-cartRow__delColumn .ec-icon img {
    color: #999;
    opacity: 0.6;
}
.ec-cartRow__delColumn a:hover {
    opacity: 1;
}
.ec-cartRole__totalBox {
    background: #f2f2e7;
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
}
.ec-cartRole__totalBox .ec-totalBox__price {
    font-size: 20px;
    font-weight: 700;
    color: #5C1F14;
}
.ec-cartRole__actions {
    text-align: center;
    margin-top: 24px;
}
.ec-cartRole__actions .ec-blockBtn--action {
    width: 100%;
    max-width: 360px;
    padding: 16px;
    font-size: 16px;
}
.ec-cartRole__actions .ec-blockBtn--cancel {
    margin-top: 12px;
}

/* ==============================
   購入手続き（Shopping）
   ============================== */
.ec-orderRole {
    font-family: "Noto Sans JP", sans-serif;
}
.ec-orderRole__detail,
.ec-orderRole__summary {
    padding: 20px 0;
}
.ec-orderRole__detail {
    border-bottom: none;
}
.ec-rectHeading h2 {
    font-family: "Noto Sans JP", sans-serif;
    background: #5C1F14;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.ec-orderDelivery__item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.ec-orderDelivery__change {
    text-align: right;
}
.ec-orderDelivery__change a {
    color: #5C1F14;
    text-decoration: underline;
}
.ec-orderOrder__item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.ec-orderRole .ec-totalBox {
    background: #f2f2e7;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
}
.ec-totalBox__price {
    font-size: 18px;
    font-weight: 700;
    color: #5C1F14;
}
.ec-orderRole__summary .ec-blockBtn--action {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 16px;
}

/* --- 注文完了 --- */
.ec-reportHeading {
    text-align: center;
    padding: 40px 20px;
}
.ec-reportHeading h2 {
    font-family: "Noto Sans JP", sans-serif;
    color: #5C1F14;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ec-reportDescription {
    font-family: "Noto Sans JP", sans-serif;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================
   ログイン・会員登録
   ============================== */
.ec-loginRole,
.ec-registerRole {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-loginRole__actions {
    text-align: center;
}
.ec-login {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
}
.ec-login__title {
    font-family: "Noto Sans JP", sans-serif;
    color: #5C1F14;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #5C1F14;
}
.ec-login__actions .ec-blockBtn--action,
.ec-login__actions .ec-blockBtn--cancel {
    width: 100%;
    max-width: 320px;
    margin: 8px auto;
    display: block;
}
.ec-guest {
    background: #f2f2e7;
    border-radius: 8px;
    padding: 30px;
}
.ec-guest .ec-blockBtn--action {
    max-width: 320px;
}

/* ==============================
   マイページ
   ============================== */
.ec-mypageRole {
    font-family: "Noto Sans JP", sans-serif;
}
.ec-navlistRole {
    margin-bottom: 30px;
}
.ec-navlistRole__navlist {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}
.ec-navlistRole__item {
    flex: 1;
    min-width: 120px;
}
.ec-navlistRole__item a {
    display: block;
    text-align: center;
    padding: 14px 12px;
    font-size: 13px;
    color: #5C1F14;
    text-decoration: none;
    border-right: 1px solid #e5e5e5;
    transition: background 0.2s;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-navlistRole__item:last-child a {
    border-right: none;
}
.ec-navlistRole__item a:hover,
.ec-navlistRole__item.active a {
    background: #5C1F14;
    color: #fff;
}
.ec-welcomeMsg {
    font-family: "Noto Sans JP", sans-serif;
    color: #5C1F14;
    margin-bottom: 16px;
}

/* --- 注文履歴 --- */
.ec-historyRole {
    font-family: "Noto Sans JP", sans-serif;
}
.ec-historyListHeader {
    background: #f2f2e7;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}
.ec-historyListHeader__date,
.ec-historyListHeader__action a {
    color: #5C1F14;
}

/* --- お気に入り --- */
.ec-favoriteRole .ec-shelfGrid__item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.ec-favoriteRole .ec-shelfGrid__item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ==============================
   お問い合わせ
   ============================== */
.ec-contactRole {
    font-family: "Noto Sans JP", sans-serif;
}
.ec-contactRole .ec-borderedDefs {
    border: none;
}
.ec-borderedDefs dl {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.ec-borderedDefs dl dt {
    width: 200px;
    font-weight: 600;
    color: #5C1F14;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-borderedDefs dl dd {
    flex: 1;
    min-width: 200px;
}

/* ==============================
   ヘルプ（ガイド・プライバシー・特商法）
   ============================== */
.ec-helpRole {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
    color: #333;
}
.ec-helpRole p,
.ec-helpRole li {
    font-size: 14px;
}
.ec-helpRole h2,
.ec-helpRole h3 {
    color: #5C1F14;
    font-weight: 700;
}

/* ==============================
   パスワードリセット
   ============================== */
.ec-forgotRole {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-forgotRole .ec-blockBtn--action {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

/* ==============================
   ページャー
   ============================== */
.ec-pagerRole {
    text-align: center;
    margin: 30px 0;
}
.ec-pager {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 4px;
}
.ec-pager li {
    display: inline-block;
}
.ec-pager li a,
.ec-pager li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #5C1F14;
    text-decoration: none;
    transition: all 0.2s;
    font-family: "Poppins", sans-serif;
}
.ec-pager li a:hover {
    background: #f2f2e7;
    border-color: #5C1F14;
}
.ec-pager li.ec-pager__item--active span,
.ec-pager li .ec-pager__item--active {
    background: #5C1F14;
    color: #fff;
    border-color: #5C1F14;
}

/* ==============================
   特商法テーブル
   ============================== */
.ec-tradelawRole dl {
    display: flex;
    flex-wrap: wrap;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.ec-tradelawRole dt {
    width: 200px;
    font-weight: 600;
    color: #5C1F14;
    font-family: "Noto Sans JP", sans-serif;
}
.ec-tradelawRole dd {
    flex: 1;
    min-width: 200px;
}

/* ==============================
   下層ページ用タイトル（EC-CUBEデフォルトページ共通）
   titleWrapをデフォルトページにも適用
   ============================== */
.ec-pageHeader {
    background: url("../images/common/titleBg.jpg") center / cover no-repeat;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 0;
}
.ec-pageHeader h1 {
    color: #5C1F14;
    font-size: 24px;
    font-weight: 700;
    border: none;
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
}

/* ==============================
   レスポンシブ
   ============================== */
@media screen and (max-width: 768px) {
    .ec-cartRole,
    .ec-orderRole,
    .ec-registerRole,
    .ec-contactRole,
    .ec-forgotRole,
    .ec-mypageRole,
    .ec-helpRole,
    .ec-loginRole {
        padding: 24px 16px 40px;
    }

    .ec-navlistRole__navlist {
        flex-direction: column;
    }
    .ec-navlistRole__item a {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
    .ec-navlistRole__item:last-child a {
        border-bottom: none;
    }

    .ec-borderedDefs dl {
        flex-direction: column;
    }
    .ec-borderedDefs dl dt {
        width: 100%;
        margin-bottom: 4px;
    }

    .ec-tradelawRole dl {
        flex-direction: column;
    }
    .ec-tradelawRole dt {
        width: 100%;
        margin-bottom: 4px;
    }

    .ec-cartRow {
        flex-direction: column;
        align-items: flex-start;
    }

    .ec-progress__label {
        font-size: 10px;
    }

    .ec-modal-wrap {
        padding: 20px;
    }
    .ec-modal-box .ec-role {
        flex-direction: column;
    }

    .ec-login {
        padding: 20px;
    }
}

.sizeHead { margin-bottom: 20px; }
.productBannerInner { padding-bottom: 0; }
.underContent .productBanner { height: auto; }
.ec-cartRole { max-width: 960px !important; margin-left: auto !important; margin-right: auto !important; padding: 40px 20px 60px !important; box-sizing: border-box; justify-content: center !important; }
.cart_page .productListWrap .productListBox, .contact_page .productListWrap .productListBox, .help_page .productListWrap .productListBox, .entry_page .productListWrap .productListBox, .forgot_page .productListWrap .productListBox, .mypage_page .productListWrap .productListBox { padding-top: 0 !important; }
.underContent .productListWrap .productListBox .child { justify-content: center \!important; }

/* 会員登録 form_rest フォーム要素 */
.entry_page .form-control,
.entry_page .form-select,
.entry_page .form-check-label,
.entry_page .form-label,
.entry_page .col-form-label,
.entry_page .mb-3,
.entry_page .input-group select {
    font-size: 14px !important;
    font-family: "Noto Sans JP", sans-serif;
}
.entry_page .form-control,
.entry_page .form-select,
.entry_page .input-group select {
    padding: 10px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}
.entry_page .form-label,
.entry_page .col-form-label {
    font-weight: 600 !important;
    color: #5C1F14 !important;
    display: block !important;
    margin-bottom: 8px !important;
}
.entry_page .form-check-label {
    color: #333 !important;
}
.entry_page .mb-3 {
    margin-bottom: 24px !important;
}

/* 生年月日セレクト横並び100% */
.entry_page #entry_birth {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
}
.entry_page #entry_birth .input-group {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
}
.entry_page #entry_birth select {
    flex: 1 !important;
    padding: 10px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

/* form_rest 重複フィールド非表示 */
.entry_page .mb-3:has(#entry_user_policy_check),
.entry_page .mb-3:has(#entry_company_name),
.entry_page fieldset:has(#entry_birth),
.entry_page fieldset:has(#entry_sex),
.entry_page .mb-3:has(#entry_job) {
    display: none !important;
}

/* ==============================
   会員登録フォーム（entry_page）
   ============================== */
.entry_page .ec-borderedDefs {
    font-family: "Noto Sans JP", sans-serif;
    border: none;
}
.entry_page .ec-borderedDefs dl {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
}
.entry_page .ec-borderedDefs dt {
    width: 200px;
    font-weight: 600;
    color: #5C1F14;
    padding-top: 10px;
}
.entry_page .ec-borderedDefs dd {
    flex: 1;
    min-width: 200px;
}
.entry_page .ec-label {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    color: #5C1F14;
    font-size: 14px;
}
.entry_page .ec-required {
    background: #5C1F14;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
}
.entry_page .ec-input input,
.entry_page .ec-halfInput input,
.entry_page .ec-telInput input,
.entry_page .ec-zipInput input,
.entry_page .ec-select select,
.entry_page .ec-birth select {
    width: 100%;
    padding: 10px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-family: "Noto Sans JP", sans-serif;
    box-sizing: border-box;
}
.entry_page .ec-halfInput {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.entry_page .ec-halfInput input {
    flex: 1;
    min-width: 100px;
}
.entry_page .ec-birth {
    display: flex;
    gap: 8px;
}
.entry_page .ec-birth select {
    flex: 1;
}
.entry_page .ec-radio {
    font-size: 14px;
}
.entry_page .ec-checkbox {
    font-size: 14px;
}
.entry_page .ec-zipInput {
    display: flex;
    align-items: center;
    gap: 8px;
}
.entry_page .ec-zipInput input {
    max-width: 200px;
}

@media screen and (max-width: 768px) {
    .entry_page .ec-borderedDefs dl {
        flex-direction: column;
    }
    .entry_page .ec-borderedDefs dt {
        width: 100%;
        margin-bottom: 4px;
    }
}

/* ec-layoutRole__contents リセット（カスタムレイアウト用） */
.ec-layoutRole .ec-layoutRole__contents {
    max-width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* cartBtn - buttonタグのデフォルトリセット */
button.cartBtn, .cartBtn {
    border: none !important;
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    -webkit-appearance: none;
    appearance: none;
}

/* 数量ボタン +/- アイコンサイズ調整 */
.qtyBtn img {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
}
.qtyBtn {
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    padding: 0 !important;
}

/* 数量セレクター完全リセット */
.purchaseRow {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    margin-top: 30px !important;
}
.purchaseRow .qty {
    width: 162px !important;
    height: 54px !important;
    border: 1px solid #333 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 54px 1fr 54px !important;
    align-items: center !important;
}
.purchaseRow .qty .qtyBtn {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none;
    appearance: none;
}
.purchaseRow .qty .qtyBtn img {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    object-fit: contain !important;
}
.purchaseRow .qty .qtyInput {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    color: #333 !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    line-height: 54px !important;
    -webkit-appearance: none;
    appearance: none;
}
.purchaseRow .price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.purchaseRow .price .value {
    font-family: "Poppins", sans-serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
}

/* 数量セレクター - 3分割均等 */
body .qty {
    width: 162px !important;
    height: 54px !important;
    border: 1px solid #333 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
}
body .qty > * {
    flex: 1 1 33.333% !important;
    width: 33.333% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
body .qty .qtyBtn {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: auto !important;
}
body .qty .qtyBtn img {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    display: block !important;
}
body .qty .qtyInput {
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: auto !important;
    line-height: 54px !important;
}

/* cartBtn width強制 */
.cartBtn {
    width: 100% !important;
}

/* 数量セレクター・カートボタン - info.css詳細度に合わせて上書き */
.underContent .productDetailWrap .productDetailBox .rightChild .info .purchaseRow .qty {
    width: 162px !important;
    height: 54px !important;
    border: 1px solid #333 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
}
.underContent .productDetailWrap .productDetailBox .rightChild .info .purchaseRow .qty .qtyBtn {
    flex: 1 !important;
    width: 33.333% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.underContent .productDetailWrap .productDetailBox .rightChild .info .purchaseRow .qty .qtyBtn img {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
}
.underContent .productDetailWrap .productDetailBox .rightChild .info .purchaseRow .qty .qtyInput {
    flex: 1 !important;
    width: 33.333% !important;
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.underContent .productDetailWrap .productDetailBox .rightChild .info .cartArea .cartBtn {
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* カートアイコンバッジ位置 */
.headerCartLink {
    position: relative !important;
}

/* マイページ用スタイル */
.mypage_page .productListWrap .productListBox .childInner {
    width: 100% !important;
}
.mypage_page .ec-borderedDefs {
    font-family: "Noto Sans JP", sans-serif;
    border: none;
}
.mypage_page .ec-borderedDefs dl {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
}
.mypage_page .ec-borderedDefs dt {
    width: 200px;
    font-weight: 600;
    color: #5C1F14;
    padding-top: 10px;
}
.mypage_page .ec-borderedDefs dd {
    flex: 1;
    min-width: 200px;
}
.mypage_page .ec-label {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    color: #5C1F14;
    font-size: 14px;
}
.mypage_page .ec-required {
    background: #5C1F14;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
}
.mypage_page .ec-input input,
.mypage_page .ec-halfInput input,
.mypage_page .ec-telInput input,
.mypage_page .ec-zipInput input,
.mypage_page .ec-select select {
    width: 100%;
    padding: 10px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-family: "Noto Sans JP", sans-serif;
    box-sizing: border-box;
}
.mypage_page .ec-halfInput {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mypage_page .ec-halfInput input {
    flex: 1;
    min-width: 100px;
}
.mypage_page .ec-zipInput {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mypage_page .ec-zipInput input {
    max-width: 200px;
}
@media screen and (max-width: 768px) {
    .mypage_page .ec-borderedDefs dl {
        flex-direction: column;
    }
    .mypage_page .ec-borderedDefs dt {
        width: 100%;
        margin-bottom: 4px;
    }
}

/* マイページナビ幅統一 */
.mypage_page .productListWrap .productListBox .childInner > div:first-child {
    max-width: 960px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 会員登録フォーム上部余白 */
.entry_page .ec-borderedDefs {
    margin-top: 40px !important;
}

/* ご注文手続き・確認画面：スマホで左右カラムを縦並びにする (2026-05-20) */
@media (max-width: 767px) {
    .moku-shopping-layout {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .moku-shopping-main {
        width: 100% !important;
    }
    .moku-shopping-side {
        width: 100% !important;
        position: static !important;
        top: auto !important;
    }
}
