/* トップのメイン画像 (旧 Flash: images/introduction.swf を HTML/CSS で再現)
   ロゴ → 店舗外観 → 店内 → 作業台 → 指輪 の順に一度だけ流れて、指輪で止まる */
.intro {
	position: relative;
	width: 770px;
	height: 276px;
	overflow: hidden;
	background: #f9f2f6;
}
.intro > div,
.intro img {
	position: absolute;
	display: block;
}
.intro > div {
	inset: 0;
	opacity: 0;
	animation: 18s linear forwards;
}
.intro .band {
	position: absolute;
	left: 0;
	width: 770px;
	height: 36px;
	background: linear-gradient(to right, rgba(60, 60, 60, .25), rgba(30, 30, 30, .45) 30%, rgba(30, 30, 30, .45));
}
.intro .cap,
.intro .band {
	opacity: 0;
	animation: 18s linear forwards;
}

/* ロゴ */
.intro .logo { animation-name: intro-logo; }
.intro .logo img { left: 285px; top: 100px; width: 200px; height: 68px; }
@keyframes intro-logo {
	0% { opacity: 0; } 4% { opacity: 1; } 14% { opacity: 1; } 18% { opacity: 0; } 100% { opacity: 0; }
}

/* 店舗外観 + あなただけの */
.intro .shop { animation-name: intro-shop; }
.intro .shop .photo { left: -40px; top: -20px; width: 892px; height: 577px; animation: intro-shop-pan 18s linear forwards; }
.intro .shop .band { top: 182px; animation-name: intro-shop-cap; }
.intro .shop .cap { left: 500px; top: 183px; width: 162px; height: 34px; animation-name: intro-shop-cap; }
@keyframes intro-shop {
	0% { opacity: 0; } 16% { opacity: 0; } 21% { opacity: 1; } 44% { opacity: 1; } 49% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes intro-shop-pan {
	0% { transform: translateY(0); } 16% { transform: translateY(0); } 49% { transform: translateY(-80px); } 100% { transform: translateY(-80px); }
}
@keyframes intro-shop-cap {
	0% { opacity: 0; } 25% { opacity: 0; } 31% { opacity: 1; } 100% { opacity: 1; }
}

/* 店内 + 世界に2つとない */
.intro .showcase { animation-name: intro-showcase; }
.intro .showcase .photo { left: -45px; top: -10px; width: 840px; height: 563px; animation: intro-showcase-pan 18s linear forwards; }
.intro .showcase .band { top: 73px; animation-name: intro-showcase-cap; }
.intro .showcase .cap { left: 85px; top: 73px; width: 205px; height: 34px; animation-name: intro-showcase-cap; }
@keyframes intro-showcase {
	0% { opacity: 0; } 44% { opacity: 0; } 49% { opacity: 1; } 63% { opacity: 1; } 67% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes intro-showcase-pan {
	0% { transform: translateX(0); } 44% { transform: translateX(0); } 67% { transform: translateX(-25px); } 100% { transform: translateX(-25px); }
}
@keyframes intro-showcase-cap {
	0% { opacity: 0; } 49% { opacity: 0; } 53% { opacity: 1; } 100% { opacity: 1; }
}

/* 作業台 + フルハンドメイドジュエリーをお届け。 */
.intro .workbench { animation-name: intro-workbench; }
.intro .workbench .photo { left: -31px; top: -30px; width: 832px; height: 557px; animation: intro-workbench-pan 18s linear forwards; }
.intro .workbench .band { top: 157px; animation-name: intro-workbench-cap; }
.intro .workbench .cap { left: 335px; top: 157px; width: 421px; height: 34px; animation-name: intro-workbench-cap; }
@keyframes intro-workbench {
	0% { opacity: 0; } 63% { opacity: 0; } 67% { opacity: 1; } 87% { opacity: 1; } 92% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes intro-workbench-pan {
	0% { transform: translateY(0); } 63% { transform: translateY(0); } 92% { transform: translateY(-40px); } 100% { transform: translateY(-40px); }
}
@keyframes intro-workbench-cap {
	0% { opacity: 0; } 69% { opacity: 0; } 73% { opacity: 1; } 100% { opacity: 1; }
}

/* 指輪 + produced by (最後はこの絵で止まる) */
.intro .ring { animation-name: intro-ring; }
.intro .ring .photo { left: 0; top: 0; width: 770px; height: 276px; }
.intro .ring .cap { left: 427px; top: 104px; width: 339px; height: 62px; animation-name: intro-ring-cap; }
@keyframes intro-ring {
	0% { opacity: 0; } 86% { opacity: 0; } 92% { opacity: 1; } 100% { opacity: 1; }
}
@keyframes intro-ring-cap {
	0% { opacity: 0; } 93% { opacity: 0; } 99% { opacity: 1; } 100% { opacity: 1; }
}

/* 動きを減らす設定の人には最後の絵だけを出す */
@media (prefers-reduced-motion: reduce) {
	.intro > div, .intro .cap, .intro .band, .intro .photo { animation: none !important; }
	.intro > div { opacity: 0; }
	.intro .ring, .intro .ring .cap { opacity: 1; }
}
