/**
 * 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 20px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	max-height: auto;
	display: block;
}

@media screen and (max-width: 1024px) {
.topslider_outer .bx-wrapper img {
	width: 100% !important;
}
}
/** THEME
===================================*/

.bx-wrapper .bx-viewport {
/*	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
	border:  5px solid #fff;
	left: -5px;
	background: #fff;*/
	
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.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: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.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 {
	background:rgba(0,0,0,0.5);
	text-indent: -9999px;
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.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/prev.png) no-repeat center center;
	opacity: 0.2;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(images/next.png) no-repeat center center;
	opacity: 0.2;
}

.bx-wrapper .bx-prev:hover {
	opacity: 1 !important;
}

.bx-wrapper .bx-next:hover {
	opacity: 1 !important;
}
@media screen and (max-width: 480px) {
.bx-wrapper .bx-prev {
	left: 0px;
	background-size:auto 20px ;
	opacity: 0.2;
}

.bx-wrapper .bx-next {
	right: 0px;
	background-size:auto 20px ;
	opacity: 0.2;
}
}
.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -50px;
	outline: 0;
	width: 60px;
	height: 100px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}




/*カスタマイズ用追記CSS Start*/

div.slider {
/*	width: 465px;
*/	width: auto;
	display: block;
	margin: 0px auto;
	clear: both;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
div.slider .bx-wrapper {
	margin: 0 auto 15px;/*メインスライダーとサムネイルの間の余白を変更*/
}
div.slider .slide a {
	overflow: hidden;
	display: block;
}

ul.bxslider01 {/*display: table;*/}

ul.bxslider01 li {
/*		display: table-cell;
width: 465px;メインスライダーの横幅*/
/*	height: 300px;メインスライダーの縦幅*/
vertical-align: middle;
}


ul.bxslider01 li img {

  height: auto;
  max-width: 100%;
  max-height: 640px;
  margin: auto;
	display: block;
/*	  top: 0;
  right: 0;
  bottom: 0;
  left: 0;  position: absolute;
	max-width: 465px;
	max-height: 300px;
	height: auto;
	margin: auto;*/
}


@media screen and (max-width: 480px) {
.bx-wrapper .bx-viewport {max-height: 380px !important;}
div.slider {
	max-width: 100%;
}

ul.bxslider01 li {
	display: block;
	max-width: 100%;
height: 300px;
}


ul.bxslider01 li img {
position: relative;
	display: block;
	max-width: 100%;
	max-height: 300px;
	height: auto;
	margin: auto;
}
}
/**/
ul.bxslider01 li p {
	background-color: rgba(255,255,255,.50);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 8px;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	color: #000;
}
ul.bxslider02 li a {
	display: block;
	width: 100px;/*サムネイルの横幅*/
	height: 100px;/*サムネイルの縦幅*/
}
ul.bxslider02 li a img {
	display: block;
	width: 100px;/*サムネイルの横幅*/
	height: auto;/*サムネイルの縦幅*/
}
div.controlWrap {
width: 465px;
	max-width: 96%;
	display: block;
	position: relative;
	margin: 0 auto;
}
/*
@media screen and (max-width : 760px ) {
ul.bxslider01 {
	display: table;
}
ul.bxslider01 li {
	width: 100%;
	height: 0 !important;
	padding-bottom: 14%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
	position: relative;
}

ul.bxslider01 li img {
	max-width: 100%;
	max-height: 300px;
	width: auto !important;
	margin: auto;
	vertical-align: middle;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
ul.bxslider01 li p {
	position: absolute;
	left: 0;
	bottom: 0;
	max-width: 100%;
	background-color: rgba(255,255,255,.50);
	font-size: 12px;
	padding: 8px 12px;
	overflow: hidden;
}
div.controlWrap {
	width: 90%;
	display: block;
	position: relative;
	margin: 0 auto;
}
div.slider {
	width: 100%;
	display: block;
	margin: 0px auto;
}
div.slider .bx-wrapper {
	margin: 0 auto 15px;
}
}

*/
div.controlWrap p#PrevIcon a {
	display: block;
	width: 13px;/*オリジナルの矢印アイコン画像の横幅を設定しましょう*/
	height: 40px;/*オリジナルの矢印アイコン画像の縦幅を設定しましょう*/
	position: absolute;
	background: url(../img/lesson/arrow_left.png) left center no-repeat;/*オリジナルの矢印アイコンを設定しています*/
	background-size: 13px;
	color: #fff;
	top: 50%;
	left: 0;
	text-indent: -9999px;
	margin-top: -36px;
}
div.controlWrap p#NextIcon a {
	display: block;
	width: 13px;/*オリジナルの矢印アイコン画像の横幅を設定しましょう*/
	height: 40px;/*オリジナルの矢印アイコン画像の縦幅を設定しましょう*/
	position: absolute;
	background: url(../img/lesson/arrow_right.png) right center no-repeat;/*オリジナルの矢印アイコンを設定しています*/
	background-size: 13px;
	color: #fff;
	top: 50%;
	right: 0;
	text-indent: -9999px;
	margin-top: -36px;
}
@media screen and (max-width: 480px) {
.bx-wrapper img {
	max-width: 100%;
	max-height: 300px;
	display: block;
}

}

/*カスタマイズ用追記CSS End*/
@media screen and (max-width: 480px) {

ul.bxslider01 li p {
	font-size: 12px;
}
ul.bxslider02 li a img {
	display: block;
	width: 60px;
	height: auto;
}
div.controlWrap p#PrevIcon a {
	top: 35px;
	left: 5px;
	text-indent: -9999px;
}
div.controlWrap p#NextIcon a {
	top: 35px;
	right: 5px;
	text-indent: -9999px;
}
}
/*カスタマイズ用追記CSS End*/