/* リセット */	
* {margin: 0; padding: 0;}
body,html {width: 100%;height: 100%;}

/* 設定 */
#main {
	margin:0 auto 0;
	width:100%;
	height:auto;
}
.slide_container {width: 100%; height: 100%; overflow: hidden;}
.slide_all {
	margin: 0 auto;
	height: 516px;
	position: relative;
	width:800px;
	overflow:hidden;
}
.slide_wrap {
	width: 800px;
	position: absolute;
	left: 0;
	margin-left: 0px;
}
.slide_body {width: 100%;}
.slide {
	width: 800px;
	text-align:center;
}
.slide img {
	height:600px;
	width: auto;
	margin:0;
	vertical-align: bottom;
}

/* 装飾 */
.bx-controls-direction,.bx-pager {position: relative; left: 0;}
/* 左ボタン*/ 
.bx-controls-direction .bx-prev {
	position: relative;
	left: 0;
	top:-300px;

	width:54px;height:60px;
	background-image:url(../item/arrow-left.png);
	background-position:0 0;
	text-indent:-9999px;
}
.bx-controls-direction .bx-prev:hover{
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}
/* 右ボタン*/ 
.bx-controls-direction .bx-next {
	position: relative; left: 630px;top:-300px;
	
	width:54px;height:60px;
	background-image:url(../item/arrow-right.png);
	background-position:0 0;
	text-indent:-9999px;
	}
.bx-controls-direction .bx-next:hover{
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}

.bx-controls-direction a,.bx-pager-item {display: inline-block;}
.bx-pager-item a{display: none; height: 10px; width: 10px; text-indent: -9999px; background: #000; border-radius: 10px; margin:10px 2px 0 2px;}
.bx-pager-item a.active {opacity: 0.3;}
.bx-controls-direction a{text-decoration: none; color: #000; padding:0 5px;}
.bx-controls {position: absolute;bottom: 5px;z-index: 100;width: 100%;}

@media (max-width: 860px) {
	/*.slide_all {
		width:700px;
		height: 225px;
	}
	.slide_wrap {
		width:700px;
		margin-left: -350px;
	}
	.slide_body .slide {
		width:350px!important;
	}
	
	.bx-controls-direction .bx-next {
		left:300px;
		top:-76px;
	}
	.bx-controls-direction .bx-prev {
		top:-76px;
		left:-290px;
	}*/
	
	
	
	
	
	
.slide_all {
	height: 451px;
	width:700px;
}
.slide_wrap {
	width: 700px;
	margin-left: 0px;
}
.slide {width: 700px;}
.slide_body .slide {
	width:700px!important;
}
.bx-controls-direction .bx-prev {
	left: 0;
	top:-270px;
}
.bx-controls-direction .bx-next {
	left: 590px;
	top:-270px;
}
.slide img {
	height:525px!important;
}
	
	
	
	
	
}
@media (max-width: 768px) {
	.slide_all {
	height: 386px;
	width:600px;
}
.slide_wrap {
	width: 600px;
	margin-left: 0px;
}
.slide {width: 600px;}
.slide_body .slide {
	width:600px!important;
}
.slide img {
	height:450px!important;
}
.bx-controls-direction .bx-prev {
	left: -10px;
	top:-220px;
}
.bx-controls-direction .bx-next {
	left: 493px;
	top:-220px;
}
	
}
@media (max-width: 640px) {
	.slide_all {
		height: 270px;
		width:420px;
	}
	.slide_wrap {
		width: 420px;
		margin-left: 0px;
	}
	.slide {width: 420px;}
	.slide_body .slide {
		width:420px!important;
	}
	.slide img {
		height:315px!important;
	} 
	.bx-controls-direction .bx-prev {
		left: -5px;
		top:-150px;
	}
	.bx-controls-direction .bx-next {
		left: 355px;
		top:-150px;
	}
	.bx-controls-direction .bx-prev,
	.bx-controls-direction .bx-next {
		width:30px;
		height:33px;
		background-size:auto 100%;
		background-repeat:no-repeat;
	}
}
@media (max-width: 480px) {
	.slide_all {
		width:380px;
		height: 243px;
	}
	.slide_wrap {
		width:380px;
	}
	.slide_body .slide {
		width:380px!important;
	}
	.slide img {
		height:285px!important;
	} 
	.bx-controls-direction .bx-next {
		left:315px;
		top:-135px;
	}
	.bx-controls-direction .bx-prev {
		top:-135px;
		left:-3px;
	}
}
@media (max-width: 414px) {
	.slide_all {
		width:330px;
		height: 211px;
	}
	.slide_wrap {
		width:330px;
	}
	.slide_body .slide {
		width:330px!important;
	}
	.slide img {
		height:247px!important;
	}
	.bx-controls-direction .bx-next {
		left:265px;
		top:-110px;
	}
	.bx-controls-direction .bx-prev {
		top:-110px;
		left:-5px;
	}
}
@media (max-width: 360px) {
	.slide_all {
		width:260px;
		height: 166px;
	}
	.slide_wrap {
		width:260px;
	}
	.slide_body .slide {
		width:260px!important;
	}
	.slide img {
		height:194px!important;
	}
	.bx-controls-direction .bx-next {
		left:195px;
		top:-90px;
	}
	.bx-controls-direction .bx-prev {
		top:-90px;
		left:-4px;
	}
}