@charset "utf-8";


.tNewsBx section,
.newsFlMain section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px 15px;
}

.newsItem {
    display: block;
    width: 100% !important;
    max-width: 390px;
    margin: 0 auto;
}

.newsLink {
    overflow: hidden;
}

.newsItem .newsImg img {
    transition: all .3s;
}

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

.newsImg {
    position: relative;
    width: 100%;
    aspect-ratio: 74 /45;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}


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

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

.newsCate {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    max-width: max-content;
    height: 30px;
    padding: 3px 32px;
    background: var(--seventh);
    color: var(--white);
    /* 14-16px */
    font-size: calc(0.875rem + ((1vw - 3.75px) * 0.1294));
    min-height: 0vw;
    line-height: 1.5em;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.newsTit {
    margin: 5px 0 0;
    color: var(--black);
    /* 14-16px */
    font-size: calc(0.875rem + ((1vw - 3.75px) * 0.1294));
    min-height: 0vw;
}

/* 下層 */
.newsFl {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
}

.newsFlSide,
.newsFlMain {
    width: 100%;
}

.newsCateTit {
    padding: 10px;
    background: var(--quaternary);
    color: var(--white);
}

.newsCateTit:nth-of-type(n + 2) {
    margin: 20px 0 0;
}

.cateLink {
    color: var(--black);
}

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

/* 下層 */

/* 詳細 */

.detail section {
    display: block;
}

.detail .newsDate {
    margin: 0;
}

.newsDtl .newsCateFl {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsDtl .newsCate {
    position: static;
}

.newsDtl .img {
    display: flex;
    justify-content: center;
}

.pdf::before,
.backBtn::before {
    display: none;
}

.pdf p,
.backBtn p {
    margin: 0;
}

/* 詳細 */

/*  ページャー */

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

.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(--black);
}

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

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

.webgene-pagination>ul>li.selected>a:hover {
    color: #fff;
    background-color: var(--black);
    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(--black);
}

.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(--black) 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(--black);
}


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


    /* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
}

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

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

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


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

    .newsFlMain section {
        grid-template-columns: repeat(2, 1fr);
    }

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

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




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

    .tNewsBx section {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsDate {
        margin: 12px 0 0;
    }


    /* 下層 */
    .newsFl {
        flex-direction: row;
        align-items: flex-start;
    }

    .newsFlSide {
        width: 22%;
    }

    .newsFlMain {
        width: 75%;
    }

    .newsFlMain section {
        gap: 40px 20px;
    }


    /* 詳細 */


    .newsCateFl {
        flex-direction: row;
        align-items: center;
    }

    /* ページャー */

    .webgene-pagination>ul>li>a {
        height: 40px;
        width: 40px;
        font-size: 18px;
    }


}

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

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

    .newsFlMain section {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

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

    .newsFlMain section {
        gap: 45px;
    }
}

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