.admission-flow {
	background: #fff;
}

.admission-flow__heading {
	margin-bottom: clamp(56px, 7vw, 92px);
}

.admission-flow__heading .section-heading__en {
	margin-bottom: 16px;
	color: #227f78;
	letter-spacing: 0.2em;
}

.admission-flow__steps {
	position: relative;
	isolation: isolate;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 0 0 96px;
	list-style: none;
}

.admission-flow__steps::before {
	position: absolute;
	top: 76px;
	bottom: 76px;
	left: 35px;
	z-index: 0;
	width: 2px;
	background: #b5d1e6;
	content: "";
}

.admission-flow__step {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
	align-items: center;
	gap: clamp(40px, 6vw, 82px);
	width: 100%;
	min-height: 350px;
	padding: 42px 0;
	border-bottom: 1px solid #a9cae4;
	box-sizing: border-box;
}

.admission-flow__step:nth-child(odd),
.admission-flow__step:nth-child(even) {
	grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
	margin-left: 0;
	padding: 42px 0;
	text-align: left;
}

.admission-flow__step:last-child {
	border-bottom: 0;
}

.admission-flow__number {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	width: 70px;
	height: 70px;
	place-items: center;
	border-radius: 50%;
	background: #173a63;
	box-shadow: 0 8px 22px rgba(23, 58, 99, 0.14);
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: var(--font-xl);
	letter-spacing: 0.04em;
	transform: translateY(-50%);
}

.admission-flow__step:nth-child(odd) .admission-flow__number,
.admission-flow__step:nth-child(even) .admission-flow__number {
	left: -96px;
	right: auto;
}

.admission-flow__step-copy {
	position: relative;
	padding-top: 7px;
}

.admission-flow__step:nth-child(odd) .admission-flow__step-copy,
.admission-flow__step:nth-child(even) .admission-flow__step-copy {
	grid-column: 1;
	grid-row: 1;
}

.admission-flow__step:nth-child(odd) .admission-flow__illustration,
.admission-flow__step:nth-child(even) .admission-flow__illustration {
	grid-column: 2;
	grid-row: 1;
}

/*.admission-flow__step-copy::after {
	display: block;
	width: 78px;
	height: 1px;
	margin-top: 22px;
	background: #b9d2e5;
	content: "";
}*/

.admission-flow__step h3 {
	margin: 0 0 9px;
	color: #173a63;
	font-size: clamp(21px, 1.8vw, 28px);
	font-weight: bold;
	line-height: 1.35;
}

.admission-flow__step p {
	margin: 0;
	color: #50616b;
	font-size: var(--font-sm);
	line-height: 1.8;
}

.admission-flow__step .admission-flow__summary {
	color: #2f4a5b;
	font-weight: 600;
}

.admission-flow__description {
	margin-top: 10px !important;
	font-size: var(--font-xs) !important;
	line-height: 1.85 !important;
}

.admission-flow__contact {
	display: grid;
	justify-items: start;
	gap: 20px;
	margin-top: 24px;
}

.admission-flow__contact img {
	display: block;
	width: min(100%, 290px);
	height: auto;
}

.admission-flow__mail-button {
	display: inline-flex;
	min-width: min(100%, 300px);
	min-height: 58px;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 1px solid #173a52;
	background: #173a52;
	color: #fff;
	font-size: var(--font-sm);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.admission-flow__mail-button:hover,
.admission-flow__mail-button:focus-visible {
	background: #fff;
	color: #173a52;
}

.admission-flow__illustration {
	position: relative;
	display: grid;
	width: 100%;
	height: clamp(220px, 23vw, 290px);
	margin: 0;
	place-items: center;
	border-radius: 16px;
	/*background: linear-gradient(145deg, #f2f8fc 5%, #e4f1f8 100%);*/
	overflow: hidden;
}

.admission-flow__step:nth-child(3n + 2) .admission-flow__illustration {
	/*background: linear-gradient(145deg, #f1f8f5 5%, #e3f2eb 100%);*/
}

.admission-flow__step:nth-child(3n) .admission-flow__illustration {
	/*background: linear-gradient(145deg, #fff9ed 5%, #f6edda 100%);*/
}

.admission-flow__illustration svg {
	width: min(62%, 260px);
	height: min(72%, 190px);
	fill: none;
	stroke: #285b86;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.admission-flow__illustration img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.admission-flow__illustration svg circle:nth-last-child(-n + 3) {
	fill: #72b7d8;
	stroke: none;
}

.admission-care {
	margin-top: clamp(72px, 9vw, 120px);
	padding: clamp(48px, 6vw, 76px) 0 0;
	border-top: 1px solid #d7e2ea;
}

.admission-care--step {
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100%;
	margin-top: 8px;
	padding-top: clamp(34px, 4vw, 48px);
}

.admission-care--step .admission-care__heading {
	display: block;
	margin-bottom: clamp(18px, 2.5vw, 30px);
}

.admission-care--step .admission-care__heading::before,
.admission-care--step .admission-care__heading::after {
	display: none;
}

.admission-care--step .admission-care__heading h3 {
	font-size: clamp(21px, 1.8vw, 28px);
	text-align: left;
	font-weight: bold;
}

.admission-care--step .admission-care__grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	max-width: 940px;
}

