@charset "UTF-8";
/* お問い合わせフォーム（contact/index.html の<style>から移植） */
/* ================================================================
   お問い合わせフォーム（ダークテーマ）
   ================================================================ */

/* --- 全体ラッパー --- */
.contact-new-wrap {
	background-color: transparent;
}
.contact-new {
	max-width: 960px;
	margin: 0 auto;
	padding: 64px 20px 80px;
}

/* --- ステップインジケーター --- */
.contact-new_steps {
	display: flex;
	margin-bottom: 48px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.contact-new_step {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	background: #e1e1e1;
	position: relative;
	transition: background 0.3s, color 0.3s;
}
.contact-new_step::after {
	content: "";
	position: absolute;
	right: -12px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 28px 0 28px 12px;
	border-color: transparent transparent transparent #e1e1e1;
	z-index: 2;
}
.contact-new_step:last-child::after {
	display: none;
}
.contact-new_step-active {
	/* 現在地: チャコールで塗り＋白文字。dark-theme.css の
	   .contact-new_step{background:#e1e1e1!important} を上書きするため !important */
	background: #383838 !important;
	color: #fff !important;
}
.contact-new_step-active::after {
	border-color: transparent transparent transparent #383838 !important; /* 矢印もチャコールでリボンを連続 */
}
.contact-new_step-done {
	/* 完了済み: 中間グレー。現在地(チャコール)より控えめ＆未到達(薄グレー)とも明確に区別 */
	background: #6b6b6b !important;
	color: #fff !important;
}
.contact-new_step-done::after {
	border-color: transparent transparent transparent #6b6b6b !important;
}
.contact-new_step_num {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	opacity: 0.7;
	font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif;
}
.contact-new_step_text {
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif;
}

/* --- リード文 --- */
.contact-new_lead {
	font-size: 14px;
	line-height: 1.9;
	color: #555555;
	margin-bottom: 40px;
}

/* --- セクション見出し --- */
.contact-new_section-title {
	font-size: 18px;
	font-weight: 700;
	color: #000000;
	padding-left: 16px;
	border-left: 4px solid #cacaca;
	margin-bottom: 0;
	line-height: 1.5;
}

/* --- フォームカード --- */
.contact-new_card {
	background: #e1e1e1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
	border: 1px solid #cacaca;
	margin-top: 20px;
	margin-bottom: 48px;
}
.contact-new_card:last-of-type {
	margin-bottom: 0;
}

/* --- フォーム行 --- */
.contact-new_row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #cacaca;
}
.contact-new_row:last-child {
	border-bottom: none;
}

/* --- ラベル列 --- */
.contact-new_row_label {
	width: 260px;
	min-width: 260px;
	background: #e1e1e1;
	padding: 20px;
	display: flex;
	align-items: flex-start;
	padding-top: 24px;
	box-sizing: border-box;
}
.contact-new_label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	line-height: 1.5;
	flex-wrap: wrap;
}
.contact-new_label_required {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: #e74c3c;
	border-radius: 3px;
	padding: 2px 7px;
	line-height: 1.4;
	letter-spacing: 0.05em;
}
.contact-new_label_optional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 600;
	color: #ececec;
	background: #333;
	border-radius: 3px;
	padding: 2px 7px;
	line-height: 1.4;
	letter-spacing: 0.05em;
}

