/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	width:100%;
	/*max-width: 100%;*/
	max-width:1400px;/* 画像の幅修正 */
	margin:0 auto;
	display: block;
}
@media screen and (max-width: 1180px) {
.bx-wrapper {
	width:100%;
	padding:0 100px;
	box-sizing:border-box;
}
#main_img .bx-wrapper {
	padding:0;
}
}
@media screen and (max-width: 640px) {
.bx-wrapper {
	padding:0 30px;
}
.bx-viewport{
	padding:1px;
}
}
/** THEME
===================================*/

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	/*bottom: 30px;*/
	bottom: 20px;
	width: 100%;
	z-index:99;
}
@media screen and (max-width: 640px) {
.bx-wrapper .bx-pager{
	bottom: 5px;
}
}
/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	vertical-align:middle;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #fff;
	text-indent: -9999px;
	display: block;
	width: 12px;
	height: 12px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: none;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	width: 6px;
	height: 6px;
	border:none;
	border:3px solid #C80000;
}
@media screen and (max-width: 640px) {
.bx-wrapper .bx-pager.bx-default-pager a {
	width: 6px;
	height: 6px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	width: 3px;
	height: 3px;
}
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: -100px;
	background: url(../images/index/cntrl_l.gif) no-repeat 0 0px;
}

.bx-wrapper .bx-next {
	right: -100px;
	background: url(../images/index/cntrl_r.gif) no-repeat 0px 0px;
}

#main_img .bx-wrapper .bx-prev {left: 0px;}
#main_img .bx-wrapper .bx-next {right: 0px;}
.slider3 .bx-wrapper .bx-prev {left: -110px;}
.slider3 .bx-wrapper .bx-next {right: -110px;}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
	opacity:0.6;
    -ms-filter: "alpha(opacity=60)";
}
.bx-wrapper .bx-prev:hover ,
.bx-wrapper .bx-next:hover {
	opacity:1.0;
    -ms-filter: "alpha(opacity=100)";
}
@media screen and (max-width: 1200px) {
.slider3 .bx-wrapper .bx-prev {left: -100px;}
.slider3 .bx-wrapper .bx-next {right: -100px;}
}
@media screen and (max-width: 1180px) {
.slider3 .bx-wrapper .bx-prev,.bx-wrapper .bx-prev {left: 0px;}
.slider3 .bx-wrapper .bx-next,.bx-wrapper .bx-next {right: 0px;}
}
@media screen and (max-width: 640px) {
.bx-wrapper .bx-prev {left: -10px;}
.bx-wrapper .bx-next {right: -10px;}
#main_img .bx-wrapper .bx-prev {left: 0px;}
#main_img .bx-wrapper .bx-next {right: 0px;}
}
.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -30px;
	outline: 0;
	width: 60px;
	height: 60px;
	text-indent: -9999px;
	z-index: 99;
}
@media screen and (max-width: 640px) {
.bx-wrapper .bx-prev,.bx-wrapper .bx-next{
	background-size:100% 100%;
}
.bx-wrapper .bx-controls-direction a {
	width: 30px;
	height: 30px;
	margin-top: -15px;
}
}
