/* ================================
   Contact Form Styles
   ================================ */

/* Page Header */
.contact-page-header {
	padding: 120px 20px 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.contact-page-header-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	pointer-events: none;
	background-image: radial-gradient(#fff 1px, transparent 1px);
	background-size: 40px 40px;
}

.contact-page-header-title-en {
	font-family: 'Lato', sans-serif;
	font-size: 100px;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 1px var(--main-blue);
	line-height: 1;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(120px);
	transition: opacity 1s ease, transform 1s ease;
}

.contact-page-header-title-en.is-animated {
	opacity: 1;
	transform: translateY(0);
}

.contact-page-header-title-ja {
	font-size: 32px;
	font-weight: 900;
	color: var(--main-blue);
	margin-top: -20px;
	position: relative;
	z-index: 1;
}

.contact-page-header-desc {
	color: var(--main-blue);
	font-size: 14px;
	margin-top: 15px;
	position: relative;
	z-index: 1;
}

.contact-page-header-note {
	color: #FF6B6B;
	font-size: 13px;
	margin-top: 10px;
	position: relative;
	z-index: 1;
}

.contact-page-header-char {
	position: absolute;
	left: 20px;
	bottom: 10px;
	width: 120px;
	z-index: 1;
}

.contact-page-header-dec {
	position: absolute;
	z-index: 1;
}

.contact-page-header-dec-q {
	right: 60px;
	top: 80px;
	font-size: 60px;
	color: #4ECDC4;
	font-weight: 900;
	font-family: 'Lato', sans-serif;
}

.contact-page-header-dec-ex {
	right: 30px;
	top: 60px;
	font-size: 80px;
	color: #FCDE1E;
	font-weight: 900;
	font-family: 'Lato', sans-serif;
}

.contact-page-header-dec-q2 {
	right: 10px;
	top: 130px;
	font-size: 40px;
	color: #4ECDC4;
	font-weight: 900;
	font-family: 'Lato', sans-serif;
	opacity: 0.5;
}

/* Form Container */
.contact-form-section {
	padding: 60px 20px 100px;
}

.contact-form-card {
	max-width: 750px;
	margin: 0 auto;
	background: #fff;
	border-radius: 20px;
	padding: 60px 60px 50px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
	font-size: 22px;
	font-weight: 900;
	color: var(--main-blue);
	text-align: center;
	margin-bottom: 10px;
}

.contact-form-required-note {
	font-size: 13px;
	color: #666;
	margin-bottom: 30px;
}

/* Form Fields */
.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
}

.form-group {
	flex: 1;
	margin-bottom: 0;
}

.form-group-full {
	margin-bottom: 25px;
}

.form-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text-dark);
}

.form-label-required {
	color: #E74C3C;
	font-size: 14px;
	font-weight: 700;
}

.form-input {
	width: 100%;
	padding: 12px 15px;
	background: #F0F0F0;
	border: 2px solid #F0F0F0;
	border-radius: 5px;
	font-size: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--text-dark);
	transition: border-color 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: var(--main-blue);
	background: #fff;
}

.form-input.is-error {
	border-color: #E74C3C;
	background: #FFF5F5;
}

.form-textarea {
	width: 100%;
	padding: 12px 15px;
	background: #F0F0F0;
	border: 2px solid #F0F0F0;
	border-radius: 5px;
	font-size: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--text-dark);
	min-height: 150px;
	resize: vertical;
	transition: border-color 0.3s;
}

.form-textarea:focus {
	outline: none;
	border-color: var(--main-blue);
	background: #fff;
}

.form-textarea.is-error {
	border-color: #E74C3C;
	background: #FFF5F5;
}

/* Date Fields */
.form-date-group {
	margin-bottom: 15px;
}

.form-date-row {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
}

.form-date-label {
	font-size: 14px;
	color: var(--text-dark);
	min-width: 50px;
}

.form-date-input {
	flex: 1;
	max-width: 220px;
	padding: 10px 12px;
	background: #F0F0F0;
	border: 2px solid #F0F0F0;
	border-radius: 5px;
	font-size: 14px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--text-dark);
	transition: border-color 0.3s;
}

.form-date-input:focus {
	outline: none;
	border-color: var(--main-blue);
	background: #fff;
}

.form-date-input.is-error {
	border-color: #E74C3C;
	background: #FFF5F5;
}

/* Radio Buttons */
.form-radio-group {
	display: flex;
	gap: 20px;
	align-items: center;
}

.form-radio-label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	cursor: pointer;
	color: var(--text-dark);
}

.form-radio-label input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--main-blue);
	cursor: pointer;
}

/* Checkbox */
.form-checkbox-area {
	text-align: center;
	margin: 40px 0 30px;
}

.form-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--main-blue);
	cursor: pointer;
}

.form-checkbox-label a {
	color: #E74C3C;
	text-decoration: underline;
}

/* Error Messages */
.form-error {
	color: #E74C3C;
	font-size: 12px;
	margin-top: 5px;
}

