/* お問い合わせページ専用 CSS */
.page-description {
	font-size: 22px;
	margin-bottom: 40px; 
	margin-top: 40px;
}

.contact-form {
	max-width: 960px;
	margin: 0 auto;
	padding: 20px;
	font-family: sans-serif;
}

/* ボディ部分を左右2カラムに */
.form-body {
	display: flex;
	gap: 20px;
	min-height: 400px;
}

/* 左側フォーム */
.form-left {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* 右側（お問い合わせ内容） */
.form-right {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* ラベル */
.contact-form label {
	display: block;
	margin-bottom: 15px;
	text-align: left;
	font-weight: bold;
	font-size: 14px;
}

/* ラベルテキスト */
.contact-form label span {
	display: block;
	margin-bottom: 5px;
}

/* 入力欄 */
.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	box-sizing: border-box;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
	background-color: #fff !important;
	-webkit-text-fill-color: #000 !important;
	box-shadow: 0 0 0 1000px #fff inset !important;
}

/* テキストエリア */
.form-right label {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.contact-form textarea {
	flex: 1;
	resize: vertical;
	overflow-y: auto;
	min-height: 100px;
}

/* フォーカス時 */
.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #66afe9;
	outline: none;
	box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
	background-color: #fff;
}

/* 名前欄 横並び */
.name-row {
	display: flex;
	gap: 10px;
}
.name-row label {
	flex: 1;
}

/* CAPTCHAと送信ボタンを横並びに配置 */
.form-submit {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 20px;
}

/* CAPTCHAエリア全体（画像＋入力＋メッセージ） */
.captcha-area {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* CAPTCHA画像 */
.captcha-area img {
	width: 150px;
	height: auto;
	display: block;
}

/* CAPTCHA入力欄 */
.captcha-area input[type="text"] {
	width: 150px;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	background-color: #f4f4f4;
}

/* CAPTCHAの説明文 */
.captcha-area .captcha-note {
	font-size: 14px;
	color: #555;
	margin-right: 10px;
	white-space: nowrap;
}

/* 送信ボタン */
.contact-form button[type="submit"] {
	background-color: #ffc107;
	color: white;
	padding: 12px 30px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.contact-form button[type="submit"]:hover {
	background-color: #e0a800;
}

.form-privacy-note {
	color: #555;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 16px;
	text-align: center;
}

.form-privacy-note a {
	color: #0073aa;
	text-decoration: underline;
}

/* メッセージ */
.form-message {
	margin-top: 20px;
	color: green;
	font-size: 16px;
}

/* 未入力時の強調 */
input:invalid,
textarea:invalid {
	border-color: #e74c3c;
	background-color: #fff5f5;
}

#captcha-image {
	border: 2px solid #333;  /* 好みの色・太さに調整 */
	border-radius: 6px;      /* 角を丸くしたい場合 */
	box-shadow: 0 0 5px rgba(0,0,0,0.3);  /* 影をつけて立体感 */
	background-color: #fff;  /* 白背景にしたいとき */
}

/* スマホ対応 */
@media (max-width: 768px) {
	.form-body {
		flex-direction: column;
	}
	.form-right {
		max-width: 100%;
	}
	.form-submit {
		justify-content: center;
		gap: 10px;
		flex-wrap: wrap;
	}
	.name-row {
		flex-direction: column;
	}
	.captcha-area {
		flex-direction: column;
		align-items: center;
	}
	.captcha-area .captcha-note {
		margin-bottom: 4px;
	}
}