/* --- 入力列 --- */
.contact-new_row_input {
	flex: 1;
	padding: 16px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

/* --- 入力フィールド共通 --- */
.contact-new_card input[type="text"],
.contact-new_card input[type="email"],
.contact-new_card input[type="tel"],
.contact-new_card textarea {
	display: block !important;
	width: 100% !important;
	padding: 12px 16px !important;
	font-size: 15px !important;
	color: #333333 !important;
	background-color: #ffffff !important;
	border: 1px solid #cacaca !important;
	border-radius: 6px !important;
	outline: none !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box !important;
	line-height: 1.6 !important;
}
.contact-new_card select {
	display: block !important;
	width: 100% !important;
	padding: 14px 44px 14px 16px !important;
	font-size: 15px !important;
	color: #333333 !important;
	background-color: #ffffff !important;
	border: 1px solid #cacaca !important;
	border-radius: 6px !important;
	outline: none !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box !important;
	line-height: 1.6 !important;
	-webkit-appearance: none;
	appearance: none;
	height: auto !important;
}
.contact-new_card input[type="text"]:focus,
.contact-new_card input[type="email"]:focus,
.contact-new_card input[type="tel"]:focus,
.contact-new_card textarea:focus,
.contact-new_card select:focus {
	border-color: #cacaca !important;
	box-shadow: 0 0 0 3px rgba(158, 140, 94, 0.2) !important;
}
.contact-new_card input::placeholder,
.contact-new_card textarea::placeholder {
	color: #888 !important;
}

/* --- テキストエリア --- */
.contact-new_card textarea {
	min-height: 160px;
	resize: vertical;
}

/* --- セレクト --- */
.contact-new_select-wrap {
	position: relative;
}
.contact-new_select-wrap select.wpcf7-form-control {
	display: block;
	width: 100%;
	padding: 12px 44px 12px 16px;
	font-size: 15px;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #cacaca;
	border-radius: 6px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box;
	line-height: 1.6;
}
.contact-new_select-wrap select.wpcf7-form-control:focus {
	border-color: #cacaca;
	box-shadow: 0 0 0 3px rgba(158, 140, 94, 0.2);
}
/* CF7 が自動挿入する <p>/<br> により矢印が下に落ち、直下セレクタ(>)も外れる問題の対策。
   <br>を消し、子孫セレクタ(空白)で <p> 内の矢印にも当てて絶対配置を効かせる */
.contact-new_select-wrap > p { margin: 0; }
.contact-new_select-wrap br { display: none; }
.contact-new_select-wrap .select-arrow {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	color: #888;
	pointer-events: none;
}

/* --- 入力例テキスト --- */
.contact-new_example {
	font-size: 12px;
	color: #888;
	margin-top: 6px;
	line-height: 1.5;
}

/* --- 2カラム入力 --- */
.contact-new_input-2col {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
/* CF7 が自動挿入する <p> ラッパー内で 2入力が <br> により縦積みになるのを防ぎ、
   <p> の有無どちらでも横並び（部署名/役職・姓/名・せい/めい）にする */
.contact-new_input-2col > p {
	flex: 1;
	display: flex;
	gap: 10px;
	margin: 0;
	align-items: flex-start;
}
.contact-new_input-2col br { display: none; }
.contact-new_input-2col .wpcf7-form-control-wrap { flex: 1 1 0; min-width: 0; }
.contact-new_input-2col input { width: 100%; box-sizing: border-box; }

/* --- 同意チェック --- */
.contact-new_agree {
	text-align: center;
	margin-top: 40px;
}
.contact-new_agree label {
	font-size: 14px;
	color: #333333;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.contact-new_agree input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #383838;
	cursor: pointer;
}
.contact-new_agree a {
	color: #000000;
	text-decoration: underline;
	transition: color 0.25s ease;
}
.contact-new_agree a:hover {
	color: #000000;
}

/* --- 送信ボタン（STEP1） --- */
.contact-new_submit {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}
.contact-new_submit-btn {
	max-width: 320px;
	width: 100%;
	margin: 0;
	padding: 18px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 60px;
	background: linear-gradient(135deg, #383838 0%, #383838 100%);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-new_submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* --- バリデーションエラー --- */
.contact-new_validate-error {
	border-color: #e74c3c !important;
	background-color: rgba(231, 76, 60, 0.08) !important;
}
.contact-new_error-msg {
	color: #e74c3c;
	font-size: 13px;
	margin-top: 6px;
}

/* --- STEP2 確認画面 --- */
.contact-new_confirm_card {
	background: #e1e1e1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
	border: 1px solid #cacaca;
	margin-top: 20px;
	margin-bottom: 32px;
}
.contact-new_confirm_row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #cacaca;
}
.contact-new_confirm_row:last-child {
	border-bottom: none;
}
.contact-new_confirm_label {
	width: 200px;
	min-width: 200px;
	background: #e1e1e1;
	padding: 20px;
	display: flex;
	align-items: flex-start;
	padding-top: 24px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	line-height: 1.5;
}
.contact-new_confirm_value {
	flex: 1;
	padding: 20px 24px;
	font-size: 15px;
	color: #333333;
	line-height: 1.8;
	word-break: break-all;
}

/* --- STEP2 ボタンエリア --- */
.contact-new_confirm_btns {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}
/* CF7 が自動挿入する <p>/<br> でボタンが縦積み＆隙間なしになるのを防ぐ。
   <p> を横並び flex にし <br> を消す（PC: 戻る左・送信右の横並び） */
.contact-new_confirm_btns > p {
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 16px;
	width: 100%;
	flex-wrap: wrap;
}
.contact-new_confirm_btns br { display: none; }
.contact-new_confirm_btn-back {
	max-width: 260px;
	width: 100%;
	padding: 18px 32px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 60px;
	background: transparent;
	color: #333333;
	border: 2px solid #cacaca;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.contact-new_confirm_btn-back:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	border-color: #cacaca;
	color: #000000;
}
.contact-new_confirm_btn-submit {
	max-width: 320px;
	width: 100%;
	padding: 18px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 60px;
	background: linear-gradient(135deg, #383838 0%, #4a4a4a 100%);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-new_confirm_btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* --- STEP3 完了画面 --- */
.contact-new_complete {
	text-align: center;
	padding: 60px 20px 40px;
}
.contact-new_complete_icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(-135deg, #383838, #4a4a4a);
	color: #fff;
	font-size: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}
.contact-new_complete_title {
	font-size: 24px;
	font-weight: 700;
	color: #333333;
	margin-bottom: 16px;
}
.contact-new_complete_text {
	font-size: 15px;
	color: #555555;
	line-height: 1.9;
	margin-bottom: 40px;
}
.contact-new_complete_info {
	font-size: 14px;
	color: #555555;
	margin-bottom: 40px;
	line-height: 1.8;
}
.contact-new_complete_info strong {
	color: #333333;
	font-weight: 700;
	display: block;
	margin-bottom: 8px;
}
.contact-new_complete_info a {
	color: #000000;
	text-decoration: underline;
}
.contact-new_complete_info a:hover {
	color: #000000;
}
.contact-new_complete_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 320px;
	width: 100%;
	padding: 18px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 60px;
	background: linear-gradient(135deg, #383838 0%, #383838 100%);
	color: #fff;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box;
}
.contact-new_complete_btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ================================================================
   Responsive: Tablet (999px)
   ================================================================ */
@media screen and (max-width: 999px) {
	.contact-new_row_label {
		width: 170px;
		min-width: 170px;
		padding: 16px;
		padding-top: 20px;
	}
	.contact-new_row_input {
		padding: 14px 20px;
	}
	.contact-new_confirm_label {
		width: 170px;
		min-width: 170px;
		padding: 16px;
		padding-top: 20px;
	}
	.contact-new_confirm_value {
		padding: 16px 20px;
	}
}

/* ================================================================
   Responsive: SP (767px)
   ================================================================ */
@media screen and (max-width: 767px) {
	.contact-new {
		padding: 40px 16px 60px;
	}
	.contact-new_steps {
		margin-bottom: 32px;
	}
	.contact-new_step {
		flex-direction: column;
		gap: 2px;
		padding: 12px 8px;
		font-size: 12px;
	}
	.contact-new_step::after {
		border-width: 22px 0 22px 8px;
		right: -8px;
	}
	.contact-new_step_num {
		font-size: 10px;
	}
	.contact-new_step_text {
		font-size: 11px;
	}
	.contact-new_section-title {
		font-size: 16px;
	}
	.contact-new_row {
		flex-direction: column;
	}
	.contact-new_row_label {
		width: 100%;
		min-width: unset;
		padding: 12px 16px;
	}
	.contact-new_row_input {
		padding: 12px 16px 16px;
	}
	.contact-new_input-2col {
		grid-template-columns: 1fr 1fr;
	}
	.contact-new_example {
		margin-top: 14px;
	}
	.contact-new_submit-btn {
		max-width: 100%;
		font-size: 15px;
	}
	.contact-new_lead {
		font-size: 15px;
		text-align: center;
	}
	.contact-new_confirm_row {
		flex-direction: column;
	}
	.contact-new_confirm_label {
		width: 100%;
		min-width: unset;
		padding: 12px 16px;
	}
	.contact-new_confirm_value {
		padding: 12px 16px 16px;
	}
	.contact-new_confirm_btns {
		flex-direction: column;
		align-items: center;
	}
	/* スマホ: 縦並びのまま、くっつかないよう間隔を確保（<p>を縦flex化） */
	.contact-new_confirm_btns > p {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}
	.contact-new_confirm_btn-back,
	.contact-new_confirm_btn-submit {
		max-width: 100%;
	}
	.contact-new_complete {
		padding: 40px 16px 30px;
	}
	.contact-new_complete_icon {
		width: 64px;
		height: 64px;
		font-size: 32px;
	}
	.contact-new_complete_title {
		font-size: 20px;
	}
	.contact-new_complete_text {
		font-size: 14px;
	}
	.contact-new_complete_btn {
		max-width: 100%;
		font-size: 15px;
	}
}

/* 独自の完了画面(STEP3)を使うのでCF7標準の応答バナーは隠す */
.contact-new .wpcf7-response-output,
.contact-new .wpcf7-not-valid-tip{}
.contact-new .wpcf7-response-output{display:none;}
