@charset "UTF-8";


.c_mod_box_in > p {
	font-size: 14px;
	line-height: 1.75;
}


.contact_box {
	position: relative;
	width: 1360px;
	margin: 0 auto;
	background: #fff;
}

.contact_box_in {
	width: 1000px;
	margin: 0 auto;
	padding: 70px 0;
}

@media screen and (max-width: 640px) {

	.c_mod_box_in > p {
		font-size: 12px;
	}

	.contact_box {
		width: 100%;
		margin: 0 auto;
	}

	.contact_box_in {
		width: 100%;
		margin: 0 auto;
		padding: 20px 3.4% 30px;
	}

}


.contact_box p {
	font-size: 14px;
	line-height: 1.7;
	letter-spacing : 1.12px;
}

.form_txt {
	text-align: center;
	line-height: 1.7;
}

.form_txt a {
	text-decoration: underline;
}

@media screen and (max-width: 640px) {
	.contact_box p {
		font-size: 12px;
	}
}





/* --------------------------------------------------------------------------------------------- form */


.contactbox form {
	padding: 15px 0 0;
}

.contactbox form table {
	width: 100%;
	margin: 0 auto 50px;
}

.contactbox form table tr {
	border-bottom: 1px solid #EAEAEA;
}

.contactbox form table th {
	width: 170px;
	font-weight: normal;
	text-align: left;
	vertical-align: middle;
}

.contactbox form table td {
	padding: 20px 0;
}

.contactbox form table td .error{
	margin: 10px 0 0;
	font-weight: bold;
	color: #D1443E;
}

.contactbox form table input {
	width: 500px;
	height: 50px;
	padding: 0 20px;
	background: #F2F2F2;
	border: 1px solid #EAEAEA;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 16px;
}

.contactbox form table td .w100p {
	width: 100%;
}


.contactbox form textarea {
	width: 100%;
    height: 150px;
    padding: 20px;
	background: #F2F2F2;
	border: 1px solid #EAEAEA;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 16px;
	font-family:  'Roboto','YuGothic','Yu Gothic', sans-serif;
}

.contactbox form .form_btn {
	width: 300px;
	position: relative;
	margin: 40px auto 0;
	text-align: center;
}


.contactbox form .form_btn input {
	width: 300px;
	height: 60px;
	background: #6478E6;
	color: #fff;
	border: none;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family:  'Roboto','YuGothic','Yu Gothic', sans-serif;
}

.form_absolute {
	margin: 0 0 0 1rem;
	padding: 0;
}

form table[summary="お問合せ"] #email {
    margin-bottom: 20px;
}

#email_match_wrap {
    font-size: 14px;
    display: block;
}

#email_match_in span {
	display: block;
	height: 40px;
    font-size: 24px;
    font-weight: 400;
}


@media screen and (max-width:768px) {

	.contactbox form {
		padding: 30px 0 0;
	}

	.contactbox form table {
		width: 100%;
		margin: 0 auto 20px;
	}

	.contactbox form table tr {
		border-bottom: 1px solid #EAEAEA;
	}

	.contactbox form table th {
		display: block;
		width: 100%;
		padding-top: 10px;
		font-weight: normal;
		text-align: left;
		vertical-align: middle;
		font-size: 14px;
	}

	.contactbox form table td {
		display: block;
		padding: 10px 0;
	}

	.contactbox form table input {
		width: 100%;
		height: 40px;
		padding: 0 20px;
		background: #F2F2F2;
		border: 1px solid #EAEAEA;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		font-size: 16px;
	}

	.contactbox form table td .w100p {
		width: 100%;
	}


	.contactbox form textarea {
	    height: 150px;
		background: #F2F2F2;
		border: 1px solid #EAEAEA;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}

	.contactbox form .form_btn {
		width: 240px;
		margin: 30px auto 0;
	}


	.contactbox form .form_btn input {
		width: 240px;
		height: 50px;
	}

	.form_absolute {
		margin: 0 0 0 1rem;
		padding: 0;
	}

	form table[summary="お問合せ"] #email {
	    margin-bottom: 15px;
	}

	#email_match_wrap {
	    font-size: 12px;
	    display: block;
	}

	#email_match_in span {
		display: block;
		height: 40px;
	    font-size: 20px;
	    font-weight: 400;
	}

}

.contactend_box {
	text-align: center;
}

.contactend_box p:nth-child(1) {
	margin-bottom: 40px;
	font-size: 26px;
	font-weight: bold;
}

.contactend_box p:nth-child(2) {
	margin-bottom: 100px;
	font-size: 18px;
	line-height: 1.8;
}

.contactend_box p:nth-child(3) {
	margin: 0 auto;
	width: 300px;
    height: 60px;
	background: #6478E6;
}

.contactend_box p:nth-child(3) a {
	display: table;
	width: 300px;
	height: 60px;
	color: #fff;
	    font-size: 16px;
    font-weight: 700;
	font-family:  'Roboto','YuGothic','Yu Gothic', sans-serif;
}

.contactend_box p:nth-child(3) a:hover {
	text-decoration: none;
}

.contactend_box p:nth-child(3) a span {
	display: table-cell;
	color: #fff;
	vertical-align: middle;
}

@media screen and (max-width: 640px) {

	.contactend_box p:nth-child(1) {
		margin-bottom: 25px;
		font-size: 20px;
		line-height: 1.6;
	}

	.contactend_box p:nth-child(2) {
		margin-bottom: 50px;
		font-size: 14px;
	}

	.contactend_box p:nth-child(3) {
		max-width: 300px;
		width: 80%;
		height: 40px;
		font-size: 14px;
	}
	.contactend_box p:nth-child(3) a {
		width: 100%;
		height: 40px;
	}

}
