@charset "UTF-8";
/* ========================================================================
   contact.css : お問い合わせフォームページ
   - download.css と体裁を統一
   - 上部にステップインジケーター（団子の串）
   ======================================================================== */


/* ---------- mvLower 拡張 ---------- */
.mvLower {
	background-image: url("/img/contact/bg_mvLower.jpg");
	background-color: #d9d9d9;
}

.contactLower__formArea {
	background-color: #d9d9d9;
	padding: 0 0 180px 0;
}


/* ============================================================
   フォーム白カード（download と同体裁）
   ============================================================ */
.contactLower__form {
	background-color: #FFF;
	max-width: 880px;
	margin: 0 auto;
	padding: 60px 100px 100px 100px;
}


/* ============================================================
   ステップインジケーター（団子の串）
   - 串(横線): 内側パディングを除いた範囲で 100% 横断
   - 1つ目・3つ目: 中央(2つ目)から左右に 24% の距離
   - is-active: 数字と漢字を緑/18px、サークル35px
   ============================================================ */
.contactLower__steps {
	list-style: none;
	margin: 0 0 60px;
	padding: 0;
	position: relative;
	display: block;
	height: 100px;
}
/* 横の串：左右パディングを除いた100%幅 */
.contactLower__steps::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 17px;             /* 円の中心高さに揃える（円35px の半分） */
	height: 1px;
	background-color: #CCC;
	z-index: 0;
}

.contactLower__step {
	position: absolute;
	bottom: 0;
	width: 80px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
/* 中央(2つ目)を基準に、1つ目・3つ目は左右24%の位置 */
.contactLower__step:nth-child(2) {
	left: 50%;
	transform: translateX(-50%);
}
.contactLower__step:nth-child(1) {
	left: calc(50% - 24%);
	transform: translateX(-50%);
}
.contactLower__step:nth-child(3) {
	left: calc(50% + 24%);
	transform: translateX(-50%);
}

.contactLower__step-num {
	font-size: 18px;
	color: #b3b3b3;
	font-family: var(--font-en);
	transition: color .25s;
}
.contactLower__step-label {
	font-size: 18px;
	font-weight: 700;
	color: #b3b3b3;
	margin-bottom: 8px;
	transition: color .25s;
}

/* サークル：35px、塗りつぶし（is-activeで緑塗り、通常時はグレー塗り） */
.contactLower__step-circle {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #b3b3b3;
	border: none;
	transition: .25s;
}

/* アクティブ状態：数字・漢字を緑、円を緑塗り */
.contactLower__step.is-active .contactLower__step-num,
.contactLower__step.is-active .contactLower__step-label {
	color: var(--color-corp);
}
.contactLower__step.is-active .contactLower__step-circle {
	background-color: var(--color-corp);
}


/* ============================================================
   リード文（download の lead と同サイズ）
   ============================================================ */
.contactLower__lead {
	font-size: 16px;
	color: #333;
	line-height: 2;
	margin: 0 0 60px;
}


/* ============================================================
   フォーム行（download の row と同設計）
   ============================================================ */
.contactLower__row {
	display: flex;
	align-items: center;
	margin-bottom: 50px;
}
.contactLower__row--textarea {
	align-items: flex-start;
}
.contactLower__row--textarea .contactLower__label {
	padding-top: 12px;
}

.contactLower__label {
	flex-shrink: 0;
	width: 220px;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	display: flex;
	align-items: center;
}
.contactLower__required {
	color: #E60000;
	font-size: 16px;
	font-weight: 400;
	margin-left: 10px;
}

.contactLower__input,
.contactLower__select,
.contactLower__textarea {
	flex: 1;
	width: 100%;
	border: 1px solid #999;
	background-color: #FFF;
	font-size: 18px;
	color: #333;
	border-radius: 0;
	transition: border-color .25s;
	font-family: inherit;
}
.contactLower__input,
.contactLower__select {
	height: 50px;
}
.contactLower__input {
	padding-left: 10px;
}
.contactLower__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><polyline points='1,1 6,7 11,1' fill='none' stroke='%23888' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding: 0 40px 0 12px;
}
.contactLower__textarea {
	height: 180px;
	resize: vertical;
	line-height: 1.6;
	padding: 12px;
}
.contactLower__input:focus,
.contactLower__select:focus,
.contactLower__textarea:focus {
	outline: none;
	border-color: var(--color-corp);
}


/* ============================================================
   確認ボタン（download と同形）
   ============================================================ */
.contactLower__submit-wrap {
	margin-top: 80px;
	text-align: center;
}
.contactLower__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	height: 50px;
	background-color: transparent;
	border: 1px solid var(--color-corp);
	border-radius: 9999px;
	color: var(--color-corp);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}
.contactLower__submit:hover {
	background-color: var(--color-corp);
	color: #FFF;
}


/* ============================================================
   下部 DOWNLOAD 単独バナー（download の CONTACT US バナーと同体裁）
   ============================================================ */
.contactLower__download {
	background-color: var(--color-accent);
	padding: 100px 20px;
	text-align: center;
}
.contactLower__download-h2 {
	margin-bottom: 50px;
}
.contactLower__download-en {
	display: block;
	font-family: var(--font-en);
	font-size: 46px;
	font-weight: 700;
	color: #333;
	line-height: 1;
	margin-bottom: 17px;
	letter-spacing: .04em;
}
.contactLower__download-ja {
	display: block;
	font-size: 21px;
	font-weight: 700;
	color: #333;
}
.contactLower__download .btn {
	background-color: var(--color-corp);
	border-color: var(--color-corp);
	color: #FFF;
}
.contactLower__download .btn:hover {
	background-color: #FFF;
	color: var(--color-corp);
}


