/* お問合せ
=========================================================================
========================================================================*/
#contact main {
	padding: 150px 0 120px;
	background-color: #EDEDED;
}

#contact main .inner {
	margin: 0 auto;
	padding: 60px 110px 70px;
	width: 960px;
	background-color: #FFF;
}

/* ----- ページタイトル／ステップ表示 ----- */
#contact main .title h1 {
	position: relative;
	margin-bottom: 45px;
	padding-top: 50px;
	font-weight: bold;
	font-size: 2.6rem;
	text-align: center;
	color: #6EA5C1;
}

#contact main .title h1::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: 0 auto;
	width: 138px;
	height: 21px;
	background: url(../img/contact/title.svg) center center no-repeat;
	background-size: contain;
}

/* ステップ表示 ----- */
#contact main ol.step {
	position: relative;
	margin: 0 auto 52px;
	width: 304px;
	display: flex;
	justify-content: space-between;
}

#contact main ol.step::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto 0;
	width: 100%;
	height: 1px;
	background-color: #E6E6E6;
}

#contact main ol.step li {
	position: relative;
	padding-top: 23px;
	width: 30px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1em;
}

#contact main ol.step li:nth-child(1)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 12px;
	background: url(../img/contact/step_01.svg) center center no-repeat;
	background-size: contain;
}

#contact main ol.step li:nth-child(2)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 12px;
	background: url(../img/contact/step_02.svg) center center no-repeat;
	background-size: contain;
}

#contact main ol.step li:nth-child(3)::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 12px;
	background: url(../img/contact/step_03.svg) center center no-repeat;
	background-size: contain;
}

#contact main ol.step li p {
	position: relative;
	padding-top: 38px;
}

#contact main ol.step li p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	background-color: #E6E6E6;
}

#contact main ol.step li.active p::before {
	background-color: #6EA5C1;
}

/* 説明 ----- */
#contact main .title h2 {
	margin-bottom: 32px;
	font-weight: bold;
	font-size: 1.9rem;
	text-align: center;
	color: #6EA5C1;
}

#contact main .title p.info {
	margin-bottom: 28px;
}

#contact main .title p.required {
	margin-bottom: 45px;
	font-size: 1.6rem;
	line-height: 1em;
	text-align: center;
	color: #6EA5C1;
}

/* ----- 画面上部エラーメッセージ ----- */
#contact main .form .mw_wp_form p.required.red {
	display: none;
	color: #FF0000;
	text-align: center;
}

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

#contact main .title p.comp {
	font-size: 1.6rem;
	text-align: center;
}

/* ----- フォームパーツ ----- */
#contact dl {
	margin-bottom: 34px;
}

#contact dt {
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 1em;
}

#contact dt span {
	padding-left: 1em;
	font-size: 1.4rem;
	color: #6EA5C1;
}

#contact dd {
	padding: 12px 0 28px;
	width: 100%;
}

/* ----- text / email / textarea ----- */
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
	padding: 1.5em 1.5em;
	width: 100%;
	font-weight: bold;
	font-size: 1.6rem;
	background-color: #F2F2F2;
}

/* ----- placeholder ----- */
::placeholder {
	color: #888;
}

/* 旧Edge対応 */
::-ms-input-placeholder {
	color: #888;
}

/* IE対応 */
:-ms-input-placeholder {
	color: #888;
}

/* ----- エラー ----- */
#contact .error {
	display: block;
	font-weight: bold;
	font-size: 1.6rem;
	color: #FF0000;
}

/* プライバシーポリシー
-----------------------------------------------------------*/
#contact main p.privecy {
	margin-bottom: 26px;
	color: #6EA5C1;
	text-align: center;
}

/* 入力確認
-----------------------------------------------------------*/
#contact.conf .input_parts {
	padding: 1em 1.5em;
	width: 100%;
	font-weight: bold;
	font-size: 1.6rem;
	background-color: #F2F2F2;
}

/* ボタン
-----------------------------------------------------------*/
#contact .button {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* ----- 入力／確認時：ボタン表示 ----- */
#contact.input .button_wrap.back,
#contact.input .button_wrap.submit {
	display: none;
}

#contact.conf .button_wrap.back,
#contact.conf .button_wrap.submit {
	display: block;
}

#contact.input .button_wrap.confirm {
	display: block;
}

#contact.conf .button_wrap.confirm {
	display: none;
}

#contact .button_wrap.confirm,
#contact .button_wrap.submit {
	position: relative;
	background-color: #1964BA;
	border: 1px solid #1964BA;
	border-radius: 5px;
	transition: all .3s;
}

#contact .button_wrap.back {
	position: relative;
	background-color: #383838;
	border: 1px solid #383838;
	border-radius: 5px;
	transition: all .3s;
}

#contact .button_wrap.confirm {
	width: 100%;
}

#contact .button_wrap.back,
#contact .button_wrap.submit {
	width: calc(339 / 742 * 100%);
}

#contact .button_wrap::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #FFF;
	border-radius: 5px;
	transform: scale(0, 1);
	transform-origin: left;
	transition: 0.3s;
}

