﻿
.sldr .sl-slider-wrapper {
	width: 100%;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	position: relative;
}

/* スライド・テキスト制御 */
.sldr .sl-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

.sldr .sl-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

	.sldr .sl-slide.is-active {
		opacity: 1;
		visibility: visible;
	}

.sldr .sl-slider h2,
.sldr .sl-slider blockquote {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	padding: 260px 30px 10px 30px;
	width: 80%;
	max-width: 960px;
	color: #fff;
	margin: 0 auto;
	position: relative;
	z-index: 100;
}

.sldr .sl-slider h2 {
	font-size: 43px;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
	color: #fff;
	-webkit-text-stroke: 10px #004EC0;
	paint-order: stroke;
}

.sldr .sl-slider blockquote {
	font-size: 28px;
	padding-top: 10px;
	font-weight: 300;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
	color: #fff;
	-webkit-text-stroke: 7px #004EC0;
	paint-order: stroke;
}

.sldr .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;
}


/* レスポンシブ */

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

	.sldr .sl-slider-wrapper {
		height: 500px !important;
	}

	.sldr .sl-slider h2 {
		font-size: 32px;
		padding: 200px 30px 10px 30px;
	}

	.sldr .sl-slider blockquote {
		font-size: 16px;
	}

	body #prism {
		height: 500px !important;
		overflow: hidden !important;
		display: block !important;
	}

		body #prism > .ray {
			height: calc(650px * var(--scale)) !important;
			left: calc(var(--pos-x-s) - 1vw) !important;
			width: calc(14px * var(--scale)) !important;
		}

	body div#prism div.flare-1 {
		width: 30px !important;
		height: 30px !important;
		margin-top: 60px !important;
		margin-left: 70vw !important;
	}

	body div#prism div.flare-2 {
		width: 65px !important;
		height: 65px !important;
		margin-top: 120px !important;
		margin-left: 55vw !important;
	}

	body div#prism div.flare-3 {
		width: 160px !important;
		height: 160px !important;
		margin-top: 15px !important;
		margin-left: calc(80vw - 20px) !important;
	}

	body div#prism div.flare-4 {
		margin-top: 0px !important;
		margin-left: 30vw !important;
		animation-name: lens-flare-glow-mobile !important;
	}
}

@keyframes lens-flare-glow-mobile {
	0% {
		transform: translate3d(5px, 160px, 0) scale(0.9);
		opacity: 0.3;
	}

	50% {
		opacity: 0.9;
	}

	100% {
		transform: translate3d(-10px, 190px, 0) scale(1.05);
		opacity: 0.6;
	}
}
