* {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	width: auto;
	float: none;
	padding: 0px;
	margin: 0px;
	background-repeat: repeat;
	background-image: url(../img/back_white.jpg);
}

.clearfix:after{
    content:"";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

.clearfix{
    display:inline-block;
    min-height:1%;  /* for IE 7*/
}

/* Hides from IE-mac */
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

#page {
	width: 840px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	display: block;
	margin-bottom: 0px;
	text-align: center;
	height: auto;
}
body > #page {
        height: auto;
}

#page-main {
	width: 840px;
	text-align: center;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	float: left;
	position: relative;
	background-image: url(../img/kage.png);
	background-repeat: repeat-y;
}

#head {
	width: 800px;
	margin: 0 auto;
	text-align: right;
	font-size: 10px;
	line-height: 20px;
	letter-spacing: 0.1em;
	background-color: #333333;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
	color: #FFFFFF;
}
.bot {
	line-height: 49px;
	background-repeat: no-repeat;
	background-position: center;
	font-weight: bold;
	margin-top: 20px;
	letter-spacing: 0.1em;
	height: 49px;
	width: 351px;
	margin-right: auto;
	margin-left: auto;
	text-decoration: none;
	background-image: url(../img/bot.gif);
}
.bot a {
	text-decoration: none;
	letter-spacing: 0.1em;
	line-height: 49px;
	height: 49px;
	width: 351px;
	font-size: 14px;
	display: block;
}
.bot a:hover{
	background-image: url(../img/bot_over.gif);
	background-repeat: no-repeat;
	display: block;
	height: 49px;
	width: 351px;
	color: #0066FF;
}
.mailtofriend {
	background-image: url(../img/mail_to_friend.gif);
	background-repeat: no-repeat;
	height: 34px;
	width: 250px;
	display: block;
	text-decoration: none;
	margin-right: auto;
	margin-left: auto;
	margin-top: 60px;
	clear: both;
	margin-bottom: 80px;
	position: relative;
}
.mailtofriend a {
	font-size: 12px;
	font-weight: bold;
	color: #0033CC;
	text-decoration: none;
	letter-spacing: 0.1em;
	height: 34px;
	width: 250px;
	line-height: 34px;
	display: block;
}
.mailtofriend a:hover {
	background-image: url(../img/mail_to_friend_over.gif);
	background-repeat: no-repeat;
	height: 34px;
	width: 250px;
	display: block;
	color: #0066CC;
}
.modoru {
	background-image: url(../img/modoru.gif);
	background-repeat: no-repeat;
	text-align: left;
	font-size: 12px;
	line-height: 22px;
	text-indent: 22px;
	background-position: 1px 30px;
	float: left;
	position: relative;
	display: block;
	padding-top: 30px;
}
.modoru a {
	color: #333333;

}
.myBox {
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	padding-top: 30px;
	text-align: center;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
}
.topText {
	font-size: 14px;
	letter-spacing: 0.05em;
	font-style: normal;
	line-height: 1.5em;
	width: 500px;
	margin-right: auto;
	margin-left: auto;
}
.topTextEnd {
	font-size: 14px;
	letter-spacing: 0.05em;
	font-style: normal;
	line-height: 1.5em;
	width: 500px;
	height: 500px;
	padding-top: 200px;
	margin-right: auto;
	margin-left: auto;
}
#bottomText {
	font-size: 12px;
	background-color: #333333;
	padding: 0px;
	text-align: center;
	height: 80px;
	display: inline-block;
	width: 800px;
	clear: both;
	line-height: 50px;
	letter-spacing: 0.1em;
	position: relative;
	bottom: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#bottomText a {
	color: #FFFFFF;
}
.hako {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
}
#page-bot {
	width: 840px;
	margin-right: auto;
	margin-left: auto;
	height: 40px;
	background-image: url(../img/kage_bot.png);
	background-repeat: no-repeat;
	clear: both;
	margin-top: 0px;
	margin-bottom: 0px;
}
#pre{
	width:500px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	background-color: #FFFFFF;
	border: 2px solid #CCCCCC;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 60px;
	padding-left: 0px;
	letter-spacing: 0.1em;
}
#pre h1 {
	font-size:16px;
	font-weight:bold;
	margin-bottom:8px;
	color: #FFFFFF;
	height: 50px;
	width: 500px;
	background-color: #CC0033;
	line-height: 50px;
}
#pre p {
	font-size:16px;
	font-weight:bold;
	margin-bottom:8px;
	line-height: 50px;
	color: #CC0033;
}
#pre .tex {
	width: 300px;
	margin-right: auto;
	margin-left: auto;
	line-height: 20px;
	text-align: left;
	margin-top: 20px;

}
#pre .tex b {
	text-align: center;
	color: #CC0033;
	margin-right: auto;
	margin-left: auto;
	display: block;

}
#pre2{
	width:500px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	background-color: #FFFFFF;
	border: 2px solid #CCCCCC;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 60px;
	padding-left: 0px;
	letter-spacing: 0.1em;
}
#pre2 h1 {
	font-size:16px;
	font-weight:bold;
	margin-bottom:8px;
	color: #FFFFFF;
	height: 50px;
	width: 500px;
	background-color: #CC0033;
	line-height: 50px;
}
#pre2 p {
	font-size:16px;
	font-weight:bold;
	margin-bottom:8px;
	margin-left:30px;
	line-height: 25px;
	color: #CC0033;
	text-align:left;
}
#pre2 .tex {
	width: 300px;
	margin-right: auto;
	margin-left: auto;
	line-height: 20px;
	text-align: left;
	margin-top: 20px;

}
#pre2 .tex b {
	text-align: center;
	color: #CC0033;
	margin-right: auto;
	margin-left: auto;
	display: block;
	text-align: left;

}
/* ----------- My Form ----------- */
.myform{
	width:400px;
	padding:20px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
}

