.eaf-form {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #23282d;
}

.eaf-title {
	font-size: 1.6em;
	margin-bottom: 1em;
	text-align: center;
}

.eaf-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.eaf-notice {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-weight: 600;
}

.eaf-notice-success {
	background: #e6f6e9;
	border: 1px solid #57b76c;
	color: #1a5c2c;
}

.eaf-notice-error {
	background: #fbe9e9;
	border: 1px solid #d9534f;
	color: #8a1f1a;
}

.eaf-section {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 20px 24px 8px;
	margin-bottom: 24px;
	background: #fafafa;
}

.eaf-section legend {
	font-weight: 700;
	font-size: 1.1em;
	padding: 0 8px;
}

.eaf-hint {
	font-size: 0.9em;
	color: #555;
	margin: 6px 0 12px;
}

.eaf-hint-inline {
	font-weight: 400;
	font-size: 0.8em;
	color: #666;
}

.eaf-subblock {
	border-top: 1px dashed #ccc;
	padding-top: 12px;
	margin-top: 12px;
}

.eaf-subblock:first-child {
	border-top: none;
	margin-top: 0;
}

.eaf-row {
	display: grid;
	gap: 14px;
	margin-bottom: 14px;
}

.eaf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.eaf-cols-3 { grid-template-columns: repeat(3, 1fr); }
.eaf-cols-4 { grid-template-columns: repeat(4, 1fr); }

.eaf-col-span-2 { grid-column: span 2; }

.eaf-cols-2-inline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

@media (max-width: 700px) {
	.eaf-cols-2, .eaf-cols-3, .eaf-cols-4 {
		grid-template-columns: 1fr;
	}
	.eaf-col-span-2 { grid-column: span 1; }
}

.eaf-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 14px;
}

.eaf-field label,
.eaf-sublabel {
	font-weight: 600;
	font-size: 0.92em;
	margin-bottom: 6px;
	display: block;
}

.eaf-sublabel {
	margin-top: 10px;
}

.eaf-form input[type="text"],
.eaf-form input[type="email"],
.eaf-form input[type="tel"],
.eaf-form input[type="date"],
.eaf-form textarea,
.eaf-inline-specify {
	padding: 8px 10px !important;
	border: 1.5px solid #8c8f94 !important;
	border-radius: 5px !important;
	font-size: 0.95em !important;
	width: 100% !important;
	box-sizing: border-box !important;
	background: #fff !important;
	box-shadow: none !important;
	min-height: 38px;
}

.eaf-form textarea {
	resize: vertical;
	min-height: 70px;
}

.eaf-form input[type="text"]:focus,
.eaf-form input[type="email"]:focus,
.eaf-form input[type="tel"]:focus,
.eaf-form input[type="date"]:focus,
.eaf-form textarea:focus {
	border-color: #2271b1 !important;
	outline: none !important;
	box-shadow: 0 0 0 1px #2271b1 !important;
}

.eaf-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 4px 14px 4px 0;
	font-weight: 400;
	font-size: 0.92em;
}

.eaf-form .eaf-check input[type="checkbox"],
.eaf-form .eaf-check input[type="radio"] {
	appearance: auto !important;
	-webkit-appearance: auto !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	border: 1.5px solid #8c8f94 !important;
	accent-color: #2271b1;
	flex-shrink: 0;
}

.eaf-agree input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	border: 1.5px solid #8c8f94 !important;
	accent-color: #2271b1;
	margin-top: 2px !important;
}

.eaf-inline-specify {
	margin-top: 8px;
	max-width: 260px;
}

.eaf-agree label {
	font-weight: 600;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.eaf-legal p {
	font-size: 0.85em;
	line-height: 1.5;
	color: #444;
	margin-bottom: 12px;
}

.eaf-submit-row {
	text-align: center;
	margin: 30px 0 50px;
}

.eaf-submit-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 14px 40px;
	font-size: 1.05em;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
}

.eaf-submit-btn:hover {
	background: #135e96;
}

.eaf-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
