@charset "utf-8";
/* ==========================================================================
   WordPress ページ（お知らせ・ブログ・検索）用
   配色・フォントは css/sub.css の変数（--base-color / --green / --sub-font 等）を使う
   ========================================================================== */

/* 右向き矢印（一覧の各行） */
.newsUl .rSpan::after,
.c-link-list__link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 9px;
	height: 9px;
	border-top: 1px solid var(--green);
	border-right: 1px solid var(--green);
	transform: translateY(-50%) rotate(45deg);
}

/* --------------------------------------------------------------------------
   検索結果
   -------------------------------------------------------------------------- */
.c-link-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #DFDFDF;
}
.c-link-list__item {
	border-bottom: 1px solid #DFDFDF;
}
.c-link-list__link {
	display: flex;
	flex-direction: column;
	padding: 24px 40px 24px 0;
	position: relative;
	color: var(--base-color);
}
.c-link-list__heading {
	display: -webkit-box;
	font-family: var(--sub-font);
	font-weight: 500;
	font-size: 1.8rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.c-link-list__text {
	display: -webkit-box;
	font-size: 1.4rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   お知らせ・ブログ一覧
   -------------------------------------------------------------------------- */
main .newsUl {
	border-top: 1px solid #DFDFDF;
}
main .newsUl li {
	border-bottom: 1px solid #DFDFDF;
	margin: 0;
	padding: 0;
}
main .newsUl li::before {
	content: none;
}
.newsUl a {
	padding: 24px 0 23px 0;
	display: flex;
	align-items: flex-start;
	color: var(--base-color);
}
.newsUl .lSpan {
	margin-right: 15px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}
.newsUl .date {
	width: 93px;
	margin-right: 5px;
	font-family: var(--en-font);
	color: var(--green);
}
.newsUl .txtSpan {
	margin-right: 5px;
	border: 1px solid var(--green);
	border-radius: 20px;
	min-height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 19px;
	box-sizing: border-box;
	font-size: 1.3rem;
	color: var(--green);
}
.newsUl .rSpan {
	flex: 1;
	position: relative;
	min-height: 29px;
	box-sizing: border-box;
	padding: 3px 40px 0 0;
	line-height: 1.6;
}

@media all and (max-width: 896px) {
	.newsUl a {
		padding: 16px 0 14px 0;
		display: block;
	}
	.newsUl .lSpan {
		margin: 0 0 7px;
	}
	.newsUl .date {
		width: 100px;
		margin-right: 0;
	}
	.newsUl .txtSpan {
		min-height: 24px;
		font-size: 1.2rem;
	}
	.newsUl .rSpan {
		display: block;
		padding-right: 35px;
		line-height: 1.45;
	}
}

/* ページャー（アーカイブ一覧など） */
nav.navigation {
	margin-top: 48px;
}
.nav-links {
	display: flex;
	justify-content: space-between;
	margin-top: 32px;
}
h2.screen-reader-text {
	display: none !important;
}
.pagination {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #DFDFDF;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 0;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 1.2em;
	box-sizing: border-box;
	border-radius: 999px;
	border: 1px solid var(--green);
	background: var(--white);
	color: var(--base-color);
	font-family: var(--sub-font);
	font-size: 1.5rem;
	line-height: 1;
	text-decoration: none;
}
.pagination .page-numbers.current {
	background: var(--green);
	border-color: var(--green);
	color: var(--white);
	pointer-events: none;
}
.pagination .page-numbers.dots {
	min-width: 24px;
	height: auto;
	padding: 0;
	border: none;
	background: none;
}
.pagination .prev,
.pagination .next {
	min-width: 88px;
}
@media all and (max-width: 896px) {
	nav.navigation {
		margin-top: 32px;
	}
	.pagination {
		margin-top: 32px;
		padding-top: 24px;
	}
	.pagination .page-numbers {
		min-width: 40px;
		height: 40px;
		font-size: 1.4rem;
	}
	.pagination .prev,
	.pagination .next {
		min-width: 80px;
	}
}

/* --------------------------------------------------------------------------
   投稿詳細
   -------------------------------------------------------------------------- */
/* タイトルは長くなるため、静的ページの h1 より小さくする */
main h1.postTitle .en {
	font-size: 4rem;
	font-family: var(--en-font);
	letter-spacing: .05em;
}
main h1.postTitle .jp {
	font-size: 2.8rem;
	letter-spacing: .1em;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 5rem;
	box-sizing: border-box;
}
@media all and (max-width: 896px) {
	main h1.postTitle .en {
		font-size: 2.4rem;
	}
	main h1.postTitle .jp {
		font-size: 1.8rem;
		padding: 0 2.5rem;
	}
}

.postMeta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 4rem;
	color: var(--green);
	font-family: var(--en-font);
}
.postMeta__cat {
	border: 1px solid var(--green);
	border-radius: 20px;
	padding: 2px 16px;
	font-family: var(--base-font);
	font-size: 1.3rem;
}

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

/* 前後ナビ（お知らせ） */
.postNav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #DFDFDF;
}
.postNav__item {
	flex: 1;
	max-width: calc(50% - 8px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 20px 48px 20px 20px;
	border: 1px solid var(--green);
	border-radius: 1.2rem;
	box-sizing: border-box;
	color: var(--base-color);
	text-decoration: none;
	position: relative;
	min-height: 88px;
}
.postNav__item--prev {
	padding-left: 48px;
	padding-right: 20px;
}
.postNav__item--next {
	margin-left: auto;
	text-align: right;
}
.postNav__item--prev::before,
.postNav__item--next::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 1px solid var(--green);
	border-right: 1px solid var(--green);
}
.postNav__item--prev::before {
	left: 20px;
	transform: translateY(-50%) rotate(-135deg);
}
.postNav__item--next::after {
	right: 20px;
	transform: translateY(-50%) rotate(45deg);
}
.postNav__label {
	font-size: 1.2rem;
	font-family: var(--sub-font);
	color: var(--green);
}
.postNav__title {
	display: -webkit-box;
	font-size: 1.4rem;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.postBackBtn {
	margin-top: 6rem;
}
@media all and (max-width: 896px) {
	.postNav {
		display: block;
		margin-top: 32px;
		padding-top: 24px;
	}
	.postNav__item {
		max-width: none;
		margin: 0 0 12px;
		min-height: 72px;
	}
	.postNav__item--next {
		margin-left: 0;
		text-align: left;
		padding-left: 20px;
		padding-right: 48px;
	}
	.postBackBtn {
		margin-top: 4rem;
	}
}

/* ブログ：子カテゴリタブ */
.blogTabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 10px;
	margin: 0 0 4rem;
}
.blogTabs__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.45em 1.8em;
	border-radius: 999px;
	box-sizing: border-box;
	font-family: var(--sub-font);
	font-size: 1.6rem;
	line-height: 1.4;
	text-decoration: none;
}
.blogTabs__item:not(.is-active) {
	background: var(--white);
	border: 1px solid var(--green);
	color: var(--base-color);
}
.blogTabs__item.is-active {
	background: var(--green);
	border: 1px solid var(--green);
	color: var(--white);
}
@media all and (max-width: 896px) {
	.blogTabs {
		margin: 0 0 2.4rem;
		gap: 8px;
	}
	.blogTabs__item {
		min-height: 40px;
		padding: 0.4em 1.3em;
		font-size: 1.4rem;
	}
}
