/* 控えめな動き。本文と写真は、スクリプトが使えない場合も常に表示します。 */
@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: hero-photo 1.35s ease-out both;
  }

  .hero-content > * {
    animation: hero-copy 0.85s ease-out both;
  }

  .hero-content > *:nth-child(2) { animation-delay: 0.10s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.20s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.30s; }

  .motion-waiting {
    opacity: 0;
    transform: translateY(14px);
  }

  .motion-ready {
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  }

  .button span,
  .header-cta span {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .button:hover span,
  .button:focus-visible span,
  .header-cta:hover span,
  .header-cta:focus-visible span {
    transform: translateX(4px);
  }

  @keyframes hero-photo {
    from { opacity: 0.75; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes hero-copy {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-waiting { opacity: 1; transform: none; }
  .motion-ready { transition: none; }
}
