/*--------------------------------------------------
 section
--------------------------------------------------*/
#contents .section {
	width: 530px;
}
/*--------------------------------------------------
 Heading
--------------------------------------------------*/
h3.h_text {
	width: 530px;
}
/*--------------------------------------------------
 お問い合わせ
--------------------------------------------------*/
#inquiry {
	position: relative;
	width: 550px;
}
#inquiry:after {
	content: "";
	display: block;
	clear: both;
	padding-bottom: 20px;
}

#inquiry h2 {
	/*width: 550px;
	height: 45px;
	margin-bottom: 20px;
	background-image: url(../inquiry/img/tit_inquiry.gif);
	background-position: left bottom;
	background-repeat: no-repeat;*/
	margin-bottom: 20px;
}

#inquiry p.lead {
	width: 550px;
	margin-bottom: 10px;
	text-align: center;
}

#inquiry form {
	margin: 0 10px;
	padding: 0;
}
#inquiry form div.form_set {
	margin-left: 10px;
}
#inquiry form textarea {
	width: 510px;
	height: 100px;
}
#inquiry form table {
	width: 530px;
}
#inquiry form th {
	width: /*21%*/25%;
	font-size: /*10px*/12px;
}
#inquiry form td {
	font-size: /*10px*/12px;
}
#inquiry form td.input_form {
	width: /*11%*/13%;
	text-align: center;
}

#inquiry .button_area {
	text-align: center;
}
#inquiry .button_area input[type=image] {
	margin: 0 10px;
	height: 40px;
	width: auto;
}
#inquiry .button_area input[type=image]:hover {
	opacity: 0.7;
}


@media screen and (max-width:767px) {
	#inquiry {
		width: 100%;
	}
	#inquiry p.lead {
		width: 100%;
		padding: 0 5px;
		box-sizing: border-box;
	}
	#contents address {
		width: 100%;
		height: auto;
		padding-top: 17.936%;
		background-size: contain;
		background-position: center;
	}
	#inquiry form {
		margin: 0;
		padding: 0 5px;
	}
	h3.h_text {
		width: 100%;
		font-size: 16px;
	}
	#inquiry form div.form_set {
		margin: 0;
	}
	#inquiry form textarea {
		width: 100%;
		box-sizing: border-box;
	}
	#inquiry form table {
		width: 100%;
		box-sizing: border-box;
	}
	#inquiry form table tr {
		display: flex;
		flex-wrap: wrap;
		display: -webkit-flex;
		-webkit-flex-wrap: wrap;
	}
	#inquiry form th {
		width: 100%;
		border-right: none;
		border-left: none;
		border-top: none;
		box-sizing: border-box;
		font-size: 14px;
	}
	#inquiry form td.input_form {
		box-sizing: border-box;
		border-top: none;
		border-left: none;
		width: 25%;
		line-height: 24px;
		font-size: 14px;
	}
	#inquiry form td.input_form + td {
		box-sizing: border-box;
		border: none;
		border-bottom: solid 1px #ccc;
		width: 75%;
		line-height: 24px;
		font-size: 14px;
	}
	#inquiry form td.input_form + td input[type=text] {
		width: 100% !important;
		box-sizing: border-box;
		line-height: 24px;
		height: 24px;
	}
	#inquiry form td.input_form + td select {
		line-height: 24px;
		/*height: 20px;*/
	}
	#inquiry form table tr.yubin td input[type=text] {
		width: 20% !important;
		line-height: 24px;
		height: 24px;
	}
	#inquiry form table tr.yubin td input + input[type=text] {
		width: 30% !important;
		line-height: 24px;
		height: 24px;
	}
	#inquiry form table tr:last-child th, #inquiry form table tr:last-child td {
		border-bottom: none;
	}
	#sp_footer_contact {
		/*margin-top: 15px;
		position: static !important;*/
		display: none;
	}
	#footer {
		padding-bottom: 15px !important;
	}
	
	
	#inquiry .button_area {
		display: flex;
		justify-content: center;
		display: -webkit-flex;
		-webkit-justify-content: center;
	}
	
	#inquiry .button_area input[type=image] {
		margin: 0 5px;
		height: auto;
		max-height: 40px;
		max-width: calc(50% - 10px);
	}
}