/* CSS Document */

html{
overflow:scroll;
}

* {
margin:0;
padding:0;
}

* li{
list-style:none;
}

* a{
text-decoration:none;
}

* p{
margin:0;
padding:0;
}

body{
width:850px;
height:auto;
margin:0 auto;
padding:10px 0 0 0;
}

#main{
width:850px;
height:auto;
margin:0 auto;
}

#left{
float:left;
width:250px;
height:auto;
}

#logo1{
width:250px;
height:150px;
}

#right{
float:right;
width:600px;
height:auto;
}

#serifu{
width:600px;
height:150px;
}

#tmenu{
width:600px;
height:auto;
margin:0;
padding:0;
}

#tmenu li{
float:left;
width:200px;
height:50px;
text-align:center;
padding:20px 0 0 0;
}

#tmenu a:link, #tmenu a:visited{
display:block;
width:200px;
height:50px;
font-size:14px;
line-height:50px;
background-image:url(../img/link.gif);
background-repeat:no-repeat;
color:#99CC00;
padding:0 0 0 0;
}

#tmenu a:hover{
color:#444444;
background-image:url(../img/hover.gif);
background-repeat:no-repeat;
}

#text{
width:560px;
height:auto;
font-size:12px;
line-height:20px;
color:#666666;
padding:20px 20px 20px 20px;
}

#foot{
clear:both;
width:850px;
height:auto;
font-size:12px;
line-height:30px;
text-align:right;
color:#a31010;
}

h1{
width:600px;
height:30px;
font-size:20px;
line-height:30px;
color:#ffffff;
padding:0 0 0 0;
text-align:center;
background-image:url(../img/h1.gif);
background-repeat:no-repeat;
}

h2{
width:520px;
height:30px;
line-height:30px;
margin:0 0 5px 0;
color:#666666;
margin:0 0 5px 0;
padding:0 0 0 40px;
background-image:url(../img/h2.gif);
background-repeat:no-repeat;
}

h3{
width:520px;
height:30px;
line-height:30px;
margin:0 0 5px 0;
color:#666666;
margin:30px 0 5px 0;
padding:0 0 0 40px;
background-image:url(../img/h3.gif);
background-repeat:no-repeat;
}

/* 基本的段組（追加） */

#form{
width:500px;
height:auto;
font-size:12px;
line-height:20px;
margin:30px auto 0 auto;
padding:10px;
border:2px solid #999933;
}

.list{
width:500px;
height:auto;
margin:0 auto;
padding:20px 0 0 0;
}

.mainframe{
width:500px;
height:auto;
font-size:12px;
margin:10px auto 0 auto;
padding:0 0 0 0;
border:1px solid #888888;
}

.frame{
float:left;
width:230px;
height:30px;
line-height:30px;
padding:0 0 0 20px;
border-bottom:1px solid #888888;
}

.frame2{
float:left;
width:249px;
height:30px;
line-height:30px;
text-align:center;
border-left:1px solid #888888;
border-bottom:1px solid #888888;
}

.frame3{
float:left;
width:230px;
height:80px;
line-height:80px;
padding:0 0 0 20px;
border-bottom:1px solid #888888;
}

.frame4{
float:left;
width:229px;
height:30px;
line-height:14px;
text-align:center;
padding:25px 10px 25px 10px;
border-left:1px solid #888888;
border-bottom:1px solid #888888;
}

.frame5{
clear:both;
width:500px;
height:30px;
line-height:30px;
text-align:center;
padding:0;
border-bottom:1px solid #888888;
}

#banar{
width:470px;
height:31px;
margin:0 auto;
text-align:center;
padding:10px 0 10px 0;
}

h5{
width:520px;
height:30px;
font-size:16px;
line-height:30px;
margin:0 0 5px 0;
color:#666666;
margin:30px 0 5px 0;
padding:0 0 0 40px;
background-image:url(../img/h3.gif);
background-repeat:no-repeat;
}

/* カテゴリリンク用コード */

.side1 {margin:10px 0px; padding:5px; border:1px solid #99CC66;}

.side1 li {display:inline; line-height:1.8em; padding-left:5px;}

.side1 a:link, .side1 a:visited {
color:#999933;}

.side1 a:hover{
color:#0066FF;}

.bigcate {font-weight:bold; height:25px; line-height:25px; border:1px solid #999933;}

.cl {clear:both;}

.length1 {width:180px; float:left; margin:5px;}

dl {margin:0; padding:0;}

dt {font-weight:bold; width:160px; padding:0px 5px; height:25px; line-height:25px;}

dt a {text-decoration:none;}

dd {line-height:1.8em; margin:5px 0;}

dd a {text-decoration:none;}


/* Searchフォルダindex.php用コード */
#RESULT {padding-left:10px; padding-right:10px;}

#ADD_MAIN {width: 470px;margin-left: auto;margin-right: auto;}

#ADD_MAIN td {padding: 5px;}


#RESULT p { margin-bottom:10px; border-bottom:#999999 3px double;}
#RESULT p  a{ font-weight:bold;}
