/* 起動画面 */
#splash {
  position: fixed; inset: 0; z-index: 100; background: #120F0D; overflow: hidden; cursor: pointer;
  transition: opacity .9s ease;
}
#splash.out { opacity: 0; pointer-events: none; }
#splash.fast { transition-duration: .35s; }
.sp-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.sp-scene.on { opacity: 1; }

/* 1. タイトル（表紙イラスト） */
.sp-art {
  position: absolute; left: 50%; bottom: 0; width: min(100%, 620px); height: auto; max-height: 100%; object-fit: contain; object-position: bottom;
  transform: translateX(-50%) scale(1.06); transform-origin: 50% 80%; transition: transform 4s ease-out;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 86%, transparent 100%);
}
.sp-title.on .sp-art { transform: translateX(-50%) scale(1); }
.sp-head { position: absolute; top: calc(14% + var(--safe-t)); left: 0; right: 0; text-align: center; }
.sp-en {
  font-family: var(--num); font-style: italic; font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: .02em;
  background: linear-gradient(100deg, #B9832E 0%, #F6C873 35%, #FFF1CC 50%, #E3A948 70%, #9E6E22 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.6));
  transform: translateY(8px); transition: transform 1.4s ease;
}
.sp-sub { margin-top: 14px; font-family: var(--serif); font-size: 13px; letter-spacing: .6em; padding-left: .6em; color: #C9B99F; transform: translateY(8px); transition: transform 1.4s ease .15s; }
.sp-title.on .sp-en, .sp-title.on .sp-sub { transform: none; }
.sp-orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: rgba(246,200,115,.6); font-size: 7px; }
.sp-orn::before, .sp-orn::after { content: ''; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, rgba(246,200,115,.55)); }
.sp-orn::after { transform: scaleX(-1); }

/* 2. STUDIO KOMA2YA */
.sp-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding-bottom: 4vh;
  background: radial-gradient(60% 40% at 50% 46%, rgba(227,169,72,.08), transparent 70%); }
.sp-mark { width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(246,200,115,.5), 0 0 0 6px rgba(18,15,13,1), 0 0 0 7px rgba(246,200,115,.25), 0 12px 40px rgba(0,0,0,.55);
  transform: scale(.96); transition: transform 1.6s ease; }
.sp-brand.on .sp-mark { transform: none; }
.sp-studio { margin-top: 30px; font-family: var(--num); font-weight: 600; font-size: 17px; letter-spacing: .42em; padding-left: .42em; color: #EDE2CE; }
.sp-presents { margin-top: 8px; font-family: var(--serif); font-size: 10.5px; letter-spacing: .5em; padding-left: .5em; color: #8E8172; }
.sp-copy { position: absolute; bottom: calc(48px + var(--safe-b)); left: 0; right: 0; text-align: center; font-family: var(--num); font-size: 11px; letter-spacing: .18em; color: #7A6E62; }

.sp-hint { position: absolute; bottom: calc(10px + var(--safe-b)); left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: .3em; color: rgba(163,150,138,.45); }

@media (prefers-reduced-motion: reduce) {
  #splash, .sp-scene { transition-duration: .3s !important; }
}
