body {
	margin:0 auto;
	padding:0;
	background-color: #FFFFFF;
	font-size:62.5%;
	line-height:1.5;
	font-family:Verdana, Arial, Helvetica;
	background-image: url(../ishigaki/images/ishigaki_bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	color: #333333;
}
h1, h2, h3, h4, h5, h6 ,p, dl, dt, dd, ul, li, ol, input, text {margin:0; padding:0;}
li{list-style-type:none;}
img{border:none;}
a:link{ text-decoration: underline;}
a:hover{ text-decoration: none;}
a:visited{ text-decoration: none;}

.clearfix:after {
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both; 
}
.clearfix { display: inline-block; }
/* Hides from IE-mac |*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */


/* レイアウト
----------------------------------------------------*/
#wrapper {
	width:950px;
	margin:0 auto;
	font-size: 1.2em;
}
#contents {
	padding: 0 0 50px 0;
	background-image:url(../common/contents_bg.gif);
	background-repeat: repeat-y;
}


/* ヘッダー
----------------------------------------------------*/
#header{ margin: 0 0 10px 0; }

#header h1 {
	font-size: 0.8em;
	color:#FFFFFF;
	font-weight:normal;
	padding:15px 0 0 5px;
	margin:0;
	height: 34px;
}
#header h1 a{ color:#FFFFFF; }
#header h2 {
	margin-bottom: 8px;
	text-indent: -9999px;
}
#header h2 a {
	width:460px;
	height:52px;
	display: block;
	text-decoration: none;
}
/*
#header #headlink{
	width: 731px;
	margin: 0px;
	clear:both;
}
#header br{
	margin:0;
	padding:0;
}
#header a#contact{
	margin: 32px 0 0 0;
	float:right;
	width:170px;
	height:20px;
	display: block;
	text-decoration: none;
	text-indent: -99999px;
}
*/

/* メニューボタン */
ul#menu {
	padding:0;
}
ul#menu li{float:left;}
ul#menu li a{
	display: block;
	height:52px;
	text-indent: -9999px;
	text-decoration: none;
}
ul#menu li a#menu01{background-image: url(../common/menu01.jpg); width:82px;}
ul#menu li a#menu02{background-image: url(../common/menu02.jpg); width:196px;}
ul#menu li a#menu03{background-image: url(../common/menu03.jpg); width:161px;}
ul#menu li a#menu04{background-image: url(../common/menu04.jpg); width:133px;}
ul#menu li a#menu05{background-image: url(../common/menu05.jpg); width:119px;}
ul#menu li a#menu06{background-image: url(../common/menu06.jpg); width:147px;}
ul#menu li a#menu07{background-image: url(../common/menu07.jpg); width:112px;}
ul#menu li a:hover{background-position: 0 -52px;}
.nowbtn{background-position: 0 -52px;}
#pan {
	color:#FFFFFF;
	font-size:0.8em;
	line-height:1.0;
	font-weight:bold;
	padding:10px 0 0 5px;
}
#pan a{
	color:#FFFFFF;
}

/* メインコンテンツ 
----------------------------------------------------*/

#main {
	width:740px;
	float:left;
	background-image: url(#wrapper);
	background-repeat: no-repeat;
	background-position: right top;
}

/* 右側コンテンツ 
----------------------------------------------------*/
#side {
	width:200px;
	float:right;
}
#side a.nowbtn{ font-weight: bold;}
#side #banner {
	background: #FFFFFF url(../common/side_bg.jpg) repeat-x bottom;
}
#side #banner img { margin-bottom:10px; }

#submenu{margin: 10px 0 0 0;}
#side #submenu h4 {
	font-size: 1.2em;
	font-weight: bold;
	color:#FFFFFF;
	height: 31px;
	padding:5px 0 0 10px;
	margin:0;
	background-image: url(../common/sub_bg.jpg);
	background-repeat: repeat-x;
}
#side #submenu ul{
	margin-bottom:15px;
}
#side #submenu ul li{
	background-image: url(../common/sub_list.jpg);
	background-repeat: no-repeat;
	background-position: 0.7em 0.4em;
	list-style-type: none;
	padding:3px 0 3px 27px;
}
#side #submenu ul li a {color:#1B71BE;}


/* ページ先頭
----------------------------------------------------*/
.pagetop {
	color:#1B71BE;
	background-image: url(../common/pagetop.jpg);
	background-repeat: no-repeat;
	background-position: 0em 0.2em;
	padding:0 0 0 13px;
	margin:0;
	float:right;
	font-size:0.8em;
}
.pagetop a {color:#1B71BE;}


/* フッター 
----------------------------------------------------*/
#footer {
	background-image: url(../common/footer_bg.jpg);
	background-repeat: repeat-x;
	text-align:center;
	line-height:160%;
	font-size:0.8em;
	margin: 0 0 10px 0;
}
#footer .link {
	padding:10px 5px;
}
#footer a:link{
	color:#CCCCCC;
	text-decoration: none;
}
#footer a:hover{	
	color:#007BA6;
	text-decoration: none;
}

#footer a:visited{
	color:#CCCCCC;
	text-decoration: none;
}
.capt {
	color: #0000FF;
	font-size: 15px;
	margin-left: 10px;
	margin-top: 5px;
	text-decoration: underline;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #FFFFFF;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	text-transform: none;
	font-weight: bold;
}
.rank {
	font-size: 14px;
	background-color: #FF0000;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
	font-weight: bold;
	color: #FFFFFF;
}
.rank02 {
	background-position: center;
	font-size: 12px;
	border: 1px solid #FF0000;
	margin-top: 0px;
	margin-bottom: 8px;
}
.rank02 img {
	margin-left: 8px;
	margin-top: 5px;
}
.rank02 p {
	margin-left: 8px;
	margin-top: 0px;
	padding-top: 0px;
}
.style20 {
	color: #FF0000;
	font-weight: bold;
}
.style24 {font-size: 14px}
.style25 {font-size: 12px}
.style27 {font-size: 1.2em}
.style28 {
	font-size: 18px;
	color: #FF0000;
	font-weight: bold;
}