@charset "utf-8";

.tNewsGrid section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
}

.newsBxR section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
}

.newsItem {
    width: 100% !important;
    max-width: 364px;
    margin: 0 auto;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsLink {
    width: 100%;
}

.newsCate {
    display: block;
    width: 100%;
    max-width: max-content;
    padding: 0 0 2.5px 0;
    color: var(--secondary);
    /* 14-16 */
    font-size: calc(0.875rem + ((1vw - 3.75px) * 0.1294));
    min-height: 0vw;
    line-height: 1.5em;
    font-weight: 600;
    border-bottom: 1px solid #A2ACA1;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsImg {
    position: relative;
    width: 100%;
    margin: 11px 0 0;
    aspect-ratio: 91/59;
    overflow: hidden;
    background: var(--white);
}

.newsImg img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
    margin: auto;
    transition: all .3s;
}

.newsItem:hover .newsImg img {
    transform: scale(1.1);
}

.newsImg>img+.noImg {
    display: none;
}

.newsDate {
    display: block;
    margin: 13px 0 0;
    /* 14-16 */
    font-size: calc(0.875rem + ((1vw - 3.75px) * 0.1294));
    min-height: 0vw;
    font-family: var(--fontB);
    color: var(--secondary);
    line-height: 1.5em;
    font-weight: 400;
}

.newsTit {
    display: block;
    margin: 8px 0 0;
    /* 14-16 */
    font-size: calc(0.875rem + ((1vw - 3.75px) * 0.1294));
    min-height: 0vw;
    line-height: 1.5em;
    font-weight: 600;
    color: var(--black);
}

.newsItem:hover .newsTit {
    color: var(--black);
}

.pdfBtnBx {
    display: flex;
    justify-content: center;
}

/* 詳細 */

.newsDtlBx section {
    display: block;
}

.newsDtlTit {
    padding: 0 0 5px 0;
    border-bottom: 1px solid var(--secondary);
}

.newsDtlImg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsDtl .newsCateFl {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.newsDtl .newsCate {
    max-width: fit-content;
    margin: 0 10px 0 0;
}

/* サイドバー */

.newsCateTit {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.cateLink {
    padding: 0 0 0 8px;
    color: var(--black);
}

.cateLink:hover {
    color: var(--black);
    text-decoration: underline;
}

/*  ページャー */

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

.webgene-pagination>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.webgene-pagination>ul>li {
    display: flex;
    margin: 30px 5px 0;
    height: 40px;
    min-height: 40px;
    width: 100%;
    max-width: 40px;
    font-size: 14px;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 4px 0;
    align-items: center;
    border-radius: 50%;
}

.webgene-pagination>ul>li>a {
    width: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: initial;
    font-size: 15px;
    transition: all .3s;
    color: var(--primary);
}

.webgene-pagination>ul>li>a:hover {
    color: #fff;
    background-color: var(--primary);
    text-decoration: none;
    transition: all .3s;
}

.webgene-pagination>ul>li.selected>a {
    color: #fff;
    background: var(--primary);
    cursor: inherit;
    border-radius: 50%;
    transition: all .3s;
}

.webgene-pagination>ul>li.selected>a:hover {
    color: #fff;
    background-color: var(--primary);
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a,
.webgene-pagination>ul>.next>a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 40px;
    border: 0;
    font-size: 0;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--primary);
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {
    color: #fff;
    opacity: .5;
    background-color: initial;
}


.webgene-pagination>ul>.prev>a::before,
.webgene-pagination>ul>.next>a::before {
    content: "";
    display: block;
    top: 50%;
    width: 20px;
    height: 16px;
    margin: 0 0 .3em;
    transition: all .3s;
}

.webgene-pagination>ul>.prev>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 16px 10px 0;
    border-color: transparent var(--primary) transparent transparent;
}

.webgene-pagination>ul>.next>a::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--primary);
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width: 768px) {
    .tNewsGrid section {
        grid-template-columns: repeat(4, 1fr);
    }

    .newsBxR section {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px 20px;
    }

    /* ページャー */
    .webgene-pagination>ul>li>a {
        height: 40px;
        width: 40px;
        font-size: 18px;
    }

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

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width: 1024px) {
    .tNewsGrid section {
        gap: 30px 25.6px;
    }

    .newsBxR section {
        gap: 50px 30px;
    }

    /* ---------- ぺージャーここから ---------- */

    .webgene-pagination>ul>li {
        margin: 40px 10px 0;
    }
}

/* min-width: 768px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:1920px) {

    .newsCate,
    .newsDate,
    .newsTit {
        font-size: 16px;
    }
}

/* min-width: 1920px ここまで */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */