/* ============================================
   pricelist-all.css — 料金一覧表ページ専用
   高特異性: .pricelist-all スコープで競合回避
   ============================================ */

/* --- Scope wrapper --- */
.pricelist-all {
    color: #333;
    line-height: 1.6;
}

/* --- Page header --- */
.pricelist-all .pla-page-header {
    text-align: center;
    margin-bottom: 2rem;
}
.pricelist-all .pla-page-header h1 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.5 !important;
    border: none !important;
    padding: 0 !important;
}
.pricelist-all .pla-page-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem;
}
.pricelist-all .pla-link-interactive {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #2563eb !important;
    text-decoration: none !important;
    border: 1px solid #2563eb !important;
    border-radius: 6px;
    padding: 6px 16px;
    transition: background 0.2s, color 0.2s;
}
.pricelist-all .pla-link-interactive:hover {
    background: #2563eb !important;
    color: #fff !important;
}

/* --- Anchor nav --- */
.pricelist-all .pla-anchor-nav {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}
.pricelist-all .pla-anchor-nav a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #333 !important;
    text-decoration: none !important;
    padding: 7px 16px;
    border-radius: 20px;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pricelist-all .pla-anchor-nav a:hover {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb;
}

/* --- Section --- */
.pricelist-all .pla-section {
    margin-bottom: 3rem;
}
.pricelist-all .pla-section-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 0.75rem !important;
    padding: 0 0 0.5rem 0 !important;
    border: none !important;
    border-bottom: 3px solid #2563eb !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: none !important;
}
.pricelist-all .pla-section-title i {
    color: #2563eb;
    font-size: 1.1rem;
}

/* --- Menu subtitle (each table) --- */
.pricelist-all .pla-menu-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 2rem 0 0.25rem !important;
    padding: 4px 0 4px 12px !important;
    border: none !important;
    border-left: 4px solid #2563eb !important;
    background: #f8faff;
    line-height: 1.4;
}
.pricelist-all .pla-menu-meta {
    font-size: 0.78rem;
    color: #6c757d;
    margin: 0 0 0.5rem;
    padding-left: 16px;
}

/* --- Scroll wrapper --- */
.pricelist-all .pla-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.5rem;
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px;
    background: #fff;
}
.pricelist-all .pla-scroll-hint {
    display: none;
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-bottom: 4px;
}

/* ==========================================
   Compact table base — HIGH SPECIFICITY
   ========================================== */
.pricelist-all table.pla-table {
    width: 100% !important;
    min-width: 600px;
    border-collapse: collapse !important;
    font-size: 0.82rem !important;
    table-layout: fixed !important;
    margin: 0 !important;
    border: none !important;
    background: #fff;
}
.pricelist-all table.pla-table th,
.pricelist-all table.pla-table td {
    padding: 7px 10px !important;
    text-align: center !important;
    border: 1px solid #cbd5e1 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    font-size: 0.82rem !important;
    line-height: 1.3;
}
.pricelist-all table.pla-table thead th {
    background: #eef2f7 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-color: #b0bec5 !important;
    position: sticky;
    top: 0;
    z-index: 2;
}
/* Two-row header: top group row */
.pricelist-all table.pla-table thead th.pla-th-group {
    background: #dbeafe !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1e40af !important;
    border-color: #93c5fd !important;
    letter-spacing: 0.5px;
}

/* --- Sticky left column --- */
.pricelist-all table.pla-table th.pla-sticky,
.pricelist-all table.pla-table td.pla-sticky {
    position: sticky !important;
    left: 0 !important;
    z-index: 3;
    text-align: left !important;
    font-weight: 600 !important;
    min-width: 90px;
    max-width: 120px;
    box-shadow: 2px 0 4px rgba(0,0,0,0.06);
}
.pricelist-all table.pla-table thead th.pla-sticky {
    z-index: 5;
    background: #eef2f7 !important;
}
.pricelist-all table.pla-table tbody td.pla-sticky {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #334155;
}

/* --- Highlight row: 新車特別 --- */
.pricelist-all table.pla-table tbody tr.pla-row-highlight td {
    background: #ecfdf5 !important;
}
.pricelist-all table.pla-table tbody tr.pla-row-highlight td.pla-sticky {
    background: #d1fae5 !important;
    font-weight: 700 !important;
    color: #065f46 !important;
}

