@charset "utf-8";

.slideshow {
	position: relative;
	overflow: hidden;

	max-width : 1000px;
	margin:10px auto;
}
input[name="slideshow"] {
	display: none;
}

.slideTitle {
	color: #69c4bb;
	font-family:'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 32px !important;
	font-weight: 700;
	padding: 0 !important;
	text-align: center !important;
}

/* :::::: slideContents :::::: */
.slideContents {
	position: relative;
	background: lightSeaGreen;
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
	transition: transform .6s;
}
.slideContents section {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateX(100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.slideContents section img {
	max-width: 100%;
	padding: 0 50px;
	box-sizing: border-box;
	vertical-align: middle;
}

/* :::::: arrows :::::: */
.arrow,
.arrow label,
.arrow .ico {
	position: absolute;
}
.arrow {
	top: 0;
	margin: 0 !important;
	transition: background .3s;
}
.prev {
	left: 0;
}
.next {
	right: 0;
}
.arrow:hover {
	background: rgba(255,255,255,.2);
}
.arrow,
.arrow label {
	cursor: pointer;
	width: 50px;
	height: 100%;
}
.arrow label {
	top: 0;
	left: 0;
	z-index: 1;
}
.arrow .ico {
	top: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border-top: 3px solid #fff;
	opacity: 0;
}
.prev .ico {
	left: 50%;
	border-left: 3px solid #fff;
	transform: rotate(-45deg);
	transition: left .3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .3s;
}
.next .ico {
	right: 50%;
	border-right: 3px solid #fff;
	transform: rotate(45deg);
	transition: right .3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .3s;
}
/* .arrow:hover .ico { */
.arrow .ico {
	opacity: .6;
}
/* .prev:hover .ico { */
.prev .ico {
	left: calc(50% - 6px);
}
/* .next:hover .ico { */
.next .ico {
	right: calc(50% - 6px);
}

/* :::::: contents :::::: */
.slideContents section {
	opacity: 0;
}
.slideContents section .contents {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
/*	padding: 16px; */
	box-sizing: border-box;
}
.slideContents section h1,
.slideContents section p {
	margin: 0;
	color: lightseagreen;
	opacity: 0;
}
.slideContents section h1 {
	position: absolute;
	bottom: 0;
	left:0;
	right:0;
	font-size: 32px;
	text-shadow: 1px 1px 12px #FFF;
}
.slideContents section p {
	margin-top: .5em;
	font-size: 18px;
}

/* :::::: mechanism :::::: */
#switch1:checked ~ .slideContents #slide1,
#switch2:checked ~ .slideContents #slide2,
#switch3:checked ~ .slideContents #slide3 {
	position: relative;
	opacity: 1;
	transform: none;
}
#switch1:checked ~ .slideContents #slide3,
#switch2:checked ~ .slideContents #slide1,
#switch3:checked ~ .slideContents #slide2 {
	transform: translateX(-100%);
}
#switch1:checked ~ .slideContents #slide1 h1,
#switch1:checked ~ .slideContents #slide1 p,
#switch2:checked ~ .slideContents #slide2 h1,
#switch2:checked ~ .slideContents #slide2 p,
#switch3:checked ~ .slideContents #slide3 h1,
#switch3:checked ~ .slideContents #slide3 p {
	opacity: 1;
}

/* 要素を立体的に */
.slideContents {
	perspective: 1000px;
}
.slideContents section,
.slideContents h1,
.slideContents p {
	transition: opacity 1s, transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.slideContents section {
	transform: translateX(500px) rotateY(-90deg);
	transition-duration: .8s, 1.2s;
}
#switch1:checked ~ .slideContents #slide1 h1,
#switch2:checked ~ .slideContents #slide2 h1,
#switch3:checked ~ .slideContents #slide3 h1 {
	transition-delay: .6s, 0s;
}
#switch1:checked ~ .slideContents #slide1 p,
#switch2:checked ~ .slideContents #slide2 p,
#switch3:checked ~ .slideContents #slide3 p {
	transition-delay: .4s, 0s;
}
#switch1:checked ~ .slideContents #slide1,
#switch2:checked ~ .slideContents #slide2,
#switch3:checked ~ .slideContents #slide3 {
	transform: translateX(0) rotateY(0deg);
	transition-delay: .2s, 0s;
}
#switch1:checked ~ .slideContents #slide3,
#switch2:checked ~ .slideContents #slide1,
#switch3:checked ~ .slideContents #slide2 {
	transform: translateX(-500px) rotateY(90deg);
}

/* アニメーションする */
.slideContents h1,
.slideContents p {
	transform-origin: 50% 100%;
}

