@charset "UTF-8";

/*無限スライドショー*/
@keyframes infinity-scroll-left {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

.scroll-infinity__wrap {
	display: flex;
	overflow: hidden;
}

.scroll-infinity__list {
	display: flex;
	gap: 20px;
	margin-left: 20px;
}

.scroll-infinity__list--left {
	animation: infinity-scroll-left 49s infinite linear 0.5s both;
}

.scroll-infinity__item {
	width: calc(150vw / 5);
	margin: auto;
}

.scroll-infinity__item>img {
	width: 100%;
}

/* スクロールダウンの位置 */
.scroll {
	position: absolute;
	right: 48%;
	writing-mode: vertical-rl;
	font-size: 10px;
}

/* 線のアニメーション部分 */
.scroll::before {
	animation: scroll 2s infinite;
	background-color: #333D29;
	content: "";
	height: 140px;
	left: -40px;
	margin: auto;
	position: absolute;
	right: 0;
	width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}

	50% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}

	51% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}

	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}

/* ロゴがふわっと現れる */
.logo_fadein {
	background: #fafafa;
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 999;
	background-repeat: no-repeat;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.logo_fadein p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 15vw;
}
@media screen and (min-width: 800px) {
.logo_fadein p {
	width: 5vw;
}
}

.fade .animation-bg {
	content: "";
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	animation-name: PageAnime-fade;
	animation-duration: 0.3s;
	animation-delay: 3.5s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	pointer-events: auto;
	animation-iteration-count: infinite;
}

@keyframes PageAnime-fade {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		display: none;
	}
}

.section-topphoto {
	max-width: 1220px;
	margin: 100px auto 50px auto;
}

.scroll-infinity__wrap:hover .scroll-infinity__list--left {
	animation-play-state: paused;
}

/*　トップページ用*/
.section-gallery {
	margin: 300px auto 100px auto;
}

@media screen and (max-width: 800px) {
	.scroll-infinity__list {
		gap: 30px;
		margin-left: 30px;
	}
	.scroll-infinity__list--left {
		animation: infinity-scroll-left 43s infinite linear 0.5s both;
	}
	.scroll-infinity__list img {
		max-width: 115%;
	}
	.wrap-gallery {
		margin-top: 50px;
	}
	.section-gallery {
		margin: 180px auto 100px auto;
	}
	.scroll-infinity__wrap {
		height: 85vw;
	}
	.scroll-infinity__item {
		width: calc(320vw / 5);
	}

	.scroll::before {
		height: 80px;
	}
    .scroll { 
		font-size: 8px;
		right: 40%;
	}

	}
  