@charset "utf-8";

.news-main section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px 10px;
}

.news-item {
    display: block;
    width: 100% !important;
    max-width: 390px;
    margin: 0 auto;
    overflow: hidden;
}

.news-link {
    width: 100%;
    height: 100%;
	color: var(--base-body-color);
}

.news-link:hover {
	color: var(--base-body-color);
}

.news-img {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 203;
    overflow: hidden;
    background: #E2E2E2;
	margin: 15px 0 0
}

.news-item .news-img img {
    transition: all .3s;
}

.news-item:hover .news-img img {
    transform: scale(1.1);
}

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

.news-img>img+.no-img {
    display: none;
}

.news-text-box {
    margin: 10px 0 0;
}

.news-cate {
    display: block;
    width: 100%;
    max-width: max-content;
    height: 25px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    display: block;
    margin: 10px 0 0;
    line-height: 1.4em;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-family02);
}

.news-title {
    margin: 9px 0 0;
    font-size: 15px;
    font-weight: bold;
    min-height: 0vw;
    line-height: 1.6em;
    letter-spacing: 0;
}

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

.news-side,
.news-main {
    width: 100%;
}

.news-side {
    margin: 30px 0 0;
}

.news-cate-title {
    padding: 6px 10px;
}

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

.cate-link {
	color: var(--base-body-color);
}

.cate-link:hover {
	color: var(--base-body-color);
    text-decoration: underline;
}

/* 下層 */

/* 詳細 */

.detail section {
    display: block;
}

.detail .news-date {
    margin: 0;
}

.news-detail .news-cate {
    position: static;
    margin: 8px 0 0;
}

.news-detail .img {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}

.news-detail .img:empty {
    display: none;
}

.detail-title {
    padding: 0 0 5px 0;
    border-bottom: 1px solid var(--base-body-color);
}

.news-detail .content {
    margin: 16px 0 0;
}

.pdf-btn {
    max-width: 300px;
    width: 100%;
    display: block;
    padding: 20px;
    border: 1px solid var(--base-body-color);
    color: var(--base-body-color);
    text-align: center;
    font-family: var(--font-family02);
    font-size: 18px;
    letter-spacing: 0.1em;
  	transition: all .3s;
}

.pdf-btn:hover {
  	color: var(--white);
    background: var(--base-body-color);
}

.pdf::before,
.back-btn::before {
    display: none;
}

.pdf p,
.back-btn 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 0 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: var(--gray);
    font-size: 15px;
    transition: all .3s;
    color: var(--white);
}

.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(--white);
    background: transparent;
}

.webgene-pagination>ul>.prev>a:hover,
.webgene-pagination>ul>.next>a:hover {
    color: var(--white);
    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(--base-body-color) 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(--base-body-color);
}


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

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

}

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

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

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

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


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

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

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

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

}

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

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

@media screen and (min-width:768px) {
	
    .news-date {
        margin: 13px 0 0;
        font-size: 15px;
    }

    .news-cate {
        font-size: 15px;
    }

    .news-title {
        font-size: 16px;
    }

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

    .news-side {
        width: 22%;
        margin: 0;
    }

    .news-main {
        width: 75%;
    }

    .news-main section {
        gap: 40px 20px;
    }


    /* 詳細 */


    .news-cate-row {
        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) {

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

    .news-date {
        font-size: 16px;
    }

    .news-cate {
        font-size: 16px;
    }

    .news-title {
        font-size: 18x;
    }


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


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

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

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

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

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

    .news-main section {
        gap: 45px;
    }
}

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

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

@media screen and (min-width:1440px) {

}

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