/* CSS Document */

@charset "UTF-8";

.form table {
	width: 100%;
}
.form table th {
	width: 25%;
	text-align: left;
	vertical-align: top !important;
	position: relative;
	padding: 10px 0 !important;
	border: none !important;
	background: none !important;
	font-weight: bold!important;
}
.form table th span {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 12px;
	line-height: 1;
	color: #FFF;
	border-radius: 3px;
	padding: 5px 10px 7px 10px;
}
	.form table th span.any {
		background: #999;
	}
	.form table th span.required {
		background: #F90;
	}
	.form table td {
		padding: 10px 0 10px 20px !important;
		border: none !important;
	}
	.form table td input[type="text"],
	.form table td input[type="tel"],
	.form table td input[type="email"],
	.form table td input[type="number"],
	.form table td textarea{
		border: 1px solid #CCC;
		border-radius: 5px;
		padding: 5px 10px;
		width: 80%;
	}
	.form table td input#userpost {
		width: 10em;
	}
	.form table td input#numberbook {
		width: 5em;
	}
	.form table td textarea{
		height: 8em;
	}
	.form table td select {
		border: 1px solid #CCC;
		border-radius: 5px;
		padding: 5px 10px;
	}
	.form table td input[type="text"]:focus,
	.form table td input[type="tel"]:focus,
	.form table td input[type="email"]:focus,
	.form table td input[type="number"]:focus,
	.form table td textarea:focus,
	.form table td select:focus{
		border: 1px solid #ffce08;
		box-shadow: 0 0 5px #CCC;
	}
	.form table td .error {
		color: #F30;
		font-size: 14px;
		padding: 3px 10px 5px 0;
		margin-top: 5px;
	}
		.form table td .error:before {
			content: "エラー内容："
		}
	.form table td .label-checkbox input[type="checkbox"],
	.form table td .label-radio input[type="radio"] {
		display: none;
	}
	.form table td .label-checkbox,
	.form table td .label-radio {
		cursor: pointer;
		padding-right: 15px;
		font-weight: normal;
	}
	.form table td .label-checkbox .lever:before{
		content:"\f096";
		font-family: "FontAwesome";
		margin-right: 7px;
		color: #ccc;
		font-size: 18px;
		position: relative;
		top: 2px;
	}
	.form table td .label-radio .lever:before{
		content:"\f1db";
		font-family: "FontAwesome";
		margin-right: 7px;
		color: #ccc;
		font-size: 18px;
		position: relative;
		top: 2px;
	}
	.form table td .label-checkbox input[type="checkbox"]:checked + .lever,
	.form table td .label-radio input[type="radio"]:checked + .lever{
		color: #0c559e;
	}
	.form table td .label-checkbox input[type="checkbox"]:checked + .lever:before{
		content:"\f046";
		font-family: "FontAwesome";
		color: #0c559e;
	}
	.form table td .label-radio input[type="radio"]:checked + .lever:before{
		content:"\f192";
		font-family: "FontAwesome";
		color: #0c559e;
	}

	.form .button ul {
		overflow: hidden;
		text-align: center;
	}
	.form .button ul li {
		display: inline-block;
		margin: 0 5px;
	}
	.form .button ul li input {
		font-size: 18px;
		color: #FFF;
		border-radius: 5px;
		outline: 0;
		border: 0;
		padding: 14px 30px 18px;
		box-shadow: 1px 2px 5px #CCC;
		margin-bottom: 5px;
		cursor: pointer;
	}
	.form .button ul li input.send {
		background: #0c559e;
	}
	.form .button ul li input.back {
		background: #333;
	}

@media all and (max-width: 768px) {	/* tablet */
.form table th {
	width: 30%;
}
.form table td input[type="text"], .form table td input[type="tel"], .form table td input[type="email"], .form table td input[type="number"], .form table td textarea {
	width: 80%;
}
}

@media all and (max-width: 640px) {	/* smartPhone */
	.form table th {
		width: 100%;
		border-top: 1px solid #DDD !important;
	}	
	.form table th span {
		top: 8px;
		right: 0px;
		font-size: 11px;
	}
	.form table td {
		padding:0 0 15px !important;
	}
	.form table td input[type="text"],
	.form table td input[type="tel"],
	.form table td input[type="email"],
	.form table td input[type="number"],
	.form table td textarea{
		width: 100%;
		font-size: 13px;
	}
	.form table td .error {
		font-size: 12px;
	}
	.form .button ul li input {
		font-size: 15px;
		padding: 10px 15px 14px;
	}
}