@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

/*********************************************************************
 *
 *  Contact Form 7 共通
 *
*********************************************************************/

/* --------------------------------
 * フォームページ共通見出し
 * -------------------------------- */

#mv.form-page-mv {
	padding: 75px 0;
	background: #ffdb45;
}

#mv.form-page-mv .inner {
	width: 1200px;
	margin: 0 auto;
}

#mv.form-page-mv h2 {
	margin: 0;
	font-size: 3.2rem;
	font-weight: bold;
	line-height: 1;
	text-align: center;
}

#mv.form-page-mv h2 .en,
#mv.form-page-mv h2 .jp {
	display: block;
	letter-spacing: 0.1em;
	font-weight: 500;
}

#mv.form-page-mv h2 .en {
	font-family: "Oswald", sans-serif;
	font-size: 50px;
}

#mv.form-page-mv h2 .jp {
	margin-top: 30px;
	font-size: 18px;
}


/* --------------------------------
 * フォームエリア
 * -------------------------------- */

#areaContents {
	padding-bottom: 0;
}

#form {
	padding: 100px 0;
	border-bottom: 2px solid #fff;
	background: #f1f1f1;
}

#form .inner {
	width: 800px;
	margin: 0 auto;
}

#form [hidden] {
	display: none !important;
}

#form .cf7-form-root {
	width: 100%;
}


/* --------------------------------
 * 進行ステップ
 * -------------------------------- */

#form .form-step {
	display: grid;
	grid-template-columns: 250px 250px 248px;
	column-gap: 26px;
	width: 800px;
	height: 50px;
	margin: 0 auto 70px;
}


/* 各ステップ */
#form .form-step__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	padding: 0;
	color: #a0a29e;
	background-color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
}


/* 入力・内容確認の右向き矢印 */
#form .form-step__item:not(:last-child) {
	clip-path: polygon(
		0 0,
		227.106px 0,
		250px 25px,
		227.106px 50px,
		0 50px
	);
}


/* 現在のステップ */
#form .form-step__item.is-active {
	color: #fff;
	background-color: #000;
}


/* 送信完了は長方形 */
#form .form-step__item:last-child {
	clip-path: none;
}


/* --------------------------------
 * フォーム行
 * -------------------------------- */

#form .form-row {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

#form .form-row + .form-row {
	margin-top: 20px;
}

#form .form-row__label {
	position: relative;
	width: 221px;
	padding: 10px 70px 0 0;
	text-align: right;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 24px;
	white-space: nowrap;
}

#form .form-row__input {
	width: calc(100% - 221px);
	padding-left: 13px;
	font-size: 1.8rem;
}


/* --------------------------------
 * 必須・任意
 * -------------------------------- */

#form .form-required,
#form .form-optional {
	position: absolute;
	top: 11px;
	right: 0;
	display: inline-block;
	padding: 0 10px 1px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 22px;
}

#form .form-required {
	background-color: #de4d00;
}

#form .form-optional {
	background-color: #a0a29e;
}


/* --------------------------------
 * 入力欄
 * -------------------------------- */

#form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form select,
#form textarea {
	width: 100%;
	padding: 12px 16px;
	color: #000;
	font-family: inherit;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.6;
	background-color: #fff;
	border: none;
	border-radius: 5px;
	outline: none;
	box-shadow: none;
}

#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form select {
	min-height: 50px;
}

#form textarea {
	min-height: 180px;
	resize: vertical;
}

#form input::placeholder,
#form textarea::placeholder {
	color: #c4c4c4;
	opacity: 1;
}

#form select {
	cursor: pointer;
}

#form input:focus,
#form select:focus,
#form textarea:focus {
	outline: 2px solid #434f55;
	outline-offset: 1px;
}


/* --------------------------------
 * 確認画面
 * -------------------------------- */

#form .form-confirm-list {
	width: 100%;
}

/* 確認項目 */
#form .form-confirm-row {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

/* 2項目目以降 */
#form .form-confirm-row + .form-confirm-row {
	margin-top: 20px;
}

/* 項目名 */
#form .form-confirm-row__label {
	width: 221px;
	padding: 0 70px 0 0;
	text-align: right;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	white-space: nowrap;
}

/* 入力内容 */
#form .form-confirm-row__value {
	width: calc(100% - 221px);
	padding-left: 13px;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}


/* --------------------------------
 * 送信完了画面
 * -------------------------------- */

#form .form-complete-view {
	text-align: center;
}

#form .form-complete-title {
	margin: 0;
	font-size: 2.4rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
}

#form .form-complete-text {
	margin: 30px 0 0;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 2;
}


/* --------------------------------
 * CF7 エラー
 * -------------------------------- */

#form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	color: #de4d00;
	font-size: 1.3rem;
	line-height: 1.5;
}

#form .wpcf7-response-output {
	margin: 30px 0 0;
	padding: 15px 20px;
	font-size: 1.4rem;
	line-height: 1.7;
}


/* --------------------------------
 * 個人情報保護方針
 * -------------------------------- */

#form .form-privacy {
	margin-top: 25px;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.8;
}

#form .form-privacy p {
	margin: 0;
}

#form .form-privacy a {
	text-decoration: underline;
}


/* --------------------------------
 * ボタン
 * -------------------------------- */