/* --- Zebra striping --- */
.pricelist-all table.pla-table tbody tr:nth-child(even) td {
    background: #fafbfc;
}
.pricelist-all table.pla-table tbody tr:nth-child(even) td.pla-sticky {
    background: #f1f5f9 !important;
}
/* Highlight overrides zebra */
.pricelist-all table.pla-table tbody tr.pla-row-highlight:nth-child(even) td {
    background: #ecfdf5 !important;
}
.pricelist-all table.pla-table tbody tr.pla-row-highlight:nth-child(even) td.pla-sticky {
    background: #d1fae5 !important;
}

/* --- Hover row --- */
.pricelist-all table.pla-table tbody tr:hover td {
    background: #eff6ff;
}
.pricelist-all table.pla-table tbody tr:hover td.pla-sticky {
    background: #dbeafe !important;
}

/* --- Price formatting --- */
.pricelist-all .pla-price {
    font-variant-numeric: tabular-nums;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pricelist-all .pla-price-na {
    color: #cbd5e1;
    font-weight: 400;
}

/* --- WEB price note --- */
.pricelist-all .pla-web-note {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 4px 0 0;
    padding-left: 4px;
}

/* --- CTA section --- */
.pricelist-all .pla-cta {
    text-align: center;
    padding: 2rem 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8f9fa 100%) !important;
    border-radius: 12px;
    border: 1px solid #dbeafe;
}
.pricelist-all .pla-cta h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 0.75rem !important;
    border: none !important;
    padding: 0 !important;
}
.pricelist-all .pla-cta p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1.25rem;
}
.pricelist-all .pla-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.pricelist-all .pla-cta-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 28px !important;
    border-radius: 8px;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s;
}
.pricelist-all .pla-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.pricelist-all .pla-cta-btn.pla-cta-btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
}
.pricelist-all .pla-cta-btn.pla-cta-btn-primary:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
}
.pricelist-all .pla-cta-btn.pla-cta-btn-secondary {
    background: #fff !important;
    color: #2563eb !important;
    border: 2px solid #2563eb !important;
}
.pricelist-all .pla-cta-btn.pla-cta-btn-secondary:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

/* --- Notes --- */
.pricelist-all .pla-notes {
    font-size: 0.78rem;
    color: #6c757d;
    padding: 1rem 0;
}
.pricelist-all .pla-notes ul {
    list-style: disc !important;
    padding-left: 1.5rem !important;
    margin: 0;
}
.pricelist-all .pla-notes li {
    margin-bottom: 4px;
}

/* --- Film 3-price columns --- */
.pricelist-all table.pla-table .pla-film-normal {
    color: #94a3b8;
    font-size: 0.72rem;
}
.pricelist-all table.pla-table .pla-film-member {
    color: #334155;
}
.pricelist-all table.pla-table .pla-film-set {
    color: #dc2626;
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .pricelist-all .pla-scroll-hint {
        display: block;
    }
    .pricelist-all table.pla-table {
        font-size: 0.72rem !important;
    }
    .pricelist-all table.pla-table th,
    .pricelist-all table.pla-table td {
        padding: 4px 5px !important;
        font-size: 0.72rem !important;
    }
    .pricelist-all table.pla-table th.pla-sticky,
    .pricelist-all table.pla-table td.pla-sticky {
        min-width: 72px;
        max-width: 90px;
        font-size: 0.7rem !important;
    }
    .pricelist-all .pla-anchor-nav {
        gap: 6px;
    }
    .pricelist-all .pla-anchor-nav a {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
    .pricelist-all .pla-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Body coating table widths --- */
.pricelist-all table.pla-body-table {
    min-width: 900px;
}
.pricelist-all table.pla-body-table col.pla-col-label {
    width: 100px;
}

/* --- Wheel table --- */
.pricelist-all table.pla-wheel-table {
    min-width: 380px;
    table-layout: auto !important;
}

/* --- Window / Interior table --- */
.pricelist-all table.pla-simple-table {
    min-width: 280px;
    table-layout: auto !important;
}

/* --- Film table --- */
.pricelist-all table.pla-film-table {
    min-width: 700px;
}
