/*=============================
お問合せフォーム
=============================*/
#contact_form {
	padding: 0.90rem 0 1.00rem;
}

@media screen and (max-width: 599px) {
	#contact_form {
		padding: 0.30rem 0 0.60rem;
	}
}

/* お問い合わせ前に */
.contact_intro {
	background-color: #F2F2F2;
	padding: 0.30rem;
	text-align: center;
	font-size: 0.16rem;
	line-height: 1.85;
	margin-bottom: 0.40rem;
}

@media screen and (max-width: 599px) {
	.contact_intro {
		padding: 0.25rem;
		margin-bottom: 0.30rem;
		border-radius: 5px;
	}
}

.contact_intro .title {
	font-size: 0.20rem;
	font-weight: 700;
	padding-bottom: 0.10rem;
	letter-spacing: 0.10em;
}

@media screen and (max-width: 599px) {
	.contact_intro .title {
		line-height: 1.5;
	}
}

.contact_intro .title span::before {
	content: "";
	display: inline-block;
	width: 0.30rem;
	height: 1px;
	background-color: #111;
	margin-right: 0.20rem;
	position: relative;
	top: -0.06rem;
}

@media screen and (max-width: 599px) {
	.contact_intro .title span::before {
		content: none;
	}
}

.contact_intro .title span::after {
	content: "";
	display: inline-block;
	width: 0.30rem;
	height: 1px;
	background-color: #111;
	margin-left: 0.20rem;
	position: relative;
	top: -0.06rem;
}

@media screen and (max-width: 599px) {
	.contact_intro .title span::after {
		content: none;
	}
}

.contact_intro .text a {
	color: #111;
	font-weight: 600;
}

@media screen and (max-width: 599px) {
	.contact_intro .text {
		font-size: 0.14rem;
		text-align: left;
	}
}

.contact_intro .more_btn {
	padding-top: 0.20rem;
	max-width: 3.50rem;
	margin: auto;
}

.contact_intro .more_btn a {
	display: block;
	font-size: 0.18rem;
	font-weight: 700;
	color: #FFF;
	text-decoration: none;
	letter-spacing: 0.10em;
	line-height: 0;
	padding: 0.24rem 0 0.26rem;
	background-color: #00b900;
	box-shadow: 0 3px 0 rgba(0, 185, 0, 0.3);
	position: relative;
}

@media screen and (max-width: 599px) {
	.contact_intro .more_btn a {
		font-size: 0.16rem;
		letter-spacing: 0.05em;
	}
}

.contact_intro .more_btn a:hover {
	opacity: 0.7;
}

/* リード */
#contact_form .lead {
	padding-bottom: 0.30rem;
}

#contact_form .lead .text {
	font-size: 0.15rem;
	line-height: 2;
}

/* フォーム */
#contact_form .form_wrap .title {
	color: #004279;
	font-size: 0.20rem;
	letter-spacing: 0.10em;
	font-weight: 700;
	border-bottom: 1px solid #004279;
	padding-bottom: 0.10rem;
	margin-bottom: 0.20rem;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .title {
		font-size: 0.18rem;
		letter-spacing: 0.05em;
		line-height: 1.5;
	}
}

#contact_form .form_wrap .title span {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	display: inline-block;
	padding-right: 0.10rem;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .title span {
		display: block;
		font-size: 0.14rem;
	}
}

#contact_form .form_wrap .form_table {
	padding-bottom: 0.60rem;
}

#contact_form .form_wrap .form_table table {
	border-collapse: collapse;
	width: 100%;
}

#contact_form .form_wrap .form_table tr:nth-child(odd) {
	background-color: #F2F2F2;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table tr:nth-child(odd) {
		background-color: transparent;
	}

	#contact_form .form_wrap .form_table tr {
		display: block;
	}
}

#contact_form .form_wrap .form_table th {
	width: 2.50rem;
	box-sizing: border-box;
	padding: 0.15rem;
	font-size: 0.15rem;
	text-align: left;
	font-weight: 400;
	position: relative;
	letter-spacing: 0.10em;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table th {
		width: 100%;
		display: block;
		background: #F2F2F2;
	}
}

#contact_form .form_wrap .form_table th.required span::before {
	content: "必須";
	font-size: 0.12rem;
	color: #FFF;
	background-color: #ed1c24;
	line-height: 0;
	padding: 0.10rem 0.06rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table th.required span::before {
		right: 0.10rem;
	}
}

#contact_form .form_wrap .form_table td {
	padding: 0.15rem;
	font-size: 0.15rem;
	font-weight: 400;
	letter-spacing: 0.10em;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td {
		width: 100%;
		display: block;
		font-size: 0.16rem;
		padding: 0.15rem 0 0.25rem;
	}
}

#contact_form .form_wrap .form_table td input,
#contact_form .form_wrap .form_table td textarea,
#contact_form .form_wrap .form_table td select {
	border: 1px solid #CCC;
	padding: 0.04rem;
	border-radius: 3px;
	background-color: #FFF;
	box-sizing: border-box;
	font-size: 0.15rem;
	line-height: 1.55;
}

#contact_form .form_wrap .form_table td textarea {
	width: 100%;
	min-height: 2.00rem;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td textarea {
		min-height: 1.50rem;
	}
}

#contact_form .form_wrap .form_table td input.w100 {
	width: 100%;
	max-width: 8.00rem;
}

