html {
	scroll-padding-top: 150px;
	@media screen and (max-width: 767px) {
		scroll-padding-top: 100px;
	}
}

.pagevisual {
  background: url(../img/pv.png) no-repeat center;
  background-size: cover;
}

.sp_block {
	display: none;
	@media screen and (max-width: 767px) {
		display: block;
	}
}

.center_txt {
	text-align: center;
}

/* main */
.rehabilitation_container {
	max-width: 1024px;
	width: 90%;
	margin-inline: auto;
}

/* リード */
.rehabilitation_lead {
	padding: 60px 65px 65px;
	background: #fff;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	margin-bottom: 65px;
	@media screen and (max-width: 767px) {
		padding: 20px 5% 25px;
		margin-bottom: 35px;
	}
}

/* ページ内リンク */
.rehabilitation_nav {
	max-width: 1024px;
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 60px auto;
	@media screen and (max-width: 767px) {
		margin: 45px auto;
	}
}
.rehabilitation_nav--item {
	max-width: calc(20% - 16px);
	width: 100%;
	height: 60px;
	@media screen and (max-width: 767px) {
		max-width: calc(50% - 10px);
	}
}
.rehabilitation_nav--item a {
	width: 100%;
	height: 100%;
	padding: 0 10px 0 15px;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	background: #3A2206;
	color: #fff;
	font-weight: bold;
	position: relative;
	&::before {
		content: "";
		display: block;
		width: 25px;
		aspect-ratio: 1 / 1;
		border-radius: 50%;
		background: #D8CFC2;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
	}
	&::after {
		content: "";
		width: 10px;
		aspect-ratio: 1 / 1;
		border-right: 2px solid #3A2206;
		border-bottom: 2px solid #3A2206;
		transform: rotate(45deg) translateY(-50%);
		position: absolute;
		right: 21px;
		top: calc(50% - 3px);
	}
}

/* 理念 */
.rehabilitation_philosophy {
	width: 100%;
	padding: 20px 5% 25px;
	border: 3px solid #D8CFC2;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0.5em auto 3em;
	@media screen and (max-width: 767px) {
		margin: 0.5em auto 2em;
	}
}
.rehabilitation_philosophy--item {
	display: flex;
	justify-content: center;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.25em;
	font-weight: bold;
	dt {
		width: 200px;
		text-align: start;
		font-size: 2.4rem;
		color: #D91E1E;
		@media screen and (max-width: 767px) {
			font-size: 2rem;
		}
	}
	dd {
		max-width: 380px;
		width: 100%;
		margin: 0;
		font-size: 2rem;
		@media screen and (max-width: 767px) {
			max-width: 100%;
			font-size: 1.8rem;
		}
	}
	@media screen and (max-width: 767px) {
		justify-content: flex-start;
	}
}

.rehabilitation_btn {
	max-width: 590px;
	width: 100%;
	height: 79px;
	margin: 0 auto 3em;
	@media screen and (max-width: 767px) {
		margin: 0 auto 2em;
	}
}
.rehabilitation_btn a {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #D8CFC2;
	color: #3A2206;
	font-weight: bold;
}

/* 見出し */
.sec_h2 {
	width: 100%;
	margin-bottom: 1em;
}
.sec_h2 span {
	@media screen and (max-width: 767px) {
		font-size: 1.8rem;
	}
}

.rehabilitation_subheading {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 2rem;
	font-weight: bold;
	color: #533F3D;
	margin-bottom: 1em;
	&::before {
		content: "";
		width: 18px;
		aspect-ratio: 1 / 1;
		border: 5px solid #D8CFC2;
		border-radius: 50%;
		background: #fff;
	}
	@media screen and (max-width: 767px) {
		font-size: 1.8rem;
	}
}

/* テキスト */
.rehabilitation_txt {
	padding-bottom: 1.5em;
	line-height: 1.8;
	@media screen and (max-width: 767px) {
		font-size: 1.5rem;
	}
}

.rehabilitation_dl {
	width: 100%;
	padding-bottom: 1.5em;
}
.rehabilitation_dl--item {
	display: flex;
	padding-bottom: 0.5em;
	gap: 0 0.25em;
}
.rehabilitation_dl--item dt {
	white-space: nowrap;
	&::after {
		content: "：";
		margin-right: 0.2em;
	}
}
.rehabilitation_dl--item dd {
	margin: 0;
}

.bullet_list li {
	display: flex;
	&:not(:last-child) {
		padding-bottom: 0.5em;
	}
	&::before {
		content: "・";
	}
}

/* テーブル */
.rehabilitation_table {
	width: 100%;
	margin-bottom: 60px;
	@media screen and (max-width: 767px) {
		margin-bottom: 45px;
	}
}
.rehabilitation_table tr:not(:last-child) {
	border-bottom: 2px solid #fff;
}
.rehabilitation_table th {
	width: 300px;
	padding: 1em 1.5em;
	background: #D8CFC2;
	color: #3A2206;
	font-weight: bold;
	text-align: start;
	@media screen and (max-width: 767px) {
		display: block;
		width: 100%;
	}
}
.rehabilitation_table td {
	padding: 1em 1.5em;
	background: #F9F9F8;
	color: #533F3D;
	font-weight: bold;
	@media screen and (max-width: 767px) {
		display: block;
		width: 100%;
	}
}

