/* Contents Base layout */

html {
	height: 100%;
}

body {
	background-image: url(../common/bg.gif);
	margin: 0px;
	padding: 0px;
	text-align: center;
	height: 100%;
}

#wrapper {
	background-color: #FFFFFF;
	background-image: url(../common/dot_bg.gif);
	background-repeat: repeat-y;
	width: 760px;
	min-height: 100%;
	height: auto!important;
	height: 100%;
	padding: 0px 5px 0px 5px;
	margin: 0px auto 0px auto;
}


/* header */

#header {
	margin: 0px;
	padding: 0px;
	height: 100px;
	background: url(../common/header_bg.gif) repeat-x top;
}
#header h1 {
	font-size: 12px;
	color: #FFFFFF;
	text-align: right;
	padding-top: 2px;
	padding-right: 12px;
	padding-bottom: 0px;
	margin: 0px;
}

/* ページ修正後削除 */

.manyou_logo {
	float: left;
	padding-top: 8px;
	padding-right: 0px;
	padding-left: 0px;
}

.category_head_banner {
	float: right;
	padding-top: 13px;
	padding-right: 0px;
}

/* ここまで */


#header #logo {
	float: left;
	padding-top: 8px;
	height: 70px;
	width: 277px;
}
#category_head_banner {
	float: right;
	padding-top: 13px;
	height: 60px;
	width: 468px;
}

/* contents */

#contents {
	padding: 0px;
	margin-top: 20px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 10px;
}
#main {
	text-align: left;
	margin: 0px;
	padding: 0px;
	float: left;
	width: 530px;
	height: auto;
}

#side {
	float: right;
	width: 200px;
	margin: 0px;
	height: 100%;
}

/* footer */

#footer{
	height: auto;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	bottom: 0px;
	padding: 0px;
	clear: both;
}

#footer #space {
	height: 30px;
}

#footerline{
	background:url(../common/footer_dot_line.gif) repeat-x;
}

.footermenu{
	margin:0px 0px 14px;
	text-align:center;
	font-size:12px;
	line-height:130%;
	color:#666666;
	padding-top: 14px;
}

.footermenu a{
 font-size:12px;
 line-height:130%;
 color:#666666;
 text-decoration:none;
}

.footermenu a:hover{
 font-size:12px;
 line-height:130%;
 color:#666666;
 text-decoration:underline;
}

.warning{
 margin:10px 0px;
 text-align:center;
 font-size:12px;
 line-height:120%;
 color:#666666;
}

#address{
	height:23px;
	text-align:center;
	background: url(../common/copy_bg.gif) repeat-x;
}

address {
	font: normal 11px Geneva, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	padding-top: 5px;
}

/* text */

h1,h2,h3,h4,h5,p {
	margin:0px;
	padding:0px;
}

ol,ul,li {
	margin: 0px;
	padding: 0px;
}

.txt-left {
	text-align: left;
}

.txt-right {
	text-align: right;
}

/* image */

img {border:0;}

/* main */

#title-lead {
	width: 520px;
	padding-bottom: 20px;
	padding-left: 10px;
}


/* side */

#ad {
	background-color: #FFFDDC;
	border: 1px solid #FF9900;
	text-align: center;
	padding-bottom: 10px;
}
#ad1 {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #FF6600;
	text-align: center;
	height: 20px;
	width: 200px;
}
#sub-line {
	background-image: url(../common/submenuline.gif);
	background-repeat: repeat-x;
	padding-top: 5px;
	padding-bottom: 5px;
}
#side #large_square {
	margin-bottom: 18px;
}

.side_banner {
	margin-bottom: 18px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

iframe {
	width: 200px;
	height: 665px;
	} 

/* To Top */

#totop{
	text-align: right;
	padding-bottom: 20px;
}

#totop a{
	font-size: 11px;
	text-decoration: none;
	background-image: url(../common/totop.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 14px;
	color: #666666;
}

#totop a:hover{
	font-size: 11px;
	text-decoration: underline;
	background-image: url(../common/totop.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 14px;
	color: #ff6633;
}

#totop2{
	text-align: right;
	margin: 0px;
	padding: 0px;
}

#totop2 a{
	font-size: 11px;
	text-decoration: none;
	background-image: url(../common/totop.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 14px;
	color: #666666;
}

#totop2 a:hover{
	font-size: 11px;
	text-decoration: underline;
	background-image: url(../common/totop.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 14px;
	color: #ff6633;
}

/* About Copyright */

#copyright-warning {
	text-align: left;
	border: 1px solid #FF6600;
	padding: 6px;
	margin-bottom: 15px;
}

/* Clear */

.clr {
	clear:both;
}

/* clearfix */

.clearfix{

	zoom: 1;

}

.clearfix:after{

	clear: both;

	height: 0px;

	visibility: hidden;

	display: block;

	content: ".";

}

/* レイアウト確認用 */

.layout {
	overflow:hidden;
}