@charset "utf-8";

.article-list .inner {
    padding: 80px 0 100px;
}

.cate-list,
.cate-list .webgene-blog {
    display: flex;
    gap: 20px 40px;
    flex-wrap: wrap;
}

.cate-list {
    margin-bottom: 64px;
}

.cate-list a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: #00428e;
    padding: 11px 33px;
    display: block;
    background: #fff;
    border: 2px solid #00428e;
    transition: var(--default);
}

.cate-list a:hover {
    opacity: 50%;
}

.article-main .webgene-blog {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.webgene-pagination>ul {
    display: flex;
    gap: 1em;
    padding: 0;
    justify-content: center;
    margin: 0;
}

.webgene-pagination>ul>li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    width: 42px;
    list-style: none;
    background: #fff;
    border: 2px solid #00428E;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    color: #00428e;
}

.webgene-pagination>ul>li.next,
.webgene-pagination>ul>li.prev {
    border: none;
    background-color: transparent;
}

.webgene-pagination>ul>li.next:hover,
.webgene-pagination>ul>li.prev:hover {
    background-color: transparent;
    opacity: 50%;
}

.webgene-pagination>ul>li.next:hover a,
.webgene-pagination>ul>li.prev:hover a {
    background-color: transparent;
    color: #00428E;
}

.webgene-pagination>ul>li a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li:hover a {
    position: relative;
    color: #FFF;
}

.webgene-pagination>ul>li.selected,
.webgene-pagination>ul>li:hover {
    background: #00428E;
    border-color: #00428E;
}

.webgene-item-prevPageLink,
.webgene-item-nextPageLink {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 18px;
    color: #2f2020;
}

.webgene-item-prevPageLink a:hover,
.webgene-item-nextPageLink a:hover {
    opacity: 50%;
}

.webgene-item-prevPageLink a,
.webgene-item-nextPageLink a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 17px;
    color: #000;
    transition: var(--default);
}

/* 詳細 */
.article-detail {
    background-color: #FAFAFA;
}

.article-detail .inner {
    width: min(75%, 960px);
    padding: 80px 0 120px;
}

.article-detail .newsItemTit {
    padding-bottom: 32px;
    border-bottom: 1px solid #b1b1b1;
}

.article-detail .newscontents {
    margin-bottom: 40px;
}

.article-detail .news-detail-img {
    margin-bottom: 40px;
}

.newsDetailTxt {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    line-height: calc(24/16);
    color: #000;
    padding-bottom: 80px;
}

.article-detail .page-navi {
    border-top: 1px solid #d1d1d1;
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

@media (max-width: 1023px) {
    .article-detail .page-navi {
        display: grid;
        grid-template-areas: "prev prev next next"
            "back back back back";
        gap: 48px 0;
    }

    .article-detail .page-navi .webgene-item-prevPageLink {
        grid-area: prev;
    }

    .article-detail .page-navi .webgene-item-nextPageLink {
        grid-area: next;
        text-align: right;
    }

    .article-detail .page-navi .morebtn {
        grid-area: back;
    }
}

@media (max-width: 767px) {
    .article-list .inner {
        padding: 80px 0 30px;
    }

    .cate-list,
    .cate-list .webgene-blog {
        gap: 20px 30px;
    }

    .cate-list {
        margin-bottom: 50px;
    }

    .cate-list a {
        padding: 8px 23px;
    }

    .article-detail .inner {
        width: 90%;
    }

    .article-detail .newsItemTit {
        padding-bottom: 20px;
    }

    .article-detail .newscontents {
        margin-bottom: 20px;
    }

    .article-detail .morebtn {
        max-width: 222px;
    }

    .article-detail .morebtn:before {
        -webkit-transform: translateX(-96%) translateY(-61%) rotate(101deg);
        transform: translateX(-96%) translateY(-61%) rotate(101deg);
    }

    .article-detail .morebtn:hover:before {
        -webkit-transform: translateX(3%) translateY(-20%) rotate(75deg);
        transform: translateX(3%) translateY(-20%) rotate(75deg);
    }

    .article-detail .morebtn a {
        padding: 24px 0 24px 64px;
    }

}