@charset "utf-8";
img.noimage {
    filter: grayscale(1);
    background: var(--gray-100);
}
.article_tab{
    margin-bottom: 6rem;
    flex-wrap: nowrap;
    border-bottom: 0.1rem solid;
}
.article_tab-item{
    font-size: 2rem;
    text-align: center;
    display: block;
    width: 100%;
    color: var(--gray-100);
    padding:0.8rem 1rem;
}
.article_tab-item.current{
    background-color: var(--black);
    color: var(--white);
}
.article_wrap{
    display: flex;
    gap: 6rem 2rem;
    flex-wrap: wrap;
}
.archive_item{
    width: calc(100% / 3 - 2rem);
}
.archive_item > a{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article_thumbnail {
    width: 100%;
    height: 20rem;
    box-shadow: 0 0 1px hsl(0deg 0% 0% / 50%);
}
.article_thumbnail img:not(.noimage){
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
.article_thumbnail:has(img.noimage){
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.article_desc{
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-block: 2rem 1rem;
    align-items: center;
}

.article_cat{
    border: 0.1rem solid;
    display: inline-block;
    font-size: 1rem;
    padding: 0.5rem 0.5rem 0.35rem 0.5rem;
    line-height: 1;
    color: var(--gray-400);
}
.article_date{
    font-size: 1.2rem;
}
.article_ttl{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
}
.article_excerpt{
    font-size: 1.3rem;
    word-break: break-all;
    line-height: 1.6;
    margin-bottom: 2.4rem;
}
.article_more_btn{
    font-size: 1.2rem;
    position: relative;
    margin-top: auto;
    max-width: 10rem;
    color:  var(--gray-400);
}
.article_more_btn:before{
    content: '';
    height: 0.1rem;
    width: 2rem;
    background-color: var(--black);
    display: block;
    position: absolute;
    top: 0.8rem;
    right: 0;
}
.article_more_btn:after{
    content: '';
    height: calc(10px / 2* tan(60deg));
    width: 5px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    display: block;
    background: var(--gray-400);
    position: absolute;
    transform: rotate(90deg);
    top: 3.8px;
    right: 0;
}
@media screen and (max-width: 768px) {
    .archive_item{
        width: calc(100% / 2 - 1rem);
    }
}
@media screen and (max-width: 600px) {
    .archive_item{
        width: 100%;
    }
}

/* /news/ お知らせ
-------------------------------------------- */
.news .article_wrap{
    display: block;
}
.news .archive_item{
    width:100%;
}
.news .article_item .data {
        grid-template-columns: 12rem auto;
    }
}
@media screen and (max-width: 768px) {
    .cont-top-news .article_item .data {
        grid-template-columns: 8rem auto;
        gap: 0.5rem 0;
    }
}
.news .article_cat .cat-item {
    color: var(--blue);
    border: 0.1rem solid;
    border-radius: 3rem;
    font-size: 1.2rem;
    padding: 0.25rem 0.6rem 0.2rem;
    line-height: 1;
    display: block;
    margin-top: 0.4rem;
    text-align: center;
    background-color: var(--lightblue);
}
.news .article_item a {
    display: block;
    border-bottom: 0.1rem solid var(--gray-100);
    padding-block: 2.4rem;
}
.news .article_item .data {
    display: grid;
}
.news .article_tab + .article_wrap .article_cat{
    border: none;
    padding:0;
}

@media screen and (min-width: 769px) {
    .news .article_item .data {
        grid-template-columns: 12rem auto;
    }
}
.news .article_date {
    font-size: 1.4rem;
    color: var(--gray-300);
}

@media screen and (min-width: 769px) {
    .article_wrap .article_date {
        grid-column: 1 / 3;
    }
}

.news .article_wrap .article_cat{
    width: 10rem;
    border: none;
    padding: 0;
}

@media screen and (min-width: 769px) {
    .article_wrap .article_cat {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
}
.article_wrap .article_ttl {
    font-weight: normal;
}
@media screen and (min-width: 769px) {
    .article_wrap .article_ttl {
        width: calc(100% - 10rem - 2rem);
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}
@media screen and (max-width: 768px) {
    .article_wrap .article_ttl {
        grid-column: 1 / 3;
    }
}

/* singleページ
-------------------------------------------- */
.single-wrap{
    width:min(80rem,100%);
    margin-inline: auto;
    word-break: break-all;
}
.single-wrap .article_ttl{
    font-size: 2.8rem;
}
.single-wrap .article_thumbnail{
    height: auto;
    margin-bottom: 3rem;
}
/* ページャー
-------------------------------------------- */
.wp-pagenavi{
    margin-block: 2.4rem;
    text-align: center;
}
.wp-pagenavi > span.pages{
    display: none;
}
.wp-pagenavi a, .wp-pagenavi span{
    border: none !important;
    font-size: 2rem;
    font-weight: 100 !important;
}
.wp-pagenavi .page,
.wp-pagenavi .current{
    padding-inline: 1rem !important;
}
.wp-pagenavi .page{
    color: var(--gray-200);
}
.wp-pagenavi .nextpostslink[rel="next"]:before,
.wp-pagenavi .previouspostslink[rel="prev"]:before{
    content: '';
    width: 2rem;
    height: 1.5rem;
    display: inline-block;
    background:url(../images/common/arrow-pager.svg) center / contain no-repeat;
}
.wp-pagenavi .previouspostslink[rel="prev"]:before{
    transform: scaleX(-1);
}
.wp-pagenavi .nextpostslink[rel="next"]:before{
}