/* Sequential float-up, shared by the home and education hero titles. */
.hero-card.hero-rotating .hero-title-line,
.education-hero-copy .hero-title-intro-line{
  animation:keio-hero-title-float-up 1.4s cubic-bezier(.16,1,.3,1) both;
  animation-delay:.2s;
}
.education-hero-copy .hero-title-intro-line{display:inline-block;max-width:100%}
.hero-card.hero-rotating .hero-title-line:nth-of-type(2),
.education-hero-copy .hero-title-intro-line:nth-of-type(2){animation-delay:1.7s}
@keyframes keio-hero-title-float-up{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .hero-card.hero-rotating .hero-title-line,
  .education-hero-copy .hero-title-intro-line{animation:none;opacity:1;transform:none}
}
