/*ここは消さないで下さい!*/
/* Edited with EditCSS */
/*CSSLicense: jp-soft.com Tsunehisa Hazama*/

* {
margin: 0;
padding: 0;
}

html{height: 100%;}

/* BODY-------------------------------*/
body {
background: #CCFFCC;
margin: 0;
padding: 0;
line-height:150%;
letter-spacing: normal;
color: #333;
list-style: none;
text-align: center;
font-weight: normal;
font-size: 13px;
font-family: arial, helvetica, hirakakupro-w3, osaka, "ms pgothic", sans-serif;
}

/*デフォルト属性 */
a, p, h1, h2, h3, h4, h5, h6, blockquote {
 margin: 0;
 padding: 0;
 border: 0;
}

/* strong */
strong {font-weight: normal;}

/* 画像の属性 */
img {border: none; margin: 0;}
.img-left {float: left;margin: 5px 10px 5px 0;}
.img-right {float: right;margin: 5px 0 5px 10px;}
.img-center {;margin: 10px auto;}


a:link, a:visited, a:active {color: #339933;text-decoration: underline;}
a:hover{color : #C80850;text-decoration: none;}

/* 基本設定 ----------------------------- */
#base{
width: 820px;
margin: 0 auto;
background: url("http://www.hi-gradeone.com/keiba/img/base_back.gif") repeat-y;
text-align: center;
position: relative;
}

#wrapper {
width: 800px;
margin: 0 auto;
text-align: center;
}

#containar {
width: 760px;
margin: 30px auto 0 auto;
text-align: left;
background: #FFF;
}

/*  ヘッダー  */
#header {
height:50px;
margin: 0;
color: #FFF;
background: #DCE9F0 url("http://www.hi-gradeone.com/keiba/img/header.gif") no-repeat;
text-align: left;
}

#header h1{
 position: absolute;
 top: 20px;
 left: 30px;
 font-size: 14px;
 font-weight: normal;
 color: #FFF;
}

#header p#smap{
 position: absolute;
 top: 18px;
 right: 90px;
 margin: 0;
 font-size: 12px;
 text-align: right;
}

#smap a:link, #smap a:visited, #smap a:active {color: #FFF;text-decoration: underline;}
#smap a:hover{color : #C80850;text-decoration: none;}

#header2 {
height:205px;
margin: 0;
color: #FFF;
text-align: left;
background: #3398CC url("http://www.hi-gradeone.com/keiba/img/header2.jpg") no-repeat;
}

#header2 h2{
position: absolute;
top: 120px;
left: 40px;
width: 400px;
font-size: 100%;
font-weight: normal;
color: #333;
text-align: left;
}

/*  メインメニュー  */
#gmenu{
position: absolute;
left:10px;
top: 250px;
margin: 0 auto;
width: 800px;
height: 25px;
background: #339933;
border-top: 1px solid #BBB;
border-bottom: 1px solid #BBB;
}
#gmenu ul{list-style: none; margin: 0; padding: 0;}
#gmenu li{margin: 0; padding: 0; float: left;}
#gmenu li.nav1 a:link, #gmenu li.nav1 a:visited, #gmenu li.nav1 a:active {
float: left;
width: 120px;
height: 25px;
color: #FFF;
font-weight: normal;
text-align: center;
text-decoration: none;
line-height: 180%;
overflow: hidden;
border-right: 1px solid #BBB;
display: block;
}
#gmenu li.nav1 a:hover{background: #C80850;color: #FFF;}


.rss{
position: absolute;
top: 20px;
right: 25px;
}

/*  パンくずリスト  */
.navi {
margin :0 0 10px;
width: 100%;
font-size: 10px;
padding: 0 5px;
text-align: left;
}

.navi a {
color: #337799;
text-decoration: none;
}

.navi a:hover {
color: #FF6633;
text-decoration: underline;
}


/*  記事枠等の属性  */
#content {
float: right;
width: 540px;
margin: 0;
padding: 0;
background: #FFF;
overflow: hidden;
}

#content h2{
margin: 5px 0 10px 10px;
font-size: 123%;
color: #333333;
font-weight: bold;
text-align: left;
text-indent: 5px;
line-height: 150%;
border-left: 10px solid #66C066;
}

