/* トップページ
=========================================================================
=========================================================================*/

/* First View
-----------------------------------------------------------*/
.fv {
	position: relative;
	padding: 0 20px;
	width: 100vw;
	height: 100vh;
}

.fv .inner {
	height: 100%;
}

.fv .inner figure {
	overflow: hidden;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-55%);
	width: calc(837 / 1720 * 100%);
	height: fit-content;
	z-index: 2;
	transition-delay: 2s;
	transition-duration: 1s;
}

.fv a.scroll {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 25px;
	margin: auto;
	width: fit-content;
}

.fv a.scroll::before {
	content: '';
	position: absolute;
	top: -80px;
	left: 0;
	right: 0;
	margin: auto;
	width: 1px;
	height: 70px;
	background: linear-gradient(to bottom, #FFF 5%, #1A1311);
	animation: fadeOut 1s ease-in infinite forwards;
}

@keyframes fadeOut {
	0% {
		transform: scaleY(0);
			transform-origin: top left;
	}

	45% {
		transform: scaleY(1);
			transform-origin: top left;
	}
	55% {
		transform: scaleY(1);
		transform-origin: bottom left;
	}
	100% {
		transform: scaleY(0);
		transform-origin: bottom left;
	}
}

/* Instagram
-----------------------------------------------------------*/
.instagram {
	padding: 100px 0 0;
	text-align: center;
}

.instagram h2 {
	position: relative;
	display: inline-block;
	margin-bottom: 25px;
	padding-left: calc(21px + 10px);
	font-size: 20px;
	transition-delay: .5s;
	transition-duration: .5s;
}

.instagram h2::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 21px;
	height: 100%;
	background: url(../images/index/icon_instagram.svg) center center no-repeat;
	background-size: contain;
}

.instagram ul {
	display: flex;
	flex-wrap: wrap;
}

.instagram ul li {
	position: relative;
	width: 20%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	transition-delay: 1s;
	transition-duration: .5s;
}

.instagram ul li::before {
	content: "";
	display: block;
	padding-top: 100%;
}

.instagram ul li a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.instagram ul li a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: all 1s;
	display: block;
}

@media(hover: hover) {
	.instagram ul li a:hover img {
		transform: scale(1.075);
		filter: grayscale(80%);
	}
}


/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
	/* First View
	-----------------------------------------------------------*/
	.fv .inner figure {
		width: calc(326 / 430 * 100%);
	}

	.fv a.scroll {
		font-size: 12px;
	}

	.fv a.scroll::before {
		top: -60px;
		height: 50px;
	}

	/* Instagram
	-----------------------------------------------------------*/
	.instagram {
		padding: 80px 0 0;
	}

	.instagram h2 {
		margin-bottom: 15px;
		padding-left: calc(16px + 5px);
		font-size: 16px;
	}

	.instagram h2::before {
		width: 16px;
	}

	.instagram ul li {
		width: 25%;
	}

}

/*  420px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:420px) {

	/* Instagram
	-----------------------------------------------------------*/
	.instagram ul li {
		width: 50%;
	}
}
