@charset "utf-8";
/* お知らせの記事（ブログの記事でも使う） */

/* ボタン */
.btn1{
	width: 300px;
}





/* ページの見出し */
.main{
	width: 100%;
	height: 350px;
	background-image: url("../img/page/main.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: #cdf4ff;
	position: relative;
}

.main_title{
	padding-top: 180px;
	text-align: center;
	color: #ffffff;
	font-size: 36px;
	font-family: 'Shippori Mincho', 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', serif;
	font-weight: 700;
	line-height: 1.4;
	text-shadow: 0 0 10px rgba(0, 50, 82, 0.5);
}





/* パンくず */
.breadcrumb_01 {
	background-color: #f4f7f9;
	padding: 10px 0px;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.breadcrumb li:not(:last-of-type)::after {
	content: ">";
	margin: 0 .6em; /* 記号の左右の余白 */
	color: #003252; /* 記号の色 */
}

.name a{
	color: #003252;
}

.name a:hover{
	opacity: 0.7;
	text-decoration: underline;
}





/* 記事 */
.NEWS{
	display: flex;
	align-items: flex-start;
}

.news_main{
	flex: 1;
	min-width: 0;
}

.news01{
	margin-top: 90px;
}

.date{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-bottom: 10px;
}

.date01{
	font-size: 24px;
	color: #003252;
}

.date02{
	color: #003252;
	background-color: #ffffff;
	border: 1px solid #003252;
	padding: 1px 18px;
}

.date02:empty{
	display: none;
}

/* 記事のタイトル */
.news01 .title{
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	color: #000000;
	text-align: left;
	border-bottom: 1px solid #8c979e;
	padding-bottom: 5px;
	margin-bottom: 13px;
}

.news_body p{
	margin-top: 1em;
}

.news_img{
	margin: 20px 0;
	text-align: center;
}

.news_img img{
	max-width: 100%;
	height: auto;
}





/* サイド */
.side_main{
	width: 300px;
	flex-shrink: 0;
	margin-left: 40px;
	margin-top: 60px;
}

.side{
	background-color:#f4f7f9;
	height: auto;
	margin-top: 30px;
	padding: 35px;
	border-radius: 20px;
}

.side a{
	color: #18293e;
}

.side a:hover{
	opacity: 0.7;
}

.side_title{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #003252;
}

.side_text{
	background-color: #ffffff;
	border-radius: 5px;
	padding: 10px;
	font-size: 14px;
	margin-top: 20px;
}

.side_text p{
	font-size: 14px;
}

.archive{
	display: flex;
	justify-content: space-between;
}





/* 前後の記事 */
.pagination_news{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 20px;
	margin-top: 60px;
}

.pagination_news .prev a,
.pagination_news .next a,
.pagination_news .news_01 a{
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	height: 40px;
	background-color: #ffffff;
	color: #003252;
	border: 1px solid #003252;
}

.pagination_news .news_01 a{
	width: 180px;
	color: #ffffff;
	background-color: #003252;
}

.pagination_news a:hover{
	opacity: 0.7;
}

.prev01{
	margin-right: 10px;
	font-size: 12px;
}

.next01{
	margin-left: 10px;
	font-size: 12px;
}




@media screen and (max-width: 1300px){

	/* 記事とサイドを縦に並べる */
	.NEWS{
		display: block;
	}

	.news01{
		margin-top: 60px;
	}

	.date01{
		font-size: 20px;
	}

	.date02{
		font-size: 14px;
	}

	.news01 .title{
		font-size: 20px;
	}

	.side_main{
		width: 100%;
		margin: 30px 0 0;
	}
}




@media screen and (max-width: 750px) {

	/* ボタン */
	.btn1{
		margin-top: 30px;
	}

	/* ページの見出し */
	.main{
		height: auto;
		margin-top: 80px;
	}

	.main_title{
		padding-top: 35px;
		padding-bottom: 35px;
		font-size: 24px;
	}

	/* パンくず */
	.breadcrumb li {
		font-size: 14px;
	}

	/* 前後の記事 */
	.pagination_news{
		gap: 0 5px;
	}

	.pagination_news .prev a,
	.pagination_news .next a,
	.pagination_news .news_01 a{
		width: 100px;
		font-size: 12px;
	}

	.side{
		padding: 25px 20px;
	}
}
