p {
	text-align: left;
	line-height: 1.5;
}

#inquery form {
	display: inline-block;
	vertical-align: top;
}

#inquery form * {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#inquery table {
	margin: 0 0 0 40px;
	padding: 3px;
	width: 800px;
	border-collapse: collapse;
}
#inquery table th {
	padding: 10px;
	width: 25%;
	border: solid 1px #151515;
	background-color: #fed;
	color: #333;
	font-size: 85%;
	font-weight: bold;
	white-space: nowrap;
	text-align: left;
	vertical-align: middle;
}
#inquery table td {
	padding: 10px;
	width: auto;
	border: solid 1px #151515;
	background: #ffd;
	font-size: 85%;
	text-align: left;
}
input[type="text"], textarea {
	border: 1px solid #ccc;
	margin: 0;
	width: 75%;
	background: #fff;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
}
input + input[type="text"] {
	margin-top: 5px;
}
textarea {
	min-height: 80px;
}
a.btn, input[type="button"], input[type="submit"], input[type="reset"] {
	display: inline-block;
	margin: 10px auto 0 40px;
	padding: 10px;
	min-width: 100px;
	/*max-height: 30px;*/
	border: 0;
	border-radius : 3px;
	color: #fff;
	background-color: #f90;
	font-size: large;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
a.btn.back, input[type="button"].back, input[type="submit"].back, input[type="reset"] {
	background-color: #999;
}

iframe#inquiry, iframe#entry {
	padding: 30px 0 10px;
}

em.attention {
	color: #c00;
	vertical-align: super;
	font-style: normal;
	font-weight: bold;
}

em.error {
	display: block;
	margin: 5px;
	color: #c00;
	font-style: normal;
	font-weight: bold;
	font-size: small;
}


/* responsive ----------------------------- */
@media screen and (max-width: 1023px) { /* TB & SP */
	#inquery table {
		display: block;
		margin: 0 25px;
		padding: 0;
		width: auto;
	}
	#inquery table tbody,
	#inquery table tr,
	#inquery table th,
	#inquery table td {
		display: block;
		width: auto;
	}
	#inquery table th {
		padding: 10px;
	}
	#inquery table td {
		padding: 10px;
		border-top-width: 0;
		border-bottom-width: 0;
	}
	#inquery table tr:last-child td {
		border-bottom-width: 1px;
	}
	input[type="text"],
	textarea {
		padding: 10px;
		width: 90%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	a.btn, input[type="button"], input[type="submit"], input[type="reset"] {
		display: block;
		margin: 25px auto 40px;
		padding: 15px 5px;
		width: 44%;
		min-width: 0;
		border: 0;
		height: auto;
		font-size: medium;
		white-space: normal;
	}
}


@media screen and (max-width: 767px) { /* SP Only */
	#inquery form{
		display: block;
		text-align: center;
	}
	#inquery table {
		margin: 0 15px;
	}
	input[type="text"],
	textarea {
		width: 80%;
	}
	a.btn, input[type="button"], input[type="submit"], input[type="reset"] {
		margin: 30px auto;
		padding: 10px;
		font-size: medium;
	}
}