*{
	margin:0;
	padding:0;
}

body {
	background-color: #e1e1d2;
	background-repeat: no-repeat;
	background-position: left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	color: #333333;
	padding-right: 2%;
	padding-left: 2%;
}
#qmEditor {
	text-align: right;
}

#mctaichi {
	margin-top: 18px;
	margin-bottom: 9px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin-left: 35%;
	display: block;
}
#drz {
	clear: both;
	position: absolute;
	left: 6%;
	top: 0px;
	z-index: 1000;
}
.left_menu {
	float: left;
	width: 22%;
	clear: left;
	margin-top: 240px;
}
.left_menu .home {
	text-align: right;
	line-height: 3em;
	background-image: url(return.gif);
	background-repeat: no-repeat;
	padding-right: 20px;
	background-position: right center;
}

.left_menu h2 {
	padding-left: 1em;
	margin-bottom: 1em;
	z-index: 40;
	line-height: 2em;
	font-size: 90%;
	border-left-width: 1em;
	border-left-style: solid;
	border-left-color: #663333;
	background-color: #FFFFFF;
}
.left_menu li {
	list-style-type: none;
	line-height: 2.2em;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	padding-left: 0.7em;
	border-bottom-color: #666666;
}
.left_menu li.active {
	background-image: url(3kaku1.png);
	background-repeat: no-repeat;
	background-position: right center;
}

.left_menu a {
	text-decoration: none;
	color: #333333;
}
.left_menu a:hover {
	color: #FF9900;
}

.left_menu .ads {
	margin-top:2em;
	float:right;
}

#content {
	background-color: #FFFFFF;
	margin-left: 25%;
	line-height: 1.6em;
	border: 2px solid #666666;
	padding-top: 1em;
	padding-right: 1.5em;
	padding-bottom: 1.5em;
	padding-left: 1.5em;
}

#content .ads {
	float:right;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin-left: 10px;
}

#content h1 {
	font-size: x-large;
	margin-bottom: 1em;
	padding-top: 25px;
	padding-left: 25px;
	padding-bottom: 25px;
	background-image: url(bg_h1.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#content h2 {
	font-size: medium;
	border-left-width: 0.8em;
	border-left-style: solid;
	border-left-color:#663333;
	padding-left: 0.8em;
	clear: right;
	margin-bottom: 0.8em;
	margin-top: 1.2em;
	background-color: #eeeeee;
	line-height: 2em;
}

#content h3 {
line-height:2.5em;
}

#content .floatclear {
	clear:both;
}

#content p {
	margin-bottom: 0.7em;
}
#content img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin-bottom: 5px;
	margin-left: 8px;
}
#content table {
	padding: 0px;
	clear: right;
}
#content caption {
	line-height: 2.5em;
	font-size: medium;
	font-weight: bold;
	text-align: left;
	padding-left: 1em;
	margin-top: 1em;
	border-left-width: 0.5em;
	border-left-style: solid;
	border-left-color: #663333;
}

#content td {
	padding: 0.5em;
	background-color: #eeeeee;
}
#content td img{
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#content th {
	text-align: left;
	background-color: #dddddd;
	padding: 0.5em;
}

#content div {
	float:left;
	padding:0.7%;
	width: 47%;
	border: 1px solid #999999;
	margin-right: 1.1%;
	margin-bottom: 1em;
	height: auto;
}

#content div img{
	float:left;
	margin-right:8px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#content div.wide {
	padding:5px;
	float:none;
	width: auto;
	border:1px solid #999999;
	margin-right:0;
	margin-bottom:5px;
	height: 125px;
}
#content hr{
	margin-bottom:1em;
}

#content ol{
	margin-left: 2em;
}
#content li{
	margin-bottom:0.7em;
	list-style-position: outside;
	list-style-type: circle;
	margin-left: 1.5em;
}

#footer {
	text-align: center;
	line-height: 3em;
}

.pages {
	text-align: right;
	margin-top: -2em;
	margin-bottom: 2em;
}
.pages a,span {
	text-decoration: none;
	margin-right: 0.8em;
	font-size: medium;
}
.pages a:hover{
	color: #FF9900;
}

#topmenu {
	text-align: right;
	margin-bottom: -1.4em;
	margin-top: 5px;
}
#topmenu a{
	text-decoration: none;
	color: #666666;
	font-size: medium;
	margin-right: 1em;
	line-height: 1em;
	border-left-width: 0.4em;
	border-left-style: solid;
	border-left-color: #FFFFFF;
	padding-left: 1em;
}
#topmenu a:hover{
color:#FF6600;
}

/*Comment style*/
#comment h2 {
	border-color:#669999;
}
#comment div {
	float:none;
	width:auto;
	border-style:none;
	padding: 0px;
	width: auto;
	margin-right: 0;
	margin-bottom: 0.5em;
	height: auto;
}
#comment div.jot-user {
	float:left;
}
#comment div.jot-row {
	margin-top: 1.3em;
	border-top-style:solid;
	border-top-color:#666666;
	border-top-width:3px;
}
input.submit { 
	padding:0.5em;
}
