.diagnosis_hero-section {
	background: image-set(
		url('/images/assets/hero-bg-wave.avif') type('image/avif'),
		url('/images/assets/hero-bg-wave.webp') type('image/webp'),
		url('/images/assets/hero-bg-wave.png') type('image/png')
	) center/cover no-repeat;
	color: var(--color-base);
	padding: 7rem 0 5.5rem;
	position: relative;
	overflow: hidden;
}
.vh-m100 {
	min-height: 100vh;
}
.diagnosis_hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(249, 213, 12, 0.18) 0%, transparent 65%);
	pointer-events: none;
}
.diagnosis_hero-section .container {
	position: relative;
	z-index: 1;
}
.diagnosis_hero-section h1 {
	font-size: 3rem;
}
.diagnosis_hero-form-card {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(26, 61, 101, 0.12);
	border-radius: 1.5rem;
	padding: 2.4rem;
	padding-top: 28px;
	box-shadow: 0 26px 45px rgba(26, 61, 101, 0.12);
	backdrop-filter: blur(10px);
	max-width: 640px;
	margin: 0 auto;
	width: 100%;
}
@media (max-width: 575px) {
	.diagnosis_hero-form-card {
		padding: 24px;
		padding-top: 28px;
	}
	.diagnosis_hero-section h1 {
		font-size: 2.2rem;
	}
}
.diagnosis-wizard-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 1.5rem;
}
.wizard-progress-header {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.wizard-progress-label {
	font-weight: 600;
	color: var(--color-orange);
	min-width: 4.5rem;
	text-align: center;
}
.wizard-progress-track {
	flex: 1;
	height: 4px;
	background-color: rgba(26, 61, 101, 0.12);
	border-radius: 999px;
	overflow: hidden;
}
.wizard-progress-fill {
	width: 100%;
	height: 100%;
	background-color: var(--color-orange);
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.wizard-step {
	display: none;
}
.wizard-step.is-active {
	display: block;
}
.wizard-question {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.wizard-subtitle {
	margin-bottom: 1.25rem;
	color: rgba(26, 61, 101, 0.7);
}
.wizard-options {
	display: grid;
	gap: 0.75rem;
}
.wizard-options--columns {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.wizard-options--headcount {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.wizard-options--prefecture {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.wizard-options--compact .wizard-option {
	padding: 0.9rem 1rem;
}
.wizard-option {
	position: relative;
	display: block;
	border: 1px solid rgba(26, 61, 101, 0.16);
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(26, 61, 101, 0.08);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.wizard-option.fixcenter {
	display: flex;
	align-items: center;
}
.wizard-option:hover {
	border-color: rgba(240, 123, 6, 0.6);
	box-shadow: 0 16px 32px rgba(26, 61, 101, 0.12);
	transform: translateY(-2px);
}
.wizard-option input {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}
.wizard-option span {
	display: block;
	font-weight: 600;
	color: #1a3d65;
}
.wizard-option input:checked ~ span {
	color: var(--color-orange);
}
.wizard-option input:focus-visible ~ span {
	outline: 3px solid rgba(240, 123, 6, 0.35);
	outline-offset: 4px;
	border-radius: 0.9rem;
}

/* 共通 */
.consent-text {
	display: inline-flex;
	align-items: center; /* ← これが重要 */
	line-height: 1.6;
}

.consent-check-icon,
.consent-uncheck-icon {
	margin-right: 8px;
	font-size: 1rem;
}

.consent-check-icon {
	display: none;
	color: var(--color-orange);
}

.consent-uncheck-icon {
	display: inline-block;
	color: #999;
}

.wizard-option input[type="checkbox"]:checked + span .consent-check-icon {
	display: inline-block;
}

.wizard-option input[type="checkbox"]:checked + span .consent-uncheck-icon {
	display: none;
}

.wizard-section-label {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background-color: rgba(240, 123, 6, 0.12);
	color: var(--color-orange);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.wizard-section-label.any {
	background-color: rgba(26, 61, 101, 0.1);
	color: rgba(26, 61, 101, 0.75);
}
.wizard-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.wizard-field-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.1rem 1.25rem;
	border-radius: 1rem;
	background-color: rgba(26, 61, 101, 0.05);
	border: 1px solid rgba(26, 61, 101, 0.08);
}
.wizard-field-label {
	font-weight: 600;
	color: #1a3d65;
	margin: 0;
}
.wizard-note {
	margin-top: 1rem;
	margin-bottom: 0;
	color: rgba(26, 61, 101, 0.65);
	font-size: 0.9rem;
}
.wizard-controls {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
	justify-content: flex-end;
}
.wizard-controls .btn-secondary {
	min-width: 120px;
}
.wizard-controls .btn-primary {
	min-width: 160px;
}
.wizard-followup {
	display: none;
	padding: 1.25rem;
	margin-top: 1.25rem;
	border-radius: 1rem;
	background-color: rgba(26, 61, 101, 0.05);
}
.wizard-followup.is-visible {
	display: block;
}
.wizard-summary {
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px solid rgba(26, 61, 101, 0.12);
	border-radius: 1.25rem;
	background: rgba(26, 61, 101, 0.04);
}
.wizard-summary-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #1a3d65;
}
.wizard-summary-list {
	display: grid;
	gap: 0.85rem;
}
.wizard-summary-item {
	display: grid;
	gap: 0.35rem;
}
.wizard-summary-item dt {
	font-weight: 600;
	color: rgba(26, 61, 101, 0.75);
}
.wizard-summary-item dd {
	margin: 0;
	color: #1a3d65;
	white-space: pre-wrap;
	margin-left: 0.75em;
}
@media (max-width: 575px) {
	.wizard-controls {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 1.5rem;
		padding: 8px 0;
	}
	.wizard-controls .btn-primary,
	.wizard-controls .btn-secondary {
		width: 100%;
		min-width: 0;
	}
	.wizard-options--headcount {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wizard-options--prefecture {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.wizard-loading-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.wizard-loading-overlay.is-visible {
	opacity: 1;
	pointer-events: all;
}
.wizard-loading-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	color: #1a3d65;
	text-align: center;
}
.wizard-loading-spinner {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 6px solid rgba(26, 61, 101, 0.16);
	border-top-color: var(--color-orange);
	animation: wizard-loading-spin 0.9s linear infinite;
}
.wizard-loading-text {
	font-weight: 600;
	margin: 0;
}
@keyframes wizard-loading-spin {
	to {
		transform: rotate(360deg);
	}
}
