@charset "UTF-8";
/* 共通css打ち消し */
ol,
ul {
    padding: 0;
}
/* アーカイブ */
.news-col {
    display: flex;
    justify-content: center;
    gap: 26px;
    max-width: 90%;
    margin: 0 auto;
}

.news-col main {
    width: 100%;
    max-width: 800px;
}

.news-col .news-list {
    margin-top: 35px;
}

.news-col .news-list li {
    background: #F3F9ED;
    border-radius: 10px;
    display: flex;
    align-items: baseline;
    gap: 28px;
    font-size: 16px;
    font-weight: 500;
    list-style-type: none;
    padding: 22px 29px;
    position: relative;
    margin-top: 7px;
    transition: .3s;
}

.news-col .news-list li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 21px;
    width: 8.7px;
    height: 8.7px;
    border-top: 2px solid #007934;
    border-right: 2px solid #007934;
    transform: rotate(45deg) translateY(-50%);
    transition: .3s;
}

.news-col .news-list li:has(a:hover) {
    filter: brightness(95%);
    transition: .3s;
}

.news-col .news-list li:has(a:hover):after {
    right: 15px;
    transition: .3s;
}

.news-col .news-list li:first-child {
    margin-top: 0;
}

.news-col .news-list .date {
    color: #007934;
    margin: 0;
}

.news-col .news-list li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-col .news-list h2 {
    color: #505050;
    font-size: 16px;
    margin: 0;
}

/* ページャー */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 50px auto 115px;
}
.page-numbers {
    background: #F3F9ED;
    border-radius: 50%;
    color: #505050;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: .2s;
    line-height: 39px;
    width: 39px;
    height: 39px;
}
.page-numbers.current {
    background: #007934;
    color: #fff;
}
.nav-links a.page-numbers:hover {
    filter: brightness(95%);
    transition: .2s;
}
/* サイドバー */
aside {
    width: 235px;
}
aside h3 {
    color: #007934;
    font-size: 18px;
    margin: 0;
}

aside ul {
    background: #007934;
    border-radius: 10px;
    padding: 13px 18px 18px;
    margin: 10px auto 0;
}

aside li {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    list-style-type: none;
    position: relative;
}

aside li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    width: 6.5px;
    height: 6.5px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    transition: .3s;
}

aside li:has(a:hover)::after {
    right: -4px;
    transition: .3s;
}

aside li a {
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    color: #fff;
    display: block;
    text-decoration: none;
    padding: 7px 0 7px 4px;
}
aside li a:hover {
    color: #fff;
}
aside li a:visited {
    color: #fff;
}
/* 記事詳細 */
.news-col .article-title .date {
    font-size: 16px;
    font-weight: 500;
    color: #007934;
    margin: 0;
}
.article-thumbnail {
    margin: 0 auto 21px;
}
.news-col .article-title h2 {
    color: #505050;
    font-size: 18px;
    font-weight: bold;
    margin: 14px 0 20px;
}
.article {
    margin-bottom: 134px;
}
.article p {
    color: #505050;
    font-size: 16px;
    font-weight: 500;
    margin: 0 auto 53px;
}
.article h2 {
    background: #F3F9ED;
    border-radius: 10px;
    color: #505050;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 20px;
    margin: 0 auto 24px;
}
.article h3 {
    border-top: 1px solid #007934;
    border-bottom: 1px solid #007934;
    color: #505050;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 20px;
    margin: 0 auto 25px;
}
.article h4 {
    color: #505050;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
    margin: 0 auto 17px;
}
.article h4::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: #007934;
    width: 6px;
    height: 22px;
}
.article h5 {
    color: #007934;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 17px;
}
.article h6 {
    color: #505050;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 17px;
}
.article li {
    color: #505050;
    font-size: 16px;
    font-weight: 500;
    list-style-type: none;
    position: relative;
}
.article ul {
    margin: 0 auto 73px;
}
.article ul li {
    margin-top: 6px;
    padding-left: 1em;
}
.article ul li:first-child,
.article ol li:first-child {
    margin-top: 0;
}
.article ul li::before {
    content: "●";
    color: #007934;
    position: absolute;
    left: 0;
}
.article ol {
    counter-reset: counter;
    margin: 0 auto 91px;
}
.article ol li {
    counter-increment: counter;
    margin-top: 17px;
    padding-left: 1.5em;
}
.article ol li::before {
    content: "";
    background: #007934;
    border-radius: 50%;
    position: absolute;
    left: 0;
    width: 19px;
    height: 19px;
}
.article ol li::after {
    content: counter(counter);
    color: #fff;
    font-size: 16px;
    position: absolute;
    left: 5px;
    top: -1px;
    text-align: center;
}
.wp-block-image {
    margin: 0 auto 62px;
}
.article figcaption {
    margin: 5px auto 0;
}
.wp-block-table table {
    border-collapse: collapse;
    margin: 0 auto 50px;
    table-layout: fixed;
    width: 100%;
}
.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}
.article .wp-block-table td {
    border: 1px solid #007934;
    color: #505050;
    font-size: 16px;
    padding: 16px;
}
.article .wp-block-table td:first-child {
    font-weight: bold;
    text-align: center;
    width: 275px;
}
.article .wp-block-table tr:nth-child(odd) td:first-child {
    background: #F4F4F4;
}
.article .wp-block-table tr:nth-child(even) td:first-child {
    background: #D5D5D5;
}
.article .wp-block-table tr:nth-child(odd) td:last-child {
    background: #F3F9ED;
}
.article .return {
    border: 1px solid #007934;
    border-radius: 40px;
    color: #007934;
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 225px;
}
.article .return::after {
    content: "";
    background: url(../images/arrow.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
    right: 20px;
    width: 10px;
    height: 10px;
}
.article .return:hover::after {
    content: "";
    right: 15px;
    transition: .3s;
}

@media (max-width: 767px) {
    .article {
        margin-bottom: 0;
    }
    aside {
        width: 100%;
    }
    .news-col {
        flex-flow: column;
        gap: 50px;
        margin: 0 auto 80px;
    }
    .article p {
        font-size: 14px;
    }
    .article li {
        font-size: 16px;
    }
    .article .wp-block-table td {
        display: block;
    }
    .article .wp-block-table td:first-child {
        border-bottom: none;
        width: 100%;
    }
    .article .wp-block-table td:last-child {
        border-top: none;
    }
    .wp-block-image {
        margin: 0 auto 30px;
    }
    .article ul,
    .article ol {
        margin: 0 auto 35px;
    }
    /* ページャー */
    .nav-links {
        margin: 0 auto;
    }
}