#switch1:checked ~ .slideContents #slide1 h1,
#switch2:checked ~ .slideContents #slide2 h1,
#switch3:checked ~ .slideContents #slide3 h1 {
	animation: titleAppear 1.5s;
}
#switch1:checked ~ .slideContents #slide1 p,
#switch2:checked ~ .slideContents #slide2 p,
#switch3:checked ~ .slideContents #slide3 p {
	animation: textAppear 1.3s;
}
@keyframes titleAppear {
	0% { opacity: 0; }
	68% { opacity: 0; transform: translateY(6px); }
	75% { opacity: 1; transform: translateY(6px) scaleY(.8); }
	100% { transform: none; }
}
@keyframes textAppear {
	0% { opacity: 0; }
	60% { opacity: 0; transform: translateY(10px); }
	68% { opacity: 1; transform: translateY(10px) scaleY(.6); }
	95% { transform: none; }
}


/* :::::: arrow mechanism :::::: */
.arrow label {
	pointer-events: none;
}
#switch1:checked ~ .prev label[for="switch3"],
#switch2:checked ~ .prev label[for="switch1"],
#switch3:checked ~ .prev label[for="switch2"],
#switch1:checked ~ .next label[for="switch2"],
#switch2:checked ~ .next label[for="switch3"],
#switch3:checked ~ .next label[for="switch1"] {
	pointer-events: auto;
}


/* :::::: スライド2つ目 :::::: */
input[name="slideshow2"]{
	display: none;
}

#switch01:checked ~ .slideContents #slide01,
#switch02:checked ~ .slideContents #slide02,
#switch03:checked ~ .slideContents #slide03,
#switch04:checked ~ .slideContents #slide04,
#switch05:checked ~ .slideContents #slide05 {
	position: relative;
	opacity: 1;
	transform: none;
}
#switch01:checked ~ .slideContents #slide05,
#switch02:checked ~ .slideContents #slide01,
#switch03:checked ~ .slideContents #slide02,
#switch04:checked ~ .slideContents #slide03,
#switch05:checked ~ .slideContents #slide04 {
	transform: translateX(-100%);
}
#switch01:checked ~ .slideContents #slide01 h1,
#switch01:checked ~ .slideContents #slide01 p,
#switch02:checked ~ .slideContents #slide02 h1,
#switch02:checked ~ .slideContents #slide02 p,
#switch03:checked ~ .slideContents #slide03 h1,
#switch03:checked ~ .slideContents #slide03 p,
#switch04:checked ~ .slideContents #slide04 h1,
#switch04:checked ~ .slideContents #slide04 p,
#switch05:checked ~ .slideContents #slide05 h1,
#switch05:checked ~ .slideContents #slide05 p {
	opacity: 1;
}

#switch01:checked ~ .slideContents #slide01 h1,
#switch02:checked ~ .slideContents #slide02 h1,
#switch03:checked ~ .slideContents #slide03 h1,
#switch04:checked ~ .slideContents #slide04 h1,
#switch05:checked ~ .slideContents #slide05 h1 {
	transition-delay: .6s, 0s;
}
#switch01:checked ~ .slideContents #slide01 p,
#switch02:checked ~ .slideContents #slide02 p,
#switch03:checked ~ .slideContents #slide03 p,
#switch04:checked ~ .slideContents #slide04 p,
#switch05:checked ~ .slideContents #slide05 p {
	transition-delay: .4s, 0s;
}
#switch01:checked ~ .slideContents #slide01,
#switch02:checked ~ .slideContents #slide02,
#switch03:checked ~ .slideContents #slide03,
#switch04:checked ~ .slideContents #slide04,
#switch05:checked ~ .slideContents #slide05 {
	transform: translateX(0) rotateY(0deg);
	transition-delay: .2s, 0s;
}
#switch01:checked ~ .slideContents #slide05,
#switch02:checked ~ .slideContents #slide01,
#switch03:checked ~ .slideContents #slide02,
#switch04:checked ~ .slideContents #slide03,
#switch05:checked ~ .slideContents #slide04 {
	transform: translateX(-500px) rotateY(90deg);
}
#switch01:checked ~ .prev label[for="switch05"],
#switch02:checked ~ .prev label[for="switch01"],
#switch03:checked ~ .prev label[for="switch02"],
#switch04:checked ~ .prev label[for="switch03"],
#switch05:checked ~ .prev label[for="switch04"],
#switch01:checked ~ .next label[for="switch02"],
#switch02:checked ~ .next label[for="switch03"],
#switch03:checked ~ .next label[for="switch04"],
#switch04:checked ~ .next label[for="switch05"],
#switch05:checked ~ .next label[for="switch01"] {
	pointer-events: auto;
}

#switch01:checked ~ .slideContents #slide01 h1,
#switch02:checked ~ .slideContents #slide02 h1,
#switch03:checked ~ .slideContents #slide03 h1,
#switch04:checked ~ .slideContents #slide04 h1,
#switch05:checked ~ .slideContents #slide05 h1 {
	animation: titleAppear 1.5s;
}
#switch01:checked ~ .slideContents #slide01 p,
#switch02:checked ~ .slideContents #slide02 p,
#switch03:checked ~ .slideContents #slide03 p,
#switch04:checked ~ .slideContents #slide04 p,
#switch05:checked ~ .slideContents #slide05 p {
	animation: textAppear 1.3s;
}
