@charset "UTF-8";

.wrap.lower {
	padding: 47px 0 140px;
	text-align: center;
}

.btns {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 32px auto 0 230px;
	padding-right: 5%;
}

@media screen and (max-width: 1000px) {
	.btns {
		margin: 32px auto 0;
		padding-right: 0;
		width: 90%;
	}
}

.btns a {
	border: 1px solid #5EAC97;
	border-radius: 30px;
	box-sizing: border-box;
	color: #5EAC97;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1;
	padding: 7px;
	width: 140px;
	transition: .3s;
}

.btns a.news-others {
	gap: 8px;
}

.btns a:hover {
	background: #5EAC97;
	color: #fff;
}

.btns a:hover svg path {
	fill: #fff;
}

/* 記事一覧 */

.news-wrap {
	margin: 87px auto 0;
	width: 90%;
	max-width: 1008px;
}

.news-wrap article {
	position: relative;
}

.news-wrap article a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.news-wrap .cat-name {
	background: #6DBBA6;
	border-radius: 40px 40px 40px 0;
	color: #fff;
	display: block;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: .03em;
	padding: 6px 22px;
	position: absolute;
	top: -28px;
	width: max-content;
	z-index: 1;
}

.news-wrap article div {
	background: #F3F3F3;
	border-radius: 0 10px 10px 10px;
	display: flex;
	gap: 33px;
	margin-top: 22px;
	padding: 23px 42px 19px;
	position: relative;
	transition: .3s;
}

.news-wrap article div:first-child {
	margin-top: 0;
}

.news-wrap article div::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 26px;
	background: url(../img/arrow-w.svg) no-repeat;
	background-size: contain;
	width: 25px;
	height: 25px;
}

.news-wrap article div:has(a:hover) {
	background: #FCFCFC;
}

.news-wrap .date {
	color: #858585;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .01em;
}

.news-wrap h3 {
	color: #3D3D3D;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.875;
}

/* 年archive */

.links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 30px auto 0;
	width: 90%;
	max-width: 1008px;
}

.year {
	display: flex;
	gap: 20px;
}

.year a {
	color: #43937D;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.875;
}

/* ページャー */

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
}

.page-numbers {
	background: #fff;
	border: 1px solid #5EAC97;
	border-radius: 50%;
	box-sizing: border-box;
	color: #747474;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	line-height: 39px;
	width: 39px;
	height: 39px;
}

.page-numbers.current {
	background: #5EAC97;
	color: #fff;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
	background: none !important;
	border: none;
	width: auto;
	height: auto;
}

.nav-links .page-numbers.prev {
	transform: rotate(180deg);
}

/* 記事詳細 */

.title {
	margin: 63px auto 43px;
	width: 90%;
	max-width: 1008px;
}

.title .date {
	color: #747474;
	font-size: 14px;
	text-align: left;
}

.title h2 {
	border-top: 1px solid #43937D;
	border-bottom: 1px solid #43937D;
	color: #3D3D3D;
	font-size: 18px;
	font-weight: 500;
	text-align: left;
	padding: 14px 18px 22px;
}

.thumbnail img {
	border-radius: 10px;
	margin-top: 23px;
	width: 100%;
}

.content {
	text-align: left;
	margin: 0 auto;
	width: 90%;
	max-width: 1008px;
}

.content p {
	color: #3D3D3D;
	font-display: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2;
	text-align: left;
	margin-bottom: 37px;
}

.content .btn {
	text-align: center;
}

/* ブロックエディタ */
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	color: #3D3D3D;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.11;
}

.content h2 {
	background: #ECF9F6;
	border-radius: 10px;
	margin-bottom: 24px;
	padding: 18px 17px;
}

.content h3 {
	border-top: 1px solid #43937D;
	border-bottom: 1px solid #43937D;
	padding: 14px 18px 22px;
	margin-bottom: 25px;
}

.content h4 {
	background: #FFEDEB;
	border-radius: 10px;
	margin-bottom: 8px;
	padding: 18px 17px;
}

.content h5 {
	color: #43937D;
	margin-bottom: 26px;
}

.content h6 {
	margin-bottom: 26px;
}

.content ul,
.content ol {
	margin-bottom: 54px;
}

.content li {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2;
	position: relative;
}

.content ul li {
	margin-top: 6px;
	padding-left: 1em;
}

.content ul li:first-child {
	margin-top: 0;
}

.content ul li::before {
	content: "●";
	color: #4F9F89;
	position: absolute;
	left: 0;
}

.content ol {
	counter-reset: counter;
}

.content ol li {
	counter-increment: counter;
	margin-top: 41px;
	padding-left: 30px;
}

.content ol li:first-child {
	margin-top: 0;
}

.content ol li::before {
	content: counter(counter);
	color: #fff;
	position: absolute;
	left: 0;
	top: 6px;
	background: #4F9F89;
	border-radius: 50%;
	text-align: center;
	line-height: 19px;
	width: 19px;
	height: 19px;
}

.content .wp-block-table table {
	border-collapse: collapse;
	margin: 0 auto 50px;
	table-layout: fixed;
	width: 100%;
}

.content .wp-block-table td {
	border: 1px solid #43937D;
	box-sizing: border-box;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	padding: 14px;
}

.content .wp-block-table td:first-child {
	text-align: center;
	width: 290px;
}

.content .wp-block-table tr:nth-child(odd) td:first-child {
	background: #fff;
}

.content .wp-block-table tr:nth-child(even) td:first-child {
	background: #E0E0E0;
}

.content .wp-block-table tr:nth-child(odd) td:last-child {
	background: #ECF9F6;
}

.content .wp-block-table tr:nth-child(even) td:last-child {
	background: #fff;
}

.wp-block-columns img {
	width: 100%;
}

/* sp size */
@media screen and (max-width: 767px) {

	.wrap.lower {
		padding: 29px 0 58px;
		max-width: 100%;
	}

	/* 投稿一覧 sp */

	.news-wrap {
		margin-top: 65px;
	}

	.news-wrap .cat-name {
		padding: 3px 22px;
	}

	.news-wrap article div {
		flex-flow: column;
		gap: 0;
		padding: 18px 22px 22px;
	}

	.news-wrap .date {
		text-align: left;
		line-height: 1;
	}

	.news-wrap h3 {
		font-size: 14px;
		text-align: left;
		line-height: 1.85;
	}

	.btns {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 7px;
		margin: 24px auto 0;
		max-width: 327px;
	}

	.btns a {
		font-size: 12px;
		padding: 6px 0;
		width: 105px;
	}

	.news-all svg {
		width: 11px;
	}

	.news-school svg {
		width: 12px;
	}

	.news-lunch svg {
		width: 13px;
	}

	.news-support svg {
		width: 14px;
	}

	.news-daily svg {
		width: 12px;
	}

	.news-others svg {
		width: 12px;
	}

	/* ページャー */
	.links {
		flex-flow: column-reverse;
		gap: 20px;
		margin-top: 52px;
	}

	/* ブロック */

	.title {
		margin: 50px auto 18px;
	}

	.content ul,
	.content ol {
		margin-bottom: 45px;
	}

	.content ol li {
		margin-top: 12px;
	}

	.content .wp-block-table tbody {
		border-bottom: 1px solid #43937D;
	}

	.content .wp-block-table td {
		display: block;
		width: 100% !important;
		padding: 16px 24px;
	}

	.content .wp-block-table tr td:first-child {
		background: #fff !important;
		border-bottom: none;
		text-align: left;
	}

	.content .wp-block-table tr td:last-child {
		background: #ECF9F6 !important;
		border-bottom: none;
	}
}