.admission-care--step .admission-care__item {
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 20px;
	min-height: 0;
	padding: 22px 0;
	border: 0;
	border-bottom: 1px solid #e0eaf1;
	border-radius: 0;
	background: transparent;
}

.admission-care--step .admission-care__item:last-child {
	border-bottom: 0;
}

.admission-care--step .admission-care__icon {
	width: 54px;
	height: 54px;
	background: transparent;
}

.admission-care--step .admission-care__icon svg {
	width: 44px;
	height: 44px;
}

.admission-care--step .admission-care__item h4 {
	margin-bottom: 8px;
}

.admission-care--step .admission-care__item p {
	font-size: var(--font-sm);
	line-height: 1.8;
}

.admission-flow__step:first-child .admission-flow__number {
	top: 92px;
}

.admission-care__heading {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 54px);
	margin-bottom: clamp(34px, 4vw, 50px);
}

.admission-care__heading::before,
.admission-care__heading::after {
	flex: 1;
	height: 1px;
	background: #b7cee2;
	content: "";
}

.admission-care__heading h3 {
	margin: 0;
	color: #173a63;
	font-size: clamp(24px, 2.5vw, 36px);
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

.admission-care__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 32px);
}

.admission-care__item {
	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	min-height: 168px;
	padding: 28px;
	border: 1px solid rgba(116, 159, 194, 0.14);
	border-radius: 18px;
	background: #edf5fb;
}

.admission-care__item--urgent {
	background: #fff8e9;
}

.admission-care__item--first {
	background: #eef8f3;
}

.admission-care__icon {
	display: grid;
	width: 66px;
	height: 66px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.82);
	color: #276fae;
}

.admission-care__item--urgent .admission-care__icon {
	color: #bd851e;
}

.admission-care__item--first .admission-care__icon {
	color: #31866d;
}

