/*
Theme Name:名城・守山・山田・富田プール
Thema URL:http://www.jpn-sports.com/pool
Description:名城・守山・山田・富田プールのウェブサイト用です。
Author:yoshida@a-blosse
*/
/*共通スタイル
-------------------------------------------------------------------------------------------*/
/* タグスタイルの初期化
--------------------------------------------- */

html {
	overflow-y: scroll;
}
.hidden{
	display: none;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,img {
	margin: 0;
	padding: 0;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
}
img{
	border: none;
	vertical-align:bottom;
}
a{
	color:#0E6DC5;
	text-decoration: underline;
}
a img { border:none;}
a:hover{
	color:#C5971D;
	text-decoration: underline;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,th {
	text-align: left;
}
q:before,q:after {
	content: '';
}
object,
embed {
	vertical-align: top;
}
hr,legend {
	display: none;
}
img,abbr,acronym,fieldset {
	border: 0;
}
li {
	list-style-type: none;
}
p {
	margin-bottom: 1em;
}
/* 基本スタイル設定
--------------------------------------------- */
/*ボディ全体*/
body{
	margin: 0;
	padding: 0;
	text-align: center;
	font-family:verdana,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
	background:#1c449b;
}
* + html body {
	font-family: "メイリオ","Meiryo";
}
/*Firefoxでスクロールバーを常に表示させる*/
html{  
    overflow:-moz-scrollbars-vertical;  
}


/*サイト枠*/
#container{
	width: 980px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	font-size:80%;
}


/* コンテンツ(共通)の設定
---------------------------------------------------------- */
div#contents { 
	clear:left;
	margin: 0 auto;
	position: relative;
	padding:10px 20px;
}

/*トップページスタイル
-------------------------------------------------------------------------------------------*/
#home h1,#home h2,#home h3,#home dl{
	display:none;
}
#home div#g-nav{
       margin-bottom:0;
       height:41px;
}
#home #flash{
	margin-top:-20px;
}
#home #topicsbox{
	position:absolute;
	top:250px;
	left:50px;
	_top:230px;
}
*:first-child+html #home #topicsbox{
       top:230px;
}
#home #topicsbox ul{
	width:420px;
	height:170px;
	overflow:auto;
}
#home #topicsbox .topics-date{
	float:left;
	width:120px;
	margin-bottom:0;
	padding-bottom:0;
	padding-left:15px;
	background:url(images/common/mrk_arrow9.gif) left 3px no-repeat;
}
#home #topicsbox .topics-title{
	margin-left:140px;
	margin-bottom:0;
	padding-bottom:0;
}
#home #topicsbox li{
	border-bottom:1px dotted #6ebbe7;
	padding:5px;
	margin:0;
	width:390px;
}
#home #topicsbox li.yamada-news .topics-date{
	background:url(images/icon_yamada.gif) left top no-repeat;
}
#home #topicsbox li.moriyama-news .topics-date{
	background:url(images/icon_moriyama.gif) left top no-repeat;
}
#home #topicsbox li.meijou-news .topics-date{
	background:url(images/icon_meijou.gif) left top no-repeat;
}
#home #topicsbox li.tomita-news .topics-date{
	background:url(images/icon_tomita.gif) left top no-repeat;
}

#home #eventbox{
	position:absolute;
	top:250px;
	left:520px;
	_top:230px;
}
*:first-child+html #home #eventbox{
       top:230px;
}
#home #eventbox ul{
	width:420px;
	height:170px;
	overflow:auto;
}
/*#home #eventbox .topics-date{
	float:left;
	width:120px;
	margin-bottom:0;
	padding-bottom:0;
	padding-left:15px;
	background:url(images/common/mrk_arrow9.gif) left 3px no-repeat;
}*/
#home #eventbox .topics-title{
	margin-left:0px;
	margin-bottom:0;
	padding-bottom:0;
	padding-left:15px;
}
#home #eventbox li{
	border-bottom:1px dotted #6ebbe7;
	padding:5px;
	margin:0;
	width:390px;
}
#home #eventbox li.yamada-event .topics-title{
	background:url(images/icon_yamada.gif) left top no-repeat;
}
#home #eventbox li.moriyama-event .topics-title{
	background:url(images/icon_moriyama.gif) left top no-repeat;
}
#home #eventbox li.meijou-event .topics-title{
	background:url(images/icon_meijou.gif) left top no-repeat;
}
#home #eventbox li.tomita-event .topics-title{
	background:url(images/icon_tomita.gif) left top no-repeat;
}

#home #bnrbox{
	position:absolute;
	bottom:0px;
	right:70px;	
	_bottom:40px;
}
*:first-child+html #home #bnrbox{
       bottom:40px;
}
#home #bnrbox li{
	margin-bottom:10px;
}

/*#home div#footer{
	background-image:none;
	margin-top:0;
	padding-top:0;
}
#home #copyright dl{
	position:absolute;
	top:60px;
	left:20px;
}*/

#home #totop{
	position: absolute;
 	top:200px;
	left:900px;
	padding-top:400px;
}


/* 共通クラス設定
-------------------------------------------------------------------------------------------- */
/*ClearFix*/
.clearfix:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix{
	zoom: 1;
}

div:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
div{
	zoom: 1;
}

/*回り込み*/
.f-left{
	float:left;
}
.f-right{
	float:right;
}
.clear{
	clear:both;
}

/* IE6 で画像が消えることがあるバグを回避 */
.contents img {
  position: relative;
}

/* IE6/IE7 で垂直配置がずれるバグを回避 */
html[lang^="ja"] #side {
  margin-top: 0;
}

/*フォントカラー*/
.font-orange{
	color:#f18900!important;
}
.font-red{
	color:#FF6633!important;
}

/*レイアウト*/
.center{
	text-align:center!important;
}
.right{
	text-align:right!important;
}
.left{
	text-align:left!important;
}
.f-left{
	float:left!important;
}
.f-right{
	float:right!important;
}
.clear{
	clear:both!important;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

/*ページトップ*/
.pagetop{
	clear:both!important;
	text-align:right!important;
	margin-right:10px;
	margin-top:10px;
}

/*フォントの太さ*/
.font-bold{
	font-weight:bold;
}
.font-normal{
	font-weight:normal;
}

/*単一記事スタイル
-------------------------------------------------------------------------------------------*/
body#single{
	background:#1c449b;
}
#single div.post{
	width:550px;
        height:530px;
        margin:0px;
        padding:60px 40px;
	text-align:left;
}
#single div.category-news{
	background:url(images/bg_single_news.gif) left top no-repeat;
}
#single div.category-event{
	background:url(images/bg_single_event.gif) left top no-repeat;
}
#single h2{
	font-size:140%;
        font-weight:bold;
        color:#1c449b;
        padding:5px;
        border-bottom:3px dotted #1c449b;
        margin-bottom:10px;
	margin-top:10px;
	text-align:left;
}
div.entry{
	text-align:left;
        padding:5px 10px;
	height:400px;
	overflow:auto;
}
.close{
	margin-top:0px;
	margin-left:200px;
}

/*テーブル*/
#single table,#single th,#single td{
	border:1px solid #999;
	padding:5px;
	font-size:85%;
}
#single table{
	width:490px;
}
#single th{
	background-color:#d6f2ff;
	white-space : nowrap ;
}
#single th.table-title{
	background-color:#68b2db;
	font-size:120%;
	color:#fff;
}	




@import"thickbox.css";