/* ============================================================
   SP（〜767px）
   ============================================================ */
@media screen and (max-width: 767px){
	.contactLower__formArea {
		padding: 0 0 80px 0;
	}
	.contactLower__form {
		max-width: calc(100% - 30px);
		margin: 0 auto;
		padding: 36px 20px 50px;
	}

	/* ステップインジケーター */
	.contactLower__steps {
		margin: 0 auto 36px;
		max-width: 320px;
		height: 70px;
	}
	.contactLower__steps::before {
		bottom: 12px;
	}
	.contactLower__step {
		width: 60px;
		gap: 2px;
	}
	.contactLower__step-num,
	.contactLower__step-label {
		font-size: 14px!important;
	}
	.contactLower__step-circle {
		width: 24px;
		height: 24px;
	}
	.contactLower__step.is-active .contactLower__step-num,
	.contactLower__step.is-active .contactLower__step-label {
		font-size: 14px;
	}

	.contactLower__lead {
		font-size: 14px;
		line-height: 1.85;
		margin-bottom: 36px;
	}

	.contactLower__row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-bottom: 24px;
	}
	.contactLower__row--textarea .contactLower__label {
		padding-top: 0;
	}
	.contactLower__label {
		width: 100%;
		font-size: 14px;
	}
	.contactLower__required {
		font-size: 12px;
	}
	/* PCの flex: 1 をリセット（縦積みのため不要） */
	.contactLower__input,
	.contactLower__select,
	.contactLower__textarea {
		flex: none;
		width: 100%;
	}
	.contactLower__input,
	.contactLower__select {
		height: 44px;
		font-size: 14px!important;
	}
	.contactLower__textarea {
		height: 100px;
		font-size: 14px;
	}

	.contactLower__submit-wrap {
		margin-top: 40px;
	}
	.contactLower__submit {
		min-width: 220px;
		height: 44px;
		font-size: 14px;
	}

	.contactLower__download {
		padding: 60px 20px;
	}
	.contactLower__download-h2 {
		margin-bottom: 30px;
	}
	.contactLower__download-en {
		font-size: 28px;
		margin-bottom: 8px;
	}
	.contactLower__download-ja {
		font-size: 18px;
	}
}


/* === 自動生成: PC→SPフォントマッピング統一 === */
@media screen and (max-width: 767px){
	.contactLower__step-num {
		font-size: 16px;
	}
	.contactLower__step-label {
		font-size: 16px;
	}
	/* ============================================================
   リード文（download の lead と同サイズ）
   ============================================================ */
.contactLower__lead {
		font-size: 14px;
	}
	.contactLower__input,
.contactLower__select,
.contactLower__textarea {
		font-size: 16px;
	}
}


/* ============================================================
   フォーム動的実装用 追加スタイル
   - エラーメッセージ
   - 確認画面の値表示
   - 修正ボタン
   - 完了画面の見出し
   ============================================================ */

/* エラーサマリー */
.contactLower__error-summary {
	background-color: #fdecec;
	border: 1px solid #e60000;
	color: #c00;
	font-size: 16px;
	padding: 16px 20px;
	margin-bottom: 30px;
	line-height: 1.6;
}

/* 各項目下のエラーメッセージ */
.contactLower__error {
	flex-basis: 100%;
	margin-top: 8px;
	font-size: 14px;
	color: #c00;
	margin-left: 220px; /* ラベル幅オフセット */
}

/* 確認画面の値表示 */
.contactLower__row--confirm {
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
	margin-bottom: 0;
}
.contactLower__confirmVal {
	flex: 1;
	font-size: 18px;
	color: #333;
	line-height: 1.7;
	word-break: break-word;
	white-space: pre-wrap;
	min-height: 1.7em;
}

/* 確認画面のボタン並び（戻る + 送信） */
.contactLower__submit-wrap--confirm {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}
.contactLower__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 50px;
	background-color: #FFF;
	border: 1px solid #999;
	border-radius: 9999px;
	color: #333;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.contactLower__back:hover {
	background-color: #999;
	color: #FFF;
	border-color: #999;
}

/* 完了画面 */
.contactLower__thanks-h2 {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	color: var(--color-corp);
	margin: 20px 0 30px;
}


/* ============================================================
   SP（〜767px）追加分
   ============================================================ */
@media screen and (max-width: 767px){
	.contactLower__error-summary {
		font-size: 14px;
		padding: 12px 14px;
		margin-bottom: 20px;
	}
	.contactLower__error {
		margin-left: 0;
		font-size: 12px;
	}
	.contactLower__row--confirm {
		flex-direction: column;
		gap: 6px;
		padding: 12px 0;
	}
	.contactLower__confirmVal {
		font-size: 14px;
	}
	.contactLower__submit-wrap--confirm {
		gap: 12px;
	}
	.contactLower__back {
		min-width: 160px;
		height: 44px;
		font-size: 14px;
	}
	.contactLower__thanks-h2 {
		font-size: 18px;
		margin: 14px 0 20px;
	}
}
