/* =========================
   custom-table style (Mobile First)
   ========================= */

.custom-table-section {
    background: #ffffff;
}

.custom-table-section .container {
    padding: 0;
    margin: 0 auto;
    max-width: none;
}

.custom-table-section .table-wrapper {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.custom-table-section .table-wrapper .custom-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: #333;
}

.custom-table-section .table-wrapper .custom-table tr {
    border-bottom: 1px solid #ededed;
}

.custom-table-section .table-wrapper .custom-table tr:last-child {
    border-bottom: none;
}

/* 左カラム（スマホ） */
.custom-table-section .table-wrapper .custom-table th {
    width: 35%;
    background: #ef000f;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    vertical-align: middle;
    padding: 12px 14px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    border-right: 1px solid #e5e5e5;
}

.custom-table-section .table-wrapper .custom-table th i {
    margin-right: 6px;
    vertical-align: middle;
}

.custom-table-section .table-wrapper .custom-table th .item-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1px;
}

/* 右カラム（スマホ） */
.custom-table-section .table-wrapper .custom-table td {
    font-size: 0.95rem;
    background: #fff;
    padding: 12px 18px;
    line-height: 1.7;
    vertical-align: middle;
    color: #333;
    border: none;
}

.custom-table-section .table-wrapper .custom-table td .salary-wrapper .salary-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

/* 給与バッジ */
.custom-table-section .table-wrapper .custom-table td .salary-wrapper .salary-inner .salary-badge {
    padding: 1px 5px;
    margin-right: 8px;
    border: 1px solid #f3b15f;
    border-radius: 6px;
    background: #fff7ee;
    color: #f08a00;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 給与金額 */
.custom-table-section .table-wrapper .custom-table td .salary-wrapper .salary-inner .salary-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f57c00;
    line-height: 1.2;
}

/* リスト */
.custom-table-section .table-wrapper .custom-table td .req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-table-section .table-wrapper .custom-table td .req-list li {
    display: flex;
    align-items: center;
    gap: 6x;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.custom-table-section .table-wrapper .custom-table td .req-list li i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.custom-table-section .table-wrapper .custom-table td .req-list .fa-check-circle {
    color: #46b85e;
}

.custom-table-section .table-wrapper .custom-table td .req-list .fa-star {
    color: #f6a623;
}

.custom-table-section .table-wrapper .custom-table td .placeholder-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #8b8b8b;
}

@media (min-width: 768px) {

    .custom-table-section .table-wrapper {
        border-radius: 16px;
    }

    .custom-table-section .table-wrapper .custom-table th i {
        margin-right: 4px;
    }

    .custom-table-section .table-wrapper .custom-table th {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .custom-table-section .table-wrapper .custom-table td {
        padding: 16px 24px;
        font-size: 0.9rem;
    }

    .custom-table-section .table-wrapper .custom-table td .salary-badge {
        padding: 1px 10px;
    }

    .custom-table-section .table-wrapper .custom-table td .salary-amount {
        font-size: 1.8rem;
    }

    .custom-table-section .table-wrapper .custom-table th .item-wrapper {
        gap: 3px;
    }
}

@media (min-width: 1024px) {
    .custom-table-section .table-wrapper {
        border-radius: 18px;
    }

    .custom-table-section .table-wrapper .custom-table th {
        width: 25%;
        padding: 20px 24px;
        font-size: 1.1rem;
    }

    .custom-table-section .table-wrapper .custom-table td {
        padding: 20px 32px;
        font-size: 1rem;
        line-height: 1.9;
    }

    .custom-table-section .table-wrapper .custom-table td .salary-amount {
        font-size: 2.1rem;
    }

    .custom-table-section .table-wrapper .custom-table td .placeholder-note {
        font-size: 0.9rem;
    }

    .custom-table-section .table-wrapper .custom-table th .item-wrapper {
        gap: 6px;
    }
}