@charset "utf-8";
/* 記事一覧 */
.p-article__conts{
    background: #fcfaf7;
    padding-bottom: 2rem;
}
.p-article__conts-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .6rem .2rem;
}
.p-article__conts-list-item-thum{
    width: 100%;
    aspect-ratio: 1/ 1;
    position:relative;
    margin-bottom: .2rem;
    overflow: hidden;
}
.p-article__conts-list-item-thum a{
    display: block;
    width: 100%;
    height: 100%;
}
.p-article__conts-list-item-thum img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: transform .3s ease-out;
}
.p-article__conts-list-item-thum:hover img{
    transform: scale(1.05);
}
.p-article__conts-list-item-txtWrap{
    display: flex;
    align-items: center;
    column-gap: .1rem;
    margin-bottom: .1rem;
}
/*.p-article__conts-list-categories{
    border-radius: 9999px;
    padding: .05rem .2rem;
    border: 1px solid #3e3a39;
}
.p-article__conts-list-categoriesWrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .05rem;
}*/
.post-categories{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .05rem;
}
.post-categories li a{
    border-radius: 9999px;
    padding: .05rem .2rem;
    font-size: 12px;
    border: 1px solid #3e3a39;
}
/* ページネーション */
.page-numbers{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #f3f3f3;
    border: 1px solid #f3f3f3;
    font-weight: 600;
}
.page-numbers.current{
    color: #fff;
    background-color: #86ba00;
    border: 1px solid #86ba00;
}
.nav-links{
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: .1rem;
}
.nav-links .prev,
.nav-links .next{
    display: none;
}
/* 詳細記事 */
.p-article__conts-detail{
    margin-bottom: 2rem;
}
.p-article__conts-detail-txtWrap{
    display: flex;
    justify-content: space-between;
    column-gap: .1rem;
    margin-bottom: .2rem;
}
.p-article__conts-detail-ttl{
    padding-bottom: .2rem;
    margin-bottom: .6rem;
    position: relative;
}
.p-article__conts-detail-ttl::before{
    content: '';
    width: 100%;
    height: .03rem;
    background: #d9dada;
    position: absolute;
    bottom: 0;
    left: 0;
}
.p-article__conts-detail-ttl::after{
    content: '';
    width: .8rem;
    height: .03rem;
    background: #86ba00;
    position: absolute;
    bottom: 0;
    left: 0;
}
.p-pageback{
    margin-bottom: 2rem;
}
.p-pageback .c-btn__arwWrap{
    justify-content: center;
}
/* 記事装飾 */
.article-content{
    line-height: 2;
}
.article-content a{
    background: #3e3a39;
    color: #fff;
    padding: .15rem .2rem;
}
.article-content > *:not(:last-child){
    margin-bottom: .4rem;
}
.article-content h1{
    font-size: .36rem;
}
.article-content h2{
    font-size: .28rem;
}
.article-content h3{
    font-size: .24rem;
}
.article-content h4{
    font-size: .22rem;
}
.article-content h5{
    font-size: .2rem;
}
.article-content h6{
    font-size: .18rem;
}

@media only screen and (max-width: 1024px) {
    .p-article__conts-list{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 1.5rem;
    }
    .p-article__conts-list-item-thum{
        aspect-ratio: 4 / 3;
    }
    .article-content h1{
        font-size: calc((.36rem * 100 / 50) * 0.6);
    }
    .article-content h2{
        font-size: calc((.28rem * 100 / 50) * 0.7);
    }
    .article-content h3{
        font-size: calc((.24rem * 100 / 50) * 0.8);
    }
    .article-content h4{
        font-size: calc((.22rem * 100 / 50) * 0.9);
    }
    .article-content h5{
        font-size: calc((.2rem * 100 / 50) * 0.9);
    }
    .article-content h6{
        font-size: calc((.18rem * 100 / 50) * 0.9);
    }
}
