@charset "utf-8";

.article-list .inner {
    padding: 120px 0 160px;
}

.article-list .cate-list {
    display: flex;
    align-items: center;
    gap: 20px 20px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.article-list .cate-list .webgene-blog {
    display: flex;
    align-items: center;
    gap: 20px 20px;
    flex-wrap: wrap;
}

.article-list .cate-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 27px;
    background: #fff;
    border: 2px solid #909090;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    color: #000;
    transition: var(--default);
}

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

.article-main .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.newsItem {
    padding-bottom: 32px;
    border-bottom: 1px solid #e6e6e6;
    transition: var(--default);
}

.newsItem:hover {
    opacity: 50%;
}

.newsdate {
    display: grid;
    grid-template-areas: "year year"
        "month day";
    font-family: var(--font-cinzel);
    font-weight: 400;
    color: #000;
}

.newsdate .year {
    grid-column: year;
    font-size: clamp(0.625rem, 0.564rem + 0.26vw, 0.875rem);
    margin-bottom: -10px;
}

.newsdate .month {
    grid-column: month;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
}

.newsdate .day {
    grid-column: day;
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
}

.newscontents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.newsItem .newsthum {
    width: 100%;
}

.newstitle {
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsItemTit {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
    line-height: calc(34/20);
    color: #000;
}

.newsItem .detail {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
    line-height: calc(27/16);
    color: #000;
}

.newslements {
    display: flex;
    gap: 3%;
    align-items: flex-end;
    margin-bottom: 10px;
}

.newsItemCate {
    font-family: var(--font-sans);
    font-weight: bold;
    font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
    text-align: center;
    color: #fff;
    border-radius: 50px;
    background: #05a6c0;
    padding: 8px 14px;
    margin-bottom: 9px;
}

.webgene-pagination {
    width: 100%;
    grid-column: 1 / 4;
}

.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 #000;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.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: #005AAA;
}





.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: #05A6C0;
    border-color: #05A6C0;
}

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

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

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

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

.article-detail .inner {
    padding: 80px 0 160px;
}

.article-detail .box {
    background-color: #FFF;
}

.article-detail .box-inner {
    padding: 64px 180px 80px;
}

.article-detail .newsItemTit {
    margin-bottom: 32px;
}

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

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

.article-detail .page-navi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.article-detail .page-navi .btn {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #000;
    transition: var(--default);
    padding: 0;
}

.article-detail .page-navi .btn:hover {
    opacity: 50%;
}

.article-detail .page-navi .btn a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 26px 56px;
    background: #fff;
    border: 2px solid #909090;
    border-radius: 50px;
}

@media (max-width: 1200px) {
    .article-main .webgene-blog {
        gap: 60px 20px;
    }
}

@media (max-width: 1023px) {
    .article-main .webgene-blog {
        grid-template-columns: repeat(2, 1fr);
    }

    .webgene-pagination {
        grid-column: 1 / 3;
    }

    .article-detail .box-inner {
        padding: 48px 20px 80px;
    }
}

@media (max-width: 767px) {
    .article-main .webgene-blog {
        grid-template-columns: repeat(1, 1fr);
        max-width: 75.538vw;
        margin: 0 auto;
        gap: 48px;
    }

    .webgene-pagination {
        grid-column: 1 / 2;
    }

    .article-list .cate-list a {
        gap: 6px;
    }

    .article-list .inner {
        padding: 27px 0 120px;
    }

    .article-detail .page-navi {
        display: grid;
        grid-template-areas: "prev prev next next"
            ". 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 .btn {
        grid-area: back;
    }

    .article-detail .page-navi .btn a {
        padding: 20px 56px;
    }
}