@charset "utf-8";
/* -----------------------------------
	Contact
----------------------------------- */
#mail_form dt,
#mail_form dd,
#mail_form span,
#mail_form em,
#mail_form input,
#mail_form select,
#mail_form textarea,
#mail_form li,
#mail_form label {
	font-size: 16px;
	font-weight: normal;
	font-style: normal;
}

/* -- .contact-flow-wrap -------------------------------------------------------------------------------- */
.contact-flow-wrap {
	position: relative;
	z-index: 1;
	margin: -3rem 0 3rem 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.contact-flow-wrap li {
	position: relative;
	list-style-type: none;
	text-align: center;
	text-transform: uppercase;
	width: 33.333%;
	color: #999999;
	font-size: 16px;
	font-weight: bold;
}
.contact-flow-wrap li:before {
	display: block;
	width: 18px;
	height: 18px;
	margin: 7px auto 20px auto;
	content: '';
	text-align: center;
	border-radius: 50%;
	background-color: #F5F5F5;
}
.contact-flow-wrap li:after {
	position: absolute;
	z-index: -1;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 2px;
	content: '';
	background-color: #F5F5F5;
}
.contact-flow-wrap li:first-child:after {
	content: none;
}
.contact-flow-wrap li.active,
.contact-flow-wrap li.complete{
	color: rgba(108,188,102,1);
}
.contact-flow-wrap li.active:before,
.contact-flow-wrap li.complete:before {
	background-color: rgba(108,188,102,1);
}
.contact-flow-wrap li.active:after,
.contact-flow-wrap li.complete:after {
	background-color: rgba(108,188,102,1);
}


/* -- #mail_form, dl, dt, dd -------------------------------------------------------------------------------- */

#mail_form * {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
}

#mail_form {
	width: 100%;
	margin: 50px auto;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 7px;
	box-shadow: 0 0 7px rgba( 0, 0, 0, 0.2 );
	line-height: 1.8;
}

#mail_form dl {
	width: 90%;
	margin: 0 auto;
	border-bottom: 1px solid #cccccc;
}

#mail_form dl:after,
#mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#mail_form dl dt {
	width: 30%;
	float: left;
	padding: 2rem 0 2rem;
	text-align: right;
}

#mail_form dl dd {
	width: 65%;
	float: right;
	padding: 2rem 0 2rem 5%;
	text-align: left;
}
#mail_form dl#check-privacy-policy dd {
	width: 100%;
	text-align: center;
}
#mail_form dl#check-privacy-policy dd p {
	margin-bottom: 30px;
}

#mail_form dl dt span {
	float: left;
	position: relative;
	top: -2px;
}

/* -- span.required, span.optional -------------------------------------------------------------------------------- */

#mail_form dl dt span.required,
#mail_form dl dt span.optional {
	display: inline-block;
	/*font-size: 85%;*/
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 3px;
}

#mail_form dl dt span.required {
	background: #d9534f;
	border: 1px solid #d43f3a;
}

#mail_form dl dt span.optional {
	background: #337ab7;
	border: 1px solid #2e6da4;
}

/* -- error message -------------------------------------------------------------------------------- */

#mail_form dl dd div.error_blank,
#mail_form dl dd div.error_format,
#mail_form dl dd div.error_match {
	display: block;
	color: #ff0000;
	margin-top: 5px;
}

.err-message {
	background: rgba(255,0,0,0.05);
	border-radius: 7px;
	padding: 2rem;
}
.err-message em,
.err-message li {
	font-style: normal;
}
.err-message h3 {
	margin-bottom: 2rem;
	text-align: center;
	line-height: 1;
	color: #ff0000;
}
.err-message h3 span {
	vertical-align: middle;
	font-size: 2rem;
	margin-right: 0.5rem;
	margin-bottom: 2px;
}

.err-message li {
	text-align: center;
	color: #ff0000;
}

/* -- input, select, textarea -------------------------------------------------------------------------------- */

#mail_form input[type="text"],
#mail_form input[type="email"],
#mail_form input[type="tel"] {
	width: calc( 100% - 4% - 2px );
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-family: inherit;
	line-height: normal;
}

#mail_form input[type="text"]:focus,
#mail_form input[type="email"]:focus,
#mail_form input[type="tel"]:focus,
#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

#mail_form ul li input[type="radio"],
#mail_form ul li input[type="checkbox"] {
	margin: 0 10px 0 0;
}

#mail_form select {
	padding: 7px 2%;
	border: 1px solid #cccccc;
	font-family: inherit;
	line-height: normal;
}

#mail_form textarea {
	display: block;
	width: calc( 100% - 4% - 2px );
	height: 200px;
	padding: 7px 2%;
	resize: vertical;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-family: inherit;
	line-height: normal;
}

/* -- ul, li -------------------------------------------------------------------------------- */

