@charset "UTF-8";

#jquery-tablesorter-table {
    width: 100% !important;
    min-width: 990px;
}

#jquery-tablesorter-table th,
#jquery-tablesorter-table td {
    box-sizing: border-box;
}

/* Reserve enough table width for a complete registration role. */
#jquery-tablesorter-table th:nth-child(2),
#jquery-tablesorter-table td:nth-child(2) {
    white-space: nowrap;
}

.table-shell {
    max-width: 990px;
    margin: 0 auto;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-guide {
    display: none;
    margin: 0 0 6px;
    color: #555555;
    font-size: 12px;
    text-align: center;
}

#jquery-tablesorter-table:where(.roster-ruby-compact) .player-name-ruby {
    white-space: nowrap;
}

#jquery-tablesorter-table:where(.roster-ruby-compact) .player-name-ruby ruby {
    ruby-align: center;
}

#jquery-tablesorter-table:where(.roster-ruby-compact) .player-name-ruby rt {
    color: #5f6d79;
    font-size: 0.58em;
    font-weight: normal;
    letter-spacing: 0.02em;
    line-height: 1;
}

@media screen and (max-width: 1005px) {
    .scroll-guide {
        display: block;
    }

    #jquery-tablesorter-table {
        margin-top: 0;
    }
}

@media screen and (max-width: 700px) {
    body {
        margin: 6px;
    }

    body > p:first-child {
        line-height: 1.7;
        margin: 6px 0 10px;
    }

    body > p:first-child > font:first-child {
        display: block;
        margin-bottom: 2px;
    }

    .scroll-guide {
        display: none;
    }

    .table-scroll {
        overflow: visible;
    }

    #jquery-tablesorter-table {
        min-width: 0;
        margin: 0;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    #jquery-tablesorter-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }

    #jquery-tablesorter-table tbody {
        display: block;
    }

    #jquery-tablesorter-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 14px;
        overflow: hidden;
        border: 1px solid #aebdcb;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.10);
    }

    #jquery-tablesorter-table tbody tr td {
        display: grid;
        grid-column: span 1;
        grid-template-columns: 4.25em minmax(0, 1fr);
        column-gap: 6px;
        align-items: baseline;
        min-width: 0;
        padding: 8px 10px !important;
        border: 0;
        border-top: 1px solid #d9e0e7;
        background: #ffffff !important;
        font-size: 14px;
        line-height: 1.5;
        text-align: left !important;
        overflow-wrap: anywhere;
    }

    #jquery-tablesorter-table tbody tr td::before {
        display: block;
        margin-bottom: 0;
        color: #5f6d79;
        font-size: 11px;
        font-weight: bold;
        line-height: 1.3;
        text-align: right;
        white-space: nowrap;
    }

    #jquery-tablesorter-table tbody tr td:empty::after {
        content: "―";
        color: #777777;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(1) {
        order: -9;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(1)::before {
        content: "背番号";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(2) {
        order: -8;
        border-left: 1px solid #d9e0e7;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(2)::before {
        content: "登録";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(3) {
        grid-column: 1 / -1;
        order: -10;
        padding: 10px 12px !important;
        border-top: 0;
        background: #e7eff6 !important;
        font-size: 17px;
        font-weight: bold;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(3)::before {
        content: "氏名";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(3) a {
        color: #064f85;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(4) {
        order: -7;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(4)::before {
        content: "投打";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(5) {
        order: -6;
        border-left: 1px solid #d9e0e7;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(5)::before {
        content: "年数";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(6) {
        order: -4;
        border-left: 1px solid #d9e0e7;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(6)::before {
        content: "歳";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(7) {
        order: -3;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(7)::before {
        content: "生年";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(8) {
        order: -2;
        border-left: 1px solid #d9e0e7;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(8)::before {
        content: "没年";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(9) {
        grid-column: 1 / -1;
        order: -1;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(9)::before {
        content: "球団";
    }

    #jquery-tablesorter-table tbody tr td:nth-child(10) {
        order: -5;
    }

    #jquery-tablesorter-table tbody tr td:nth-child(10)::before {
        content: "その他";
    }
}
