@charset "utf-8";

/*=====================================================
COMMON-LAYOUT
======================================================*/

.flow li {
	float: left;
	margin-left: 3.125%;
	width: 31.25%;
}
.flow li p{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	color: #fff;
	text-align: center;
}

.flow li p .no{
	font-size: 45px;
}
.flow li p span{
	display: inline-block;
	padding: 0 1%;
}
.flow li:nth-child(1) {
	background: url("../images/contact/flow01.png");
	background-size: 100% 100%;
}
.flow li:nth-child(2) {
	background: url("../images/contact/flow02.png");
	background-size: 100% 100%;
}
.flow li:nth-child(3) {
	background: url("../images/contact/flow03.png");
	background-size: 100% 100%;
}
.flow li:nth-child(1) {
	margin-left: 0;
}

.form .form_ttl {
	background: #fff;
	border: 1px solid #eaeaea;
	padding: 15px;
}
.form .check {
	background: #eaeaea;
	padding: 15px;
}
.form .check a {
	color: #e70012;
	text-decoration: underline;
}
.form .check a:hover {
	text-decoration: none;
}
.form span.required {
	background: #e70012;
	color: #fff;
	display: inline-block;
	text-align: center;
	width: 70px;
}
.form table {
	width: 100%;
}
.form table td {
	border-bottom: 1px solid #cccccc;
	font-size: 18px;
	padding: 15px 0;
	vertical-align: top;
}
.form table td.required {
	position: relative;
}
.form table td.required::after {
	background: #e70012;
	color: #fff;
	content: "必須";
	font-size: 16px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	width: 70px;
}
.form table td:nth-child(1) {
	width: 21.25%;
	max-width: 272px;
}
.form table td:nth-child(2) {
	padding-left: 2.81%;
}
input,textarea,input[type=radio] {
	border: 1px solid #ececec;
	font-size: 18px;
	padding: 5px;
}
input.txt {
	width: 51%;
}
textarea {
	width: 100%;
}
.button button,
.button a {
	background: #000;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	padding: 12px;
	width: 200px;
}
.button button:nth-child(2) {
	margin-left: 3%;
}
.button button:hover,
.button a:hover {
	opacity: .7;
}
.flow li p .no{
	margin: 0;
}

@media screen and (max-width: 1280px){
	.form table td:nth-child(1) p {
    /* width: 70%; */
    margin-right: 75px;
	}
	.address02 input {
		width: 50%;
	}
	
.flow li {
	font-size: 1.5625vw;
}
.flow li .no{
	font-size: 3.75vw;
}
}

@media screen and (max-width: 767px){
	.flow li {
		float: none;
		margin: 0 auto 1%;
		text-align: center;
		width: 100%;
	}
	.flow li:nth-child(1) {
		margin: 0 auto 1%;
	}
	
	.flow li p{
		display: block;
		font-size: 20px;
		line-height: 1;
		text-align: center;
	}
	.flow li:nth-child(1) p{
		padding: 1% 10px 3%;
	}
	.flow li:nth-child(2) p{
		padding: 5% 10px 3%;
	}
	.flow li:nth-child(3) p{
		padding: 5% 10px 1%;
	}
	.flow li p span{
		display: block;
		padding: 0;
	}
	.flow li:nth-child(1) {
		background: url("../images/contact/flow01_sp.png");
		background-size: 100% 100%;
	}
	.flow li:nth-child(2) {
		background: url("../images/contact/flow02_sp.png");
		background-size: 100% 100%;
	}
	.flow li:nth-child(3) {
		background: url("../images/contact/flow03_sp.png");
		background-size: 100% 100%;
	}
	
	
	
	.form .form_ttl,
	.form .check {
		padding: 10px;
	}
	.form table td {
		border-bottom: none;
		display: block;
		font-size: 16px;
		width: 100%;
	}
	.form table td.required::after {
		font-size: 14px;
	}
	.form table td:nth-child(1) {
		padding: 10px 0 0;
		width: 100%;
		max-width: 100%;
	}
	.form table td:nth-child(2) {
		border-bottom: 1px solid #cccccc;
		padding: 0 0 10px;
	}
	input,textarea,input[type=radio] {
		font-size: 16px;
	}
	input.txt {
		width: 100%;
	}
	.button button,
	.button a {
		font-size: 16px;
		width: 50%;
	}
	.button button:nth-child(2) {
		margin-left: 0;
		margin-top: 3%;
	}
}
.error_red{
	color: #e70012;
}