@charset "utf-8";
/*
NEWS（お知らせ一覧・詳細）専用CSS
既存 style.css の変数・配色（#0085B2 / #ff9100 / #999 / #CCC 等）に合わせています。
style.css の後に読み込んでください。
-------------------------------------------*/

/* ページ見出しバナー
-------------------------------------------*/
.news_head {
	width: 100%;
	background-color: #0085B2;
	color: #fff;
	padding-top: 140px;
	padding-bottom: 36px;
	text-align: left;
}

.news_head .cont_wrap {
	max-width: 1200px;
}

.news_head h1 {
	font-size: 32px;
	font-weight: bold;
	letter-spacing: 0.08em;
	font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 960px) {
	.news_head {
		padding-top: 90px;
		padding-bottom: 24px;
	}
	.news_head h1 {
		font-size: 24px;
	}
}

/* お知らせ一覧タイトル
-------------------------------------------*/
.news_list_title {
	font-size: 30px;
	font-weight: bold;
	color: #1a1a1a;
	padding-bottom: 14px;
	margin-bottom: 30px;
	position: relative;
	border-bottom: 1px solid #e2e2e2;
}

.news_list_title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 48px;
	height: 3px;
	background-color: #d1465f;
}

@media screen and (max-width: 640px) {
	.news_list_title {
		font-size: 20px;
	}
}

/* カテゴリータブ
-------------------------------------------*/
.news_tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.news_tabs button {
	appearance: none;
	border: 1px solid #d5d5d5;
	background-color: #fff;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.05em;
	padding: 10px 22px;
	border-radius: 30px;
	cursor: pointer;
	font-family: "Noto Sans JP", sans-serif;
	transition: 0.2s ease;
}

.news_tabs button:hover {
	border-color: #0085B2;
	color: #0085B2;
}

.news_tabs button.is-active {
	background-color: #0085B2;
	border-color: #0085B2;
	color: #fff;
}

@media screen and (max-width: 640px) {
	.news_tabs {
		gap: 8px;
	}
	.news_tabs button {
		font-size: 13px;
		padding: 8px 16px;
	}
}

/* 一覧リスト
-------------------------------------------*/
.news_list_detail {
	margin-bottom: 40px;
}

.news_list_detail li {
	border-bottom: 1px solid #e6e6e6;
}

.news_list_detail li a,
.news_list_detail li .no_link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 6px;
	text-decoration: none;
	color: #1a1a1a;
}

.news_list_detail li a:hover {
	background-color: #f6fafb;
}
.news_list_detail li a:hover img {
	opacity: 1; /* header共通の a:hover img { opacity:.7 } を打ち消す */
}

.news_list_detail .news_date {
	flex: 0 0 auto;
	font-size: 14px;
	color: #999;
	min-width: 90px;
}

.news_list_detail .news_tag {
	flex: 0 0 auto;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	padding: 4px 12px;
	border-radius: 20px;
	min-width: 78px;
	text-align: center;
}

.news_list_detail .news_tag.cat_news {
	color: #0085B2;
	background-color: #e5f4f8;
}
.news_list_detail .news_tag.cat_works {
	color: #009999;
	background-color: #e0f5f5;
}
.news_list_detail .news_tag.cat_event {
	color: #d1732f;
	background-color: #fdefe2;
}

.news_list_detail .news_title {
	flex: 1 1 auto;
	font-size: 16px;
	line-height: 1.6;
}

.news_list_detail .news_ext_icon {
	flex: 0 0 auto;
	font-size: 14px;
	color: #0085B2;
	opacity: 0;
	transition: 0.2s ease;
}
.news_list_detail li a:hover .news_ext_icon {
	opacity: 1;
}

@media screen and (max-width: 640px) {
	.news_list_detail li a,
	.news_list_detail li .no_link {
		flex-wrap: wrap;
		gap: 8px 12px;
		padding: 16px 4px;
	}
	.news_list_detail .news_title {
		flex: 1 1 100%;
		font-size: 14px;
		order: 3;
	}
}

/* ページネーション
-------------------------------------------*/
.news_pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
}

.news_pager a,
.news_pager span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 14px;
	text-decoration: none;
	color: #333;
	border: 1px solid transparent;
}

.news_pager a:hover {
	border-color: #0085B2;
	color: #0085B2;
}

.news_pager .is-current {
	background-color: #0085B2;
	color: #fff;
	font-weight: bold;
}

.news_pager .next {
	border: 1px solid #d5d5d5;
}
.news_pager .next:hover {
	background-color: #0085B2;
	border-color: #0085B2;
	color: #fff;
}

/* 詳細ページ
-------------------------------------------*/
.news_article_head {
	max-width: 1200px;
	margin: 0 auto 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e2e2e2;
}

.news_article_head .news_date {
	font-size: 14px;
	color: #999;
	margin-right: 12px;
}

.news_article_title {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.5;
	color: #1a1a1a;
	margin-top: 12px;
}

.news_article_body {
	max-width: 1200px;
	margin: 0 auto 50px;
	font-size: 16px;
	line-height: 2;
	color: #1a1a1a;
}

.news_article_body p {
	margin: 0 0 1.6em;
	padding: 0;
}

.news_article_body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 1.6em;
	border-radius: 4px;
}

.news_back_link {
	max-width: 1200px;
	margin: 0 auto 60px;
}

.news_back_link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #0085B2;
	text-decoration: none;
	font-weight: bold;
}

.news_back_link a:hover {
	color: #ff9100;
}

@media screen and (max-width: 640px) {
	.news_article_title {
		font-size: 20px;
	}
	.news_article_body {
		font-size: 15px;
		line-height: 1.9;
	}
}