.form-error-box {
	background: #FFF5F5;
	border: 1px solid #E74C3C;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 25px;
}

.form-error-box p {
	color: #E74C3C;
	font-size: 13px;
	margin-bottom: 5px;
}

.form-error-box p:last-child {
	margin-bottom: 0;
}

/* Submit Button */
.form-submit-area {
	text-align: center;
}

.form-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-width: 320px;
	padding: 16px 25px;
	background: #fff;
	border: 2px solid var(--main-blue);
	border-radius: 10px;
	color: var(--main-blue);
	font-size: 18px;
	font-weight: 700;
	font-family: 'Noto Sans JP', sans-serif;
	cursor: pointer;
	transition: background 0.3s;
}

.form-submit-btn:hover {
	background: rgba(0, 113, 188, 0.05);
}

.form-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.form-submit-btn-icon {
	width: 30px;
	height: 30px;
	background: var(--main-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
}

/* Confirm Page */
.confirm-table {
	width: 100%;
	margin-bottom: 30px;
}

.confirm-row {
	display: flex;
	border-bottom: 1px solid #eee;
	padding: 15px 0;
}

.confirm-label {
	width: 200px;
	font-weight: 700;
	font-size: 14px;
	color: var(--text-dark);
	flex-shrink: 0;
}

.confirm-value {
	flex: 1;
	font-size: 14px;
	color: var(--text-dark);
	white-space: pre-wrap;
	word-break: break-all;
}

.confirm-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 40px;
}

.confirm-back-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 16px 25px;
	background: #fff;
	border: 2px solid #999;
	border-radius: 10px;
	color: #666;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Noto Sans JP', sans-serif;
	cursor: pointer;
	transition: background 0.3s;
	text-decoration: none;
}

.confirm-back-btn:hover {
	background: #f5f5f5;
}

.confirm-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-width: 280px;
	padding: 16px 25px;
	background: #fff;
	border: 2px solid var(--main-blue);
	border-radius: 10px;
	color: var(--main-blue);
	font-size: 18px;
	font-weight: 700;
	font-family: 'Noto Sans JP', sans-serif;
	cursor: pointer;
	transition: background 0.3s;
}

.confirm-submit-btn:hover {
	background: rgba(0, 113, 188, 0.05);
}

.confirm-submit-btn-icon {
	width: 30px;
	height: 30px;
	background: var(--main-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	margin-left: 15px;
}

/* Thanks Page */
.thanks-content {
	text-align: center;
	padding: 40px 0;
}

.thanks-title {
	font-size: 24px;
	font-weight: 900;
	color: var(--main-blue);
	margin-bottom: 20px;
}

.thanks-message {
	font-size: 15px;
	color: var(--text-dark);
	line-height: 2;
	margin-bottom: 40px;
}

.thanks-back-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 40px;
	background: #fff;
	border: 2px solid var(--main-blue);
	border-radius: 10px;
	color: var(--main-blue);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.3s;
}

.thanks-back-link:hover {
	background: rgba(0, 113, 188, 0.05);
}

/* Error Page */
.error-content {
	text-align: center;
	padding: 40px 0;
}

.error-title {
	font-size: 24px;
	font-weight: 900;
	color: #E74C3C;
	margin-bottom: 20px;
}

.error-message {
	font-size: 15px;
	color: var(--text-dark);
	line-height: 2;
	margin-bottom: 40px;
}


/* ================================
   Responsive
   ================================ */
@media (max-width: 768px) {
	.contact-page-header {
		padding: 100px 15px 40px;
	}

	.contact-page-header-title-en {
		font-size: 50px;
	}

	.contact-page-header-title-en.is-animated {
		transform: translateY(50px);
	}

	.contact-page-header-title-ja {
		font-size: 22px;
		margin-top: -10px;
	}

	.contact-page-header-char {
		width: 80px;
		left: 10px;
	}

	.contact-page-header-dec-q {
		font-size: 40px;
		right: 40px;
		top: 70px;
	}

	.contact-page-header-dec-ex {
		font-size: 50px;
		right: 10px;
		top: 50px;
	}

	.contact-page-header-dec-q2 {
		font-size: 25px;
		right: 5px;
		top: 100px;
	}

	.contact-form-section {
		padding: 30px 15px 60px;
	}

	.contact-form-card {
		padding: 30px 20px;
		border-radius: 15px;
	}

	.contact-form-title {
		font-size: 18px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.form-group {
		margin-bottom: 20px;
	}

	.form-date-row {
		flex-wrap: wrap;
	}

	.form-date-input {
		max-width: 100%;
	}

	.form-submit-btn {
		min-width: 100%;
	}

	.confirm-label {
		width: 120px;
		font-size: 13px;
	}

	.confirm-value {
		font-size: 13px;
	}

	.confirm-buttons {
		flex-direction: column;
		align-items: center;
	}

	.confirm-back-btn,
	.confirm-submit-btn {
		min-width: 100%;
		justify-content: center;
	}

}