#contact .button_wrap:hover::before {
	transform: scale(1);
}

#contact .button_wrap.confirm button[type="submit"],
#contact .button_wrap.submit button[type="submit"] {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 64px;
	font-weight: bold;
	font-size: 1.5rem;
	color: #FFF;
	text-align: center;
	line-height: 64px;
	text-decoration: none;
	z-index: 3;
}

#contact .button_wrap.confirm button[type="submit"]:hover,
#contact .button_wrap.submit button[type="submit"]:hover {
	cursor: pointer;
	color: #1964BA;
}

#contact .button_wrap.back button[type="submit"] {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 64px;
	font-weight: bold;
	font-size: 1.5rem;
	color: #FFF;
	text-align: center;
	line-height: 64px;
	text-decoration: none;
	z-index: 3;
}

#contact .button_wrap.back button[type="submit"]:hover {
	cursor: pointer;
	color: #383838;
}

/* HTMLプレビュー用ボタン
-----------------------------------------------------------*/
#contact .button {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#contact .button_wrap.confirm,
#contact .button_wrap.submit {
	position: relative;
	background-color: #1964BA;
	border: 1px solid #1964BA;
	border-radius: 5px;
	transition: all .3s;
}

#contact .button_wrap.back {
	position: relative;
	background-color: #383838;
	border: 1px solid #383838;
	border-radius: 5px;
	transition: all .3s;
}

#contact .button_wrap.confirm {
	width: 100%;
}

#contact .button_wrap.back,
#contact .button_wrap.submit {
	width: calc(339 / 742 * 100%);
}

#contact .button_wrap::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #FFF;
	border-radius: 5px;
	transform: scale(0, 1);
	transform-origin: left;
	transition: 0.3s;
}

#contact .button_wrap:hover::before {
	transform: scale(1);
}

#contact .button_wrap.confirm a,
#contact .button_wrap.submit a {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 64px;
	font-weight: bold;
	font-size: 1.5rem;
	color: #FFF;
	text-align: center;
	line-height: 64px;
	text-decoration: none;
	z-index: 3;
}

#contact .button_wrap.confirm a:hover,
#contact .button_wrap.submit a:hover {
	cursor: pointer;
	color: #1964BA;
}

#contact .button_wrap.back a {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 64px;
	font-weight: bold;
	font-size: 1.5rem;
	color: #FFF;
	text-align: center;
	line-height: 64px;
	text-decoration: none;
	z-index: 3;
}

#contact .button_wrap.back a:hover {
	cursor: pointer;
	color: #383838;
}



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

	#contact main {
		padding: 150px 20px 120px;
	}

	#contact main .inner {
		width: 100%;
	}
}



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

	#contact main {
		padding: 56px 20px 45px;
		background-color: #FFF;
	}

	#contact main .inner {
		padding: 40px 0 0;
	}

	/* ----- ページタイトル／ステップ表示 ----- */
	#contact main .title h1 {
		margin-bottom: 22px;
		padding-top: 30px;
		font-size: 1.5rem;
	}

	#contact main .title h1::before {
		width: 89px;
		height: 14px;
	}

	/* ステップ表示 ----- */
	#contact main ol.step {
		margin: 0 auto 45px;
		width: 196px;
	}

	/* 説明 ----- */
	#contact main .title h2 {
		margin-bottom: 28px;
		font-size: 1.4rem;
		line-height: 1.57em;
	}

	#contact main .title p.info {
		margin-bottom: 28px;
		font-size: 1.4rem;
	}

	#contact main .title p.required {
		margin-bottom: 23px;
		font-size: 1.4rem;
	}

	#contact main .title p.comp {
		text-align: left;
	}

	/* ----- フォームパーツ ----- */
	#contact dl {
		margin-bottom: 14px;
	}

	/* ----- エラー ----- */
	#contact .error {
		font-size: 1.4rem;
	}

	/* プライバシーポリシー
	-----------------------------------------------------------*/
	#contact main p.privecy {
		margin-bottom: 48px;
		font-size: 1.4rem;
	}

	/* ボタン
	-----------------------------------------------------------*/
	#contact .button_wrap.back,
	#contact .button_wrap.submit {
		width: calc(165 / 335 * 100%);
	}

	#contact .button_wrap::before {
		display: none;
	}

	#contact .button_wrap.confirm button[type="submit"]:hover,
	#contact .button_wrap.submit button[type="submit"]:hover {
		color: #FFF;
	}

	#contact .button_wrap.back button[type="submit"]:hover {
		color: #FFF;
	}

	/* HTMLプレビュー用ボタン
	-----------------------------------------------------------*/
	#contact .button_wrap.back,
	#contact .button_wrap.submit {
		width: calc(165 / 335 * 100%);
	}

	#contact .button_wrap::before {
		display: none;
	}

	#contact .button_wrap.confirm a:hover,
	#contact .button_wrap.submit a:hover {
		cursor: pointer;
		color: #FFF;
	}

	#contact .button_wrap.back a:hover {
		color: #FFF;
	}
}

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