@charset "UTF-8";

body {
	background-color: var(--bg-color--primary);
}

.main_container {
	padding-top: 120px;
	padding-bottom: 50px;
}

.news-filter_container {
	display: flex;
	max-width: 1360px;
	width: 90%;
	margin: 0 auto;
	margin-bottom: 16px;
	justify-content: space-between;
	align-items: flex-end;
}

.result-text {
	font-size: 14px;
}

.news-filter_form {
	display: flex;
	column-gap: 12px;
	justify-content: flex-end;
}

.filter-group {
	width: 186px;
}

.news-select {
	width: 100%;
	padding: 12px 16px;
	background-color: #006252;
	background-image: url(../images/news_arrow.png);
	background-repeat: no-repeat;
	background-size: 13px;
	color: #ffffff;
	font-size: 1em;
	line-height: 1.7;
}

.news_container {
	max-width: 1360px;
	width: 90%;
	margin: 0 auto;
}

.news-content-list {
	border-top: 2px solid #b5b5b5;
}

.news-content-item {
	border-bottom: 2px solid #b5b5b5;
}

.news-item-flex {
	display: flex;
	max-width: 1000px;
	margin: auto;
	padding: 30px 0;
	column-gap: clamp(0.938rem, -0.147rem + 2.26vw, 1.875rem);
}

.common_list-img {
	display: flex;
	max-width: 205px;
	background-color: #ffffff;
	justify-content: center;
	align-items: center;

	aspect-ratio: 41/30;
}
.news-img {
	max-width: max-content;
	width: 100%;
	height: 100%;

	object-position: center;
	object-fit: cover;
}

.news-info_wrap {
	width: 100%;
}

.news-info-top {
	display: flex;
	white-space: nowrap;
	align-items: center;
}
/*.news-info-top.hot_new .news-category::after {
	position: absolute;
	left: 100%;
	height: auto;
	margin-left: clamp(0.313rem, -0.049rem + 0.75vw, 0.625rem);
	background-color: transparent !important;
	color: #ff0000;
	font-weight: 500;
	font-size: clamp(0.813rem, 0.74rem + 0.15vw, 0.875rem);
	content: "NEW!";
}*/

.news-category {
	display: flex;
	position: relative;
	min-width: clamp(3.438rem, 1.269rem + 4.52vw, 5.313rem);
	margin-left: 10px;
	padding: clamp(0.188rem, 0.043rem + 0.3vw, 0.313rem) clamp(0.313rem, -0.049rem + 0.75vw, 0.625rem);
	color: #ffffff;
	font-size: clamp(0.813rem, 0.74rem + 0.15vw, 0.875rem);
	white-space: nowrap;
	justify-content: center;
	align-items: center;
}