#content h3 {
margin: 10px 0;
padding: 0;
border-bottom: 1px solid #DDD;
color: #339933;
font-weight: bold;
font-size: 100%;
line-height: 150%;
display: block;
text-align: left;
text-indent: 0;
}

#content h3.post {
margin: 10px 5px 0 5px;
border: 0px;
color: #339933;
font-weight: bold;
font-size: 108%;
line-height: 150%;
display: block;
text-align: left;
text-indent: 20px;
background: url("http://www.hi-gradeone.com/keiba/img/h3_back.gif") no-repeat top left;
}

#content h3.post a {
color: #339933;
text-decoration: underline;
}

#content h3.post a:hover {
color: #FF0000;
text-decoration: none;
}

#content h4 {
margin: 10px 10px 10px 0;
border-bottom: 1px solid #DDD;
color: #339933;
font-weight: bold;
font-size: 108%;
line-height: 150%;
display: block;
text-align: left;
}

#content h5 {
margin: 10px 10px 10px 0;
color: #666;
font-weight: normal;
font-size: 100%;
line-height: 150%;
display: block;
text-align: left;
}

/*記事枠*/

#content .posted {
text-align: right;
font-size: 10px;
margin: 0px 20px 10px 0;
}

#content .doc{
margin: 0 10px 0px 20px;
text-align: left;
}

#content .doc p{
padding: 5px 0;
}

/*記事設定(TopPage)*/
.ctgy dt{
margin: 10px 0 0 0;
    padding: 0px 0px 0px 20px;
    font-weight: bold;
    font-size: 14px;
    color: #666;
    background: url(img/mark2.gif) no-repeat left;
}

.ctgy dt.t1{
margin: 10px 0 0 0;
    padding: 0px 0px 0px 20px;
    font-weight: bold;
    font-size: 14px;
    color: #666;
    background: url(img/mark1.gif) no-repeat left;
}

dt.t1 a:link, dt.t1 a:visited, dt.t1 a:active {color: #336699;text-decoration: underline;}
dt.t1 a:hover{color : #C80850;text-decoration: none;}

.ctgy dd{
font-size:12px;
    padding:0px 0px 5px 20px;
    margin:5px 0px 10px 0px;
    border-bottom: 1px dotted #999;
    border-right: 1px dotted #999;
}


/* ---- 関連記事リスト属性----- */
#content ol{
margin: 0px 0px 0px 30px;
}

#content li{
margin: 0;
font-size: 100%;
line-height: 19px;
}

/* ---- 相互リンクリスト属性----- */
#content .slink ul{
margin: 10px 5px 20px 20px;
}

#content .slink ul li{
margin: 0;
font-size: 12px;
line-height: 150%;
}

/*----- trackbacks & Comments-----*/

#content #trackbackdata, #content #commentdata{
font-size: 12px;
color: #888;
margin: 10px 0 10px 10px;
}

#content #trackbackdata .post1{
font-size: 10px;
color: #888;
margin: 0;
border-bottom: 1px solid #888;
}

#content #commentdata .post2{
margin-bottom: 10px;
font-size:10px;
text-align: right;
}

#content .error {
font-size : 14px;
color: red;
border: 1px solid red;
padding: 5px;
text-align: center;
}

#content .next{
text-align: right;
}

/*-----アドセンス-----*/
.ads_img{
 margin: 2px 0 0 10px;
 text-align: left;
}

.ads_banner{
 margin: 5px;
 text-align: center;
}

.ads_rec{
 margin: 0 0 10px 20px;
 font-size: 12px;
 text-align: left;
}

.ads_sqr{
 margin: 0 10px 0 0;
 font-size: 12px;
 text-align: left;
 float: left;
}

/*NAKAO*/
#news dl{
margin: 10px 0 40px 0;
color: #555;
}

#news dt a{
margin: 0 0 0 20px;
text-decoration: underline;
font-size: 12px;
font-weight: bold;
}

#news dd{
margin: 0 0 0 25px;
color: #666;
font-size: 12px;
}

/*  サイドメニュー等の属性  */
#sidebar {
float: left;
width: 220px;
margin: 0;
padding: 0;
background: #FFF;
overflow: hidden;
}

#sidebar h2{
margin: 10px 0 0 0;
 background: #339933;
font-weight: bold;
font-size: 100%;
line-height: 170%;
color: #FFF;
text-align: left;
text-indent: 5px;
}

