/* ===============================
   Contact Page Styles v2
   - 蓝色渐变叠加背景图
   - 联系方式突出
   - 表单美化
   =============================== */

/* 隐藏面包屑 */
#contact .crumb {
	display: none;
}

/* ページタイトル - 背景图+蓝色渐变叠加 */
.page_title {
	position: relative;
	padding: 80px 50px 60px;
	background: linear-gradient(135deg, rgba(10,92,158,0.85) 0%, rgba(27,159,255,0.75) 100%), url("/2024/assets/img/contact/title.jpg") center center; background-size: cover;
	text-align: center;
	overflow: hidden;
}

.page_title .title-en {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: rgba(255,255,255,0.6);
	text-transform: uppercase;
}

.page_title h1 {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0 0 20px;
	font-size: 36px;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1em;
	color: #fff;
}

.page_lead {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0 auto;
	padding: 0;
	max-width: 600px;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 2em;
	color: rgba(255,255,255,0.9);
}

/* 联系方式区块 */
.contact-info {
	display: flex;
	justify-content: center;
	gap: 40px;
	padding: 40px 4vw;
	background: linear-gradient(180deg, rgba(93,155,207,0.9) 0%, #f6f8fa 100%);
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px 35px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-card i {
	font-size: 28px;
	color: #1B9FFF;
}

.contact-card .info {
	text-align: left;
}

.contact-card .label {
	display: block;
	font-size: 12px;
	color: #7a99b5;
	margin-bottom: 4px;
}

.contact-card .number {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #1a3a5c;
	letter-spacing: 0.05em;
}

/* フォームエリア */
.contact_form {
	margin: 0;
	padding: 60px 4vw 80px;
	background: #f6f8fa;
}

.contact_form > p {
	display: block;
	margin: 0 auto 40px;
	padding: 0;
	max-width: 600px;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 2em;
	text-align: center;
	color: #5a6a7a;
}

/* フォームカード */
.contact_form form {
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 50px 60px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.form_input {
	padding: 12px 0;
}

.form_input label {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
}

.form_input label .form_label {
	position: relative;
	display: block;
	width: 30%;
	padding: 12px 0 12px 50px;
	font-size: 14px;
	font-weight: 500;
	color: #1a3a5c;
}

.form_input label .form_label.req::after {
	position: absolute;
	left: 0;
	top: 12px;
	margin: 0;
	padding: 4px 8px;
	color: #fff;
	content: "必須";
	font-size: 10px;
	font-weight: 600;
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	border-radius: 4px;
}

.form_input label select,
.form_input label input,
.form_input label textarea {
	width: 70%;
	display: block;
	padding: 14px 16px;
	font-size: 15px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	background: #fafbfc;
	transition: all 0.2s ease;
}

.form_input label select:focus,
.form_input label input:focus,
.form_input label textarea:focus {
	outline: none;
	border-color: #1B9FFF;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(27,159,255,0.1);
}

.form_input label textarea {
	min-height: 150px;
	resize: vertical;
}

.privacy {
	margin-top: 20px;
	padding: 20px;
	background: #f8fafc;
	border-radius: 8px;
}

.privacy p {
	display: block;
	padding: 0;
	font-size: 13px;
	line-height: 1.8em;
	color: #6b7280;
	text-align: center;
}

.privacy a {
	color: #1B9FFF;
	text-decoration: underline;
}

.bt_submit {
	margin: 0;
	padding: 40px 0 0;
	text-align: center;
}

.bt_submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 300px;
	margin: 0 auto;
	padding: 20px 50px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1em;
	text-align: center;
	background: linear-gradient(135deg, #1B9FFF 0%, #0e7ed4 100%);
	border: none;
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(27,159,255,0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

.bt_submit button:hover {
	background: linear-gradient(135deg, #0e7ed4 0%, #0a5c9e 100%);
	box-shadow: 0 6px 25px rgba(27,159,255,0.4);
	transform: translateY(-2px);
}

/* サンクスページ */
.contact_thanks {
	margin: 0;
	padding: 80px 4vw;
	background: #f6f8fa;
}

.contact_thanks p {
	display: block;
	margin: 0 0 2rem;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 2em;
	text-align: center;
	color: #1a3a5c;
}

.contact_thanks a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 300px;
	margin: 0 auto;
	padding: 20px 50px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1em;
	text-align: center;
	background: linear-gradient(135deg, #1B9FFF 0%, #0e7ed4 100%);
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(27,159,255,0.3);
	transition: all 0.3s ease;
}

.contact_thanks a:hover {
	background: linear-gradient(135deg, #0e7ed4 0%, #0a5c9e 100%);
	box-shadow: 0 6px 25px rgba(27,159,255,0.4);
	transform: translateY(-2px);
}

/* スマホ */
@media screen and (max-width: 600px) {

.page_title {
	padding: 50px 4vw 40px;
}

.page_title .title-en {
	font-size: 11px;
}

.page_title h1 {
	font-size: 7vw;
	margin: 0 0 15px;
}

.page_lead {
	font-size: 3.5vw;
	line-height: 1.8em;
}

.contact-info {
	flex-direction: column;
	gap: 15px;
	padding: 30px 4vw;
}

.contact-card {
	padding: 15px 20px;
	width: 100%;
	justify-content: center;
}

.contact-card i {
	font-size: 22px;
}

.contact-card .number {
	font-size: 18px;
}

.contact_form {
	padding: 40px 4vw 60px;
}

.contact_form > p {
	font-size: 3.5vw;
	margin-bottom: 30px;
}

.contact_form form {
	padding: 30px 20px;
}

.form_input label .form_label {
	width: 100%;
	padding: 10px 0 8px 50px;
	font-size: 3.5vw;
}

.form_input label select,
.form_input label input,
.form_input label textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 4vw;
}

.privacy p {
	font-size: 3vw;
}

.bt_submit {
	padding: 30px 0 0;
}

.bt_submit button {
	min-width: auto;
	width: 100%;
	padding: 16px 30px;
	font-size: 4vw;
}

.contact_thanks a {
	min-width: auto;
	width: 80%;
	padding: 16px 30px;
	font-size: 4vw;
}

}

/* 営業時間 */
.business-hours {
	text-align: center;
	padding: 15px 4vw;
	background: #f6f8fa;
	font-size: 14px;
	color: #5a6a7a;
	letter-spacing: 0.05em;
}

.business-hours i {
	margin-right: 8px;
	color: #1B9FFF;
}

/* ===============================
   Thanks Page Redesign
   =============================== */

.thanks-content {
	padding: 60px 4vw 80px;
	background: #f6f8fa;
	text-align: center;
}

.success-icon {
	margin-bottom: 30px;
}

.success-icon i {
	font-size: 80px;
	color: #10b981;
	animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
	0% { transform: scale(0); opacity: 0; }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); opacity: 1; }
}

.thanks-card {
	max-width: 600px;
	margin: 0 auto 40px;
	padding: 40px 50px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.thanks-card h2 {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 600;
	color: #1a3a5c;
}

.thanks-card .main-message {
	margin: 0 0 30px;
	font-size: 15px;
	color: #5a6a7a;
	line-height: 1.8em;
}

.response-time {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	background: linear-gradient(135deg, #e8f4ff 0%, #dbeafe 100%);
	border-radius: 30px;
	margin-bottom: 30px;
}

.response-time i {
	color: #1B9FFF;
	font-size: 20px;
}

.response-time span {
	font-size: 15px;
	color: #1a3a5c;
}

.response-time strong {
	color: #1B9FFF;
	font-weight: 700;
}

.contact-fallback {
	padding-top: 25px;
	border-top: 1px solid #e5e7eb;
}

.contact-fallback > p {
	margin: 0 0 15px;
	font-size: 13px;
	color: #7a99b5;
}

.phone-list {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.phone-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #1a3a5c;
	background: #f6f8fa;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.phone-list a:hover {
	color: #1B9FFF;
	background: #e8f4ff;
}

.phone-list a i {
	color: #1B9FFF;
}

.thanks-cta {
	margin-bottom: 40px;
}

.thanks-cta > p {
	margin: 0 0 20px;
	font-size: 14px;
	color: #7a99b5;
}

.thanks-cta .cta-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.thanks-cta .cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 30px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 30px;
	transition: all 0.3s ease;
}

.thanks-cta .cta-btn.secondary {
	color: #1a3a5c;
	background: #fff;
	border: 2px solid #d0dbe6;
}

.thanks-cta .cta-btn.secondary:hover {
	color: #1B9FFF;
	border-color: #1B9FFF;
}

.back-home {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #7a99b5;
	transition: color 0.2s ease;
}

.back-home:hover {
	color: #1B9FFF;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
	.success-icon i {
		font-size: 60px;
	}
	
	.thanks-card {
		padding: 30px 20px;
	}
	
	.thanks-card h2 {
		font-size: 5vw;
	}
	
	.thanks-card .main-message {
		font-size: 3.5vw;
	}
	
	.response-time {
		padding: 12px 20px;
		flex-direction: column;
		gap: 5px;
	}
	
	.response-time span {
		font-size: 3.5vw;
	}
	
	.phone-list {
		flex-direction: column;
		gap: 10px;
	}
	
	.phone-list a {
		width: 100%;
		justify-content: center;
		font-size: 4vw;
	}
	
	.thanks-cta .cta-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.thanks-cta .cta-btn {
		width: 80%;
		justify-content: center;
	}
}
