@charset "utf-8";

/* 本文 */
body {
	font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h3 {
	font-weight: bold;
	font-size: 16px;
}

p {
	line-height: 1.3em;
}

/* テーブル */
table.form {
	/*border-top: 1px solid #ccc;*/
	border-collapse: collapse;
	margin-top: 1em;
}

span.req {
	float: right;
	background: #333;
	color: #fff;
	padding: 5px 10px;
	font-size: 12px;
}
table.form th {
	vertical-align: middle;
	background: #fff;
	color: #333;
}
table.form td {
	background: #fff;
	vertical-align: middle;
}
input.submit_bt {
	width: 90%;
	height: 50px;
	background: #333;
	color: #fff;
}
.formscroll {
	width: 80%;
	height: 150px;
	overflow: auto;
	text-align: left;
	margin: 0 auto;
	border: 1px solid #ddd;
	color: #666;
}
/* タイトル装飾 */
strong.ttl {
	text-align: left;
	border-left: solid 4px #cc0000;
	display: block;
	padding: 2px 5px;
	line-height: 25px;
	margin: 50px 0 20px 0;
}

/* メッセージ */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* 戻りボタン */
form.back {
	margin-top: 2em;
}

p.center {
	text-align: center;
}
p.pink {
	line-height: 1.8em;
	color: #ff5470;
}
@media screen and (min-width: 671px) { /*671px以上*/

#formbody {
	width: 980px;
}
table.form th, table.form td {
	text-align: left;
	border-top: 1px solid #ccc;
	padding: 8px;
}
table.form th {
	width: 30%;
}
table.form td {
	background:#ffffff;
	width:600px;
	height: 3em;
}
}

@media screen and (max-width:670px) { /*670px以下*/

#formbody {
	width: 98%;
}
table.form th {
	text-align: left;
	border-top: 1px solid #ccc;
	padding: 8px;
}
table.form td {
	max-width:98%;
	min-height: 2em;
}
table, tbody, tr, th, td {
	display: block;
	max-width: 98%;
}

.small {
	font-size: 8px;
}

}