﻿@charset "utf-8";

/* ------------------------------
   .slideWrap
------------------------------ */
.slideWrap {
	margin: 0 auto;
	padding: 70px 0;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.slideWrap .btnPrev,
.slideWrap .btnNext {
	bottom: 0;
	width: 30px;
	height: 30px;
	position: absolute;
	background: #000;
	border-radius: 30px;
	transition: all 0.2s ease-in-out;
}

.slideWrap .btnPrev {
	left: 10px;
}

.slideWrap .btnPrev:after {
	content: '<';
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-sizet: 1.6em;
	font-weight: bold;
	text-align: center;
	display: block;
}

.slideWrap .btnNext {
	right: 10px;
}

.slideWrap .btnNext:after {
	content: '>';
	width: 30px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	display: block;
}

/* ------------------------------
   .carousel
------------------------------ */
.carousel {
	margin: 0 auto;
	width: 800px; /* リストが何個以上あったらスライドを実行させるかの基準値 */
	height: 200px;
	position: relative;
	visibility: hidden;
}

.carousel .movePanel {
	top: 0;
	left: 0;
	height: 200px;
	position: absolute;
}

.carousel ul {
	float: left;
}

.carousel ul li {
	margin: 0 10px;
	width: 150px;
	height: 200px;
	line-height: 1.2em;
	text-align: center;
	float: left;
	display: block;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	box-shadow: 0 0 5px #999;
	background: #fff;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	font-size: 12px;
}

.carousel ul li a {
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	text-decoration:none;
}

.carousel ul li a:hover {
	opacity: 0.8;
}

.carousel ul li img {
	width: 100%;
	margin-bottom:5px;
}

.carousel ul li p {
	padding: 0 10px;
	height: 50px;
	color: #000;
	font-size: 12px;
}

.carousel ul li.mainActive {
	z-index: 10;
	-webkit-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

.carousel ul:after {
	content: "";
	display: none;
	clear: none;
}

