/*
Theme Name: Lightning
Theme URI: https://lightning.nagoya
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version:6.10.0
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, E-Commerce
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightning

Lightning WordPress theme, Copyright (C) 2015-2018 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.
*/

/*-- 追加スライド部分 --*/

.cp_cssslider {
	width: 1280px;
	height: 196px;
	overflow: hidden;
	margin: 2em auto;
/*
	border: 10px solid #ffffff;
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.5);
*/
}
.cp_slide_item {
	width: 256px;
	height: 196px;
	float: left;
	position: relative;
}
.cp_slidewrapper {
	width: 500%;/* slideの枚数×100% */
	position: relative;
	left: 0;
	animation: slider 20s infinite ease;/* スピード */
}
@-webkit-keyframes slider {
	/* 100%を枚数で割った%に割り振る */
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	20% {
		-webkit-transform: translateX(-300px);
		transform: translateX(-300px);
	}
	40% {
		-webkit-transform: translateX(-600px);
		transform: translateX(-600px);
	}
	60% {
		-webkit-transform: translateX(-900px);
		transform: translateX(-900px);
	}
	80% {
		-webkit-transform: translateX(-1200px);
		transform: translateX(-1200px);
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}
@keyframes slider {
	/* 100%を枚数で割った%に割り振る */
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	20% {
		-webkit-transform: translateX(-300px);
		transform: translateX(-300px);
	}
	40% {
		-webkit-transform: translateX(-600px);
		transform: translateX(-600px);
	}
	60% {
		-webkit-transform: translateX(-900px);
		transform: translateX(-900px);
	}
	80% {
		-webkit-transform: translateX(-1200px);
		transform: translateX(-1200px);
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}


