/* 機能アニメーション */

.features-hero {
  min-height: 510px;
  display: grid;
  align-items: center;
}

.features-hero::before {
  content: "";
  position: absolute;
  right: -8vw;
  top: -15vw;
  width: min(46vw, 600px);
  aspect-ratio: 1;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  box-shadow: 0 0 0 36px #ffffff0a, 0 0 0 74px #ffffff08;
  animation: feature-orbit 14s ease-in-out infinite alternate;
}

.features-hero > .container {
  display: block;
}

.feature-visual {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.feature-detail:hover .feature-visual {
  transform: translateY(-8px) rotate(-.4deg);
  box-shadow: 0 24px 45px #16416d25;
}

.site-card {
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s;
}

.site-card:hover {
  transform: translateY(-7px);
  background: #ffffff18;
}

@keyframes feature-orbit {
  from {
    transform: translate3d(-2%, -3%, 0) scale(.94);
  }

  to {
    transform: translate3d(4%, 5%, 0) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
