@charset "utf-8";


/* showcase
----------------------------------------------- */

.showcase {
	margin: auto;
	max-width: 1500px;
}
.showcase__inner {
	margin: 0 90px;
	padding: 0 0 200px;
	overflow: hidden;
}
.showcase__items {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 50px 0 0;
}
.showcase__item {
	position: relative;
	width: calc(50% - 25px);
	z-index: 1;
}
.showcase__item:nth-child(even) {
	margin: 50px 0 0;
}
.showcase__item:nth-child(odd) {
	margin: -50px 0 0;
}
.showcase__image img {
	width: 100%;
	height: auto;
}
.showcase__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 0 50px;
	color: #fff;
	text-align: center;
	overflow: hidden;
	z-index: 1;
}
.showcase__item:nth-child(odd) .showcase__info {
	bottom: 100px;
}
.showcase__item:last-child .showcase__info {
	bottom: 0;
}
.showcase__info:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.9);
	z-index: 1;
}
.showcase__title {
	position: relative;
	margin: 0 15px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 23px;
	z-index: 2;
}
.showcase__text {
	position: relative;
	margin: 0 15px;
	padding: 16px 0 0;
	font-size: 12px;
	letter-spacing: 0.02em;
	line-height: 23px;
	z-index: 2;
}
.showcase__viewmore {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	background: linear-gradient(to right, #1fe9e9 0%, #009fe5 100%);
	z-index: 2;
}
.showcase__viewmore a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 50px;
	z-index: 2;
}

/* ready */

.js-indicate-ready .showcase__image {
	position: relative;
	overflow: hidden;
}
.js-indicate-ready:nth-child(even) .showcase__image {
	transform: translateX(-100%);
}
.js-indicate-ready:nth-child(odd) .showcase__image {
	transform: translateX(100%);
}
.js-indicate-ready .showcase__image:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #1a1a1c;
}
.js-indicate-ready .showcase__image img {
	transform: scale(1.05);
}

/* start */

.js-indicate-start:nth-child(even) .showcase__image,
.js-indicate-start:nth-child(odd) .showcase__image,
.js-indicate-start:nth-child(even) .showcase__image:after,
.js-indicate-start:nth-child(odd) .showcase__image:after {
	transform: translateX(0);
	transition-property: transform;
	transition-duration: 0.5s;
	transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.js-indicate-start:nth-child(even) .showcase__image:after {
	transform: translateX(100%);
	transition-delay: 0.5s;
}
.js-indicate-start:nth-child(odd) .showcase__image:after {
	transform: translateX(-100%);
	transition-delay: 0.5s;
}
.js-indicate-start .showcase__image img {
	transform: scale(1);
	transition-property: transform;
	transition-duration: 2s;
	transition-delay: 0.5s;
}


/* pc
----------------------------------------------- */

@media print, screen and (min-width:1000px) {


	/* showcase
	----------------------------------------------- */

	.showcase__item {
		overflow: hidden;
	}
	.showcase__title,
	.showcase__text,
	.showcase__info:after,
	.showcase__viewmore
	{
		transition-property: opacity, transform;
		transition-duration: 0.25s;
		transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
	}
	.showcase__title,
	.showcase__text {
		opacity: 0;
	}
	.showcase__info:after {
		opacity: 0;
	}
	.showcase__viewmore {
		transform: translateY(100%);
	}

	.showcase__viewmore:after {
		display: block;
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		opacity: 0;
		background-color: #1fe9e9;
		z-index: 1;
		transition-property: opacity;
		transition-duration: 0.25s;
		transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
	}
	
	/* hover */

	.showcase__item:hover .showcase__title,
	.showcase__item:hover .showcase__text,
	.showcase__item:hover .showcase__info:after,
	.showcase__item:hover .showcase__viewmore
	{
		opacity: 1;
		transform: translate(0);
		transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	.showcase__viewmore:hover:after {
		opacity: 1;
		transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}



	/* retina
	----------------------------------------------- */
	
	@media only screen and (-webkit-min-device-pixel-ratio: 2) { 
	}


}


/* tablet
----------------------------------------------- */

@media screen and (min-width:641px) and (max-width: 1000px) {
}


/* mobile
----------------------------------------------- */

@media only screen and (max-width:999px) {


	/* showcase
	----------------------------------------------- */
	
	.showcase {
		margin: 0 20px;
		max-width: auto;
	}
	.showcase__inner {
		display: block;
		margin: -50px 0 0;
		padding: 0 0 150px;
	}
	.showcase__items {
		display: block;
		padding: 0;
	}
	.showcase__item {
		width: auto;
		height: auto;
	}
	.showcase__item:nth-child(even) {
		margin: 50px 0 0;
	}
	.showcase__item:nth-child(odd) {
		margin: 50px 0 0;
	}
	.showcase__info {
		display: block;
		position: static;
		padding: 0;
		color: #000;
		text-align: justify;
	}
	.showcase__info:after {
		display: none;
	}
	.showcase__title {
		margin: 15px 0 10px;
		font-size: 14px;
		line-height: 20px;
	}
	.showcase__text {
		margin: 0;
		padding: 0;
		line-height: 20px;
	}
	.showcase__viewmore {
		position: static;
		margin: 25px auto 0;
		width: 168px;
	}
	.showcase__viewmore a {
		height: 35px;
	}


}