.text_ellipsis {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;

	-webkit-line-clamp: 2;
}
@media screen and (min-width: 768px) {
	.text_ellipsis {
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

.news-content-item.hot_new h3::before {
	margin-right: 0.5em;
	color: red;
	font-family: "impact";
	font-weight: normal;
	font-size: calc(100% - 1px);
	content: "NEW!";
}

.news-title {
	color: #2b1e1d;
	font-weight: bold;
	font-size: clamp(0.938rem, 0.721rem + 0.45vw, 1.125rem);
	line-height: clamp(1.563rem, 1.418rem + 0.3vw, 1.688rem);
	transition: all 0.3s;
}
.news-title:hover {
	color: #006252;
}

.archive_pagination {
	margin-top: 70px;
}

.nav-links {
	display: flex;
	column-gap: 12px;
	justify-content: center;
	align-items: center;
}

.pages-of {
	display: none;
}

.page-numbers {
	display: flex;
	width: 45px;
	height: 45px;
	border-radius: 3px;
	font-size: 1.1875em;
	justify-content: center;
	align-items: center;
}

.page-numbers a {
	color: #434343;
}

.page-numbers.current {
	background-color: #434343;
	color: #ffffff;
}

.prev a , .next a {
	color: #434343;
	font-size: 0.9375em;
}

.next , .prev {
	width: 50px;
	padding-bottom: 16px;
	text-align: center;
}

.next {
	background-image: url(../images/news_arrow_next.png);
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: bottom;
	background-size: 100%;
}

.prev {
	background-image: url(../images/news_arrow_prev.png);
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: bottom;
	background-size: 100%;
}
@media screen and (min-width: 768px) {
	.news-item-flex {
		align-items: center;
	}
}
@media screen and (max-width: 767px) {
	.news-filter_form {
		width: 100%;
	}
	.news-filter_container {
		flex-direction: column;

		row-gap: 10px;
	}
	.news-content-list {
		display: flex;
		padding-top: 15px;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-between;

/* border-bottom: 2px solid #B5B5B5; */

		row-gap: 15px;
	}
	.news-content-item {
		width: 100%;
		padding-bottom: 15px;
	}
	.news-item-flex {
		padding: 0;
		flex-direction: column;

		row-gap: 5px;
	}
	.news-img {
		/*max-width: 100%;*/
	}
	.news-info-top {
		column-gap: 10px;
	}
	.timestamp {
		order: 2;
	}
	.news-category {
		margin-left: 0;
		order: 1;
	}
	.archive_pagination {
		margin-top: 16px;
	}
}

@media screen and (max-width: 560px) {
	.news-filter_form {
		justify-content: space-between;
	}
	.filter-group {
		width: calc(100% / 2 - 8px);
	}
	.news-select {
		padding: 9px 10px;
		font-weight: 500;
		font-size: 15px;
	}
}

/* お知らせ詳細 */

.single .main_container {
	padding-top: 240px;
	padding-bottom: 140px;
	/* background-color: #F7F7F7; */
}
@media screen and (min-width: 768px) {
	.single .main_container {
		padding-top: 240px;
		padding-bottom: 140px;
		/* background-color: #F7F7F7; */
	}
}
@media screen and (max-width: 767px) {
	.single .main_container {
		padding-top: 95px;
		padding-bottom: 55px;
		/* background-color: #F7F7F7; */
	}
}

.single-news-content_container {
	max-width: 1360px;
	width: 95%;
	margin: auto;
	padding: 95px 0;
	background-color: #ffffff;
}

.news-content-inner {
	max-width: 850px;
	width: 90%;
	margin: auto;
}

.single .news-img_wrap img {
	max-width: 100%;
	margin: auto;
}

.news-img_wrap {
	display: flex;
	margin-bottom: 60px;

/*min-width: 205px;*/
	justify-content: center;
}

.news-info-flex {
	margin-bottom: 16px;
}

.news-title-single {
	margin-bottom: 16px;
	font-size: clamp(1.25rem, -0.196rem + 3.01vw, 2.5rem);
	letter-spacing: 0.04em;
}

.news-textarea {
	font-size: 1em;
	line-height: 2;
}


/* 1. リンク（青文字・下線） */
.news-textarea a {
	color: #0000ee;
	text-decoration: underline;
}
.news-textarea a:hover {
	text-decoration: none;
}

/* 2. 番号なしリスト（・を表示） */
.news-textarea ul {
	list-style-type: disc !important; /* 強制的に「・」を表示 */
	margin: 1em 0 !important;        /* 上下に余白を作る */
	padding-left: 2em !important;    /* 左側の余白を作って記号を出す */
}
.news-textarea ul li {
	margin-bottom: 0.5em;            /* 箇条書きの行間を少し空ける */
}

/* 3. 番号付きリスト（1. 2. 3.を表示） */
.news-textarea ol {
	list-style-type: decimal !important;
	margin: 1em 0 !important;
	padding-left: 2em !important;
}

/* 4. 画像の配置（中央・右・左） */
.news-textarea .aligncenter {
	display: block;
	margin-top: 1em;
	margin-right: auto;
	margin-bottom: 1em;
	margin-left: auto;
}
.news-textarea .alignright {
	float: right;
	margin-bottom: 1.5em;
	margin-left: 1.5em;
}
.news-textarea .alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

/* 回り込み解除（重要：これがないと画像が親要素からはみ出します） */
.news-textarea::after {
	display: table;
	clear: both;
	content: "";
}

/* 5. 段落（p）の余白（もし詰まりすぎている場合） */
.news-textarea p {
	margin-bottom: 1.5em;
	line-height: 1.8; /* 読みやすい行間 */
}

.news-link-area {
	display: flex;
	max-width: 800px;
	width: 90%;
	margin: auto;
	margin-top: 60px;
	justify-content: space-between;
	align-items: center;
}

.news-back-link {
	display: flex;
	width: 340px;
	height: 60px;
	border: 2px solid #006252;
	background-color: #006252;
	color: #ffffff;
	font-weight: 700;
	font-size: 1.1875em;
	letter-spacing: 3px;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

.news-back-link:hover {
	background-color: #ffffff;
	color: #006252;
}

.prev-button {
	padding: 10px 0;
	padding-left: 30px;
	background-image: url(../images/news_prev.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 15px;
	color: initial;
}

.next-button {
	padding: 10px 0;
	padding-right: 30px;
	background-image: url(../images/news_next.png);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 15px;
	color: initial;
}

.single .pdf-area {
	margin-top: 36px;
}

.single .pdf-area a {
	display: inline-block;
	transition: all 0.3s ease;
}

.single .pdf-area a:hover {
	opacity: 0.8;
}

.single .pdf-area img {
	max-width: 200px;
}
.news-info-flex {
	display: flex;
	column-gap: 15px;
	flex-wrap: wrap;
	align-items: center;

	row-gap: 5px;
}
.single-category {
	width: fit-content;
	margin-left: 0 !important;
}

@media screen and (max-width: 767px) {
	.main_container {
		padding-top: 120px;
		padding-bottom: 50px;
	}
	.news-back-link {
		width: 200px;
	}
	.news-category.single-category {
		margin-left: 6px;
	}
	.news-img_wrap {
		margin-bottom: 15px;

/*min-width: 158px;*/
		/*width: 100%;*/
		align-items: center;

/*aspect-ratio: 4/3;*/

		object-fit: cover;
	}

	.single-news-content_container {
		width: calc(100% - 40px);
		padding: 0;
		background-color: initial;
	}
	.news-content-inner {
		width: 100%;
		padding: 30px 15px;
		background-color: #ffffff;
	}
	.news-link-area {
		width: 100%;
		margin-top: 20px;
	}
}

@media screen and (max-width: 550px) {
	.news-info-flex {
		margin-bottom: 12px;
	}
	.news-title {
		margin-bottom: 12px;
		letter-spacing: 1.5px;
	}
	.news-textarea {
		font-size: 0.9375em;
		line-height: 1.8;
	}
	.news-back-link {
		width: 122px;
		height: 36px;
		font-size: 0.875em;
	}
	.prev-button , .next-button {
		background-size: 13px;
		font-size: 0.875em;
	}
	.prev-button {
		padding-left: 22px;
	}
	.next-button {
		padding-right: 22px;
	}
}
