.lp-comparison {
    padding: 80px 0;
    background: var(--lp-bg);
}

.lp-table-wrap {
    overflow-x: auto;
    margin-bottom: 40px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
}

.lp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lp-table th,
.lp-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--lp-border);
}

.lp-table th {
    background: var(--lp-bg-alt);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.lp-table th:first-child,
.lp-table td:first-child {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.lp-table-highlight {
    background: var(--lp-primary-bg);
}

.lp-table th.lp-table-highlight {
    background: var(--lp-primary);
    color: #fff;
}

.lp-table td.lp-table-highlight {
    background: rgba(108, 60, 225, 0.03);
    color: var(--lp-primary);
    font-weight: 600;
}

.lp-table tbody tr:last-child td {
    border-bottom: none;
}

.lp-table tbody tr:hover {
    background: rgba(108, 60, 225, 0.02);
}

.lp-comparison-note {
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 32px;
}

.lp-comparison-note h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--lp-text);
}

.lp-comparison-note p {
    font-size: 14px;
    color: var(--lp-text-sub);
    line-height: 1.85;
    margin-bottom: 12px;
}

.lp-comparison-note p:last-child {
    margin-bottom: 0;
}

.lp-table td .lp-cell-yes {
    color: #2e7d32 !important;
    font-weight: 700;
}

.lp-table td .lp-cell-partial {
    color: #1565c0 !important;
    font-weight: 700;
}

.lp-table td .lp-cell-no {
    color: #c62828 !important;
    font-weight: 700;
}

/* モバイル: 横スクロールゼロのカード積み上げレイアウト */
@media (max-width: 768px) {
    .lp-table-wrap {
        overflow-x: visible;
        margin: 0 0 32px;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .lp-table {
        display: block;
        width: 100%;
        font-size: 14px;
    }

    .lp-table thead {
        display: none;
    }

    .lp-table tbody,
    .lp-table tr {
        display: block;
        width: 100%;
    }

    .lp-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .lp-table tr {
        background: #fff;
        border: 1px solid var(--lp-border);
        border-radius: var(--lp-radius-lg);
        overflow: hidden;
        box-shadow: var(--lp-shadow);
    }

    .lp-table tr:hover {
        background: #fff;
    }

    .lp-table tbody tr:last-child td {
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-table tr td:last-child {
        border-bottom: none;
    }

    .lp-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 16px;
        text-align: right;
        white-space: normal;
        word-break: break-word;
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-table td:first-child {
        background: var(--lp-bg-alt);
        text-align: left;
        font-weight: 700;
        color: var(--lp-text);
        font-size: 15px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-table td.lp-table-highlight {
        background: var(--lp-primary-bg);
    }

    .lp-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--lp-text-sub);
        font-size: 13px;
        text-align: left;
        flex: 0 0 auto;
        max-width: 50%;
    }

    .lp-table td[data-label] {
        text-align: right;
    }

    .lp-table td > * {
        text-align: right;
    }
}
