@charset "UTF-8";

.content__head{
	background-image: url(../img/about/head_img.jpg);
}

.news_list{

	a{
		width: 900px;
		height: 120px;
		display: flex;
		align-items: center;
		border-bottom: 1px solid #000;
		margin: 0 auto;
		position: relative;

		.date{
			width: 215px;
			font-size: 18px;
			font-weight: 700;
		}
		.txt{
			width: 530px;
			font-size: 18px;
			line-height: 1.55;
			text-align: justify;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			overflow: hidden;
		}

		&::after{
			content: '';
			width: 40px;
			height: 40px;
			background: url(../img/top/news_arrow.svg) center / 100% no-repeat;
			margin-left: auto;
		}
	}
}

.news_empty{
	text-align: center;
	font-size: 18px;
}

.wp-pagenavi,
.news_pagenavi{
	width: 900px;
	margin: 80px auto 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.wp-pagenavi a,
.wp-pagenavi span,
.news_pagenavi .page-numbers{
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	background-color: #fff;
}

.wp-pagenavi .current,
.news_pagenavi .page-numbers.current{
	background-color: #d50000;
	border-color: #d50000;
	color: #fff;
}

.wp-pagenavi .pages{
	border: none;
	min-width: auto;
	padding: 0 8px 0 0;
	font-weight: 400;
}

/*--------------------PC--------------------*/
@media all and (min-width:681px){
	.news_list{

		a:hover{
			opacity: 1;

			.txt{
				text-decoration: underline;
			}
		}
	}

	.wp-pagenavi a:hover,
	.news_pagenavi .page-numbers:hover{
		opacity: 1;
		background-color: #d50000;
		border-color: #d50000;
		color: #fff;
	}
}

/*--------------------SP--------------------*/
@media all and (max-width:680px){
	.news_list{

		a{
			width: 100%;
			height: auto;
			display: block;
			border-bottom: 1px solid #000;
			margin: 0 auto;
			padding: 25px 0;
			position: relative;

			.date{
				width: 100%;
				font-size: 16px;
			}
			.txt{
				width: calc(100% - 60px);
				font-size: 14px;
				margin-top: 0.75em;
			}

			&::after{
				width: 30px;
				height: 30px;
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				right: 0;
			}
		}
	}

	.news_empty{
		font-size: 16px;
	}

	.wp-pagenavi,
	.news_pagenavi{
		width: 100%;
		margin: 40px auto 0;
		gap: 6px;
	}

	.wp-pagenavi a,
	.wp-pagenavi span,
	.news_pagenavi .page-numbers{
		min-width: 36px;
		height: 36px;
		padding: 0 8px;
		font-size: 14px;
	}
}
