
@charset "UTF-8";


.contents div.contact{
}

.contents div.contact p{
	text-align: center;
	font-size: 18px;
	font-weight: normal;
	margin: 50px 0;
}

.contents div.contact .red{
	color: #ed1c24;
}

.contents table.contact p{
	display: inline-block;
	text-align: left;
	margin: 0;
}
table.contact th,
#wpcf7cpcnf table th{
	text-align: left;
	font-size: 16px;
	font-weight: normal;
	width: 200px;
}

table.contact th.required:after{
	content: "*";
	display: inline;
	color: #ed1c24;
}

table.contact td,
#wpcf7cpcnf table td{
	text-align: left;
	padding: 10px 0;
}

table.contact td.center,
#wpcf7cpcnf table td.center{
	text-align: center;
}

table.contact input[type="text"],
table.contact input[type="email"],
table.contact textarea{
	font-size: 16px;
	box-shadow: none;
	box-sizing: border-box;
	width: 700px;
	max-width: 700px;
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #b3bce0;
	outline: 0;
}

table.contact textarea{
	height: 250px;
}


/* mailformpro4 向けの設定 ************************************************************ */

/* [確認画面] などの表示を消す*/
ul#mfp_phase_stat {
	display: none;
}

div#mfp_overlay_background{
	visibility: hidden;
}

div#mfp_overlay{
	background-color: rgb(255, 255, 255);
	top: 300px !important;
}

div#mfp_overlay_inner{
	box-shadow: none;
	width: 950px;
	min-height: 830px !important;
}

div#mfp_overlay_inner h4{
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: -1em;
	color: #fff;
	margin: 20px 0 100px;
}

div#mfp_overlay_inner h4:after{
	content: "内容をご確認いただき、よろしければ送信ボタンを押して下さい。";
	letter-spacing: 0;
	color: #000;
}

table#mfp_confirm_table tr.mfp_colored{
	background: none;
}

table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td{
	font-size: 16px;
	font-weight: normal;
	border-top: 0;
	padding: 15px 10px;
}

div.mfp_buttons{
	text-align: left;
	width: 450px;
	margin: 100px auto 20px;
}

div.mfp_buttons button#mfp_button_send{
	float: right;
	white-space: nowrap;
}

div.mfp_buttons button#mfp_button_cancel{
	color: rgba(0,0,0,0);
	letter-spacing: -1em;
	white-space: nowrap;
}

div.mfp_buttons button#mfp_button_cancel:after{
	content: "修正する";
	display: inline;
	color: #000;
	letter-spacing: 0;
	white-space: nowrap;
}

table.contact input[type="submit"],
.wpcf7cp-btns button,
table.contact .confirm,
div.mfp_buttons button#mfp_button_send,
div.mfp_buttons button#mfp_button_cancel{
	cursor: pointer;
	display: inline-block;
	text-shadow: none;
	font-size: 16px;
	padding: 15px 50px;
	border-radius: 10px;
	border: 1px solid #3a58d0;
	background: none;
	background-color: #b3bce0;
	outline: 0;
	-webkit-transition: 0.15s ease-in-out;
	   -moz-transition: 0.15s ease-in-out;
	     -o-transition: 0.15s ease-in-out;
	        transition: 0.15s ease-in-out;
}
table.contact input[type="submit"]:hover,
.wpcf7cp-btns button:hover,
table.contact .confirm:hover,
div.mfp_buttons button#mfp_button_send:hover,
div.mfp_buttons button#mfp_button_cancel:hover{
	opacity: 0.7;
	box-shadow: none;
}

table.contact .wpcf7-spinner{
	position: absolute;
	margin: 16px 24px;
}

/* PC向け ******************************************************************************************* */

@media (min-width: 521px) and (orientation: portrait), (min-width: 741px) and (orientation: landscape) {

}


/* スマホ向け **************************************************************************************** */

@media (max-width: 520px) and (orientation: portrait), (max-width: 740px) and (orientation: landscape) {
	.contents div.contact p{
		font-size: 14px;
	}

	table.contact{
		width: 90%;
		margin: 0 5%;
	}

	table.contact th,
	table.contact td{
		display: block;
	}

	table.contact th{
		font-size: 14px;
		width: auto;
	}

	table.contact td{
		padding-top: 0;
	}

	table.contact input[type="text"],
	table.contact input[type="email"],
	table.contact textarea{
		width: 100%;
	}

	/* mailformpro4 向けの設定 ************************************************************ */

	div#mfp_overlay{
		top: 100vw !important;
	}

	div#mfp_overlay_inner{
		box-sizing: border-box;
		width: 100%;
	}

	div#mfp_overlay_inner h4{
		margin: 20px 0 50px;
	}

	div.mfp_buttons{
		width: 100%;
		margin: 50px auto;
	}

	div.mfp_buttons button#mfp_button_send,
	div.mfp_buttons button#mfp_button_cancel{
		padding: 15px 20px;
	}

	table#mfp_confirm_table tr th,
	table#mfp_confirm_table tr td{
		display: block;
		padding: 5px 10px 0;
	}
	table#mfp_confirm_table tr th{
		font-weight: bold;
		padding-top: 20px;
	}
	table#mfp_confirm_table tr td{
		border-bottom: 1px solid #ddd;
	}
}