#mail_form ul {
	list-style-type: none;
}

#mail_form ul li label {
	display: block;
	margin-top: 10px;
	padding: 7px 2%;
	border-radius: 3px;
	background: #f0f0f0;
}

#mail_form ul li:first-child label {
	margin-top: 0px;
}

#mail_form ul li label:hover {
	cursor: pointer;
	background: #e0e0e0;
}

#mail_form ul.radio-check-box {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 1rem 1rem;
}

#mail_form ul.radio-check-box li label {
	margin: 0;
	padding: 7px 14px;
	white-space: nowrap;
}


/* -- input design -------------------------------------------------------------------------------- */

#mail_form input[name="company"] {
	width: 70%;
}

#mail_form input[name="name_1"],
#mail_form input[name="name_2"],
#mail_form input[name="read_1"],
#mail_form input[name="read_2"],
#mail_form input[name="postal"],
#mail_form input[name="phone"],
#mail_form input[name="schedule"] {
	width: 30%;
}

#mail_form input[name="mail_address"],
#mail_form input[name="mail_address_confirm"] {
	width: 80%;
}

#mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 20px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	background: #5bc0de;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

#mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}

/* -- button -------------------------------------------------------------------------------- */

#mail_form #form_submit {
	width: 90%;
	margin: 0 auto;
	padding: 30px 0;
	text-align: center;
}

#mail_form input[type="submit"] {
	padding: 1rem 2rem;
	border: 1px solid rgba(108,188,102,1);
	border-radius: 3px;
	background: rgba(108,188,102,1);
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	transition: 0.3s ease-in-out;
}

#mail_form input[type="submit"]:hover {
	cursor: pointer;
	border: 1px solid rgba(91,170,85,1);
	background: rgba(91,170,85,1);
}

#mail_form input[type="submit"] {
	margin: 0 auto 0 auto;
}

#mail_form input[type="submit"][disabled] {
	background: rgba(204,204,204,1);
	border: 1px solid rgba(204,204,204,1);
	cursor: default;
}

/* -- finish -------------------------------------------------------------------------------- */
#mail_form.finish {
	padding: 2rem;
}
#mail_form.finish h3 {
	margin-bottom: 2rem;
	text-align: center;
}
#mail_form.finish p {
	margin-bottom: 2rem;
	text-align: center;
}

.form_btn {
	display: flex;
	justify-content: center;
}
.form_btn li,
#mail_form .form_btn li {
	margin: 0 1rem;
}
.form_btn a,
#mail_form .form_btn input[type="submit"] {
	display: inline-block;
	margin-left: 0;
	padding: 1rem 2rem;
	border: 1px solid rgba(108,188,102,1);
	border-radius: 3px;
	background: rgba(108,188,102,1);
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	transition: 0.3s ease-in-out;
}
#mail_form .form_btn input[type="submit"].form_btn_return {
	border: 1px solid  rgba(204,204,204,1);
	background:  rgba(204,204,204,1);
	color: rgba(51,51,51,1);
}

.form_btn a:hover,
.form_btn input[type="submit"]:hover,
#mail_form .form_btn input[type="submit"]:hover {
	cursor: pointer;
	background: rgba(0,167,60,0.7);
	border: 1px solid rgba(0,167,60,0.7);
}
#mail_form .form_btn input[type="submit"].form_btn_return:hover {
	cursor: pointer;
	background: rgba(204,204,204,0.7);
	border: 1px solid rgba(204,204,204,0.7);
}


@media (orientation: portrait) and (max-width: 767px) {

	#mail_form dl dt {
		width: 100%;
		float: none;
		padding: 20px 0 20px 0;
		text-align: left;
	}
	#mail_form dl dt span {
		margin-right: 0.5rem;
	}
	#mail_form dl dd {
		width: 100%;
		float: none;
		padding: 0 0 20px 0;
	}
	#mail_form dl#check-privacy-policy dd p {
		margin-top: 20px;
		margin-bottom: 20px;
		text-align: left;
	}
	#mail_form dl#check-privacy-policy dd ul li label {
		font-size: 0.875rem;
	}
	.err-message {
		padding: 20px;
	}
	.err-message h3 span {
		font-size: 2rem;
		margin-right: 0.2rem;
	}
	.err-message ul li {
		text-align: left;
	}
	#mail_form.finish p {
		text-align:justify;
	}
	#mail_form.finish p br {
		display: none;
	}

	/* Btn */
	.form_btn {
		display: block;
		justify-content: center;
	}
	.form_btn li, #mail_form .form_btn li {
		display: block;
		margin: 0 0 20px 0;
	}
	.form_btn a, #mail_form .form_btn input[type="submit"] {
		width: 100%;
		margin-left: 0;
		padding: 1rem 0;
		font-size: 16px;
		text-align: center;
	}

}
