/*------------------------------------------------------------------------------
news
------------------------------------------------------------------------------*/
*{
	font-size: 2rem;
}
.pageimg{
    background: url(../../img/news/pageimg_bg.webp) no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .pageimg{
        background: url(../../img/news/pageimg_bg_sp.webp) no-repeat center;
        background-size: cover;
        padding: 8.4rem 2rem!important;
    }
	
	*{
	font-size: 1.4rem;
}
}



/*------------------------------------------------------------------------------
section01
------------------------------------------------------------------------------*/
.p-news__item{
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin-bottom: 2.4rem;
}

@media screen and (max-width: 768px) {
    .p-news__item{
        gap: 1.2rem;
        margin-bottom: 0.8rem;
    }
}

ul.p-news__list li{
    margin-bottom: 12rem;
}

@media screen and (max-width: 768px) {
    ul.p-news__list li{
        margin-bottom: 6rem;
    }
}

ul.p-news__list li:last-child{
    margin-bottom: 0;
}

.p-news__item-date{
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .p-news__item-date{
        font-size: 1.2rem;
    }
}

img:is([sizes=auto i],[sizes^="auto," i]){
	contain-intrinsic-size: auto 500px!important;
}
.p-news__category{
    font-size: 2rem;
    color: #0016D9;
    text-align: center;
    border: 1px solid #0016D9;
    padding: 0.4rem 1rem;
}

@media screen and (max-width: 768px) {
    .p-news__category{
        font-size: 1.2rem;
        padding: 0.2rem 0.8rem;
    }
}

.p-news__section01 h3.p-title a{
    font-size: 3.6rem;
}


.p-news__section01 h3.p-title a:hover{
	opacity: 0.6;
}

@media screen and (max-width: 768px) {
    .p-news__section01 h3.p-title a{
        font-size: 1.6rem;
    }
}

.p-news__item-image{
    margin-top: 4.8rem;
    margin-bottom: 2.4rem;
}

.p-news__item-image img{
    width: auto;
    height: auto;
    object-fit: cover;
    max-width: 100%;
}

ul.p-news__list li p a,.external-link{
    color: #0016D9;
    text-decoration: underline;
    display: inline-block;
}

.p-news__item-content p{
    line-height: 4rem;
	font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .p-news__item-content p{
        line-height: 2.5rem;
		font-size: 1.4rem;
    }
}

ul.p-news__list li p a:hover.external-link:hover{
    text-decoration: none;
}

ul.p-news__list table{
    margin: 4.8rem 0;
}

@media screen and (max-width: 768px) {
    ul.p-news__list table{
        margin: 2.4rem 0;
    }
}

ul.p-news__list li table tr{
    display: block;
    margin-bottom: 2.4rem;
}

ul.p-news__list li table th,
ul.p-news__list li table td{
    font-size: 2rem;
    text-align: left;
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    ul.p-news__list li table th,
    ul.p-news__list li table td{
    font-size: 1.4rem;
}
}

ul.p-news__list li table th{
    width: 30rem;
}

@media screen and (max-width: 768px) {
    ul.p-news__list li table th{
        margin-right: 2.4rem;
        width: 13rem;
        vertical-align: baseline;
    }
}

.p-news__pagination{
    display: flex;
    justify-content: space-between;
    margin-top: 12rem;
}

@media screen and (max-width: 768px) {
    .p-news__pagination{
        margin-top: 6rem;
    }
}

.p-news__pagination .contact_btn{
    width: 30rem!important;
    margin: 0!important;
}

@media screen and (max-width: 768px) {
    .p-news__pagination .contact_btn{
        width: 15rem!important;
    }

    .p-news__pagination .contact_btn a{
        font-size: 1.2rem!important;
    } 

    .p-news__pagination .contact_btn a::after{
        width: 1.2rem!important;
        height: 1.2rem!important;
        right: 1.8rem!important;
        top: 1.7rem!important;
    }
}

.prev-link a::after{
    transform: rotate(-180deg);
    left: 3.2rem;
    right: auto;
}

@media screen and (max-width: 768px) {
    .prev-link::after{
        left: 1.8rem;
    }
}

.-margin{
    margin-top: 4.8rem;
}

@media screen and (max-width: 768px) {
    .-margin{
        margin-top: 2.4rem;
    }
}

.-news_btn{
    margin-top: 8rem!important;
}

@media screen and (max-width: 768px) {
    .-news_btn{
        margin-top: 4rem!important;
    }
}

html :where(img[class*=wp-image-]){
	width: auto;
}