@charset "UTF-8";

@media screen and (min-width: 769px) {
	body{
		background: #fff;
	}
}

/*header
--------------------------------------------------*/
.index__header{
	position: relative;
}

.index__logo{
	position: absolute;
	top: 26px;
	left: 40px;
	line-height: 0;
	width: 273px;
}

.index__logo img{
	width: 100%;
}

@media screen and (max-width: 768px) {
	.index__logo{
		top: 24px;
		left: 16px;
		width: 169px;
	}
}

/*main area
--------------------------------------------------*/
.index{
	margin-bottom: 168px;
	padding-top: 210px;
}

.index__heading{
	line-height: 0;
	text-align: center;
	margin-bottom: 32px;
}

.index__heading__txt{
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	color: #333;
	text-align: center;
	margin-bottom: 47px;
}

.index__list{
	width: 500px;
	margin: 0 auto;
}

.index__item{
	height: 84px;
	margin-bottom: 20px;
}

.index__item a{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	background: #E86276;
	border-radius: 42px;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.14;
	color: #fff;
	text-align: center;
}

@media screen and (min-width: 769px) {
	.index__item a:hover{
		opacity: .6;
	}
}

@media screen and (max-width: 768px) {
	.index{
		margin-bottom: 36px;
		position: relative;
		padding-top: 65.2%;
	}

	.index__container{
		padding: 0 16px;
	}

	.index::after{
		display: block;
		content: '';
		width: 100%;
		height: 0;
		padding-top: 95.2%;
		margin: 0 auto;
	}

	.index__container{
		width: auto;
	}

	.index__heading{
		margin-bottom: 27px;
	}

	.index__heading img{
		width: 100%;
	}

	.index__heading__txt{
		font-size: 14px;
		line-height: 1;
		margin-bottom: 32px;
	}

	.index__list{
		width: 100%;
		margin-bottom: 52px;
	}

	.index__item{
		height: 60px;
		margin-bottom: 12px;
	}

	.index__item:nth-child(1){
		height: 72px;
	}

	.index__item a{
			font-size: 16px;
			line-height: 2;
	}
}

/*背景の写真（ふわっと出て、ゆっくり浮き沈みする）
--------------------------------------------------*/
.index{
	position: relative;
}

.index__container{
	position: relative;
	z-index: 1;
}

.index__photos{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 940px;
	overflow: hidden;
	pointer-events: none;
}

.index__photos__inner{
	position: absolute;
	top: 0;
	left: 50%;
	width: 1600px;
	height: 100%;
	margin-left: -800px;
}

.index__photo{
	position: absolute;
	line-height: 0;
	animation: indexPhotoIn 1.6s cubic-bezier(.22, 1, .36, 1) both;
}

.index__photo img{
	width: 100%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
	animation: indexPhotoFloat 7s ease-in-out infinite;
}

/* 位置・大きさ（デザインの1600px幅に合わせた座標） */
.index__photo--01{ top: -237px; left: 1061px; width: 684px; }
.index__photo--02{ top: 104px; left: 64px; width: 264px; }
.index__photo--03{ top: 492px; left: -24px; width: 372px; }
.index__photo--04{ top: 688px; left: 214px; width: 318px; }
.index__photo--05{ top: 352px; left: 1252px; width: 372px; }
.index__photo--06{ top: 640px; left: 1070px; width: 318px; }
.index__photo--07{ top: 712px; left: 1360px; width: 264px; }

/* 出てくる順番（左右交互にばらして出す） */
.index__photo--01{ animation-delay: .1s; }
.index__photo--07{ animation-delay: .3s; }
.index__photo--04{ animation-delay: .45s; }
.index__photo--02{ animation-delay: .6s; }
.index__photo--05{ animation-delay: .75s; }
.index__photo--03{ animation-delay: .9s; }
.index__photo--06{ animation-delay: 1.05s; }

/* 浮き沈みの周期を1枚ずつずらす */
.index__photo--01 img{ box-shadow: none; animation-duration: 10s; animation-delay: -3s; }
.index__photo--02 img{ animation-duration: 6.5s; animation-delay: -1s; }
.index__photo--03 img{ animation-duration: 8s; animation-delay: -5s; }
.index__photo--04 img{ animation-duration: 7s; animation-delay: -2.5s; }
.index__photo--05 img{ animation-duration: 7.5s; animation-delay: -4s; }
.index__photo--06 img{ animation-duration: 6s; animation-delay: -3.5s; }
.index__photo--07 img{ animation-duration: 8.5s; animation-delay: -6s; }

@keyframes indexPhotoIn{
	from{
		opacity: 0;
		transform: translateY(40px) scale(.94);
	}
	to{
		opacity: 1;
		transform: none;
	}
}

@keyframes indexPhotoFloat{
	0%, 100%{ transform: translateY(0); }
	50%{ transform: translateY(-12px); }
}

@keyframes indexPhotoFloatSp{
	0%, 100%{ transform: translateY(0); }
	50%{ transform: translateY(-6px); }
}

@media screen and (max-width: 768px) {
	.index__photos{
		height: auto;
		bottom: 0;
	}

	.index__photos__inner{
		left: 0;
		width: 100%;
		margin-left: 0;
	}

	.index__photo img{
		box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
		animation-name: indexPhotoFloatSp;
	}

	.index__photo--01 img{
		box-shadow: none;
	}

	/* 上：ロゴの右と左（幅375pxのデザイン基準） */
	.index__photo--01{ top: -17.333vw; left: 44%; width: 72.96%; }
	.index__photo--02{ top: 17.6vw; left: 4.267%; width: 31.6%; }

	/* 下：ボタンの下のまとまり（下端からの位置） */
	.index__photo--03,
	.index__photo--04,
	.index__photo--05,
	.index__photo--06,
	.index__photo--07{
		top: auto;
	}
	.index__photo--05{ bottom: 65.2vw; left: 6.133%; width: 41.6%; }
	.index__photo--03{ bottom: 61.2vw; left: 54.133%; width: 39.733%; }
	.index__photo--04{ bottom: 36.533vw; left: 9.867%; width: 34.8%; }
	.index__photo--07{ bottom: 29.333vw; left: 48.8%; width: 39.467%; }
	.index__photo--06{ bottom: 4.533vw; left: 31.2%; width: 34.8%; }
}

/* 動きを減らす設定の端末では止める */
@media (prefers-reduced-motion: reduce) {
	.index__photo,
	.index__photo img{
		animation: none;
	}
}
