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

.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
	width: 630px;
	height: 473px;
}

.bx-wrapper img {
    max-height: 473px;
    width: auto;
    display: block;
    margin: 0 auto;
}

  .bxslider{
	list-style: none;
}

@media screen and (max-width:960px){
    .bx-wrapper {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
}

    .bx-wrapper img{
        width: 100%;
        height: auto;
        overflow: hidden;
    }

/** THEME
===================================*/

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(../images/bx_loader.gif) center center no-repeat #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* PAGER */

.bx-pager {
    text-align: center;
    width: 315px;
    margin-left: -5px;
    margin-right: -10px;
}

.bx-pager li{
    width: 83px;
    height: 83px;
    position: relative;
    overflow: hidden;
    display: block;
    float: left;
    margin-right:10px;
    margin-left: 5px;
    margin-bottom: 15px;
}

.bx-pager li a{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;/* 縦は用途応じて改変 */
    line-height: 420px;
    margin:-210px 0 0 -210px;
    text-align: center;
}
.bx-pager li a img{
    min-width: 83px;
    min-height: 83px;
    max-width: 180px;
    max-height: 180px;
    vertical-align: middle;
}

@media screen and (max-width:960px){
	.bx-pager {
		width: 630px;
		margin: 0 auto;
	}
	
	.bx-pager li{
		margin: 0.5rem 7px;		
	}
}

@media screen and (max-width:630px){
	.bx-pager {
		width:300px;
	}
	
	.bx-pager li{
	    width: 44px;
	    height: 44px;
	    position: relative;
	    overflow: hidden;
	    display: block;
	    float: left;
	    margin: 0.5rem 3px;
	}
	
	.bx-pager li a img{
	    min-width: 90px;
	    min-height: 90px;
	    max-width: 180px;
	    max-height: 180px;
	    vertical-align: middle;
	}
	
}

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

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
        border-bottom: none;
}

.bx-wrapper .bx-controls-direction a:hover {
    border-bottom: none;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

