/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.sl-slider-wrapper {
	width: 800px;
	height: 400px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.sl-slider {
	position: absolute;
	top: 0;
	left: 0;
}
/* Slide wrapper and slides */
.sl-slide, .sl-slides-wrapper, .sl-slide-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.sl-slide {
	z-index: 1;
}
/* The duplicate parts/slices */
.sl-content-slice {
	overflow: hidden;
	position: absolute;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background: #fff;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	opacity: 1;
}
/* Horizontal slice */
.sl-slide-horizontal .sl-content-slice {
	width: 100%;
	height: 50%;
	left: -200px;
	-webkit-transform: translateY(0%) scale(1);
	-moz-transform: translateY(0%) scale(1);
	-o-transform: translateY(0%) scale(1);
	-ms-transform: translateY(0%) scale(1);
	transform: translateY(0%) scale(1);
}
.sl-slide-horizontal .sl-content-slice:first-child {
	top: -200px;
	padding: 200px 200px 0px 200px;
}
.sl-slide-horizontal .sl-content-slice:nth-child(2) {
	top: 50%;
	padding: 0px 200px 200px 200px;
}
/* Vertical slice */
.sl-slide-vertical .sl-content-slice {
	width: 50%;
	height: 100%;
	top: -200px;
	-webkit-transform: translateX(0%) scale(1);
	-moz-transform: translateX(0%) scale(1);
	-o-transform: translateX(0%) scale(1);
	-ms-transform: translateX(0%) scale(1);
	transform: translateX(0%) scale(1);
}
.sl-slide-vertical .sl-content-slice:first-child {
	left: -200px;
	padding: 200px 0px 200px 200px;
}
.sl-slide-vertical .sl-content-slice:nth-child(2) {
	left: 50%;
	padding: 200px 200px 200px 0px;
}
/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
	position: absolute;
}
.sl-content {
	width: 100%;
	height: 100%;
	background: #fff;
}
/* Default styles for background colors */
.sl-slide-horizontal .sl-slide-inner {
	background: #fff;
}
.sl-slide-vertical .sl-slide-inner {
	background: #fff;
}
/* Custom navigation arrows */
.nav-arrows span {
	position: absolute;
	z-index: 2000;
	top: 50%;
	width: 40px;
	height: 40px;
	border: 8px solid #ddd;
	border: 8px solid rgba(150, 150, 150, 0.4);
	text-indent: -90000px;
	margin-top: -40px;
	cursor: pointer;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.nav-arrows span:hover {
	border-color: rgba(150, 150, 150, 0.9);
}
.nav-arrows span.nav-arrow-prev {
	left: 5%;
	border-right: none;
	border-top: none;
}
.nav-arrows span.nav-arrow-next {
	right: 5%;
	border-left: none;
	border-bottom: none;
}
/* Custom navigation dots */
.nav-dots {
	text-align: center;
	position: absolute;
	bottom: 2%;
	height: 30px;
	width: 100%;
	left: 0;
	z-index: 1000;
}
.nav-dots span {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin: 3px;
	background: #ddd;
	background: rgba(150, 150, 150, 0.4);
	cursor: pointer;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 1px 1px rgba(0, 0, 0, 0.1);
}
.nav-dots span.nav-dot-current:after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
}
/* Animations for content elements */
.sl-trans-elems .deco {
	-webkit-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-moz-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-o-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	-ms-animation: roll 1s ease-out both, fadeIn 1s ease-out both;
	animation: roll 1s ease-out both, fadeIn 1s ease-out both;
}
.sl-trans-elems h2 {
	-webkit-animation: moveUp 1.5s  ease-in-out both;
	-moz-animation: moveUp 1.5s ease-in-out both;
	-o-animation: moveUp 1.5s ease-in-out both;
	-ms-animation: moveUp 1.5s ease-in-out both;
	animation: moveUp 1.5s ease-in-out both;
}
.sl-trans-elems blockquote {
	-webkit-animation: fadeIn 1.5s linear 1.5s both;
	-moz-animation: fadeIn 1.5s linear 1.5s both;
	-o-animation: fadeIn 1.5s linear 1.5s both;
	-ms-animation: fadeIn 1.5s linear 1.5s both;
	animation: fadeIn 1.5s linear 1.5s both;
}
.sl-trans-back-elems .deco {
	-webkit-animation: scaleDown 1s ease-in-out both;
	-moz-animation: scaleDown 1s ease-in-out both;
	-o-animation: scaleDown 1s ease-in-out both;
	-ms-animation: scaleDown 1s ease-in-out both;
	animation: scaleDown 1s ease-in-out both;
}
.sl-trans-back-elems h2 {
	-webkit-animation: fadeOut 1s ease-in-out both;
	-moz-animation: fadeOut 1s ease-in-out both;
	-o-animation: fadeOut 1s ease-in-out both;
	-ms-animation: fadeOut 1s ease-in-out both;
	animation: fadeOut 1s ease-in-out both;
}
.sl-trans-back-elems blockquote {
	-webkit-animation: fadeOut 1s linear both;
	-moz-animation: fadeOut 1s linear both;
	-o-animation: fadeOut 1s linear both;
	-ms-animation: fadeOut 1s linear both;
	animation: fadeOut 1s linear both;
}
@-webkit-keyframes roll {
0% {
-webkit-transform: translateX(500px) rotate(360deg);
}
100% {
-webkit-transform: translateX(0px) rotate(0deg);
}
}
@-moz-keyframes roll {
0% {
-moz-transform: translateX(500px) rotate(360deg);
opacity: 0;
}
100% {
-moz-transform: translateX(0px) rotate(0deg);
opacity: 1;
}
}
@-o-keyframes roll {
0% {
-o-transform: translateX(500px) rotate(360deg);
opacity: 0;
}
100% {
-o-transform: translateX(0px) rotate(0deg);
opacity: 1;
}
}
@-ms-keyframes roll {
0% {
-ms-transform: translateX(500px) rotate(360deg);
opacity: 0;
}
100% {
-ms-transform: translateX(0px) rotate(0deg);
opacity: 1;
}
}
@keyframes roll {
0% {
transform: translateX(500px) rotate(360deg);
opacity: 0;
}
100% {
transform: translateX(0px) rotate(0deg);
opacity: 1;
}
}
@-webkit-keyframes moveUp {
0% {
-webkit-transform: translateY(40px);
}
100% {
-webkit-transform: translateY(0px);
}
}
@-moz-keyframes moveUp {
0% {
-moz-transform: translateY(40px);
}
100% {
-moz-transform: translateY(0px);
}
}
@-o-keyframes moveUp {
0% {
-o-transform: translateY(40px);
}
100% {
-o-transform: translateY(0px);
}
}
@-ms-keyframes moveUp {
0% {
-ms-transform: translateY(40px);
}
100% {
-ms-transform: translateY(0px);
}
}
@keyframes moveUp {
0% {
transform: translateY(40px);
}
100% {
transform: translateY(0px);
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-o-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-ms-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes scaleDown {
0% {
-webkit-transform: scale(1);
}
100% {
-webkit-transform: scale(0.5);
}
}
@-moz-keyframes scaleDown {
0% {
-moz-transform: scale(1);
}
100% {
-moz-transform: scale(0.5);
}
}
@-o-keyframes scaleDown {
0% {
-o-transform: scale(1);
}
100% {
-o-transform: scale(0.5);
}
}
@-ms-keyframes scaleDown {
0% {
-ms-transform: scale(1);
}
100% {
-ms-transform: scale(0.5);
}
}
@keyframes scaleDown {
0% {
transform: scale(1);
}
100% {
transform: scale(0.5);
}
}
@-webkit-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-moz-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-o-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-ms-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
/*スライダー設定*/
.sl-slider-wrapper {
	width: 100%;
	height: 258px;
	border: 2px solid rgba(0, 0, 0, 0.2);
	overflow: hidden;
	position: relative;
	font-feature-settings : "palt";
	font-weight: 500;
}
.sl-slider h2, .sl-slider blockquote {
	padding: 0 50px 8px 20px;
	margin: 1.2em 0 0 0;
	max-width: 960px;
	color: #fff;
	position: relative;
	z-index: 100;
}
.sl-slider h2 {
	font-size: 29px;
	background: none;
	font-weight: 400;
	letter-spacing: 1px;
	border: none;
	display: inline-block;
	font-family: "kan415typos-std", sans-serif;
	/*background-color: rgba(0, 0, 0, 0.6);*/
	background-image: url(../../images/black_h2.png);
	background-repeat: no-repeat;
    background-position: right top;
	text-shadow: 0 -2px 3px rgba(0, 0, 0, 0.4);
}
.sl-slider blockquote {
	font-size: 15px;
	padding-top: 10px;
	padding-right: 4em;
	line-height: 1.7;
	font-weight: 300;
	font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
	-moz-text-shadow: 1px 0px 3px rgba(0, 0, 0, 0.7), 0px 1px 3px #000, -1px 0px 3px rgba(0, 0, 0, 0.7), 0px -1px 3px rgba(0, 0, 0, 0.7);
	-webkit-text-shadow: 1px 0px 3px rgba(0, 0, 0, 0.7), 0px 1px 3px rgba(0, 0, 0, 0.7), -1px 0px 3px rgba(0, 0, 0, 0.7), 0px -1px 3px rgba(0, 0, 0, 0.7);
	-ms-text-shadow: 1px 0px 3px rgba(0, 0, 0, 0.7), 0px 1px 3px rgba(0, 0, 0, 0.7), -1px 0px 3px rgba(0, 0, 0, 0.7), 0px -1px 3px rgba(0, 0, 0, 0.7);
	text-shadow: 1px 0px 3px rgba(0, 0, 0, 0.7), 0px 1px 3px rgba(0, 0, 0, 0.7), -1px 0px 3px rgba(0, 0, 0, 0.7), 0px -1px 3px rgba(0, 0, 0, 0.7);
}
.sl-slider blockquote cite {
	font-size: 16px;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding-top: 30px;
	display: inline-block;
}
.bg-img {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: absolute;
	width: 100%;
	height: 100%;
    margin-left: -2px;
	-webkit-background-size: cover;
	-moz-background-size:  cover;
	background-size:  cover;
    background-position: center top;
	background-repeat: no-repeat;
}
.nav-dots span {
	background: rgba(150, 150, 150, 0.1);
	margin: 6px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.nav-dots span.nav-dot-current, .nav-dots span:hover {
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 0 5px rgba(255, 255, 255, 0.5);
}
.bg-img-0 {
	background-image: url(../../images/img00.jpg);
}
.bg-img-1 {
	background-image: url(../../images/img01.jpg);
}
.bg-img-2 {
	background-image: url(../../images/img02.jpg);
}
.bg-img-3 {
	background-image: url(../../images/img03.jpg);
}
.bg-img-4 {
	background-image: url(../../images/img04.jpg);
}

@media screen and (max-width: 639px) {
.sl-slider h2 {
	padding: 0 .5em 7px;
	line-height: 1.4;
	font-size: 18px;
	display: block;
	max-width: 80%;
	margin: 2vh auto 5px;
	text-align: center;
	background-image: none;
	background-color: rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}
.sl-slider blockquote {
	margin: .5em 0 0 0;
    padding-top: 6px;
	font-size: 12px;
	text-align: center;
}
.sl-slider-wrapper {
	height: 144px;
	border: 1px solid #ccc;
}
}
@media screen and (min-width: 500px) and (max-width: 639px) {
.sl-slider-wrapper {
	height: 192px;
}
.sl-slider h2 {
	margin: 2em auto .5em;
}
}
@media screen and (max-width: 374px) {
.sl-slider h2 {
	font-size: 16px;
	margin: 2vh auto 0;
	background-image: none;
	background-color: rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}
.sl-slider blockquote {
	font-size: 10px;
	padding-top: 5px;
}
.sl-slider-wrapper {
	height: 122px;
	border: 1px solid #ccc;
}

}

/*画像キャプション　位置設定*/
/*左上*/
.sl-slider h2.left_top_title{
	background-image: url(../../images/black_h2.png);
	position: absolute;
	padding: 0 50px 12px 10px;
	margin-top: 0;
	top:15px;
	left:0;
}

/*左下*/
.sl-slider h2.left_bottom_title{
	background-image: url(../../images/black_h2.png);
	position: absolute;
	padding: 0 50px 12px 10px;
	margin-bottom: 0;
	bottom:15px;
	left:0;
}

/*右上*/
.sl-slider h2.right_top_title{
	background-image: url(../../images/black_h2_r.png);
	background-repeat: no-repeat;
	background-position: left top;
	position: absolute;
	padding: 0 10px 12px 50px;
	margin-top: 0;
	top:15px;
	right:0;
	text-align: right;
}

/*右下*/
.sl-slider h2.right_bottom_title{
	background-image: url(../../images/black_h2_r.png);
	background-repeat: no-repeat;
	background-position: left top;
	position: absolute;
	padding: 0 10px 12px 50px;
	margin-bottom: 0;
	bottom:15px;
	right:0;
	text-align: right;
}


@media screen and (max-width:640px){
	.sl-slider h2{
		font-size: 70%;
		line-height: 1.5em;
		background-color:rgba(0,0,0,0);
		background-size: cover;
	}
	.sl-slider h2.left_top_title,.sl-slider h2.right_top_title{
		padding: 0 15px 6px 10px;
	}
	.sl-slider h2.right_bottom_title,.sl-slider h2.right_bottom_title{
		padding: 0 10px 6px 15px;
	}
}