@charset "utf-8";

body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
}

.table-wrapper {
    width: 100%;
    max-width: 750px;
    max-height: 95%;
    overflow-y: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 10px;
    border: 1px solid #000;
}

.row-hover tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.row-hover tr:nth-child(even) {
    background-color: #ffffff;
}

.t_text {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

@media (max-width: 768px) {
    .table-wrapper {
        padding: 0;
    }

    table,
    .row-hover tr,
    table td {
        display: block;
        width: 100%;
        font-size: 13px;
    }

    .row-hover tr {
        margin-bottom: 10px;
    }

    table td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    table td.column-1::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

    .t_text {
        margin-top: 10px;
        font-size: 12px;
        color: #333;
        text-align: center;
    }

}