/* ----------- stylized ----------- */
#stylized{
	border:2px solid #CCCCCC;
	background-color: #F5F5F5;
}
#stylized h1 {
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylized p{
	font-size:12px;
	color:#666666;
	margin-bottom:20px;
	padding-bottom:10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}
#stylized p .small{
	color:#CC0000;
	font-size:11px;
	font-weight:normal;
	text-align:center;
	margin-right: auto;
	margin-left: auto;
	margin-top: 5px;
	width: auto;
}
#stylized label{
	display:block;
	text-align:right;
	width:130px;
	float:left;
	clear: left;
	margin-right: 3px;
	white-space: nowrap;
}
#stylized .small{
	color:#CC0000;
	font-size:11px;
	font-weight:normal;
}
#stylized button{
	clear:both;
	width:200px;
	height:31px;
	text-align:center;
	line-height:31px;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	background-color: #666666;
	letter-spacing: 0.5em;
	margin-top: 20px;
}
#submitbutton{
	clear:both;
	width:200px;
	height:31px;
	text-align:center;
	line-height:31px;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	background-color: #666666;
	letter-spacing: 0.5em;
	margin-top: 20px;
}
#stylized .radiotype{
	width: 350px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	font-size: 12px;
	margin-top: 20px;
	letter-spacing: 0.1em;
	display: block;
}
#stylized input{
	margin-right: 3px;
	margin-left: 2px;
}
#stylized select{
	margin-right: 3px;
	margin-left: 2px;
}
.thank{
	width: 300px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	font-size: 12px;
	margin-top: 50px;
	letter-spacing: 0.1em;
	display: block;
	line-height: 20px;
}
a#inputLink{
	display: block;
	width:200px;
	height:31px;
	text-align:center;
	text-decoration: none;
	line-height:31px;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	background-color: #666666;
	letter-spacing: 0.5em;
	margin-top: 20px;
	margin-left: 50px;
	float: left;
	border: outset 2px #999999;
}
.spacer {
	clear:both;
}