@charset "utf-8";
/* CSS Document */

/***************************************

・全体的なスタイル

・ヘッダー
・メイン部分
・フッター部分

・２階層目

・ビブリオバトル2018 横並び指定

***************************************/



/*=================================================
全体的なスタイル
==================================================*/

body{
	background-image:url(img/bk.jpg);
	background-color:#CCC;
	color:#000000;
	margin-right:auto;/*　センタリング　*/
	margin-left:auto;
	width:970px;
	margin-top:0;
}


.right{
	float:right;
}


.clear{
	clear:both;
}




/*=================================================
ヘッダー部分
==================================================*/

#header{
	width:970px;
	height:281px;
	background-image:url("img/title.jpg");
	background-repeat:no-repeat;
	padding:0;
}



/*=================================================
メイン部分
==================================================*/


.main{
	background-color:#FFFFFF;
	width:970px;
	padding-top: 20px;
	padding-bottom: 30px;
	margin-top:0;
	}

.contents{
	width:816px;
	margin-top:0;
	margin-left:auto;
	margin-right:auto;
}

.contents-item{
	float:left;
	width:230px;
	padding:20px 20px 40px 20px ;
}


/*-----------------------------
　　角丸枠 
-------------------------------*/

div.column{
	width:230px;
	height:200px;
	background: url(img/sub_bottom.gif) no-repeat bottom;
	padding-bottom:18px;
}


div.yomanakya {
	background: url(img/yomanakya.jpg) no-repeat;
	height:30px;
	margin:0;
	padding:20px 20px 0;
	font-size:18px;
	font-weight:bold;
}

div.map{
	background: url(img/map.jpg) no-repeat;
	height:30px;
	margin:0;
	padding:20px 20px 0;
	font-size:18px;
	font-weight:bold;
}

div.biblio{
	background: url(img/biblio.jpg) no-repeat;
	height:30px;
	margin:0;
	padding:20px 20px 0;
	font-size:18px;
	font-weight:bold;
}


div.column p{
	padding:10px;
}

div.column li{
	float:right;
	list-style-type:none;
	padding-right:10px;
}
	
div.column .body{
	background: url(img/sub_bk.gif) repeat-y;
    position: relative;
    width: 230px;
	height:200px;
}


div.column .body-link{
	width:230px;
	height:30px;
	position:absolute;
	bottom:0;
}




.bosyu{
	margin-left:auto;
	margin-right:auto;
	width:730px;
	padding:10px;
	border:1px #090 solid;
}



.red{
	margin-left:auto;
	margin-right:auto;
	width:730px;
	padding:10px;
	border:1px #F00 solid;
}



/*=================================================
フッター部分
==================================================*/

#footer{
	background-color:#FFF;
	width:970px;
	height:20px;
	text-align:center;
	border-top:1px solid #CCC;
	padding:10px 0;
	font-size:12px;
}




/*=================================================
２階層目
==================================================*/

#header2{
	width:970px;
	height:80px;
	background-image:url("img/mini_title.jpg");
	background-repeat:no-repeat;
	background-color:#FFF;
	padding:0;
	margin-top:0;
}

#menu{
	float:right;
	width:570px;
	margin-top:50px;
}

#menu ul{
margin: 0; 
padding: 0; 
list-style: none;
}

#menu li{ 
display: inline; 
padding: 0; 
margin: 0; 
float: left;
}

#menu li a{
display: block; 
border: 1px solid #FFF;
background-color: #c3e0f8;
padding: 3px;
text-decoration: none;
color: #333;
width: 100px; 
margin: 1px;
text-align: center;
font-size: 12px;
}

#menu li a:hover{
background-color: #2d56be;
color: #fff;
}



div.contents h2{
	border-bottom:2px dotted #009900;
}


img.right{
	padding:0 0 20px 20px;
}





/*=================================================
　　ビブリオバトル2018 横並び指定
==================================================*/

.row{
	display:flex;  /*これを入れるだけで横並び*/
}

.col{
	width:100%;
	margin:10px;
}

.syoukai{
	text-align:center;
	margin:10px;
	padding:20px 0;
}

img.event {
    float: left;
    margin-right: 10px;
}

img.left{float:left;}
img.right{float:right;}