/* Contact
=========================================================================
=========================================================================*/
/* 入力
-----------------------------------------------------------*/
#mfp_hidden input[type="submit"]{
	display: none;
}
/* ----- 画面上部エラーメッセージ ----- */
.contact .mw_wp_form p.required.red {
	display: none;
	color: #F24E42;
	text-align: center;
}

.contact .mw_wp_form_error p.required.red {
	display: block;
}

/* ----- フォームパーツ ----- */
.contact ul {
	display: flex;
	flex-wrap: wrap;
	gap: 40px calc(40 / 1330 * 100%);
	margin-bottom: 80px;
}

.contact ul li {
	width: calc(416 / 1330 * 100%);
}

.contact ul li.wide {
	width: 100%;
}

.contact label {
	display: block;
	padding-bottom: 10px;
	/*font-weight: 100;*/
	font-size: 18px;
	line-height: 1em;
}

.contact label span {
	padding-left: 1em;
	font-size: 14px;
}

.contact .input_parts {
	padding: 1em 1em;
	font-weight: 100;
	font-size: 16px;
	border-bottom: 1px solid #C2C2C2;
}

/* 必須 */
form#mailformpro .form_parts label.item_name span {
	position: absolute;
	right: 0;
	margin: 0;
	display: inline-block;
	padding: 0 0.5em;
	height: 20px;
	font-size: 11px;
	line-height: 20px;
	color: #FFF;
	text-align: center;
	background: #93D2DA;
}

/* ----- text / email / textarea ----- */
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
	padding: .5em 1.5em;
	width: 100% !important;
	font-size: 16px;
	background-color: #FFF;
	border: 1px solid #C2C2C2;
	outline: none;
}

/* チェックボックス */
form#mailformpro .input_checkbox {
	display: block;
	position: relative;
	margin: 0 auto 1.0em;
	text-align: center;
}

form#mailformpro input[type="checkbox"] {
	all: revert;
	margin: 0;
	display: inline-block;
	width: 14px !important;
	height: 14px !important;
}

form#mailformpro .input_checkbox label {
	display: inline-block;
	padding-left: 0.5em;
	font-size: 16px;
	cursor: pointer;
}

.input_checkbox label.hidden {
	font-size: 0;
}

/* ----- エラー ----- */
.contact .error {
	display: block;
	font-weight: 300;
	font-size: 13px;
	color: #F24E42;
}

.contact .mfp_err {
	color: #F24E42;
}

/* ----- 個人情報の取り扱いについて ----- */
.contact .privacy {
	overflow-y: scroll;
	margin-bottom: 20px;
	padding: 1.5em;
	height: 200px;
	border: 1px solid #C2C2C2;
	pointer-events: auto;
	touch-action: auto;
	-webkit-overflow-scrolling: touch;
}

.contact .privacy::-webkit-scrollbar {
	width: 6px;
	background-color: #F7F7F7;
}

.contact .privacy::-webkit-scrollbar-thumb {
	background: #ABABAB;
	width: 6px;
	border-radius: 3px;
}

.contact .privacy h2 {
	margin-bottom: .5em;
	font-weight: 300;
	font-size: 16px;
}

.contact .privacy p {
	margin-bottom: 1.5em;
}

.contact .mwform-checkbox-field {
	display: block;
	text-align: center;
}

.contact .mwform-checkbox-field span.mwform-checkbox-field-text {
	padding-left: 5px;
	font-size: 16px;
}

/* ----- 入力／確認時：ボタン表示 ----- */
.contact .button {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 calc(100 / 1330 * 100%);
	text-align: center;
}

.form_button_container input[type="submit"],
div.mfp_buttons button {
	position: relative;
	padding: 1em;
	width: calc(400 / 1330 * 100%);
	max-width: 400px;
	font-size: 18px;
	color: #FFF;
	text-align: center;
	background-color: #1A1311;
	border: 1px solid #204224;
	cursor: pointer;
	transition: all .3s;
}

@media(hover: hover) {
	.form_button_container input[type="submit"]:hover,
	div.mfp_buttons button:hover {
		color: #1A1311;
		background-color: #FFF;
	}
}

/* 確認
-----------------------------------------------------------*/
/* ----- タイトル ----- */
div#mfp_phase_confirm h4 {
	padding: 0 20px 40px;
	font-size: 18px;
	text-align: center;
}

/* ----- テーブル ----- */
table#mfp_confirm_table {
	border-collapse: collapse;
	margin: 0 auto 90px;
	padding: 0;
	width: 100%;
}

table#mfp_confirm_table tr.mfp_colored {
	background-color: #FFF;
}

table#mfp_confirm_table tr.mfp_achroma {
	background-color: #FFF;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
	text-align: left;
	padding: 1.0em 0;
	border-bottom: 1px solid #E4E4E4;
}

table#mfp_confirm_table tr th {
	font-weight: 300;
	padding-right: 3em;
	width: calc(330 / 1330 * 100%);
}

table#mfp_confirm_table tr td {
	word-break: break-all;
	width: auto;
}

/* ----- ボタン ----- */
div.mfp_buttons {
	display: flex;
	justify-content: center;
	flex-direction: row-reverse;
	gap: 15px 30px;
	margin: 0 auto;
	width: 100%;
}

/* 完了
-----------------------------------------------------------*/
.contact_comp {
	padding: 300px 0 0;
	text-align: center;
}

/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {

	/* 入力
	-----------------------------------------------------------*/
	/* ----- フォームパーツ ----- */
	.contact ul {
		gap: 20px 0;
		margin-bottom: 40px;
	}

	.contact ul li {
		width: 100%;
	}

	.contact label {
		font-size: 16px;
	}

	.contact label span {
		padding-left: 1em;
		font-size: 14px;
	}

	.contact .input_parts {
		padding: .5em .5em;
		font-size: 14px;
	}

	/* ----- 個人情報の取り扱いについて ----- */
	.contact .privacy {
		overflow-y: scroll;
		margin-bottom: 20px;
		padding: 1em;
	}

	.contact .privacy h2 {
		font-size: 15px;
	}

	.contact .mwform-checkbox-field span.mwform-checkbox-field-text {
		font-size: 14px;
	}

	/* ----- 入力／確認時：ボタン表示 ----- */
	.contact .button {
		gap: 20px 0;
	}

	.form_button_container input[type="submit"],
	div.mfp_buttons button {
		width: 100% !important;
		font-size: 16px;
	}

	/* 確認
	-----------------------------------------------------------*/
	/* ----- タイトル ----- */
	div#mfp_phase_confirm h4 {
		font-size: 16px;
	}

	/* ----- テーブル ----- */
	table#mfp_confirm_table {
		margin: 0 auto 50px;
	}

	table#mfp_confirm_table tr th {
		padding-right: 1.5em;
		width: calc(500 / 1330 * 100%);
	}

	/* ----- ボタン ----- */
	div.mfp_buttons {
		flex-wrap: wrap;
		gap: 20px 0;
		width: 100%;
	}

	/* 完了
	-----------------------------------------------------------*/
	.contact_comp figure svg {
		width: calc(110 / 430 * 100%);
		margin: 0 auto 40px;
	}
}

/*  420px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:420px) {}
