/**
 * オンラインショップ（本体サイトレイアウト準拠）
 */

.shop-subnav {
    border-bottom: 1px solid var(--home-border, #e2e6ec);
    background: #fafafa;
}

.shop-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

.shop-subnav__label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--home-accent, #b50400);
}

.shop-subnav__list {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
}

.shop-subnav__list a {
    color: var(--home-text, #1c2d42);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.shop-subnav__list a:hover,
.shop-subnav__list a:focus-visible {
    color: var(--home-accent, #b50400);
    outline: none;
}

.shop-subnav__list a.is-current {
    color: var(--home-accent, #b50400);
    font-weight: 700;
    border-bottom-color: var(--home-accent, #b50400);
}

.shop-subnav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 2px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--home-accent, #b50400);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.shop-content {
    margin-top: 4px;
}

.shop-lead {
    margin: 0 0 16px;
    color: var(--home-muted, #5a6b7d);
    line-height: 1.75;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.shop-card {
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.shop-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f3f4f6;
}

.shop-card__body {
    padding: 12px;
}

.shop-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
}

.shop-card__sku {
    margin: 0 0 4px;
    font-size: 0.78rem;
    color: var(--home-muted, #5a6b7d);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
}

.shop-card__price {
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--home-accent, #b50400);
}

.shop-card__desc {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--home-muted, #5a6b7d);
}

.shop-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-panel {
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.shop-notice {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    background: #ecfdf5;
    color: #166534;
}

.shop-notice--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-table th,
.shop-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--home-border, #e2e6ec);
    text-align: left;
    vertical-align: middle;
}

.shop-table th {
    font-size: 0.85rem;
    color: var(--home-muted, #5a6b7d);
    font-weight: 600;
}

.shop-cart-product-link {
    color: #1c2d42;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(28, 45, 66, 0.3);
}

.shop-cart-product-link:hover,
.shop-cart-product-link:focus-visible {
    color: #b50400;
    text-decoration-color: currentColor;
}

.shop-cart-remove-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.shop-cart-remove-form {
    margin: 0;
}

.shop-total {
    margin: 16px 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    text-align: right;
}

.shop-cart-totals {
    margin: 16px 0 0;
    max-width: 360px;
    margin-left: auto;
}

.shop-cart-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--home-border, #e2e6ec);
    font-size: 0.95rem;
}

.shop-cart-totals dt {
    margin: 0;
    font-weight: 600;
}

.shop-cart-totals dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.shop-cart-totals__grand {
    border-bottom: 0 !important;
    font-weight: 800;
    font-size: 1.1rem;
}

.shop-cart-totals__grand dd small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--home-muted, #5a6b7d);
}

.shop-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.shop-form-grid label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.shop-form-grid input[type="text"],
.shop-form-grid input[type="email"],
.shop-form-grid input[type="number"],
.shop-form-grid textarea,
.shop-form-grid select {
    width: 100%;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 6px;
    padding: 10px;
    font: inherit;
    background: #fff;
}

.shop-form-grid .shop-form-span {
    grid-column: 1 / -1;
}

.shop-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.shop-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

.btn-secondary {
    color: #fff;
    background: #374151;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    opacity: 0.92;
    outline: none;
}

.btn-danger {
    color: #fff;
    background: #dc2626;
}

.btn-danger:hover,
.btn-danger:focus-visible {
    opacity: 0.92;
    outline: none;
}

.shop-meta {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--home-muted, #5a6b7d);
}

.shop-product-price-display {
    margin: 0 0 14px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--home-accent, #b50400);
    line-height: 1.3;
}

.shop-product-detail-side {
    min-width: 0;
}

.shop-product-title {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    font-weight: 700;
    color: #222;
    line-height: 1.45;
}

.shop-product-sku {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--home-muted, #5a6b7d);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.03em;
}

.shop-badge-set {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b50400;
    background: #fee2e2;
    border-radius: 999px;
    vertical-align: middle;
}

.shop-bundle-box {
    margin: 0 0 20px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 8px;
}

.shop-bundle-box__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
}

.shop-bundle-box__compare {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.shop-bundle-box__retail {
    text-decoration: line-through;
    color: #64748b;
}

.shop-bundle-box__set-price {
    font-weight: 800;
    color: var(--home-accent, #b50400);
}

.shop-bundle-box__savings {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #fee2e2;
    color: #b50400;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.shop-bundle-box__list {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.7;
}

.shop-bundle-box__sku {
    color: #64748b;
    font-size: 0.85rem;
}

.shop-cart-bundle-lines {
    margin: 6px 0 0;
    padding-left: 1.1em;
    font-size: 0.82rem;
    color: #64748b;
}

.shop-variant-form {
    margin: 0 0 20px;
    padding: 0;
}

.shop-variant-form__heading {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.shop-variant-row {
    margin-bottom: 12px;
}

.shop-variant-row:last-child {
    margin-bottom: 0;
}

.shop-variant-row__label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.shop-variant-row__control {
    position: relative;
}

.shop-variant-row__control::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.shop-variant-row select,
.shop-variant-select {
    width: 100%;
    max-width: none;
    padding: 12px 36px 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    appearance: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-variant-row select:hover,
.shop-variant-row select:focus,
.shop-variant-select:hover,
.shop-variant-select:focus {
    border-color: #c89932;
    box-shadow: 0 0 0 3px rgba(200, 153, 50, 0.15);
    outline: none;
}

.shop-product-order-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--home-border, #e2e6ec);
}

.shop-qty-block {
    margin-bottom: 16px;
}

.shop-qty-block__label {
    display: block;
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.shop-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.shop-qty-stepper__btn {
    width: 44px;
    border: none;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.shop-qty-stepper__btn:hover {
    background: #e2e8f0;
    color: var(--home-accent, #b50400);
}

.shop-qty-stepper__input {
    width: 64px;
    padding: 10px 4px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    background: #fff;
    -moz-appearance: textfield;
}

.shop-qty-stepper__input::-webkit-outer-spin-button,
.shop-qty-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-add-cart-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 8px;
}

.shop-product-description {
    margin-bottom: 16px;
    line-height: 1.7;
}

.shop-product-specs {
    margin: 0 0 20px;
    border-top: 1px solid var(--home-border, #e2e6ec);
    padding-top: 16px;
}

.shop-product-specs__title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.shop-product-specs__list {
    margin: 0;
    padding: 0;
}

.shop-product-specs__row {
    display: grid;
    grid-template-columns: minmax(120px, 34%) 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.92rem;
    line-height: 1.6;
}

.shop-product-specs__row:first-child {
    border-top: 1px solid #eef1f4;
}

.shop-product-specs__label {
    margin: 0;
    font-weight: 600;
    color: #444;
}

.shop-product-specs__value {
    margin: 0;
    color: #222;
}

/* チェックアウト */
.shop-checkout-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}

.shop-checkout-form,
.shop-checkout-summary {
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.shop-checkout-form h2,
.shop-checkout-summary h2 {
    margin: 18px 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.shop-checkout-form h2:first-of-type,
.shop-checkout-summary h2 {
    margin-top: 0;
}

.shop-checkout-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 0.92rem;
    font-weight: 600;
}

.shop-checkout-form input[type="text"],
.shop-checkout-form input[type="email"],
.shop-checkout-form input[type="tel"],
.shop-checkout-form textarea,
.shop-checkout-form select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    background: #fff;
}

.shop-checkout-form textarea {
    resize: vertical;
    min-height: 88px;
}

.shop-name-row {
    display: flex;
    gap: 12px;
}

.shop-name-row label {
    flex: 1;
}

.shop-zip-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: 6px;
}

.shop-zip-row input {
    flex: 1;
    margin-top: 0 !important;
}

.shop-btn-zip {
    white-space: nowrap;
    flex-shrink: 0;
}

.shop-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    flex-wrap: wrap;
}

.shop-required {
    color: var(--home-accent, #b50400);
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-checkout-submit {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
}

.shop-checkout-summary__list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.shop-checkout-summary__list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--home-border, #e2e6ec);
    font-size: 0.9rem;
}

.shop-checkout-summary__name {
    flex: 1;
    min-width: 0;
}

.shop-checkout-summary__sku {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: var(--home-muted, #5a6b7d);
    font-weight: 400;
}

.shop-checkout-summary__price {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--home-accent, #b50400);
}

.shop-checkout-summary__totals {
    margin: 0;
}

.shop-checkout-summary__totals div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--home-border, #e2e6ec);
    font-size: 0.92rem;
}

.shop-checkout-summary__totals dt {
    margin: 0;
    font-weight: 600;
}

.shop-checkout-summary__totals dd {
    margin: 0;
}

.shop-checkout-summary__total-row {
    font-weight: 800;
    font-size: 1.05rem;
}

.shop-checkout-summary__total-row dd small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--home-muted, #5a6b7d);
}

@media (max-width: 820px) {
    .shop-checkout-layout {
        grid-template-columns: 1fr;
    }

    .shop-name-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .shop-subnav__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-form-grid,
    .shop-product-detail {
        grid-template-columns: 1fr;
    }
}

/* 見積番号から再呼出し */
.shop-estimate-recall-teaser {
    margin: 18px 0 8px;
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.shop-estimate-recall-teaser--empty {
    margin-top: 16px;
}

.shop-estimate-recall-teaser__text {
    margin: 0 0 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
}

.shop-estimate-recall-modal {
    width: min(480px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.shop-estimate-recall-modal::backdrop {
    background: rgba(20, 28, 40, 0.55);
}

.shop-estimate-recall-modal__inner {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22);
}

.shop-estimate-recall-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f3f5f8;
    color: #334155;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.shop-estimate-recall-modal__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #1c2d42;
}

.shop-estimate-recall-modal__lead {
    margin: 0 0 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.shop-estimate-recall-modal__form {
    display: grid;
    gap: 12px;
}

.shop-estimate-recall-modal__field {
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1c2d42;
}

.shop-estimate-recall-modal__field em {
    color: #b50400;
    font-style: normal;
    font-size: 0.8em;
}

.shop-estimate-recall-modal__field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    color: #1c2d42;
}

.shop-estimate-recall-modal__status {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
}

.shop-estimate-recall-modal__status.is-ok {
    color: #0f766e;
}

.shop-estimate-recall-modal__status.is-error {
    color: #b50400;
}

.shop-estimate-recall-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

html.is-modal-scroll-locked,
html.is-modal-scroll-locked body {
    overflow: hidden;
    overscroll-behavior: none;
}

/* ----- マイページ ----- */
.mypage-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.mypage-menu__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mypage-menu__card:hover,
.mypage-menu__card:focus-visible {
    border-color: var(--home-accent, #b50400);
    box-shadow: 0 4px 12px rgba(181, 4, 0, 0.08);
    outline: none;
}

.mypage-menu__icon {
    display: inline-flex;
    color: var(--home-accent, #b50400);
    margin-bottom: 2px;
}

.mypage-menu__title {
    font-size: 1rem;
    font-weight: 800;
}

.mypage-menu__desc {
    font-size: 0.82rem;
    color: var(--home-muted, #5a6b7d);
}

.mypage-section-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 800;
}

.mypage-lead,
.mypage-note {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--home-muted, #5a6b7d);
}

.mypage-recent,
.mypage-lookup {
    margin-bottom: 18px;
}

.mypage-lookup-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.mypage-lookup-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.mypage-lookup-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.mypage-order-dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.mypage-order-dl > div {
    display: grid;
    gap: 2px;
}

.mypage-order-dl dt {
    font-size: 0.78rem;
    color: var(--home-muted, #5a6b7d);
    font-weight: 600;
}

.mypage-order-dl dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.mypage-result {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--home-border, #e2e6ec);
}

.mypage-result__title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
}

.mypage-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff5f5;
    color: var(--home-accent, #b50400);
    font-size: 0.85rem;
    font-weight: 800;
}

.mypage-foot {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--home-muted, #5a6b7d);
}

.mypage-foot a {
    color: var(--home-accent, #b50400);
    text-decoration: none;
}

.mypage-foot a:hover {
    text-decoration: underline;
}

.mypage-google {
    margin-bottom: 18px;
}

.mypage-google__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    background: #fff;
    color: #1f1f1f;
    font-weight: 700;
    text-decoration: none;
}

.mypage-google__btn:hover,
.mypage-google__btn:focus-visible {
    border-color: var(--home-accent, #b50400);
    outline: none;
}

.mypage-google__logout {
    margin-left: 12px;
    color: var(--home-accent, #b50400);
    font-weight: 700;
    text-decoration: none;
}

.mypage-order-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.mypage-order-list__item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding: 14px;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 10px;
    background: #fff;
}

.mypage-order-list__label {
    display: block;
    font-size: 0.78rem;
    color: var(--home-muted, #5a6b7d);
    font-weight: 600;
}

.mypage-profile-form {
    display: grid;
    gap: 12px;
    margin-bottom: 8px;
}

.mypage-profile-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.mypage-profile-form input,
.mypage-profile-form select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 6px;
    font: inherit;
    font-weight: 400;
    background: #fff;
}

.mypage-profile-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mypage-profile-form__check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.mypage-profile-form__check input {
    width: auto;
    margin: 0;
}

.mypage-zip-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-top: 6px;
}

.mypage-zip-row input {
    flex: 1;
    margin-top: 0 !important;
}

.mypage-profile-form .shop-required {
    color: var(--home-accent, #b50400);
    font-size: 0.78rem;
}

.shop-quote-lead {
    margin: 0 0 16px;
    color: var(--home-muted, #5a6b7d);
    line-height: 1.75;
}

.shop-quote-memo {
    margin: 0 0 20px;
    padding: 12px 14px;
    background: #f7f8fa;
    border-radius: 8px;
    color: #334155;
    line-height: 1.7;
    white-space: pre-wrap;
}

.shop-quote-actions {
    margin: 20px 0 8px;
}

.shop-quote-table td:nth-child(2),
.shop-quote-table th:nth-child(2),
.shop-quote-table td:nth-child(3),
.shop-quote-table th:nth-child(3),
.shop-quote-table td:nth-child(4),
.shop-quote-table th:nth-child(4) {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .shop-quote-table {
        font-size: 0.9rem;
    }
}


@media (max-width: 900px) {
    .mypage-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mypage-lookup-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .mypage-menu {
        grid-template-columns: 1fr;
    }

    .mypage-order-dl,
    .mypage-order-list__item,
    .mypage-profile-form__row {
        grid-template-columns: 1fr;
    }
}
