@charset "UTF-8";
/* news.css */


/* ===== 追加の共通設定 ===== */
main h2 {
	margin-bottom: 2.2em;
}
h3 {
	margin-bottom: 50px;
	color: #009e96;
}
h4 {
	margin-bottom: 2em;
	color: #009e96;
}
main p {
	word-break: break-all;
}


/* ===== ファーストビュー テキスト 設定 ===== */
h1 .img_mask:before {
	background-image: url(../../img/news/h1_news_anim.svg);
}



/* ========== ▼ NEWS 一覧ページの記述 ▼ ========== */
#sec_news_all .wrap {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}

/* --- お知らせ一覧 --- */
.news_all {
	width: calc(100% - clamp(170px,17vw,250px));
	padding-left: min(5vw,200px);
}
.news_wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
}
.news_card {
	width: calc(100%/2 - 4%/2);
	margin-right: 4%;
	padding: 30px;
	padding: clamp(15px,1.5vw,30px) clamp(15px,1.5vw,30px) clamp(20px,2vw,30px);
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin-bottom: 4%;
}
.news_all .news_card:nth-of-type(even) {
	margin-right: 0;
}
.news_card .img_wrap {
	margin-bottom: 30px;
	margin-bottom: clamp(15px,1.5vw,30px);
	border: 1px solid #009e96;
	aspect-ratio: 30 / 11;
	overflow: hidden;
	flex: none;
}
.news_card .img_wrap img {
	width:  100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

/* 日付・タグ */
.news_card dt {
	line-height: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
}
.news_date {
	font-size: 12px;
	letter-spacing: .05em;
	color: #999;
	margin-right: .5em;
}
.news_tag {
	font-size: 12px;
	line-height: 1;
	display: inline-block;
	padding: .35em .75em;
	color: #009e96 !important;
	border: 1px solid #009e96;
	border-radius: 50px;
}
/* タイトル */
.news_card .news_cont {
	font-size: 16px;
	font-size: clamp(13px,1.3vw,16px);
	line-height: 1.7;
	margin-top: .5em;
}
/* 矢印 装飾 */
.news_info {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
}
.news_info:after {
	content: "";
	width:  14px;
	height: 14px;
	min-width:  14px;
	min-height: 14px;
	display: block;
	align-self: flex-end;
	margin-left: .5em;
	background-image: url(../../img/common/news_arrow.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}


/* --- サイドバー --- */
.news_aside {
	width: 17vw;
	max-width: 250px;
	min-width: 170px;
}
.news_aside dl + dl {
	margin-top: 90px;
	margin-top: clamp(45px,4.5vw,90px);
}
.news_aside dt,
.news_aside dd {
	font-size: 16px;
	font-size: clamp(13px,1.3vw,16px);
}
.news_aside dt {
	line-height: 1;
	text-align: center;
	padding: .75em;
	color: #fff;
	background-color: #009e96;
}
.news_aside dd a {
	font-size: 1em;
	line-height: 1.3;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 1em;
	border-bottom: 1px solid #ccc;
}
.news_aside a:before {
	content: "";
	width:  .75em;
	height: .75em;
	min-width:  .75em;
	min-height: .75em;
	display: block;
	margin-right: .5em;
	background-image: url(../../img/common/head_sankaku.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transform: translateY(.35em);
	opacity: 0;
}
.news_aside a.active:before,
.news_aside dd.active a:before {
	opacity: 1;
}


/* --- ページネーション --- */
.wp-pagenavi {
	width: 100%;
	font-size: 14px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
}
.wp-pagenavi * {
	font-size: 1em;
	line-height: 1;
	letter-spacing: 0;
}
.wp-pagenavi .page,
.wp-pagenavi .current {
	width:  1.8em;
	height: 1.8em;
	min-width:  1.8em;
	min-height: 1.8em;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left:  .25em;
	margin-right: .25em;
	color: #fff;
	background-color: #009e96;
	border-radius: 50px;
}
.wp-pagenavi .page {
	background-color: #ccc;
	transition: background-color .3s;
}
.wp-pagenavi .page:hover {
	background-color: #009e96;
}
.previouspostslink,
.nextpostslink {
	width:  1em;
	height: 1em;
	min-width:  1em;
	min-height: 1em;
	color: transparent !important;
	background-image: url(../../img/common/news_prev.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
.previouspostslink {
	margin-right: .45em;
}
.nextpostslink {
	margin-left: .45em;
	background-image: url(../../img/common/news_next.svg);
}





/* ========== ▼ NEWS 個別ページの記述 ▼ ========== */
#article .news_date {
	font-size: 14px;
	margin-bottom: 1em;
}
#article .news_tag {
	font-size: 16px;
	padding: .25em .75em;
	margin-left: -2px;
	margin-bottom: 1em;
}
#article h1 {
	width: 100%;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
	text-align: justify;
	margin-bottom: 1.25em;
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
}


/* --- 記事 本文レイアウト --- */
.article_cont {
	font-size: 16px;
}
.article_cont img {
	width: 100%;
}
.article_cont > * {
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: .15em;
}
.article_cont > * + * {
	margin-top: 1.5em;
}
.article_cont a {
	text-decoration: underline !important;
}

/* --- 記事 動画を掲載 --- */
.article_cont iframe {
	width:  100%;
	height: auto;
	aspect-ratio: 16/9;
}


/* ---------- ▼ 記事 見た目のオプション ---------- */
/* イタリック */
.article_cont em {
	color: #000;
}
/* リスト */
.article_cont ul li {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}
.article_cont ul li:before {
	content: "・";
	padding-left: .15em;
	padding-right: .5em;
}
.article_cont li {
	font-size: 1em;
}
.article_cont li + li {
	margin-top: .25em;
}
/* 番号付きリスト */
.article_cont ol {
  list-style-position: inside;
}
.article_cont ol li {
	list-style-type: auto;
	text-indent: -1.4em;
	padding-left: 1.4em;
}
/* --- 見出しテキスト --- */
#article .article_cont h1,
#article .article_cont h2,
#article .article_cont h3,
#article .article_cont h4,
#article .article_cont h5,
#article .article_cont h6 {
	font-weight: normal;
	margin-bottom: .35em;
	padding-bottom: 0 !important;
	border-bottom: none !important;
	color: #000;
}
/* h1 */
.article_cont h1 {
	font-size: 2em !important;
}
.article_cont h1 + p {
	opacity: 1;
	transform:  none !important;
	transition: none !important;
	transition-delay: none !important;
}

/* h2 */
.article_cont h2 {
	font-size: 1.5em !important;
}
.article_cont h2:before {
	content: none !important;
}
/* h3 */
.article_cont h3 {
	font-size: 1.25em;
}
/* h4 */
.article_cont h4 { 
	font-size: 1.125em;
}
/* h5 */
.article_cont h5 {
	font-size: 1em;
}
/* h6 */
.article_cont h6 {
	font-size: .875em;
}




/* ---------- ▲ 記事 見た目のオプション ---------- */






/* --- 前次の記事・一覧へ戻る --- */
.bm_sp {
	display: none !important;
}
.back-more {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}
.backmore_page a {
	width: fit-content;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
}
.prev_news a:before,
.next_news a:after  {
	content: "";
	width:  1em;
	height: 1em;
	min-width:  1em;
	min-height: 1em;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.prev_news a:before {
	margin-right: .5em;
	background-image: url(../../img/common/news_prev.svg);
}
.next_news a:after {
	margin-left: .5em;
	background-image: url(../../img/common/news_next.svg);
}

@media screen and (min-width:769px) {
	.backmore_page {
		min-width: 7em;
	}
}




/* --- 最新記事 --- */
.sec_maru:before {
	background-image: url(../../img/common/lower_maru_green.svg);
}
.pickup_news h2 {
	width: 100%;
	text-align: center;
	justify-content: center;
	color: #fff;
}
.pickup_news h2:before {
	content: none;
}
.pickup_news h2 img {
	object-position: center;
}

/* PICK UP記事 3つ分 */
.pickup_news .news_wrap {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
}
.pickup_news .news_card {
	width: calc(100%/3 - 2%/1.5);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	margin-right: 2%;
	margin-bottom: 0 !important;
}
.pickup_news .news_card:nth-of-type(3n) {
	margin-right: 0;
}
.pickup_news .news_info {
	height: 100%;
}





@media screen and (max-width:768px) {
	/* ===== 追加の共通設定 ===== */
	.mv_wrap {
		padding-bottom: 40px;
	}
	h1 {
		margin-bottom: 0;
	}


	/* ========== ▼ NEWS 一覧ページの記述 ▼ ========== */
	/* --- お知らせ一覧 --- */
	#sec_news_all .wrap {
		width: 100%;
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}
	.news_all {
		width: 100%;
		padding-left: 0;
	}
	.news_card {
		margin-bottom: 20px;
		padding: 20px;
	}


	@media screen and (max-width:540px) {
		/* card wrap */
		.news_wrap {
			max-width: 450px;
			margin-left:  auto;
			margin-right: auto;
		}
		.news_card {
			width: 100%;
			margin-right: 0;
		}
		.news_card:last-of-type {
			margin-bottom: 40px;
		}
		/* card 中身 */
		.news_card .news_cont {
			font-size: 14px;
		}
	}


	/* --- サイドバー --- */
	.news_aside {
		width: 100%;
		max-width: inherit;
		min-width: inherit;
		margin-top: 10px;
	}
	.news_aside dt {
		font-size: 16px;
	}
	.news_aside dd {
		font-size: 14px;
	}



	/* ========== ▼ NEWS 個別ページの記述 ▼ ========== */
	/* --- 記事 本文レイアウト --- */
	#article h1 {
		font-size: 20px;
	}
	.article_info {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: flex-start;
	}
	#article .news_tag {
		margin-left: 5px;
	}
	.article_cont,
	.article_cont > * {
		font-size: 14px;
	}




	/* --- 前次の記事・一覧へ戻る --- */
	.bm_pc { display:none !important; }
	.bm_sp {
		display: inline-block !important;
	}
	.bm_sp .prev_next_wrap {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
	}
	.backmore_page a {
		font-size: 14px;
	}
	.bm_sp .backmore_page {
		width: fit-content;
	}
	/* ボタン */
	.back-more .btn_back {
		text-align: center;
	}


	/* --- 最新記事 --- */
	.pickup_news h2 {
		margin-bottom: 1.5em;
	}
	.sec_maru:before {
		background-image: url(../../img/common/lower_maru_green_sp.svg);
	}
	/* PICK UP記事 3つ分 */
	.pickup_news .news_wrap {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.pickup_news .news_card {
		width: calc(100%/2 - 4%/2);
		margin-right: 4%;
	}
	.pickup_news .news_card:nth-of-type(even) {
		margin-right: 0;
	}
	.pickup_news .news_card:nth-of-type(n+3)  {
		margin-top: 4%;
	}



	@media screen and (max-width:540px) {
		/* --- 最新記事 --- */
		.pickup_news h2 {
			margin-bottom: 1em;
		}
		/* PICK UP記事 3つ分 */
		.pickup_news .news_card {
			width: 100%;
			margin-top:   0 !important;
			margin-right: 0 !important;
		}
		.pickup_news .news_card + .news_card {
			margin-top: 20px !important;
			margin-bottom: 0 !important;
		}

	}


}
