@charset "utf-8";
/* =========================================
       2. 装飾パーツ
       ========================================= */
.ddd_color_line {
	position: absolute;
	width: 100%;
	left: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.ddd_color_line_bottom {
	bottom: 0;
}

.ddd_color_line li {
	width: 33.3333333333%;
	height: 0.4rem;
}

	.ddd_color_line li:first-of-type {
		background-color: #00a395;
	}

	.ddd_color_line li:nth-of-type(2) {
		background-color: #0085d0;
	}

	.ddd_color_line li:nth-of-type(3) {
		background-color: #00418d;
	}

.category-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px; /* タグ間の余白 */
	margin-bottom: 15px; /* タイトルとの余白 */
	padding: 0;
	list-style: none;
}

	.category-tags li {
		font-family: "Noto Sans JP", sans-serif;
		font-weight: 700;
		font-size: 14px;
		color: #004097; /* 濃い青色の文字 */
		border: 2px solid #004097;
		padding: 4px 16px; /* 内側の余白 */
		background-color: #fff;
		line-height: 1.4;
	}
/* =========================================
       3. ニュース詳細タイトルエリア
       ========================================= */

#news.single .news_single_body {
	width: 100%; /* 幅をbody（画面）いっぱいに合わせる */
	max-width: 86.8rem; /* ただし、最大でも元の86.8remまでしか広がらないように制限 */
	margin: 0 auto 0rem;
	padding: 0 2rem; /* 画面端に文字がくっつかないよう左右に余白を追加 */
	box-sizing: border-box; /* paddingを含めて幅100%になるように計算させる */
	color: #004097;
	text-align: justify;
}

@media (max-width: 639px) {
	#news.single .news_single_body {
		width: 100%; /* スマホでも画面幅に合わせる（ここが重要） */
		max-width: 31rem; /* 元のデザイン幅を上限として残す */
		margin-bottom: 0rem;
		padding: 0 1.5rem; /* スマホ用の左右余白（少し狭めに調整） */
	}
}
#news.single .news_single_ttl {
	text-align: center; /* 標準的な書き方に変更 */
	margin-bottom: 3rem;
	font-weight: bold;
	padding-top: 5rem;
}

#news.single .news_single_ttl_inner {
	position: relative;
	padding-bottom: 4rem;
	margin-bottom: 3rem;
}

#news.single h1 {
	font-size: 2.0rem;
	line-height: 1.7;
}

	#news.single h1 span {
		display: block;
		font-size: 1.7rem;
	}

#news.single .date {
	font-size: 1.0rem;
}

/* =========================================
       4. スマホ対応
       ========================================= */
@media (max-width: 639px) {
	#news.single .news_single_ttl {
		margin-bottom: 3rem;
	}

	#news.single .news_single_ttl_inner {
		padding-bottom: 2rem;
		margin-bottom: 0rem;
	}

	#news.single h1 {
		font-size: 1.3rem;
	}

		#news.single h1 span {
			font-size: 1.0rem;
		}

	#news.single .date {
		font-size: 1.0rem;
	}
}

.back_list {
	display: block;
	max-width: 400px;
	width: 100%;
	padding: 15px 20px;
	margin: 0 auto;
	box-sizing: border-box;
	color: #002060;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	background-color: #fff;
	border: 1px solid #002060;
}

@media (max-width: 639px) {
	.back_list {
		/* 幅を少し広げてタップしやすくする（好みで90%〜100%に） */
		max-width: 90%;
		/* 上下の余白を確保（指で隠れないように） */
		margin-top: 30px;
		margin-bottom: 30px;
		/* 文字サイズを少し調整（PCが16pxなので、バランスを見て14px〜15pxへ） */
		font-size: 14px;
		/* パディングを少し控えめにしてボタンの高さを抑える */
		padding: 12px 10px;
	}
}

.bottom_msg {
	padding: 140px 0 140px;
	background: url(../img/footer_line_sp.png) no-repeat left 0 bottom -1px / 100% auto;
}

	.bottom_msg p {
		text-align: center;
		font-size: 1.2rem;
		line-height: 2.0;
		font-weight: 700;
	}

.footer {
	margin-top: -1px;
	padding: 40px 0;
	background: #00a395;
	text-align: center;
}

.footer_logo {
	margin: 0 auto 20px;
	width: 242px;
}

.footer .copy {
	color: #fff;
	font-size: 0.6rem;
	font-weight: 700;
}

@media screen and (min-width: 768px) {

	.bottom_msg {
		padding: 100px 0 250px;
		background: url(../img/footer_line_pc.png) no-repeat left 0 bottom -1px / 100% auto;
	}

		.bottom_msg p {
			font-size: 1.5rem;
			line-height: 2.2;
		}

	.footer {
		margin: 0;
		padding: 60px 0;
	}

	.footer_logo {
		margin: 0 auto 20px;
	}
}
