@charset "utf-8";
#gallery {
	width:541px;
	height:350px;
	padding:0px;
	position:relative;
	margin-bottom:20px;
	border-style: none;
	background-color: #FFFFFF;
	margin-top: 20px;
}
#gallery b.default {
	position:absolute;
	left:0px;
	top:0px;
	width:415px;
	height:350px;
	text-align:center;
}
#gallery b.default img {
	display:block;
	margin:0 auto 5px auto;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #555;
	border-right-color: #ddd;
	border-bottom-color: #eee;
	border-left-color: #333;
}
#gallery b.default span {
	display:block;
	color:#999999;
	font-family:verdana, arial, sans-serif;
	font-weight:normal;
	font-size:11px;
	width:350px;
	margin:0 auto;
}

#gallery ul {
	list-style:none;
	padding:0;
	margin:0;
	width:125px;
	position:relative;
	float:right;
}
#gallery ul {/*サムネールエリアを色づけ*/
	background-color: #F9F9F4;
	height: 320px;
}

#gallery ul li {
	display:inline;
	width:52px;
	height:52px;
	float:left;
	/*margin:0 0 10px 10px;*/
	margin:5px;
}
#gallery ul li a {display:block; width:50px; height:50px; text-decoration:none; border:1px solid #000; border-color:#eee #555 #333 #ddd;}
#gallery ul li a span {display:none;}
#gallery ul li a img {display:block; width:50px; height:50px; border:0;}
#gallery ul li a:hover {
	white-space:normal;
	border-color:#555 #ddd #eee #333;
	background-color: #D6DFD5;
}
#gallery ul li a:hover b {
	position:absolute;
	left:-415px;
	top:0;
	width:415px;
	height:350px;
	text-align:center;
	background:#FFFFFF;
	z-index:20;
}
#gallery ul li a:hover span {
	display:block;
	color:#999999;
	font-family:verdana, arial, sans-serif;
	font-weight:normal;
	font-size:11px;
	width:350px;
	margin:0 auto;
}
#gallery ul li a:hover img {margin:0 auto 10px auto; width:auto; height:auto; 
	/*border:1px solid #eee; 
	border-color:#555 #ddd #eee #333;*/
}

#gallery ul li a:active, #gallery ul li a:focus {white-space:normal; border-color:#555 #ddd #eee #333; background:#777;}
#gallery ul li a:active b, #gallery ul li a:focus b {
	position:absolute;
	left:-415px;
	top:0;
	width:415px;
	height:350px;
	text-align:center;
	background:#FFFFFF;
	z-index:10;
}
#gallery ul li a:active span, #gallery ul li a:focus span {display:block; color:#999999; font-family:verdana, arial, sans-serif; font-weight:normal; font-size:11px; width:350px; margin:0 auto;}
#gallery ul li a:active img, #gallery ul li a:focus img{margin:0 auto 10px auto; width:auto; height:auto; 
	/*border:1px solid #eee; 
	border-color:#555 #ddd #eee #333;*/
}


/* -----------------------------
1画像のみのアイテムは以下のスタイルにリセット
-------------------------------- */
/*divのIDを変えて対応する*/
#gallery_onePic {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

#gallery_onePic b.default {
	padding: 0px;
	display: block;

}
#gallery_onePic b.default img {

}

