:root {
    --tab-qty: repeat(3, 1fr);
}
.main-content {
    background-color: #fff;
}
.unique {
    background-color: #fff;
}
.unit.year {
    margin-top: var(--two-point-one-space);
}
a {
    color: #222;
}
/****** タブボタン ******/
/* お知らせ関連：タブアクティブ時赤線除去 */
.p-tab__btn[data-is-active="true"] p::after {
    content: none;
}
/****** タブボタン ende ******/

#info-tab {
    margin-top: var(--two-point-one-space);
}

/****** 年選択ボタン ******/
.year {
    margin: 35px 0 0;
}
.year__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.year__item p {
    font-weight: bold;
    position: relative;
    padding-left: 16px;
    color: #0000ee;
    cursor: pointer;
}
.year__item p::before {
    content: "";
    position: absolute;
    color: #6fccbe;
    width: 5px;
    height: 5px;
    border-top: 2px solid #6fccbe;
    border-right: 2px solid #6fccbe;
    top: -3px;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: rotate(135deg);
}
/* ドロップダウン */
.year__item--past {
    position: relative;
}
.drop {
    visibility: hidden;
    height: 0;
    position: absolute;
    background-color: #fff;
    width: 100%;
}

.drop.open {
    visibility: visible;
    height: auto;
}
/****** 年選択ボタン ende ******/

/****** テーブル ******/
.y-table {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    display: grid;
    grid-template-columns: 14% 1fr;
}
/* 重要なお知らせ */
.y-table.y-table__important {
    grid-template-columns: 1fr;
}
/* 重要なお知らせ ende */
.y-table__content {
    display: grid;
    grid-template-columns: 15% 1fr;
}
.y-table__year {
    color: #fff;
    background-color: var(--main-color-dark);
    grid-row-start: 1;
    grid-row-end: 100;
    position: relative;
}
.y-table__year p {
    position: absolute;
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.y-table > div {
    border: 2px solid var(--main-color-middle);
}

.y-table__year,
.y-table__date,
.y-table__text {
    padding: 15px;
    min-height: 26px;
}
.y-table > div:not(:first-child) {
    border-left: none;
}
.y-table__text {
    border-left: 2px solid var(--main-color-middle);
}
.y-table > div:nth-child(n + 4) {
    border-top: none;
}
/* 重要なお知らせ */
.y-table.y-table__important > div.y-table__text {
    border-left: 2px solid var(--main-color-middle);
}
.y-table.y-table__important > div:not(:nth-child(2)) {
    border-top: none;
}
/* 重要なお知らせ ende */
.y-table .y-table__date {
    background-color: var(--main-color-middle-dark);
    padding: 0 30px;
    color: #fff;
    display: flex;
}
.y-table__date p {
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
}

.y-table .y-table__text {
    text-align: left;
}
@media screen and (max-width: 768px) {
    .unique {
        font-size: 10px;
    }
    /****** 年選択ボタン ******/
    .year {
        margin: 20px 0 0;
    }
    .y-table__content {
        grid-template-columns: 20% 1fr;
    }
    .year__list {
        grid-template-columns: repeat(4, 1fr);
    }
    /****** テーブル ******/
    .y-table {
        margin-top: 20px;
    }
    .y-table .y-table__date {
        padding: 0 5px;
    }
}

.news-id {
    position: absolute;
    top: -80px;
}

/* 重要なお知らせ */
.import-news-date > p.date-add {
    margin-left: var(--two-point-one-space);
}
