/* Visit process: no inline CTA; existing floating controls remain independent. */
.mihashi-home-flow {
	width: 100%;
	padding: 80px 32px 88px;
	box-sizing: border-box;
	background: #faf8f1;
	color: #35463d;
	font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
}
.mihashi-home-flow *,
.mihashi-home-flow *::before,
.mihashi-home-flow *::after { box-sizing: border-box; }
.mihashi-home-flow__inner { max-width: 1280px; margin: 0 auto; }
.mihashi-home-flow__header { margin-bottom: 48px; text-align: center; }


.mihashi-home-flow__header h2 {
	margin: 0;
	color: #244636;
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: clamp(28px, 3.1vw, 44px);
	font-weight: 500;
	line-height: 1.65;
	letter-spacing: .03em;
}
.mihashi-home-flow__lead { margin: 22px auto 0; max-width: 850px; font-size: 15px; line-height: 2; }
.mihashi-home-flow__steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mihashi-home-flow__step {
	position: relative;
	min-width: 0;
	margin: 0;
	padding: 26px 20px;
	border: 1px solid #d5ccbb;
	border-radius: 10px;
	background: rgba(255, 255, 255, .6);
}
.mihashi-home-flow__step:not(:last-child)::after {
	content: "›";
	position: absolute;
	top: 43%;
	right: -21px;
	color: #94732e;
	font-size: 30px;
	line-height: 1;
}
.mihashi-home-flow__number {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #94732e;
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
}
.mihashi-home-flow__number span { font-size: 13px; letter-spacing: .12em; }
.mihashi-home-flow__number strong { font-size: 44px; font-weight: 500; line-height: 1.2; }
.mihashi-home-flow__icon { display: block; width: 60px; height: 60px; margin: 24px auto; color: #285f47; }
.mihashi-home-flow__content { min-width: 0; }
.mihashi-home-flow__content h3 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 96px;
	margin: 0 0 18px;
	color: #244636;
	font-family: "Zen Old Mincho", "Yu Mincho", serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}
.mihashi-home-flow__content h3::after { content: ""; display: block; flex-shrink: 0; width: 40px; height: 1px; margin: 18px auto 0; background: #b89a5b; }
.mihashi-home-flow__content p { margin: 0; font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
/* Use the vertical timeline on tablets as well to keep descriptions readable. */
@media (max-width: 1000px) {
	.mihashi-home-flow__steps { display: block; max-width: 720px; margin: 0 auto; }
	.mihashi-home-flow__step {
		display: grid;
		grid-template-columns: 44px 52px minmax(0, 1fr);
		gap: 18px;
		padding: 0 0 32px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}
	.mihashi-home-flow__step:last-child { padding-bottom: 0; }
	.mihashi-home-flow__step:not(:last-child)::after { content: ""; top: 44px; bottom: 0; left: 21px; right: auto; width: 1px; background: #b89a5b; }
	.mihashi-home-flow__number { justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #94732e; color: #fff; }
	.mihashi-home-flow__number span { display: none; }
	.mihashi-home-flow__number strong { font-size: 22px; }
	.mihashi-home-flow__icon { width: 52px; height: 52px; margin: 0; }
	.mihashi-home-flow__content h3 { display: block; min-height: 0; margin: 0 0 8px; text-align: left; }
	.mihashi-home-flow__content h3::after { display: none; }
}
@media (max-width: 767px) {
	.mihashi-home-flow { padding: 56px 20px calc(88px + env(safe-area-inset-bottom, 0px)); }
	.mihashi-home-flow__header { margin-bottom: 32px; }


	.mihashi-home-flow__header h2 { font-size: clamp(25px, 6.6vw, 34px); }
	.mihashi-home-flow__lead { font-size: 14px; }
	.mihashi-home-flow__step { grid-template-columns: 36px 38px minmax(0, 1fr); gap: 12px; }
	.mihashi-home-flow__number { width: 36px; height: 36px; }
	.mihashi-home-flow__number strong { font-size: 19px; }
	.mihashi-home-flow__icon { width: 38px; height: 42px; }
	.mihashi-home-flow__step:not(:last-child)::after { top: 36px; left: 17px; }
	.mihashi-home-flow__content h3 { font-size: 19px; }
}
