body,h1,h2,h3,p,quote,small,form,input,ul,li,ol,label{
	/* Page reset */
	margin:0px;
	padding:0px;
}

body{
	/* Setting default text color, background and a font stack */
	color:#ffffff;
	background: #171717;
}

a:hover img{
filter: alpha(style=0, opacity=100);
opacity:0.8;
background: white;
}

/* Gallery styles */

#gallery{
	/* CSS3 Box Shadow */
	-moz-box-shadow:0 0 3px #AAAAAA;
	-webkit-box-shadow:0 0 3px #AAAAAA;
	box-shadow:0 0 3px #AAAAAA;
	
	/* CSS3 Rounded Corners */
	
	-moz-border-radius-bottomleft:4px;
	-webkit-border-bottom-left-radius:4px;
	border-bottom-left-radius:4px;
	
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-right-radius:4px;
	
	border:0px solid white;
	
	/* The width of the gallery */
	width:670px;
	overflow:hidden;
}

#slides{
	/* This is the slide area */
	height:350px;
	
	/* jQuery changes the width later on to the sum of the widths of all the slides. */
	width:670px;
	overflow:hidden;
}

.slide{
	float:left;
}

#menu{
	/* This is the container for the thumbnails */
	width:670px;
	height:80px;
}

ul{
	margin:0px;
	padding:0px;
}

li{
	/* Every thumbnail is a li element */
	width:79px; /*サムネイルの個数によって変更、合計で635px*/
	display:inline-block;
	list-style:none;
	height:72px;
	overflow:hidden;
}

li.inact:hover{
	/* The inactive state, highlighted on mouse over */
	background:url(img/pic_bg.png) repeat;
}

li.act,li.act:hover{
	/* The active state of the thumb */
	background:url(img/active_bg3.png) no-repeat center top;
}

li.act a{
	cursor:default;
}

.fbar{
	/* The left-most vertical bar, next to the first thumbnail */
	width:0px;
}

li a{
	display:block;
	padding-top:20px;
}

a img{
	border:none;
}


/* The styles below are only necessary for the demo page */

#main{
	/* The main container */
	margin:0px auto;
	text-align:center;
	width:670px;
	position:relative;
}