/* 個別設定 */
:root {
    --tab-qty: repeat(2, 1fr);
    --table-head: var(--main-color-thin);
    --table-text: var(--main-color-middle-dark);
}
.unit__table th,
.unit__table td {
    color: var(--table-text);
}
.unit > *:not(.id__position) {
    margin-top: calc(var(--margin-top) / 2);
}

td > p:not(:nth-child(1)) {
    padding-top: 0;
}
td dl {
    display: grid;
    grid-template-columns: 1fr 30%;
    gap: 5px 0;
    width: fit-content;
    margin: auto;
}
.unit__table td dl p {
    padding: 0;
}
.unit__table td dl dt p {
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
}
.unit > .unit__content-border,
.unit > .unit__content-midpoint {
    margin-top: 30px;
}
.unit > .unit__button:first-child {
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .unit > *:not(.id__position) {
        margin-top: 0;
    }
    .unit > .unit__button:first-child {
        margin-top: 40px;
    }
}

.unique > .unit > div.unit__button {
    margin: var(--base-space) auto 0;
}
.unique > .unit > div.unit__button:nth-child(2) {
    margin-top: var(--two-point-one-space);
}
.unit__table-teiki p {
    padding: 10px 10px;
}

.unit__table.unit__table-teiki tbody.line-two tr td {
    width: calc((1200px - 15px - 300px) / 8);
}

@media screen and (max-width: 768px) {
    .unit__table th,
    .unit__table td {
        /* min-width: auto;
        width: auto; */
        width: 100px;
        height: calc(var(--table-height-one-line) + 10px);
    }
    .unit__table p {
        padding: 5px 2px;
    }
    .unit__table {
        /* width: 95%;
        overflow: hidden; */
    }
    .unit__table.match-width tr td:nth-of-type(1),
    .unit__table.match-width--one-content tr td:nth-of-type(1),
    .unit__table.match-width--three-content tr td:nth-of-type(1) {
        /* width: 90px;
        min-width: 90px; */
        width: 100px;
    }
}

.attention {
    color: #ff3300;
    font-weight: bold;
}
.attention p {
    white-space: wrap;
}
@media screen and (max-width: 768px) {
    table {
        display: flex;
    }
    .unit__table > table.kinrikubun {
        width: 500px;
        max-width: none;
    }
    thead {
        z-index: 100;
    }
}

.unit table td {
    height: calc(var(--table-height-one-line) + 10px);
}
.unit__table tbody tr th.border-on:nth-of-type(1) {
    border-left: var(--table-border);
}
thead th,
.unit__table.match-width tbody th:nth-of-type(1),
.unit__table.match-width tbody td,
.unit__table tbody tr th:nth-of-type(1) {
    min-width: 200px;
    width: 200px;
}
@media screen and (max-width: 768px) {
    thead th,
    .unit__table.match-width tbody th:nth-of-type(1),
    .unit__table.match-width tbody td,
    .unit__table tbody tr th:nth-of-type(1) {
        min-width: auto;
        width: 100px;
    }
    .unit__table.match-width .kyoikuLone tbody th:nth-of-type(1) {
        min-width: 200px;
        width: 200px;
    }
}