.admission-care__icon svg {
	width: 40px;
	height: 40px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.admission-care__item h4 {
	margin: 0 0 10px;
	color: #173a63;
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 600;
	line-height: 1.45;
}

.admission-care__item p {
	margin: 0;
	color: #435761;
	font-size: var(--font-sm);
	line-height: 1.85;
}

@media (max-width: 980px) {
	.admission-flow__steps {
		padding-left: 82px;
	}

	.admission-flow__steps::before {
		left: 35px;
	}

	.admission-flow__step,
	.admission-flow__step:nth-child(odd),
	.admission-flow__step:nth-child(even) {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
		gap: 34px;
	}

	.admission-flow__step:nth-child(odd) .admission-flow__number,
	.admission-flow__step:nth-child(even) .admission-flow__number {
		left: -82px;
	}

	.admission-care__grid {
		grid-template-columns: 1fr;
	}

	.admission-care__item {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.admission-flow__heading {
		margin-bottom: 44px;
	}

	.admission-flow__steps {
		padding-left: 78px;
	}

	.admission-flow__steps::before {
		top: 30px;
		bottom: 30px;
		left: 30px;
		transform: none;
	}

	.admission-flow__step,
	.admission-flow__step:nth-child(odd),
	.admission-flow__step:nth-child(even) {
		display: block;
		width: 100%;
		min-height: 0;
		margin-left: 0;
		padding: 34px 0 42px;
		text-align: left;
	}

	.admission-flow__step:last-child {
		padding-bottom: 0;
	}

	.admission-flow__number {
		top: 44px;
		width: 60px;
		height: 60px;
		font-size: var(--font-lg);
		transform: none;
	}

	.admission-flow__step:nth-child(odd) .admission-flow__number,
	.admission-flow__step:nth-child(even) .admission-flow__number {
		left: -78px;
		right: auto;
	}

	.admission-flow__step:first-child .admission-flow__number {
		top: 44px;
	}

	.admission-flow__step-copy {
		padding-top: 5px;
	}

	.admission-flow__step:nth-child(even) .admission-flow__step-copy,
	.admission-flow__step:nth-child(even) .admission-flow__illustration {
		grid-column: auto;
		grid-row: auto;
	}

	.admission-flow__step:nth-child(odd) .admission-flow__step-copy::after {
		margin-left: 0;
	}

	.admission-flow__description {
		max-width: 460px;
	}

	.admission-flow__contact img {
		width: min(80%, 300px);
	}

	.admission-flow__mail-button {
		width: min(100%, 300px);
		min-width: 0;
	}

	.admission-flow__illustration {
		width: 100%;
		height: 210px;
		margin-top: 28px;
		border-radius: 12px;
	}

	.admission-flow__illustration svg {
		width: min(62%, 220px);
		height: min(72%, 160px);
	}

	.admission-care {
		margin-top: 64px;
		padding-top: 44px;
	}

	.admission-care--step {
		margin-top: 36px;
		padding-top: 34px;
	}

	.admission-care__heading {
		gap: 14px;
	}

	.admission-care__heading::before,
	.admission-care__heading::after {
		min-width: 18px;
	}

	.admission-care__item {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 16px;
		padding: 22px 18px;
		border-radius: 14px;
	}

	.admission-care__icon {
		width: 54px;
		height: 54px;
	}

	.admission-care__icon svg {
		width: 32px;
		height: 32px;
	}
}

/* 自立へのステップアップ */
.independence-stepup {
	padding-top: 0;
	background: #fff;
}

.independence-stepup__inner {
	max-width: 1440px;
	width: min(calc(100% - var(--side-space) * 2), 1440px);
}

.independence-stepup__title {
	margin: 0;
	padding: 20px 24px;
	background: #1c315b;
	color: #fff;
	font-size: clamp(24px, 2.7vw, 28px);
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.independence-stepup__lead {
	margin: 32px 0 46px;
	font-size: clamp(19px, 2.1vw, 24px);
	font-weight: 600;
	line-height: 1.7;
	text-align: center;
}

.independence-stepup__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.independence-stepup__card {
	position: relative;
	display: grid;
	grid-template-rows: auto 72px auto 1fr;
	align-content: start;
	gap: 18px;
	min-width: 0;
	padding: 18px 16px 38px;
	border: 1px solid #1c315b;
	border-radius: 28px;
	background: #eceff7;
	color: #1c315b;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.independence-stepup__card:not(:last-child)::after {
	position: absolute;
	top: 46%;
	right: -42px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: #323c4e;
	color: #fff;
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M11 10 5 16 11 22V18.5H21V22L27 16 21 10V13.5H11Z' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.independence-stepup__label {
	justify-self: center;
	min-width: 140px;
	padding: 2px 22px;
	border-radius: 999px;
	background: #1c315b;
	color: #fff;
	font-size: var(--font-xl);
	font-weight: 800;
	line-height: 1.6;
	text-align: center;
}

.independence-stepup__card h3 {
	align-self: center;
	margin: 0;
	font-size: clamp(19px, 1.65vw, 26px);
	font-weight: 800;
	line-height: 1.45;
	text-align: center;
}

.independence-stepup__card h3 span {
	font-size: 0.75em;
	white-space: nowrap;
}

.independence-stepup__card .independence-stepup__housing-title {
	font-size: clamp(16px, 1.3vw, 20px);
}

.independence-stepup__card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 300 / 174;
	border-radius: 22px;
	object-fit: cover;
}

.independence-stepup__card p {
	margin: 12px 0 0;
	color: #171c22;
	font-size: var(--font-sm);
	line-height: 1.8;
}

.independence-stepup__card--goal {
	border-color: #f7941d;
	background: #fff6eb;
	color: #db7410;
}

.independence-stepup__card--goal .independence-stepup__label {
	background: #f7941d;
}

.independence-stepup__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.5vw, 36px);
	margin: 46px 0 0;
	padding: clamp(24px, 3vw, 38px) clamp(16px, 3vw, 40px);
	border-block: 1px solid #d3e3c8;
	border-radius: 12px;
	background: #f1f7e9;
	color: #18305b;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 600;
	line-height: 1.8;
	text-align: center;
}

.independence-stepup__note > span[aria-hidden] {
	flex-shrink: 0;
	color: #2d8171;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
}

@media (max-width: 1100px) {
	.independence-stepup__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
		max-width: 680px;
		margin-inline: auto;
	}

	.independence-stepup__card {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		grid-template-rows: auto auto 1fr;
		gap: 14px 24px;
		padding: 24px;
	}

	.independence-stepup__label {
		grid-column: 1;
		grid-row: 1;
	}

	.independence-stepup__card h3 {
		grid-column: 1;
		grid-row: 2;
	}

	.independence-stepup__card img {
		grid-column: 2;
		grid-row: 1 / 4;
		align-self: center;
	}

	.independence-stepup__card p {
		grid-column: 1;
		grid-row: 3;
		margin-top: 0;
	}

	.independence-stepup__card:not(:last-child)::after {
		top: auto;
		right: calc(50% - 16px);
		bottom: -43px;
		transform: rotate(90deg);
	}
}

