@charset "UTF-8";

/* ------------- 表のレイアウト ------------- */
.article .responsive-table__group {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin: 0;
}

.article .responsive-table__title {
    font-size: clamp(15px, 3vw, 20px) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: var(--text-main);
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: var(--divider-table-strong) !important;
    padding: 0 0 8px 0 !important;
    margin: 0 0 20px 0 !important;
    position: relative;
}

.article .responsive-table__title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-red);
}

.article .responsive-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(13px, 2vw, 16px);
}

.article .responsive-table tr {
    --tr-padding: 0 0;

    background-color: transparent !important;
    padding: var(--tr-padding);
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: var(--divider-table-row) !important;
}

.article .responsive-table thead tr {
    border-bottom: none !important;
}

.article .responsive-table tr:last-child {
    border-bottom: none !important;
}

.article .responsive-table th {
    background-color: transparent;
    color: var(--text-caption);
    font-family: "Noto Serif JP", serif;
    font-size: 12px;
    font-weight: 700;
    padding: 15px 10px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: var(--divider-table-header) !important;
    text-align: left;
    letter-spacing: 0.2em;
}

.article .responsive-table td {
    --td-padding: 20px 10px;

    padding: var(--td-padding);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1em;
    color: var(--text-body);
    border: none !important;
    line-height: 1;
    text-align: left;
}

.article .responsive-table td[data-label="氏名"] {
    font-family: "Noto Serif JP", serif;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-body);
    letter-spacing: 0.05em;
}

.article .responsive-table--inline td[data-label="代"] {
    font-family: "Noto Serif JP", serif;
    font-size: 1em;
    font-weight: 700;
}

@media screen and (max-width: 670px) {

    .article .responsive-table--stacked tr {
        --tr-padding: 10px 0;

        display: block;
    }

    .article .responsive-table--stacked td {
        --td-padding: 4px 0;

        display: block;
        width: 100%;
        border: none;
    }

    .article .responsive-table--stacked td::before {
        content: attr(data-label);
        display: block;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 700;
        color: var(--color-red);
        margin-bottom: 7px !important;
    }

    .article .responsive-table--stacked td[data-label="氏名"] {
        margin-bottom: 8px !important;
    }

    .article .responsive-table--stacked td:not([data-label="氏名"]):not([data-label="代"]) {
        font-size: 0.9em;
    }

    .article .responsive-table--inline tr {
        display: flex;
        flex-wrap: nowrap;
    }

    .article .responsive-table--inline td:first-child {
        min-width: 5.2em;
    }
}
