/* MST Corporate Site - Static styles (Tailwind CDN と併用) */

body {
  background-color: #ffffff;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: #e60012;
  color: #ffffff;
}

.text-balance {
  text-wrap: balance;
}

/* Hero × 記号：ベースラインより少し下 */
.hero-times {
  display: inline-block;
  position: relative;
  top: 0.12em;
}

@media (min-width: 768px) {
  .hero-times {
    top: 0.18em;
  }
}

/* 複数行見出しの行間 */
.heading-loose {
  line-height: 1.25;
}

@media (min-width: 768px) {
  .heading-loose {
    line-height: 1.3;
  }
}

.message-lead {
  line-height: 1.55;
}

@media (min-width: 768px) {
  .message-lead {
    line-height: 1.65;
  }
}

/* Fade-in (motion/react の代替) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--fade-delay, 0s);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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