@charset "utf-8";

/* 詳細お問い合わせフォーム専用スタイル */

/* スムーズスクロールはJavaScriptで制御 */

/* フォーム切り替えタブ */
.form-type-switcher {
	max-width: 900px;
	margin: 0 auto 40px;
	display: flex;
	gap: 20px;
	justify-content: center;
	scroll-margin-top: 100px;
}

.form-type-link {
	padding: 15px 40px;
	font-size: 16px;
	font-weight: 700;
	color: #666666;
	background: #ffffff;
	border: 2px solid #dce0e3;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	letter-spacing: 0.5px;
}

.form-type-link:hover {
	border-color: #2c3e50;
	color: #2c3e50;
}

.form-type-link.active {
	color: #ffffff;
	background: linear-gradient(135deg, #2c3e50, #34495e);
	border-color: #2c3e50;
	cursor: default;
}

/* チェックボックスグループ */
.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 8px;
	border-radius: 6px;
}

.checkbox-label:hover {
	background: #ffffff;
}

.form-checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #2c3e50;
}

.checkbox-text {
	font-size: 16px;
	color: #333333;
	font-weight: 500;
}

/* 詳細フォーム特有のスタイル */
.contact-form-detailed .form-group {
	margin-bottom: 30px;
}

.contact-form-detailed .form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}

/* フリガナフィールドのスタイル調整 */
.contact-form-detailed input[id$="-furigana"] {
	background: #fafbfc;
}

/* メール確認フィールドのスタイル */
.contact-form-detailed #email-confirm {
	background: #fafbfc;
}

/* レスポンシブ */
@media (max-width: 992px) {
	.contact-form-detailed .form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 768px) {
	.form-type-switcher {
		flex-direction: column;
		gap: 15px;
		max-width: 100%;
		padding: 0 20px;
	}

	.form-type-link {
		padding: 12px 30px;
		font-size: 15px;
		text-align: center;
	}

	.checkbox-group {
		padding: 15px;
	}

	.checkbox-text {
		font-size: 15px;
	}

	.form-checkbox {
		width: 18px;
		height: 18px;
	}
}
