/* ===== Contact Form ===== */
.contact {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
	color: #333;
}

.contact__lead {
	text-align: center;
	font-size: 15px;
	margin: 0 0 32px;
}

.contact__form {
	width: 100%;
}

.contact__row {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 20px 0;
	border-top: 1px dotted #c8c8c8;
}

.contact__row:last-of-type {
	border-bottom: 1px dotted #c8c8c8;
}

.contact__label {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 200px;
	padding-top: 8px;
}

.contact__badge {
	display: inline-block;
	width: 44px;
	padding: 3px 0;
	font-size: 12px;
	color: #fff;
	text-align: center;
	border-radius: 3px;
	flex-shrink: 0;
}

.contact__badge--required {
	background-color: #e60012;
}

.contact__badge--optional {
	background-color: #9e9e9e;
}

.contact__name {
	font-size: 14px;
	color: #333;
}

.contact__field {
	flex: 1;
}

.contact__field input[type="text"],
.contact__field input[type="email"],
.contact__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	background-color: #fff;
	font-size: 14px;
	font-family: inherit;
	color: #333;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.contact__field input[type="text"]:focus,
.contact__field input[type="email"]:focus,
.contact__field textarea:focus {
	outline: none;
	border-color: #1a2a6c;
}

.contact__field textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.6;
}

.contact__note {
	text-align: center;
	font-size: 13px;
	line-height: 1.8;
	margin: 32px 0;
	color: #333;
}

.contact__note a {
	color: #1a2a6c;
	text-decoration: underline;
}

.contact__note a:hover {
	text-decoration: none;
}

.contact__submit {
	text-align: center;
	margin-top: 16px;
}

.contact__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 280px;
	padding: 18px 40px;
	background-color: #1a2a6c;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
	font-family: inherit;
}

.contact__btn:hover {
	opacity: 0.85;
}

.contact__btn:active {
	transform: translateY(1px);
}

.contact__btn span {
	font-weight: normal;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
	.contact {
		padding: 24px 16px 60px;
	}

	.contact__lead {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.contact__row {
		flex-direction: column;
		gap: 10px;
		padding: 16px 0;
	}

	.contact__label {
		flex: 0 0 auto;
		padding-top: 0;
	}

	.contact__field input[type="text"],
	.contact__field input[type="email"],
	.contact__field textarea {
		font-size: 16px; /* iOSのズーム防止 */
	}

	.contact__note {
		font-size: 12px;
		text-align: left;
		margin: 24px 0;
	}

	.contact__btn {
		min-width: 0;
		width: 100%;
		padding: 16px 24px;
		font-size: 14px;
	}
}