#contact_form .form_wrap .form_table td input.w20 {
	width: 20%;
	max-width: 1.00rem;
}

#contact_form .form_wrap .form_table td input.w30 {
	width: 30%;
	max-width: 1.50rem;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td input.w30 {
		width: auto;
		max-width: 1.00rem;
	}
}

#contact_form .form_wrap .form_table td input.w50 {
	width: 25%;
	max-width: 1.00rem;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td input.w50 {
		width: auto;
		max-width: 0.80rem;
	}
}

#contact_form .form_wrap .form_table td input.w70 {
	width: 30%;
	max-width: 1.50rem;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td input.w70 {
		width: 80%;
		max-width: 2.60rem;
		margin-bottom: 0.10rem;
	}
}

#contact_form .form_wrap .form_table td .caption_box {
	padding-top: 0.10rem;
	font-size: 0.15rem;
}

#contact_form .form_wrap .form_table td .caption_box .text {
	padding-top: 0.10rem;
	font-size: 0.12rem;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td .caption_box .text {
		font-size: 0.13rem;
		line-height: 1.55;
	}
}

#contact_form .form_wrap .form_table td .list {
	display: flex;
	flex-wrap: wrap;
	max-width: 6.00rem;
}

#contact_form .form_wrap .form_table td .list .detail {
	width: 40%;
	max-width: 3.00rem;
	padding: 0.05rem 0;
}

@media screen and (max-width: 599px) {
	#contact_form .form_wrap .form_table td .list .detail {
		width: 100%;
	}
}


#contact_form .form_wrap .form_table td label input[type="radio"] {
	position: relative;
	top: -0.04rem;
	display: inline-block;
	margin-right: 0.05rem;
}

#contact_form .form_wrap .form_table td label input[type="checkbox"] {
	position: relative;
	width: 0.15rem;
	height: 0.15rem;
	background-color: #FFF;
	border: 1px solid #CCC;
	display: inline-block;
	margin-right: 0.05rem;
}

.filesCaptionWrapper {
	background-color: #f7f7f0;
	border: 1px solid #CCC;
	padding: 0.20rem;
	padding-left: 0.40rem;
	font-size: 0.15rem;
	line-height: 1.5;
}

.filesCaptionWrapper .list .text {
	list-style: disc outside;
	padding: 0.05rem 0;
}

#SubmitBtn {
	text-align: center;
	padding: 0.30rem 0;
}

#SubmitBtn .text {
	font-size: 0.15rem;
	letter-spacing: 0.10em;
	padding-bottom: 0.20rem;
	line-height: 1.75;
}

@media screen and (max-width: 599px) {
	#SubmitBtn .text {
		line-height: 1.5;
	}
}

#SubmitBtn .btn_wrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#SubmitBtn .btn_wrap input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 3.00rem;
	font-size: 0.18rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 0;
	padding: 0.24rem 0 0.26rem;
	position: relative;
	border: 0;
	cursor: pointer;
	transition: all 0.3s;
	margin: 0 0.10rem;
}

@media screen and (max-width: 599px) {
	#SubmitBtn .btn_wrap input {
		-webkit-appearance: none;
		margin: 0 0.10rem 0.20rem;
	}
}

#SubmitBtn .submit {
	color: #FFF;
	background-color: #00b900;
	box-shadow: 0 3px 0 rgba(0, 185, 0, 0.3);
}

#SubmitBtn .reset {
	color: #666;
	background-color: #CCC;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

#SubmitBtn .btn_wrap input:hover {
	opacity: 0.7;
}

/*======================================
MW WP form用
======================================*/
/* 入力画面のみ表示する */
.mw_wp_form_input .mw_input_wrap {
	display: block;
}

.mw_confirm_wrap,
.mw_complete_wrap {
	display: none;
}

/* 確認画面のみ表示する */
.mw_wp_form_confirm .mw_confirm_wrap {
	display: block;
}

.mw_input_wrap,
.mw_complete_wrap {
	display: none;
}

/* 完了画面のみ表示する */
.mw_wp_form_complete .mw_complete_wrap {
	display: block;
	text-align: center;
	max-width: 5.00rem;
	margin: auto;
}

.mw_wp_form_complete .mw_complete_wrap .text {
	padding-bottom: 0.30rem;
}

.mw_wp_form_complete .mw_complete_wrap .text strong {
	display: block;
	font-size: 0.20rem;
}

/* トップに戻るボタン */
.mw_wp_form_complete .mw_complete_wrap .back_btn {
	max-width: 3.00rem;
	margin: auto;
}

.mw_wp_form_complete .mw_complete_wrap .back_btn a {
	display: block;
	line-height: 0;
	font-size: 0.18rem;
	color: #FFF;
	text-decoration: none;
	background-color: #111;
	padding: 0.25rem 0 0.26rem;
	text-align: center;
}

.mw_input_wrap,
.mw_confirm_wrap {
	display: none;
}

#contact_form .error {
	display: block;
	font-size: 0.13rem;
	color: #ed1c24;
	padding-top: 0.06rem;
	font-weight: 700;
}

#contact_form .form_wrap .form_table td.files input {
	border: 0;
}

/* 画像の場合 */
#contact_form .form_wrap .form_table .mw-wp-form_image {
	padding: 0.05rem 0 0.20rem;
}

#contact_form .form_wrap .form_table .mw-wp-form_image img {
	max-width: 3.00rem;
}
