* { box-sizing: border-box }

#form_content {
	width: 960px;
	margin: 0 auto;
}

#consent_check {
	margin-bottom: 20px;
}

#form_content table {
	margin-bottom: 50px;
	width: 100%;
}

#form_content table td,
#form_content table th {
	border: 1px solid #ccc;
	padding: 1em;
}

#form_content table th {
	background: #e8e8e8;
	color: #333;
	font-weight: bold;
	line-height: 1.4;
}

#form_content #question_tbl th,
#form_content #question_tbl td {
	display: block;
	margin-top: -1px;
}

#form_content #question_tbl th {
	padding-left: 2.5em;
}
#form_content #question_tbl th:first-letter {
	margin-left: -1.25em;
}

#form_start_wrap {
	position: relative;
	width: 358px;
	height: 65px;
}

#form_content table th {
	text-align: left;
}

#form_content table th .required {
	color: #f00;
	font-size: 86%;
	font-weight: bold;
	display: block;
	float: right;
}

#form_content table td label {
	display: block;
	margin-bottom: 0.5em;
}

#form_content table td input[type=text],
#form_content table td textarea {
	border: 1px solid #ccc;
	/*font-size: 1.2em;*/
	/*padding: 0.5em;*/
}

#form_content table td input[type=text] {
	font-size: 1.2em;
	width: 200px;
}

#form_content table td textarea {
	resize: vertical;
	width: 97%;
}

#form_content .person_tbl th {
	width: 200px !important;
	vertical-align: top;
	
}

#form_content .person_tbl .name {
	float: left;
	margin-right: 1em;
}
#form_content .person_tbl .name input {
	margin-left: 0.5em;
}

#form_content .person_tbl .short input {
	width:100px;
}

#form_content .person_tbl .long input {
	width:100%;
}

.check_wrap_box {
	width: 960px;
	margin: 0 auto;
	text-align: center;
}

.check_wrap {
	position: relative;
	width:314px;
	margin: 0 auto;
}

#upper_wrap {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.5);
	width: 314px;
	height: 64px;
}

.form_btn_area {
	width: 400px;
	margin: 0 auto 40px !important;
}

input[value=確認] {
	width: 314px;
	height: 64px;
	margin: 0 auto;
	display: block;
	border: none;
	background: url(../images/button_form_confirm.png) no-repeat;
	text-indent: -9999px;
}

input[value=送信] {
	width: 184px;
	height: 64px;
	/*margin: 0 auto 20px;*/
	display: block;
	border: none;
	background: url(../images/button_form_submit.png) no-repeat;
	text-indent: -9999px;
	float: right;
}
input[value=戻る] {
	width: 184px;
	height: 64px;
	/*margin: 0 auto 20px;*/
	display: block;
	border: none;
	background: url(../images/button_form_return.png) no-repeat;
	text-indent: -9999px;
	float: left;
}

/*#panel { display: none; padding: 0;}*/
#panel {
	display: none;
	padding: 0;
}

#open-btn {
	display: block;
	position: relative;
	width: 314px;
	height: 64px;
	margin: 20px auto;
	background: url(../images/button_form_input.png);
	text-align: center;
	text-indent: -9999px;
}

input[value=確認]:hover,
input[value=戻る]:hover,
input[value=送信]:hover,
#open-btn:hover {
	cursor: pointer;
	opacity:0.5;
	filter: alpha(opacity=50);        /* ie lt 8 */
	-ms-filter: "alpha(opacity=50)";  /* ie 8 */
	-moz-opacity:0.5;                 /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.5;              /* Safari 1.x */
}

/*
#open-btn:before { content: ""; position: absolute; top: 50%; right: 10px; width: 10px; height: 2px; margin-top: -2px; background: #fff; }
#open-btn:after { content: ""; position: absolute; top: 50%; right: 14px; width: 2px; height: 10px; margin-top: -6px; background: #fff; }
*/

p.complete_text {
	line-height: 1.4;
	margin-bottom: 1.5em;
}

@media screen and (min-width: 641px) and (max-width:959px) {
	#form_content {
		width: 100%;
		min-width: 960px;
	}

	.center {
		width: 100%;
		min-width: 960px;
	}

	.check_wrap_box {
		width: 100%;
		min-width: 960px;
	}

}

@media screen and (max-width: 640px) {
	#form_content {
		width: 100%;
	}

	.center {
		width: 100%;
	}

	.check_wrap_box {
		width: 100%;
	}

	#open-btn {
		width: 314px;
	}

	.form_btn_area {
		width: 314px;
	}

	.person_tbl th,
	.person_tbl td {
		display: block;
	}

	#form_content .person_tbl th {
		width: 100% !important;
	}

 	#form_content .person_tbl td.person_name_exheight {
		overflow: hidden;
	}

	input[value=送信] {
		float: none;
		margin: 0 auto;
	}
	input[value=戻る] {
		float: none;
		margin: 0 auto;
	}

}