@media (max-width: 540px) {
	.independence-stepup__title {
		padding: 20px 16px;
		font-size: var(--font-2xl);
	}

	.independence-stepup__lead {
		margin-block: 24px 30px;
		font-size: var(--font-lg);
	}

	.independence-stepup__card {
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 22px;
	}

	.independence-stepup__label {
		align-self: center;
	}

	.independence-stepup__card h3 {
		font-size: var(--font-2xl);
	}

	.independence-stepup__card .independence-stepup__housing-title {
		font-size: var(--font-lg);
	}

	.independence-stepup__card p {
		font-size: var(--font-base);
	}

	.independence-stepup__note {
		gap: 8px;
		padding: 24px 12px;
		font-size: var(--font-lg);
	}
}

/* 医療・生活・自立支援サポート */
.living-support {
	padding-top: 0;
	background: #fff;
}

.living-support__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(calc(100% - var(--side-space) * 2), 1440px);
	gap: clamp(48px, 6vw, 100px);
}

.living-support__column {
	position: relative;
	min-width: 0;
}

.living-support__column + .living-support__column::before {
	position: absolute;
	top: 20px;
	bottom: 0;
	left: calc(clamp(48px, 6vw, 100px) / -2);
	width: 3px;
	border-radius: 3px;
	background: #1c315b;
	content: "";
}

.living-support__heading {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 80px;
	margin-bottom: 20px;
}

.living-support__heading h2 {
	margin: 0;
	color: #171c22;
	font-size: clamp(23px, 2vw, 32px);
	font-weight: 700;
	line-height: 1.5;
}

.living-support__badge {
	display: grid;
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	place-items: center;
	border-radius: 50%;
	background: #42ae32;
	color: #fff;
}

.living-support__badge svg {
	width: 56px;
	height: 56px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.living-support__intro {
	margin: 0;
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: 600;
	line-height: 1.9;
}

.living-support__medical-services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 46px 0;
	padding: 0;
	list-style: none;
}

.living-support__medical-services li {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 16px;
	text-align: center;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: clamp(15px, 1.25vw, 19px);
	line-height: 1.5;
}

.living-support__medical-services svg {
	width: min(100%, 86px);
	height: 86px;
	fill: none;
	stroke: #1c315b;
	color: #1c315b;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.living-support__continuity {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: 18px;
	border-left: 8px solid #1c315b;
}

.living-support__continuity p {
	margin: 0;
	padding-left: 20px;
	color: #1c315b;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: var(--font-base);
	font-weight: 700;
	line-height: 2;
}

.living-support__continuity img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	object-position: center;
}

.living-support__daily-services {
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.living-support__daily-services li {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	align-items: center;
	gap: 14px;
	padding: 8px 0;
}

.living-support__daily-services h3 {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 16px 0 16px 32px;
	border-bottom: 2px solid #c5c5c5;
	color: #1c315b;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: clamp(15px, 1.35vw, 20px);
	font-weight: 700;
	line-height: 1.4;
}

.living-support__daily-services li:last-child h3 {
	border-bottom: 0;
}

.living-support__daily-services h3::before {
	position: absolute;
	left: 0;
	top: calc(50% - 12px);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #42ae32 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 5 8-10' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain;
	content: "";
}

.living-support__daily-services img {
	display: block;
	width: 100%;
	height: 96px;
	object-fit: cover;
}

@media (max-width: 1050px) {
	.living-support__columns {
		grid-template-columns: minmax(0, 1fr);
		max-width: 760px;
		gap: 48px;
	}

	.living-support__column + .living-support__column {
		padding-top: 40px;
		border-top: 2px solid #1c315b;
	}

	.living-support__column + .living-support__column::before {
		display: none;
	}

	.living-support__heading h2 {
		font-size: var(--font-heading-sm);
	}

	.living-support__daily-services h3 {
		font-size: var(--font-lg);
	}
}

@media (max-width: 540px) {
	.living-support__heading {
		gap: 14px;
	}

	.living-support__heading h2 {
		font-size: var(--font-2xl);
	}

	.living-support__badge {
		flex-basis: 58px;
		width: 58px;
		height: 58px;
	}

	.living-support__badge svg {
		width: 44px;
		height: 44px;
	}

	.living-support__medical-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
		margin-block: 32px;
	}

	.living-support__continuity {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		border-left-width: 5px;
	}

	.living-support__continuity p {
		padding: 0 14px;
		font-size: var(--font-base);
	}

	.living-support__continuity img {
		height: auto;
	}

	.living-support__daily-services li {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding-block: 12px;
	}

	.living-support__daily-services h3 {
		padding-block: 6px;
		border-bottom: 0;
		font-size: var(--font-lg);
	}

	.living-support__daily-services img {
		height: auto;
		aspect-ratio: 459 / 119;
	}
}

.living-support__heading h2 span {
	display: inline-block;
}
