/**
 * 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
 */

/*=============================================================
　　#index #mainSlide .bxslider
=============================================================*/
#mainSlide #slider {margin:0px;}

#mainSlide .bx-wrapper {position: relative;}
#mainSlide .bx-wrapper li {
  /*max-height:410px;*/
	display:-webkit-flex;display:-ms-flexbox;display:flex;
	-webkit-align-items:center;-ms-align-items:center;align-items:center;}

#mainSlide .bx-wrapper li a {width:100%;
	display:-webkit-flex;display:-ms-flexbox;display:flex;
	-webkit-align-items:center;-ms-align-items:center;align-items:center;}
#mainSlide .bx-wrapper img {width:100%;}

/*#mainSlide .bx-viewport {max-height:410px;}*/

@media screen and (min-width:960px) {
    _:-ms-lang(x), #mainSlide .bx-wrapper li a {margin-top:-3%;}
}
/*=============================================================
　　#index #cnt02 #newsSlider
=============================================================*/
/*----------------------------------------
  deco
----------------------------------------*/
#index #cnt02 .block {
	overflow: hidden;
	padding-bottom: 20px;
}
#index #cnt02 .block .bx-wrapper {
  margin: 0 auto;
  position: relative;}


/* #cnt02, #cnt03 共通 */
#index #cnt02 .block .bx-wrapper .bx-viewport {
	overflow: visible !important;
	left: 0;
	border-width: 0;
	box-shadow: none;}

#index #cnt02 .block .bx-viewport:before {
	right: 100%;
	left: -100%;
}

#index #cnt02 .block .bx-viewport:after {
	left: 100%;
	right: -100%;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
#index #cnt02 .block .bx-controls-direction a {
	position: absolute;
  top: 170px;
  width: 35px;
  height: 40px;
	text-indent: -9999px;
  z-index:99934569;}

#index #cnt02 .block .bx-wrapper .bx-prev {
	left: -5px;
  background: url(../../images/index/bt_back.png) no-repeat 0 ;
}
#index #cnt02 .block .bx-wrapper .bx-next {
	right: -5px;
  background: url(../../images/index/bt_next.png) no-repeat;
}
#index #cnt02 .block .bx-wrapper .bx-controls-direction a:hover {
  opacity:0.7;
}

@media screen and (max-width:769px){
  #index #cnt02 .block .bx-controls-direction a,
  #index #cnt03 .block .bx-controls-direction a {
    top: 120px;
    width: 25px;
    height: 29px;
  }
  #index #cnt02 .block .bx-wrapper .bx-prev {
	  left: -15px;
    background-size: 25px auto;
  }
  #index #cnt02 .block .bx-wrapper .bx-next {
	  right: -5px;
    background-size: 25px auto;
  }
}


/* PAGER */
#index #cnt02 .block .bx-pager {
	text-align: center;
	bottom: -20px;
	position: absolute;
	width: 100%;}

#index #cnt02 .block .bx-pager-item,
#index #cnt02 .block .bx-controls-auto-item {
  display: inline-block;
}

#index #cnt02 .block .bx-default-pager a {
	background: #aaa;
	text-indent: -9999px;
	display: block;
	width: 5px;
	height: 5px;
  border-radius: 10px;
	margin: 0 2px;
	outline: 0;}
#index #cnt02 .block .bx-default-pager a:hover,
#index #cnt02 .block .bx-default-pager a.active {
  background: #1c5aa5;
}

/*=============================================================
　　#project #detail
=============================================================*/

#gallery .bx-wrapper #slider li img {
	max-width: 100%;
	display: inline;
}

/*----------------------------------------
  deco
----------------------------------------*/
#gallery {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#gallery .bx-wrapper{
  width: 800px;
  margin: 0 auto;
  position: relative;
}
#gallery #slider li {
  max-height: 600px;
  text-align: center;
  display: table;
  vertical-align: middle;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

#gallery .bx-controls-direction a {
	position: absolute;
  top: calc(50% - 35px);
  width: 35px;
  height: 70px;
  text-indent: -9999px;
  z-index: 5;
}
	
#gallery .bx-wrapper .bx-prev {
	left: -60px;background: url(../../images/project/bt_back.jpg) no-repeat 0 ;}
#gallery .bx-wrapper .bx-next {
	right: -60px;background: url(../../images/project/bt_next.jpg) no-repeat;}
#gallery .bx-wrapper .bx-controls-direction a:hover {opacity:0.7;}

/* PAGER */
#gallery .bx-pager {
  text-align: center;
  margin: 15px auto 0;
  max-width:638px;
	display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
	-webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}
#gallery .bx-pager a {
  display: inline-block;
  width: 120px;
  height: auto;
  margin-left: 10px;
  outline: 0;
  opacity: 0.7;
}
#gallery .bx-pager a:first-child {margin:0;}
#gallery .bx-pager a:hover, 
#gallery .bx-pager a.active {opacity:1;}





@media screen and (max-width:769px){
	
}

@media screen and (max-width:640px){
	
	#gallery .bx-pager {margin:5px auto 0;}
	#gallery .bx-pager a {margin: 0 3px;}
}