/* セクション */
.rehabilitation_section {
	max-width: 1024px;
	width: 90%;
	margin: 0 auto 60px;
	img {
		max-width: 100%;
		height: auto;
	}
	@media screen and (max-width: 767px) {
		margin-bottom: 45px;
	}
}
.rehabilitation_subsection {
	width: 100%;
	margin: 0 auto 45px;
	@media screen and (max-width: 767px) {
		margin-bottom: 30px;
	}
}

/* 画像リスト */
.rehabilitation_imglist {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 0.5em;
}
.rehabilitation_imglist--item {
	max-width: calc(25% - 15px);
	width: 100%;
	text-align: center;
	figcaption {
		padding-top: 0.5em;
	}
	@media screen and (max-width: 767px) {
		max-width: 100%;
		width: min(calc(50% - 10px), 241px);
		figcaption {
			font-size: 1.4rem;
		}
	}
}

.rehabilitation_flex {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.rehabilitation_flex .rehabilitation_txt {
	max-width: 575px;
	width: 100%;
	@media screen and (max-width: 767px) {
		max-width: 100%;
	}
}
.rehabilitation_edu--img {
	max-width: 366px;
	width: 100%;
	aspect-ratio: 1/ 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.rehabilitation_last {
	width: 100%;
	padding: 50px 5%;
	border: 3px solid #D8CFC2;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	@media screen and (max-width: 767px) {
		padding: 25px 5% 30px;
	}
}
.rehabilitation_last--top {
	font-size: 2rem;
	color: #D91E1E;
	font-weight: bold;
	@media screen and (max-width: 767px) {
		font-weight: 1.8rem;
	}
}
.rehabilitation_last .bullet_list {
	width: 100%;
	text-align: start;
}

/* 関連ページ */
.rehabilitation_related {
	width: 100%;
	padding: 50px 0;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	display: flex;
	align-items: flex-start;
	gap: 20px 35px;
	@media screen and (max-width: 767px) {
		flex-wrap: wrap;
		padding: 35px 0;
	}
}
.rehabilitation_related--title {
	width: 240px;
	font-size: 2rem;
	margin: 0;
	white-space: nowrap;
	@media screen and (max-width: 767px) {
		font-size: 1.8rem;
	}
	a {
		color: #3A2206;
		text-decoration: underline;
	}
	a:hover {
		text-decoration: none;
	}
}
.rehabilitation_related--title:has(a) {
	margin-bottom: 0.5em;
}
.rehabilitation_related--pages {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.rehabilitation_related--item {
	max-width: calc(100% / 3 - 20px / 3);
	width: 100%;
	background: rgba(255, 255, 255, 0.5);
	a {
		width: 100%;
		height: 64px;
		padding: 0.5em 1em;
		display: flex;
		align-items: center;
		gap: 10px;
		color: #000;
	}
	a::before {
		content: "";
		display: inline-block;
		min-width: 0.5em;
		aspect-ratio: 1 / 1;
		clip-path: polygon(100% 50%, 0 0, 0 100%);
		background: #594b3c;
	}
	a:hover {
		background: #D8CFC2;
		opacity: 1;
	}
	&[aria-current="page"] {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0.5em 1em;
		color: #000;
		background: #D8CFC2;
	}
	&[aria-current="page"]::before {
		content: "";
		display: inline-block;
		min-width: 0.5em;
		aspect-ratio: 1 / 1;
		clip-path: polygon(100% 50%, 0 0, 0 100%);
		background: #594b3c;
	}
	@media screen and (max-width: 767px) {
		max-width: calc(50% - 5px);
		font-size: 1.4rem;
	}
}

/* その他ページ */
.rehabilitation_other {
	width: 100%;
	padding: 50px 0;
	@media screen and (max-width: 767px) {
		padding: 35px 0;
	}
}
.rehabilitation_other--pages {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.rehabilitation_other--item {
	max-width: calc(25% - 30px / 4);
	width: 100%;
	border: 3px solid #E8E5DD;
	display: flex;
	align-items: center;
	a {
		width: 100%;
		height: 100%;
		padding: 0.5em 1em;
		display: flex;
		flex-direction: column;
		justify-content: center;
		color: #000;
		background: #594b3c;
		color: #fff;
		font-weight: bold;
		position: relative;
	}
	a::after {
		content: "";
		width: 0.5em;
		aspect-ratio: 1 / 1;
		border-top: 2px solid #E8E5DD;
		border-right: 2px solid #E8E5DD;
		position: absolute;
		right: 1em;
		top: 50%;
		transform: rotate(45deg) translateY(-50%);
	}
	span {
		font-size: 1.2rem;
	}
	@media screen and (max-width: 767px) {
		max-width: calc(50% - 5px);
		font-size: 1.4rem;
		height: 53px;
	}
}