:root {
	--ichigen-primary: #ffb15a;
	--ichigen-secondary: #fff5f0;
	--ichigen-accent: #ffe8dc;
	--ichigen-text: #2d2d2d;
	--ichigen-muted: #666;
}

.ichigen-flow {
	color: var(--ichigen-text);
	background: #fff;
}

.ichigen-flow__container {
	width: min(1100px, 92%);
	margin: 0 auto;
}

.ichigen-flow__center {
	text-align: center;
}

.ichigen-flow__hero {
	position: relative;
	overflow: hidden;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 84px 0;
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.32)), url("../images/hero-flow.jpg");
	background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.32)), image-set(url("../images/hero-flow.webp") type("image/webp"), url("../images/hero-flow.jpg") type("image/jpeg"));
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ichigen-flow__hero-title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	color: #fff;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.ichigen-flow__hero-copy {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.ichigen-flow__intro,
.ichigen-flow__timeline,
.ichigen-flow__gallery {
	padding: 72px 0;
}

.ichigen-flow__intro-inner {
	max-width: 800px;
	margin: 0 auto;
}

.ichigen-flow__section-title {
	margin: 0 0 20px;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
}

.ichigen-flow__section-title span {
	color: var(--ichigen-primary);
}

.ichigen-flow__intro p {
	line-height: 1.9;
	color: var(--ichigen-muted);
}

.ichigen-flow__steps {
	padding: 72px 0;
	background: color-mix(in srgb, var(--ichigen-secondary) 55%, #fff);
}

.ichigen-flow__steps-list {
	display: grid;
	gap: 24px;
}

.ichigen-flow-card {
	display: grid;
	grid-template-columns: 1fr 2fr;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.ichigen-flow-card-arrow {
	display: flex;
	justify-content: center;
	margin: -2px 0;
}

.ichigen-flow-card-arrow span {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
	position: relative;
}

.ichigen-flow-card-arrow span::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 11px;
	height: 11px;
	transform: translate(-50%, -50%) rotate(45deg);
	border-right: 3px solid var(--ichigen-primary);
	border-bottom: 3px solid var(--ichigen-primary);
}

.ichigen-flow-card__head {
	padding: 28px;
	color: #fff;
	background: linear-gradient(135deg, var(--ichigen-primary), #f27b40);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
}

.ichigen-flow-card__head h3 {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.ichigen-flow-card__number {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	font-size: 1.8rem;
	font-weight: 700;
}

.ichigen-flow-card__body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ichigen-flow-card__body p {
	margin: 0 0 20px;
	line-height: 1.8;
}

.ichigen-flow-card__body ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.ichigen-flow-card__body li {
	position: relative;
	padding-left: 0;
	color: var(--ichigen-muted);
}

.ichigen-flow-card__body ul.has-check li {
	padding-left: 28px;
}

.ichigen-flow-card__body ul.has-check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ichigen-primary);
	font-weight: 700;
}

.ichigen-flow-card__body li a {
	color: inherit;
	text-decoration: underline;
}

.ichigen-flow__timeline-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ichigen-flow__timeline-item {
	padding: 28px 20px;
	border-radius: 14px;
	text-align: center;
	background: var(--ichigen-accent);
}

.ichigen-flow__timeline-item h3 {
	margin: 0 0 12px;
	font-size: 1.2rem;
}

.ichigen-flow__timeline-item p {
	margin: 0;
	color: var(--ichigen-muted);
}

.ichigen-flow__timeline-value {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 4vw, 2.2rem);
	font-weight: 700;
	color: var(--ichigen-primary);
}

.ichigen-flow__gallery {
	background: color-mix(in srgb, var(--ichigen-secondary) 55%, #fff);
}

.ichigen-flow__gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ichigen-flow__gallery-item {
	margin: 0;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ichigen-flow__gallery-item img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	display: block;
}

.ichigen-flow__gallery-item picture {
	display: block;
}

.ichigen-flow__cta {
	padding: 80px 0;
	color: #fff;
	background: linear-gradient(135deg, var(--ichigen-primary), #f27b40);
}

.ichigen-flow__cta h2 {
	margin: 0 0 14px;
	font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.ichigen-flow__cta p {
	margin: 0 0 10px;
	opacity: 0.95;
}

.ichigen-flow__cta-contact {
	margin: 24px 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	font-size: 1.15rem;
	font-weight: 700;
}

.ichigen-flow__cta-contact a {
	color: inherit;
	text-decoration: none;
}

.ichigen-flow__cta-button {
	display: inline-block;
	margin-top: 8px;
	padding: 14px 26px;
	background: #fff;
	border-radius: 999px;
	color: var(--ichigen-primary);
	text-decoration: none;
	font-weight: 700;
}

.ichigen-flow__cta-button:hover {
	opacity: 0.9;
}

@media (max-width: 900px) {
	.ichigen-flow-card {
		grid-template-columns: 1fr;
	}

	.ichigen-flow__timeline-grid,
	.ichigen-flow__gallery-grid {
		grid-template-columns: 1fr;
	}
}
