@charset "utf-8";

/* ================================
   お問い合わせページ専用 プロ版CSS
================================ */

.contact-wrap {
	font-family: "Helvetica Neue", sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f7f9fb;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 800px;
	margin: auto;
	padding: 20px;
	box-sizing: border-box;
}

.contact-form {
	max-width: 500px;
	margin: auto;
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.contact-form h2 {
	text-align: center;
	margin-bottom: 20px;
}

.contact-form label {
	display: block;
	margin-top: 15px;
	margin-bottom: 8px;
	font-weight: bold;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px;
	margin-bottom: 15px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #004080;
	box-shadow: 0 0 5px rgba(0, 64, 128, 0.3);
}

.contact-form button {
	width: 100%;
	padding: 12px;
	background: #002147;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-sizing: border-box;
}

.contact-form button:hover {
	background: #014aad;
	transform: translateY(-2px);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top: 3px solid #0a3d63;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

button[disabled] {
	background-color: #ccc !important;
	color: #666 !important;
	border-color: #aaa !important;
	cursor: not-allowed;
}

.error-message {
	color: red;
	font-size: 0.9em;
	margin-top: 5px;
}

/* レスポンシブ対応（モバイル向け調整） */
@media (max-width: 600px) {
	.container {
		padding: 10px;
	}

	.contact-form {
		padding: 20px;
	}

	.contact-form input,
	.contact-form textarea {
		font-size: 1em;
	}

	.contact-form button {
		font-size: 1em;
		padding: 12px;
	}
}
