/*----------------------------------------
	ここからメールフォームの設定
----------------------------------------*/
#contact #main #mailformtitlearea {
	height: 28px;
	margin: 20px 0 15px 0;
	padding-left: 50px;
	padding-bottom: 10px;
	border-bottom: 2px solid red;
}

#contact #mailformtitle {
	text-align: center;
}

#contact #mailformtitle p {
	font-size: 1.5em;
	letter-spacing: 0.5em;
	font-weight: bold;
}

#contact #mailformmessagearea {
	width: 764px;
}

#contact #mailformmessagearea #in_messagearea {
	width: 580px;
	margin: 15px auto 30px auto;
}

#contact #mailformexplan {
	margin: 10px 20px 0 30px;
}

#contact #mailformexplan p {
	font-size: 0.95em;
}

/* for table */
#contact table.form {
	border: 1px solid #7777bb;
	border-collapse: collapse;
	margin-top: 1em;
}
#contact table.form th, table.form td {
	text-align: left;
	border: 1px solid #7777bb;
	font-weight: normal;
}
#contact table.form th {
	white-space: nowrap;
	background: #eaeafc;
	padding: 8px;
}

#contact table.form td {
	background: #f5f5fc;
}

/* for message */
#contact p.msg {
	color: #dd0000;
	margin: 2em;
}
#contact span.msg {
	color: #dd0000;
}

#contact #sendmailarea {
	padding-left: 50px;
	margin: 15px auto 0 auto;
	width: 400px;
	text-align: center;
}

#contact #sendmailarea input {
	font-size: 1.3em;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background: #3f6;
}

#contact #in_messagearea form #sendmailarea input.sendarea {
	height: 30px;
	width: 80px;
	margin-right: 10px;
}

#contact #in_messagearea form #sendmailarea input.resetarea {
	height: 30px;
	width: 80px;
	margin-left: 10px;
}

/* for back-button */
#contact form.back {
	margin-top: 2em;
}

#contact table.form tr td.point1 input {
	width: 15em;
	margin: 8px;
}

#contact table.form tr td.point2 input {
	width: 20em;
	margin: 8px;
}

#contact table.form tr td.point3 input {
	width: 20em;
	margin: 8px;
}

#contact table.form tr.point4 td.point5 textarea {
	line-height: 1.5em;
}

#contact table.form tr td.point5 {
	padding: 8px;
}

#contact table.form tr td.point6 input {
	width: 25em;
	margin: 8px;
}

#mailconfirmation #main,#mailerror #main ,#mailthanks #main  {
	width:764px;
	margin: 0 auto;
}

#mailconfirmation #main #in_main {
	margin-left: 150px;
}

#mailconfirmation #main #in_main .section3 input {
	font-size: 1.3em;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background: #3f6;
}

#mailerror #main #in_main {
	margin-left: 150px;
}

#mailerror #main #in_main .section3 input {
	font-size: 1.3em;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background: #3f6;
}


#mailthanks #main #in_main {
	margin-left: 150px;
}

#mailthanks #main #in_main .section3 input {
	font-size: 1.3em;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background: #3f6;
}

#main .section3 {
	margin-left: 200px;
}

#main .section2 .sendmailtitle {
	margin: 30px 0 20px 0;
}

#main .section2 .sendmailexplan {
	margin: 20px 0 20px 0;
}

#main table.form {
	border: 1px solid #7777bb;
	border-collapse: collapse;
	margin: 1em 0 1em 0;
}

#main .section3 {
	margin: 20px 0 30px 0;
}

#main table.form th, table.form td {
	text-align: left;
	border: 1px solid #7777bb;
	padding: 8px;
	font-weight: normal;
}
#main table.form th {
	white-space: nowrap;
	background: #cccce6;
}
#main table.form td {
	background: #f0f0f0;
	line-height: 1.5em;
	letter-spacing: 0.02em;
}

/* for title */
#main .section2 .sendmailtitle p.ttl {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
}

/* for message */
#main .section2 .sendmailexplan p.msg {
	color: #dd0000;
	font-size: 1em;
	letter-spacing: 0.03em;
	line-height: 1.5em;
}
#main span.msg {
	color: #dd0000;
}

/* for back-button */
#main form.back {
	margin-top: 2em;
}
/*----------------------------------------
	ここまでメールフォームの設定
----------------------------------------*/