﻿
	.fv_contents .slider-item {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.fv_contents .fv_text {
		background-color: rgba(255, 255, 255, 70%);
		position: unset;
		line-height: 1.5;
		font-size: 2.5em;
		padding: 2.5em 4em;
		height: auto;
		text-align: left;
		color: #585858;
		text-shadow: 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff, 0 0 0.277em #fff;
	}

	.fv_text_point {
		color: #cf2e2e;
		display: inline;

	}

	.fv_contents .container {
		width: 100%;
		height: 100vh;
		background-color: #fff;
	}

	.fv_contents .slider-area {
		position: relative;
		width: 100%;
		height: 60vh;
	}

	.fv_contents .slider-item {
		position: absolute;
		inset: 0;
		opacity: 0;
		animation: slideShow 40s infinite ease-out 0s;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}

	/*=== スライドのアニメーションを段差で開始する ========= */
	.fv_contents .slider-item:nth-child(1) {
		animation-delay: 0s;
		background-image: url(https://ne-holdings.com/nishijuku/wp-content/uploads/2022/06/main-slim.jpg);
	}

	.fv_contents .slider-item:nth-child(2) {
		animation-delay: 4s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_1.jpg);
	}

	.fv_contents .slider-item:nth-child(3) {
		animation-delay: 8s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_2.jpg);
	}

	.fv_contents .slider-item:nth-child(4) {
		animation-delay: 12s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_3.jpg);
	}

	.fv_contents .slider-item:nth-child(5) {
		animation-delay: 16s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_4.jpg);
	}

	.fv_contents .slider-item:nth-child(6) {
		animation-delay: 20s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_5.jpg);
	}

	.fv_contents .slider-item:nth-child(7) {
		animation-delay: 24s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_6.jpg);
	}

	.fv_contents .slider-item:nth-child(8) {
		animation-delay: 28s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_7.jpg);
	}

	.fv_contents .slider-item:nth-child(9) {
		animation-delay: 32s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_8.jpg);
	}

	.fv_contents .slider-item:nth-child(10) {
		animation-delay: 36s;
		background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/slide_9.jpg);
	}

	.fv_contents .slider-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	@media screen and (max-width: 782px) {
		.fv_contents .fv_text {
			font-size: 1.3em;
			padding: 1.5em 0.5em;
			width: 100%;
			text-align: center;
		}

		.fv_contents .slider-item {
			background-size: cover;
			background-position: center;
		}

		.fv_contents .slider-item:nth-child(1) {
			animation-delay: 0s;
			background-image: url(https://ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_main-slim.jpg);
		}

		.fv_contents .slider-item:nth-child(2) {
			animation-delay: 4s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_1.jpg);
		}

		.fv_contents .slider-item:nth-child(3) {
			animation-delay: 8s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_2.jpg);
		}

		.fv_contents .slider-item:nth-child(4) {
			animation-delay: 12s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_3.jpg);
		}

		.fv_contents .slider-item:nth-child(5) {
			animation-delay: 16s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_4.jpg);
		}

		.fv_contents .slider-item:nth-child(6) {
			animation-delay: 20s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_5.jpg);
		}

		.fv_contents .slider-item:nth-child(7) {
			animation-delay: 24s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_6.jpg);
		}

		.fv_contents .slider-item:nth-child(8) {
			animation-delay: 28s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_7.jpg);
		}

		.fv_contents .slider-item:nth-child(9) {
			animation-delay: 32s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_8.jpg);
		}

		.fv_contents .slider-item:nth-child(10) {
			animation-delay: 36s;
			background-image: url(https://www.ne-holdings.com/nishijuku/wp-content/uploads/2024/09/sp_slide_9.jpg);
		}
	}

	/*=== スライドのアニメーション ========================= */
	@keyframes slideShow {

		1% {
			opacity: 1
		}

		10% {
			opacity: 1
		}

		11% {
			opacity: 0
		}

		100% {
			opacity: 0
		}
	}

.youtube {
  @media (max-width: 680px) {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
 
    iframe {
      position: absolute;
      top: 0;
      right: 0;
      width: 100% !important;
      height: 100% !important;
    }
  }
  @media (min-width: 900px) {
    iframe {
      width: 560;
      height: 315;
    }
  }
}

.youtube1 {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.youtube1 iframe {
	width: 100%;
	height: 100%;
	border-radius: 20px;
}