
/*ページタイトル*/
.aj__contents-ttl {
	position: relative;
}
.aj__contents-ttl h2 {
	color: var(--color-white);
	font-size: var(--font-size_XXL);
	font-weight: var(--font-weight_bold);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/*記事一覧*/
.aj__category_contents {
	padding-top: 0;
}
.aj__category_contents .summary_txt {
	font-size: var(--font-size_M);
    font-weight: var(--font-weight_normal);
	padding-bottom: 10px;
}
.category-entry__list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-bottom: 54px;
}
.category-entry__list li {
	width: 32%;
	background-color: var(--color-white);
	margin-bottom: 20px;
	margin-right: 2%;
}
.category-entry__list li:nth-child(3n+3) {
	margin-right: 0;
}
.category-entry__item {
	position: relative;
	display: block;
}
.category-entry__img {
	position: relative;
	overflow: hidden;
}

.category-entry__img:after {
	content: "";
	display: block;
	padding-top: 60%;
}
.category-entry__img img {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    object-fit: cover;
}
.category-entry__list li a:hover {
	opacity: 1;
}
a:hover .category-entry__img img {
	transform: scale(1.05);
	opacity: 1;
}
.category-entry__img .icon-new {
	top: 10px;
	left: 16px;
}
.category-entry__detail {
	padding: 20px;
}
.category-entry__detail .posts-list__ttl {
	margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
	.aj__category_contents .summary_txt {
		padding-bottom: 20px;
	}
	.category-entry__list ul {
		display: block;
		margin-bottom: 64px;
	}
	.category-entry__list li {
		width: 100%;
		margin-bottom: 30px;
		box-shadow: 0px 0px 10px #00000029;
		margin-right:0;
	}
	.category-entry__list .posts-list__date {
		font-size: var(--font-size_S);
		margin-right: 3%;
	}
}
@media (max-width: 1100px) and (min-width: 768px) {
	.category-entry__detail {
		padding:14px;
	}
}
@media (max-width: 980px) and (min-width: 768px) {
	.category-entry__detail .posts-list__ttl {
		font-size: var(--font-size_S);
	}
}

/*ページャー*/
.pagination .screen-reader-text {
	display: none;
}
.pagination ul.page-numbers {
	display: flex;
	justify-content: center;
}
.pagination a.page-numbers,
.pagination span.page-numbers {
	font-size: var(--font-size_M);
	font-weight: var(--font-weight_normal);
	color: var(--color-dark_blue);
	background-color: var(--color-white);
	padding: 8px 14px;
	/* line-height: 1; */
	margin: 0 6px;
}
.pagination .page-numbers.prev {
	color: var(--color-black);
	background-color: transparent;
}
.pagination .page-numbers.next {
	color: var(--color-black);
	background-color: transparent;
}
.pagination .page-numbers.current {
	color: var(--color-white);
	background-color: var(--color-dark_blue);
}
.pagination .page-numbers.dots {
	color: var(--color-black);
	background-color: transparent;
	padding: 8px 0;
}
@media screen and (max-width: 767px) {
	.pagination a.page-numbers,
	.pagination span.page-numbers {
		border-radius: 5px;
		background-color: var(--color-silver_gray);
		color: var(--color-white);
		white-space: nowrap;
	}
	.pagination .page-numbers.prev {
		padding: 8px;
	}
	.pagination .page-numbers.next {
		padding: 8px;
	}
}


/* 人気記事一覧 */

ul.popular_article li .category-entry__img::before {
	content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    background-size: contain;
    width: 69px;
    height: 69px;
	z-index: 10;
}

ul.popular_article li:nth-child(1) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_01.svg);
}
ul.popular_article li:nth-child(2) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_02.svg);
}
ul.popular_article li:nth-child(3) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_03.svg);
}
ul.popular_article li:nth-child(4) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_04.svg);
}
ul.popular_article li:nth-child(5) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_05.svg);
}
ul.popular_article li:nth-child(6) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_06.svg);
}
ul.popular_article li:nth-child(7) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_07.svg);
}
ul.popular_article li:nth-child(8) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_08.svg);
}
ul.popular_article li:nth-child(9) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_09.svg);
}
ul.popular_article li:nth-child(10) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_10.svg);
}
ul.popular_article li:nth-child(11) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_11.svg);
}
ul.popular_article li:nth-child(12) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_12.svg);
}
ul.popular_article li:nth-child(13) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_13.svg);
}
ul.popular_article li:nth-child(14) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_14.svg);
}
ul.popular_article li:nth-child(15) .category-entry__img::before {
    background-image: url(../img/category/aj_icon_rank_15.svg);
}

