/*
 * jQuery Blueberry Slider v0.4 BETA
 * http://marktyrrell.com/labs/blueberry/
 *
 * Copyright (C) 2011, Mark Tyrrell <me@marktyrrell.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

.blueberry { margin: 0 auto; }
.blueberry .slides {
	display: block;
	position: relative;
	overflow: hidden;
    max-width: 1400px;
	max-height:800px; /* 縦固定のための追加分 */
    margin:0px auto;
}
.blueberry .slides li {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
    max-width: 1400px;
	max-height:800px; /* 縦固定のための追加分 */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; /* 要素をflexboxに対応させる */
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center; /* 縦方向の中央揃え */
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center; /* 横方向の中央揃え */
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column; /* 子要素の並びを上から下にする（要素の改行に対応） */
}
.blueberry .slides p {
	position: absolute;
	bottom: 8px;
	left: 12px;
    color:#ffffff;
    font-size: 11px;
    line-height: 1.75em;
}

.blueberry .slides li img {
	display: block;
	width: 100%;
    height: auto;
	max-width: none;
  -webkit-animation: inout 15s;
  -moz-animation: inout 15s;
  animation: inout 15s;
}

@-webkit-keyframes inout {
  0%   { -webkit-transform: scale(1); }
  100% { -webkit-transform: scale(1); }
}
@-moz-keyframes inout {
  0%   { -moz-transform: scale(1); }
  100% { -moz-transform: scale(1); }
}
@keyframes inout {
  0%   { transform: scale(1); }
  100%  { transform: scale(1); }
}



.blueberry .slides li.active { display: block; position: relative; }
.blueberry .crop li img { width: auto; }

.blueberry .pager {
    margin-bottom:20px;
	height: 40px;
	text-align: center;
}
.blueberry .pager li { display: inline-block; }
.blueberry .pager li a,
.blueberry .pager li a span {
	display: block;
	height: 6px;
	width: 6px;
}
.blueberry .pager li a {
	padding: 18px 8px;
-webkit-border-radius: 6px;
   -moz-border-radius: 6px;
	border-radius: 6px;
}
.blueberry .pager li a span {
	overflow: hidden;
	background: #c0c0c0;
	text-indent: -9999px;
-webkit-border-radius: 2px;
   -moz-border-radius: 2px;
	border-radius: 2px;
}
.blueberry .pager li.active a span { background: #404040; }

@media screen and (max-width: 768px) {
/* スマホ用のスタイル記述 */
.blueberry .slides {
	display: block;
	position: relative;
	overflow: hidden;
    width: 100%;
	height:340px !important;
    margin:0px auto;
}
.blueberry .slides li {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
    width: 100%;
	height:340px !important;
}
.blueberry .slides p {
	position: absolute;
	bottom: 8px;
	left: 10px;
    color:#ffffff;
    font-size: 11px;
    line-height: 1.75em;
}


.blueberry .slides li img {
	display: block;
	height:340px !important;
	width: auto;
	max-width: none;
}

}