/*
 * jQuery FlexSlider v2.4.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 * スライダーcss
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider{width: 100%;min-width:580px;}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
  position: static!important;
}
.flexslider .slides img {
 /* width: 100%;*/
  display: block;
  display:inline-block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
html{
	background: #000;
}
body{
	/*padding: 30px 25px 0;*/
	padding: 0 25px 0;
	margin:0;
	overflow: hidden;
	position: relative;
}
.flexslider {
	background: #000000;
	position: relative;
	zoom: 1;
	min-height: 515px;
	overflow: hidden;
}
.flexslider .slides {
	zoom: 1;
	text-align:center;
	display: flex;
	align-items: center;
}
.flexslider .slides img {
	max-width: 910px;
	max-height: 610px;
}
.flex-viewport {
  max-height: 2000px;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
	width:27px;
	height:49px;
  text-decoration: none;
  display:inline-block;
  margin: 0;
  position: relative;
  top: 50%;
  z-index: 10;
  /*overflow: hidden;*/
  cursor: pointer;
}
.flex-direction-nav .flex-prev {
	position: absolute;
	/*left: 10px;*/
	background:url(../img/btn_lightboxSliderTAr-btn-left.png) no-repeat;
	left: 0;
	top:310px;
}
.flex-direction-nav .flex-next {
position: absolute;
	/*right: 10px;*/
	text-align: right;
	background:url(../img/btn_lightboxSliderTAr-btn-right.png) no-repeat;
	right:0;
	top:310px;
}
.flexslider:hover .flex-direction-nav .flex-prev {
	/*left: 10px;*/
	left: 0;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
}
.flexslider:hover .flex-direction-nav .flex-next {
  /*right: 10px;*/
  right: 0;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  cursor: default;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
}
.flex-pauseplay a .flex-play:before {
  content: '\f003';
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
	/*position: absolute;*/
	bottom: 0%;
	overflow: hidden;
	width: 91%;
	margin: 10px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.flexslider.five-col .flex-control-thumbs {
	width: 70%;
}
@media all and (max-width: 640px){
	.flexslider.five-col .flex-control-thumbs {
		width: 100%;
	}	
}
.flex-control-thumbs li {
	width: 24%;
	max-width: 110px;
	float: left;
	margin: 0 1.4% 0 0;
	text-align: center;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
	max-height: 69px;
}
.flex-control-thumbs span {
  border: 3px solid #000;
  overflow: hidden;
  display: inline-block;
}
.flex-control-thumbs span:hover{
  cursor: default;
  overflow: hidden;
  display: inline-block;
  border: 3px solid #ffffff;
}
.flex-control-thumbs .flex-active {
  cursor: default;
  border: 3px solid #ffffff;
}


.p-pglbTitle{
color:#FFFFFF;
width:620px;
}
.p-photogalleryNav a{
color:#FFF;
/*font-size:123%;*/
font-size:92.3%;
}
#nextBtn{
display:inline-block;
/*float:right;*/
position: absolute;
bottom: 45px;
right: 10px;
}
#prevBtn{
display:inline-block;
/*float:left;*/
position: absolute;
bottom: 45px;
left: 10px;
}
.p-loading{
position:absolute;
z-index:-10;
top:80px;
left:0px;
width:100%;
height:100px;
text-align:center;
display:none;
}


/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    /*left: 10px;*/
	left: 0;
  }
  .flex-direction-nav .flex-next {
    /*right: 10px;*/
	right: 0;
  }
}
@media all and (max-width: 640px){
	body{
		padding: 0 10px 0;
		overflow: auto;
	}
	.flexslider .slides img{
	width:100% !important;
	}
	.flexslider{
	min-width:inherit;
	max-width:none;
	min-height:inherit;
	}
	.flex-control-thumbs{
		margin: 3% 0;
		width:100%;
	}
	.flex-control-thumbs li {
	width: 18.1%;
	margin: 0 1.9% 0 0;
	}
	/* .flex-control-thumbs li:last-child {
	margin: 0 0 0 0;
	} */
	.flex-control-thumbs img {
	width: 100%;
	}
	.flex-control-thumbs span{
	width: 100%;
	border: 2px solid #000;
	display:block;
	}
	.flex-control-thumbs span:hover{
	width: 100%;
	border: 2px solid #ffffff;
	}
	.flex-control-thumbs span:hover img{
	width: 100%;
	margin: 0;
	}
	.flex-control-thumbs{
	width: 100%;
	border: 2px solid #000;
	}
	.flex-control-thumbs .flex-active {
	width: 100%;
	border: 2px solid #ffffff;
	}
	.flex-control-thumbs .flex-active img{
	width: 100%;
	margin: 0;
	}
	
	
	.flex-direction-nav .flex-next{
		top:37%;
	}
	.flex-direction-nav .flex-prev{
		top:37%;
	}
	#nextBtn{
		position:static;
		display: inline-block;
		float: right;
	}
	#prevBtn{
		position:static;
		display: inline-block;
		float: left;
	}
	.p-pglbTitle{
		width:100%;
	}
	.p-pcPglbTitle{
		width:70%;
	}
	.p-tar{
		text-align:right;
	}
}