.zen-care-form-wrap {
	--zen-care-form-primary: #e98755;
	--zen-care-form-secondary: #1f6f69;
	--zen-care-form-text: #293238;
	--zen-care-form-line: #aeb8b7;
	--zen-care-form-error: #a9362b;

	max-width: 820px;
	margin: 60px auto;
	padding: clamp(24px, 5vw, 52px);
	border-top: 3px solid var(--zen-care-form-secondary);
	background: #fff;
	box-shadow: 0 18px 48px rgb(41 50 56 / 9%);
	color: var(--zen-care-form-text);
}

.zen-care-form-wrap h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(28px, 4vw, 42px);
}

.zen-care-form__field {
	display: grid;
	margin-top: 28px;
	gap: 8px;
}

.zen-care-form__field > label {
	font-weight: 700;
}

.zen-care-form__field label span,
.zen-care-form__consent label span {
	color: var(--zen-care-form-error);
	font-size: 12px;
}

.zen-care-form__field input,
.zen-care-form__field textarea,
.zen-care-form__field select {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid var(--zen-care-form-line);
	border-radius: 6px;
	background: #fff;
	color: inherit;
	font: inherit;
}

.zen-care-form__field textarea {
	min-height: 180px;
	resize: vertical;
}

.zen-care-form__field [aria-invalid="true"],
.zen-care-form__consent [aria-invalid="true"] {
	border: 2px solid var(--zen-care-form-error);
	background: #fff8f6;
}

.zen-care-form__consent {
	display: flex;
	margin-top: 28px;
	align-items: flex-start;
	gap: 12px;
}

.zen-care-form__consent input {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	margin-top: 4px;
}

.zen-care-form__consent a {
	color: var(--zen-care-form-secondary);
	text-decoration: underline;
}

.zen-care-form__consent label {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.zen-care-form__error {
	margin: 0;
	color: var(--zen-care-form-error);
	font-weight: 700;
}

.zen-care-form__summary {
	margin-block: 24px;
	padding: 20px 24px;
	border: 2px solid var(--zen-care-form-error);
	background: #fff4f1;
}

.zen-care-form__summary h3 {
	margin-top: 0;
}

.zen-care-form__privacy-note {
	color: #647076;
	font-size: 13px;
}

.zen-care-form__submit {
	display: inline-flex;
	min-width: 260px;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 0;
	border-radius: 12px;
	background: var(--zen-care-form-primary);
	color: var(--zen-care-form-text);
	font-weight: 700;
}

.zen-care-form :focus-visible,
.zen-care-form-complete :focus-visible {
	outline: 3px solid #1f6f69;
	outline-offset: 3px;
}

.zen-care-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.zen-care-form-complete {
	padding: 30px;
	border-left: 4px solid var(--zen-care-form-secondary);
	background: #f1f8f7;
}

@media (width <= 520px) {
	.zen-care-form-wrap {
		margin-block: 30px;
	}

	.zen-care-form__submit {
		width: 100%;
		min-width: 0;
	}
}