#form .form-actions {
	width: 580px;
	margin: 30px auto 0;
}

/* 確認画面のボタンエリア */
#form .form-confirm-actions {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 580px;
	margin: 50px auto 0;
}


/* 内容を修正する */
#form .form-confirm-actions .form-back-button {
	color: #fff;
	background-color: #888;
}


/* この内容で送信する */
#form .form-confirm-actions .form-submit-button {
	display: block;
	background-color: #ffdb45;
}

#form .form-confirm-button,
#form .form-submit-button,
#form .form-back-button {
	width: 100%;
	height: 100px;
	padding: 0 55px;
	box-sizing: border-box;
	color: #000;
	font-family: inherit;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1;
	text-align: center;
	background-color: #ffdb45;
	border: none;
	border-radius: 0;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* 入力画面：確認画面へ */
#form .form-confirm-button {
	padding-bottom: 15px;
}

/* 確認画面：内容を修正する */
#form .form-back-button {
	padding-bottom: 20px;
}

/* button要素は天地左右中央 */
#form button.form-confirm-button,
#form button.form-back-button {
	display: flex;
	align-items: center;
	justify-content: center;
}

#form .form-confirm-button:hover,
#form .form-submit-button:hover {
	opacity: 0.8;
}


/*********************************************************************
 *
 *  SP
 *
*********************************************************************/

@media screen and (max-width: 767px) {
	
	#mv.form-page-mv {
		padding: 25px 0;
	}

	#mv.form-page-mv .inner {
		width: auto;
		margin: 0 5%;
	}

	#mv.form-page-mv h2 {
		font-size: 3.2rem;
		line-height: 1;
		font-weight: bold;
		text-align: center;
	}

	#mv.form-page-mv h2 .en,
	#mv.form-page-mv h2 .jp {
		display: block;
		letter-spacing: 0.1em;
		font-weight: 500;
	}

	#mv.form-page-mv h2 .en {
		font-family: "Oswald", sans-serif;
		font-size: 30px;
	}

	#mv.form-page-mv h2 .jp {
		margin-top: 12px;
		font-size: 15px;
	}

	#form {
		padding: 34px 0 40px;
	}

	#form .inner {
		width: auto;
		margin: 0 5%;
	}

	#form .form-row {
		display: block;
	}

	#form .form-row + .form-row {
		margin-top: 20px;
	}

	#form .form-row__label {
		display: inline-block;
		width: auto;
		padding: 0 55px 10px 0;
		text-align: left;
		font-size: 1.6rem;
		line-height: 22px;
	}

	#form .form-row__input {
		width: 100%;
		padding-left: 0;
	}
	
	
	/* --------------------------------
	 * 確認画面
	 * -------------------------------- */

	#form .form-confirm-row {
		display: block;
	}

	#form .form-confirm-row + .form-confirm-row {
		margin-top: 20px;
	}

	#form .form-confirm-row__label {
		width: 100%;
		padding: 0 0 8px;
		text-align: left;
		font-size: 1.6rem;
		line-height: 1.5;
		white-space: normal;
	}

	#form .form-confirm-row__value {
		width: 100%;
		padding-left: 0;
		font-size: 1.6rem;
		line-height: 1.6;
	}

	#form .form-required,
	#form .form-optional {
		top: 0;
		right: 0;
		padding: 0 10px;
		font-size: 1.4rem;
		line-height: 22px;
	}

	#form input[type="text"],
	#form input[type="tel"],
	#form input[type="email"],
	#form select,
	#form textarea {
		padding: 11px 10px;
		font-size: 1.6rem;
	}

	#form textarea {
		min-height: 150px;
	}

	#form .form-privacy {
		margin-top: 30px;
		font-size: 1.4rem;
		letter-spacing: 0.05em;
	}

	#form .form-actions {
		width: 86%;
		margin-top: 30px;
	}
	
	#form .form-confirm-actions {
		width: 86%;
		margin-top: 35px;
		gap: 20px;
	}

	#form .form-confirm-button,
	#form .form-submit-button,
	#form .form-back-button {
		height: 80px;
		padding: 0 45px;
		box-sizing: border-box;
		font-size: 1.6rem;
		line-height: 1;
	}

	/* 入力画面：確認画面へ */
	#form .form-confirm-button {
		padding-bottom: 12px;
	}

	/* 確認画面：内容を修正する */
	#form .form-back-button {
		padding-bottom: 16px;
	}
	
	
	/* --------------------------------
	 * 進行ステップ
	 * -------------------------------- */

	#form .form-step {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 12px;
		width: 100%;
		height: 36px;
		margin-bottom: 35px;
	}

	/* 各ステップ */
	#form .form-step__item {
		width: 100%;
		height: 36px;
		padding: 0;
		font-size: 1.2rem;
		letter-spacing: 0;
	}

	/* 入力・内容確認の右向き矢印 */
	#form .form-step__item:not(:last-child) {
		clip-path: polygon(
			0 0,
			calc(100% - 18px) 0,
			100% 50%,
			calc(100% - 18px) 100%,
			0 100%
		);
	}

	/* 送信完了は長方形 */
	#form .form-step__item:last-child {
		clip-path: none;
	}
	
	#form .form-complete-text {
		font-size: 1.4rem;
		line-height: 1.8;
	}

	#form .form-complete-break {
		display: none;
	}

}