#sidebar .search{
margin: 0;
border-left: 1px solid #77CC66;
border-right: 1px solid #77CC66;
border-bottom: 1px solid #77CC66;
}

/*　検索窓　*/
#sidebar .search div {
padding: 10px;
text-align: left;
}

#sidebar .search .inner {
    font-size: 12px;
padding: 10px 20px;
text-align: center;
}

/* カテゴリ指定 */
#sidebar .cat{
margin: 0;
}

#sidebar .cat h2{
margin: 5px 5px 0 10px;
border: 1px solid #555;
background: #339933;
font-weight: bold;
font-size: 108%;
line-height: 170%;
color: #FFF;
text-align: left;
text-indent: 5px;
}

#sidebar ul.menu{
display: block;
margin: 0 0 10px 0;
list-style-type: none;
border-left: 1px solid #77CC66;
border-right: 1px solid #77CC66;
border-bottom: 1px solid #77CC66;
text-align: left;
}

#sidebar ul.menu li.c1 a {
display: block;
 height: 25px;
 list-style: none;
 padding: 0 0 0 20px;
 text-decoration: none;
 font-size: 100%;
 line-height: 170%;
 overflow: hidden;
background: #FFF url("http://www.hi-gradeone.com/keiba/img/menu01.gif") no-repeat;
}

#sidebar ul.menu li.c1 a:hover {
background: #FFF url("http://www.hi-gradeone.com/keiba/img/menu02.gif") no-repeat;
color: #C80850;
text-decoration: underline;
}


#sidebar ul.menu li a {
display: block;
 height: 25px;
 list-style: none;
 padding: 0 0 0 40px;
 text-decoration: none;
 font-size: 100%;
 line-height: 170%;
 overflow: hidden;
background: #FFF url("http://www.hi-gradeone.com/keiba/img/menu03.gif") no-repeat;
}

#sidebar ul.menu li a:hover {
background: #FFF url("http://www.hi-gradeone.com/keiba/img/menu04.gif") no-repeat;
color: #C80850;
text-decoration: underline;
}

#sidebar ul.arch li a {
 height: 25px;
 list-style: none;
 padding: 0;
 text-indent: 20px;
 text-decoration: none;
 font-size: 100%;
 line-height: 200%;
 display: block;
background: #FFF url("http://www.hi-gradeone.com/keiba/img/arch01.gif") no-repeat;
}

#sidebar ul.arch li a:hover {
background: #FFF url("http://www.hi-gradeone.com/keiba/img/arch02.gif") no-repeat;
color: #C80850;
}

/*フッターナビ*/
.f_navi {
clear: both;
text-align: right;
margin: 0px;
padding: 10px 20px 15px 15px;
font-size: 85%;
}

.f_navi img{margin: 0 3px;border-style: none; vertical-align: middle;}

/*フッター*/
#footer{
 clear: both;
 width: 820px;
 height: 60px;
 margin: 0;
 color: #666;
 padding: 0;
 text-align: left;
background: url("http://www.hi-gradeone.com/keiba/img/footer_back.gif") no-repeat;
}

#footer .copyright{
text-align: center;
padding: 40px 0 0 0;
font-size: 12px;
line-height: 120%;
}

/* タグ指定 */

.module-tagcloud{
margin: 0;
}

.module-tagcloud h2{
 margin: 10px 0 0 0;
 height: 22px;
 color: #FFF;
 font-weight: bold;
 line-height: 180%;
 text-indent: 10px;
 text-align: left;
 background: #339933;
 display: block;
}

.module-tagcloud .module-content{
margin: 0;
background: #EEE;
text-align: left;
}

.module-tagcloud .module-content .module-list{
padding: 5px;
list-style: none;
}

.module-tagcloud .module-content .module-list .module-list-item { display: inline; }
.module-tagcloud .module-content .module-list li.taglevel1 { font-size: 19px; }
.module-tagcloud .module-content .module-list li.taglevel2 { font-size: 17px; }
.module-tagcloud .module-content .module-list li.taglevel3 { font-size: 15px; }
.module-tagcloud .module-content .module-list li.taglevel4 { font-size: 13px; }
.module-tagcloud .module-content .module-list li.taglevel5 { font-size: 11px; }
.module-tagcloud .module-content .module-list li.taglevel6 { font-size: 9px; }

.tag_line{
margin: 10px;
text-align: left;
}


