/* table */
.omj-awre-curriculum-table {
    display: table;
    border-collapse: collapse;
    width: 88rem;
}

.omj-awre-curriculum-table tbody {
    display: table-row-group;
}

.omj-awre-curriculum-table tr {
    display: table-row;
}

.omj-awre-curriculum-table th,
.omj-awre-curriculum-table td {
    display: table-cell;
    margin: 0;
    vertical-align: baseline;
    border-right-width: 0;
    border-bottom-width: 0;
}

.omj-awre-curriculum-table th:last-child,
.omj-awre-curriculum-table td:last-child {
    border-right-width: 0.1rem;
}

.omj-awre-curriculum-table tr:last-child th,
.omj-awre-curriculum-table tr:last-child td {
    border-bottom-width: 0.1rem;
}

.omj-awre-curriculum-table tr:first-child th {
    background: var(--color-1);
    color: var(--color-base);
    border-color: var(--color-1-sub);
}

.omj-awre-curriculum-table td:nth-last-child(2), .omj-awre-curriculum-table td:nth-last-child(4), .omj-awre-curriculum-table td:nth-last-child(5) {
    text-align: center;
}

.omj-awre-curriculum-table th:nth-last-child(8),
.omj-awre-curriculum-table td:nth-last-child(8) {
    width: 3.3rem;
}

.omj-awre-curriculum-table th:nth-last-child(7),
.omj-awre-curriculum-table td:nth-last-child(7) {
    width: 15rem;
}

.omj-awre-curriculum-table th:nth-last-child(6),
.omj-awre-curriculum-table td:nth-last-child(6) {
    width: 42.2rem;
}

.omj-awre-curriculum-table th:nth-last-child(5),
.omj-awre-curriculum-table td:nth-last-child(5) {
    width: 7rem;
}

.omj-awre-curriculum-table th:nth-last-child(4),
.omj-awre-curriculum-table td:nth-last-child(4) {
    width: 7rem;
}

.omj-awre-curriculum-table th:nth-last-child(3),
.omj-awre-curriculum-table td:nth-last-child(3) {
    width: 15rem;
}

.omj-awre-curriculum-table th:nth-last-child(2),
.omj-awre-curriculum-table td:nth-last-child(2) {
    width: 8rem;
}

.omj-awre-curriculum-table th:nth-last-child(1),
.omj-awre-curriculum-table td:nth-last-child(1) {
    width: 29.3rem;
}

.omj-awre-curriculum-table tr:last-child {
    border-bottom: 0.1rem solid var(--color-1);
}

.omj-awre-year-chart > * {
    margin: 0 0 var(--part-margin-large);
}

.omj-awre-year-chart > *:last-child {
    margin-bottom: 0;
}

@media screen and (min-width:768px) {
    .omj-awre-feature-1-table th,
    .omj-awre-feature-1-table td {
        width: auto;
    }
    .omj-awre-feature-1-table th:nth-child(1) {
        width: 10rem;
    }

    .omj-awre-feature-1-table th:nth-child(2) {
        width: calc(50% - 10rem);
    }

    .omj-awre-feature-1-table th:nth-child(3) {
        width: 50%;
        background: var(--color-2);
        color: var(--color-base);
        position: relative;
        border-width: 0.4rem;
        border-color: var(--color-2);
    }

    .omj-awre-feature-1-table th:nth-child(3)::before {
        content: "";
        display: block;
        width: 5.471rem;
        height: 4.673rem;
        background: center center / contain url('../images/about/about-feature-1-mark.svg');
        position: absolute;
        left: 2rem;
        bottom: 0;
    }

    .omj-awre-feature-1-table td:nth-child(3) {
        border-color: var(--color-2);
        border-width: 0.4rem;
    }

    .omj-awre-feature-1-table tr:last-child td:nth-child(3) {
        border-bottom-width: 0.4rem;
    }

    .omj-awre-year-chart .omj-awre-flex-1-item {
        width: calc((100% - var(--part-margin-flex-2-columns) - 4rem) / 2);
    }

    .omj-awre-year-chart .omj-awre-flex-1-item:nth-child(2) {
        margin-top: 7rem;
    }

    .omj-awre-year-chart .omj-awre-flex-1 {
        margin-bottom: 7rem;
        position: relative;
    }

    .omj-awre-year-chart .omj-awre-flex-1:last-child {
        margin-bottom: 0;
    }

    .omj-awre-year-chart .omj-awre-flex-1::before,
    .omj-awre-year-chart .omj-awre-flex-1::after {
        content: "";
        display: block;
        width: 4rem;
        height: 4rem;
        background: var(--color-1);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .omj-awre-year-chart .omj-awre-flex-1::before {
        top: 5rem;
    }

    .omj-awre-year-chart .omj-awre-flex-1::after {
        top: 11rem;
    }

    .omj-awre-year-chart {
        position: relative;
    }

    .omj-awre-year-chart::before {
        content: "";
        display: block;
        width: var(--border-width);
        height: 100%;
        background: var(--color-1);
        position: absolute;
        left: 50%;
        top: 0;
    }
}