/*
 * PAKE Quote System - Plugin CSS
 * テーマCSSと重複しないプラグイン固有スタイル
 */

/* =========================================================================
   認証フォーム（ログイン・会員登録）
========================================================================= */

.pake-auth-page {
    min-height: calc(100vh - 6rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
}

/* auth card ― bento-card クラスが背景/影/角丸を担当 */
.pake-auth-wrap {
    width: 100%;
    max-width: 28rem;
    padding: 2.5rem 3rem;
}

.pake-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pake-auth-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blueberry-000, #000000);
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    text-align: center;
}

.pake-auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pake-auth-field label {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-left: 0.25rem;
}

.pake-auth-submit {
    padding-top: 0.5rem;
}

.pake-auth-btn {
    width: 100%;
    background: var(--blueberry-333, #333333);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    font-family: inherit;
}
.pake-auth-btn:hover  { background: var(--blueberry-900, #1a2236); transform: translateY(-1px); }
.pake-auth-btn:active { transform: scale(0.98); }

.pake-auth-error {
    background: #fff5f5;
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.pake-auth-notice {
    padding: 1rem 1.5rem;
    background: var(--blueberry-50, #f8f9fc);
    border-radius: 1rem;
    font-size: 0.875rem;
}

.pake-auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.pake-auth-link {
    display: block;
    text-align: center;
    font-size: 1rem;
    color: #9ca3af;
    margin: 0;
}
.pake-auth-link a { color: var(--blueberry-800, #2e3b5e); font-weight: 700; text-decoration: none; }
.pake-auth-link a:hover { text-decoration: underline; }

.pake-required::after { content: " *"; color: #ef4444; }

.pake-auth-remember label {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-left: 0;
}

/* SiteGuard CAPTCHA */
.pake-auth-field-captcha {
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pake-auth-field-captcha p { margin: 0; }
.pake-auth-field-captcha p label {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}
.pake-auth-field-captcha p input[type="text"] {
    width: 100%;
    background-color: rgba(248, 249, 252);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #ced6df;
    border-top: 3px solid #b8c8d4;
    font-weight: 500;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--blueberry-800, #2e3b5e);
    display: block;
    box-sizing: border-box;
}
.pake-auth-field-captcha p input[type="text"]:focus {
    background-color: #fff;
    border-color: var(--blueberry-500, #5e6ad2);
    box-shadow: 0 0 0 4px rgba(94, 106, 210, 0.1);
}

/* =========================================================================
   マイページ
========================================================================= */

.pake-mypage-page {
    padding: 8rem 1.5rem 3rem;
    max-width: 1260px;
    margin: 0 auto;
}

/* bento-card クラスと組み合わせて使う */
#pake-mypage-wrap {
    padding: 2.5rem 3rem 3rem;
    max-width: none;
    margin: 0;
}

.pake-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* 会社名・担当者名ブロック ― グレー背景パネル */
.pake-company-block,
.pake-contact-block {
    background: #f9fafb;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

.pake-company-display,
.pake-contact-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pake-company-info,
.pake-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pake-company-label,
.pake-contact-label {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.25rem;
}

#pake-company-name-text,
#pake-contact-name-text {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--blueberry-800, #2e3b5e);
}

/* 編集フォーム */
#pake-company-form,
#pake-contact-form {
    margin-top: 0.75rem;
}

#pake-company-form label,
#pake-contact-form label {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
}

#pake-company-input,
#pake-contact-input {
    display: block;
    width: 100%;
    background-color: rgba(248, 249, 252, 0.5);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    font-weight: 500;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--blueberry-800, #2e3b5e);
    outline: none;
    transition: all 300ms ease;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
}
#pake-company-input:focus,
#pake-contact-input:focus {
    background-color: #fff;
    border-color: var(--blueberry-500, #5e6ad2);
    box-shadow: 0 0 0 4px rgba(94, 106, 210, 0.1);
}

.pake-edit-btns {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#pake-company-result,
#pake-contact-result {
    display: block;
    font-size: 1rem;
    color: #ef4444;
    font-weight: 700;
    min-height: 1rem;
}

/* ログアウト */
.pake-mypage-logout {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.pake-logout-btn {
    font-size: 1rem;
    font-weight: 700;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: color 300ms ease;
    padding: 0.25rem 0;
    display: inline-block;
}
.pake-logout-btn:hover { color: #ef4444; }

/* 件数・空状態 */
.pake-mypage-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pake-mypage-count {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.pake-mypage-empty {
    text-align: center;
    padding: 5rem 3rem;
    background: #f9fafb;
    border-radius: 1.5rem;
    border: 2px dashed #e5e7eb;
    color: #9ca3af;
    font-weight: 700;
}
.pake-mypage-empty a {
    color: var(--blueberry-800, #2e3b5e);
    font-weight: 700;
    text-decoration: none;
}
.pake-mypage-empty a:hover { text-decoration: underline; }

/* ---- テーブル（デスクトップ） ---- */
.pake-quote-table-wrap {
    overflow-x: auto;
}

.pake-mypage-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.pake-mypage-table thead tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pake-mypage-table th {
    padding: 1rem 0;
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.pake-mypage-table tbody tr {
    border-bottom: 1px solid #f9fafb;
    transition: background 200ms ease;
}

.pake-mypage-table tbody tr:hover {
    background: rgba(249, 250, 251, 0.5);
}

.pake-mypage-table td {
    padding: 1.25rem 0;
}

.telink a {
	text-decoration: none;
	color: #fff;
}

.pake-quote-code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    color: var(--blueberry-800, #2e3b5e);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.pake-table-date {
    font-size: 1rem;
    color: #6b7280;
}

.pake-action-cell {
    text-align: right;
    white-space: nowrap;
}

.pake-action-btns {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
}

.pake-pdf-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blueberry-600, #4d6096);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.pake-pdf-link:hover { text-decoration: underline; }

.pake-delete-btn {
    font-size: 1rem;
    font-weight: 700;
    color: #d1d5db;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    transition: color 300ms ease;
}
.pake-delete-btn:hover:not(:disabled) { color: #ef4444; }
.pake-delete-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.pake-amount { font-weight: 700; color: var(--blueberry-800, #2e3b5e); }

/* ---- 新規見積ボタン（テーブル上部） ---- */
.pake-new-quote-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
}

/* ---- モバイル: カードビュー ---- */
.pake-quote-card-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.pake-quote-card {
    background: #f9fafb;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pake-quote-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.pake-quote-card-total { text-align: right; flex-shrink: 0; }

.pake-quote-card-label {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
}

.pake-quote-card-date {
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
}

.pake-quote-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pake-quote-card-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pake-quote-card-pdf {
    flex: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 10px !important;
    padding: 0.75rem 0.5rem !important;
    justify-content: center;
}

/* ---- 空状態のボタン ---- */
.pake-mypage-empty {
    text-align: center;
    padding: 5rem 3rem;
    background: #f9fafb;
    border-radius: 1.5rem;
    border: 2px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pake-mypage-empty p {
    color: #9ca3af;
    font-weight: 700;
    margin: 0;
}

.pake-mypage-empty a.btn-primary {
    padding: 0.75rem 2rem;
}

/* 操作結果 */
.pake-result { display: block !important; }

.pake-result-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1rem;
}

.pake-result-error {
    background: #fff5f5;
    color: #b91c1c;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1rem;
}

.pake-error {
    color: #b91c1c;
    background: #fff5f5;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
}

/* =========================================================================
   見積フォーム
========================================================================= */

.pake-quote-page {
    padding: 8rem 1.5rem 3rem;
    max-width: 1260px;
    margin: 0 auto;
}

.pake-quote-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pake-quote-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--blueberry-000,#000);
    letter-spacing: -0.025em;
    margin: 0;
}

#pake-quote-form-wrap {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 2.5rem;
    align-items: start;
    padding-top: 0;
    padding-bottom: 0;
}

/* 左カラム */
.pake-form-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 商品ブロック */
.pake-item-block {
    background: #fff;
    border-radius: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 0;
}

.pake-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.pake-item-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--blueberry-000,#000);
    margin: 0;
    letter-spacing: -0.025em;
}

.pake-remove-item {
    font-size: 1rem;
    font-weight: 700;
    color: #fca5a5;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 300ms;
    padding: 0;
}
.pake-remove-item:hover { color: #ef4444; }

.pake-field-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pake-field-group > label:first-child {
    font-size: 13px;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    width: auto;
}

.pake-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.pake-radio-label,
.pake-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--blueberry-800, #2e3b5e);
}

.pake-quantity-select {
    background-color: rgba(248, 249, 252);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    font-weight: 500;
    color: var(--blueberry-800, #2e3b5e);
    font-size: 0.875rem;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 300ms, box-shadow 300ms;
}
.pake-quantity-select:focus {
    background-color: #fff;
    border-color: var(--blueberry-500, #5e6ad2);
    box-shadow: 0 0 0 4px rgba(94, 106, 210, 0.1);
}

.pake-note {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 0.25rem;
}
.pake-note a { color: var(--blueberry-800, #2e3b5e); }

.pake-options { display: flex; flex-direction: column; gap: 0.75rem; }

.pake-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.pake-option-fixed { color: #9ca3af; font-size: 0.875rem; font-weight: 500; }

.pake-item-subtotal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #9ca3af;
}

/* アイテムコンテナ間のスペース */
#pake-items-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 商品選択カードグリッド */
.pake-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    flex-wrap: unset;
}

.pake-product-card-label {
    cursor: pointer;
    display: block;
    height: 100%;
}

.pake-product-card-label input[type="radio"] {
    display: none;
}

.pake-product-card-inner {
    height: 100%;
    box-sizing: border-box;
    padding: 1rem 0.75rem;
    border-radius: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: rgba(249, 250, 251, 0.5);
    display: grid;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 300ms, background 300ms;
    justify-content: flex-start;
}

.pake-product-card-label:hover .pake-product-card-inner {
    border-color: var(--blueberry-200, #d9def7);
}

.pake-product-card-label.is-selected .pake-product-card-inner {
    border-color: var(--blueberry-800, #2e3b5e);
    background: var(--blueberry-50, #f8f9fc);
}

.pake-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 0.5rem;
    display: block;
    flex-shrink: 0;
	margin-bottom: 5px;
}

.pake-product-name {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--blueberry-800, #2e3b5e);
    line-height: 1.3;
}

.pake-product-size {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.4;
}

/* 数量 + サンプルフィルム 2カラムグリッド */
.pake-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* チェックボックスラベル（フィルム） */
.pake-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    background: #f9fafb;
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: border-color 300ms;
}
.pake-checkbox-label:hover {
    border-color: var(--blueberry-100, #eef0fb);
}
.pake-checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--blueberry-800, #2e3b5e);
    flex-shrink: 0;
}
.pake-checkbox-text {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--blueberry-800, #2e3b5e);
    display: block;
}
.pake-checkbox-price {
    font-size: 13px;
    color: #9ca3af;
    display: block;
}

/* OPP選択ボタン */
.pake-opp-options {
    display: flex;
    gap: 0.75rem;
    max-width: 28rem;
}

.pake-opp-label {
    flex: 1;
    cursor: pointer;
    display: block;
}

.pake-opp-label input[type="radio"] {
    display: none;
}

.pake-opp-btn {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #9ca3af;
    transition: all 300ms;
    background: #f9fafb;
}

.pake-opp-label.is-selected .pake-opp-btn {
    border-color: var(--blueberry-800, #2e3b5e);
    background: var(--blueberry-50, #f8f9fc);
    color: var(--blueberry-800, #2e3b5e);
}

/* 追加ボタン */
#pake-add-item {
    width: 100%;
    padding: 1.25rem 2rem;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    background: none;
    border-radius: 1rem;
    font-weight: 700;
    color: #9ca3af;
    cursor: pointer;
    transition: all 300ms;
    font-family: inherit;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#pake-add-item:hover {
    border-color: var(--blueberry-300, #b8c0ef);
    background: rgba(94, 106, 210, 0.03);
    color: var(--blueberry-800, #2e3b5e);
}

/* 右カラム（スティッキー） */
.pake-total-column {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 合計セクション */
#pake-total-section {
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: static;
    top: auto;
}

.pake-total-header {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--blueberry-000,#000);
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.pake-total-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pake-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.pake-total-row-label { color: #9ca3af; font-weight: 500; }
.pake-total-row-value { font-weight: 700; color: var(--blueberry-800, #2e3b5e); }
.pake-total-row-value-bold { font-weight: 900; color: var(--blueberry-800, #2e3b5e); }

.pake-subtotal-divider {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

/* 税込合計 青いボックス */
.pake-grand-total-box {
    background: var(--blueberry-800, #2e3b5e);
    border-radius: 1.5rem;
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.pake-grand-total-label {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
    margin-bottom: 0.25rem;
    display: block;
}

#total-inc-tax {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
}

#pake-save-section { /* no extra styles needed */ }

#pake-save-result {
    margin-top: 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.pake-result-limit {
    background: #fffbeb;
    color: #92400e;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1rem;
}

.pake-new-quote-btn {
    display: block;
    margin-top: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #16a34a;
    color: #fff;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    transition: background 300ms ease, transform 200ms ease;
}
.pake-new-quote-btn:hover  { background: #15803d; transform: translateY(-1px); color: #fff; }
.pake-new-quote-btn:active { transform: scale(0.98); }

/* 免責注記 */
.pake-disclaimer {
    padding: 1.5rem;
    background: var(--blueberry-50, #f8f9fc);
    border-radius: 1.5rem;
    border: 1px solid var(--blueberry-100, #eef0fb);
}
.pake-disclaimer p {
    font-size: 13px;
    color: var(--blueberry-800, #2e3b5e);
    opacity: 0.6;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}




/* =========================================================================
   レスポンシブ
========================================================================= */
@media (min-width: 768px) {
    .pake-product-grid  { grid-template-columns: repeat(3, 1fr); }
    .pake-fields-grid   { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
}
@media (max-width: 1023px) {
    #pake-quote-form-wrap {
        grid-template-columns: 1fr !important;
    }
    .pake-total-column {
        position: static;
    }
}

@media (max-width: 767px) {
    .pake-auth-wrap { padding: 2rem 1.5rem; }
    .pake-info-grid { grid-template-columns: 1fr; }
    #pake-mypage-wrap { padding: 1.5rem; }
    .pake-mypage-top-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .pake-item-block { padding: 1.5rem;}
    .pake-product-size {font-size: 11px;}
    .pake-company-info, .pake-contact-info { width: 70%;}
    #pake-total-section { padding: 1.5rem;}
.pake-mypage-empty { padding: 5rem 1.5rem;}
    /* モバイル: カード表示ON・テーブル表示OFF */
    .pake-quote-card-list  { display: flex; }
    .pake-quote-table-wrap { display: none; }
}


/* 769px以上のとき */
@media screen and (min-width: 769px) {
  .sp-only {
    display: none;
  }
}

/* 768px以下のとき */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
}