/* Homepage hero override v2 — cache-busted stylesheet. */

/* Hide any legacy baked-in hero artwork. */
section.relative.min-h-screen.flex.items-center.overflow-hidden > div.absolute.inset-0 > img {
  display: none !important;
}

/* Remove any small English strapline such as HUMAN-CENTERED AI. */
section.relative.min-h-screen.flex.items-center.overflow-hidden .container h1 ~ p:first-of-type,
section.relative.min-h-screen.flex.items-center.overflow-hidden .container > div > p:first-child {
  display: none !important;
}

/* Replace whatever headline an older bundle renders with the requested copy. */
section.relative.min-h-screen.flex.items-center.overflow-hidden .container h1 {
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

section.relative.min-h-screen.flex.items-center.overflow-hidden .container h1::before {
  content: "AI技術で\A 日本の産業を支える。" !important;
  display: block !important;
  white-space: pre-line !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: clamp(3rem, 5vw, 4.7rem) !important;
  font-weight: 400 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.03em !important;
  color: #1c1c1c !important;
}

/* Keep the first view clean when the legacy hero background image is removed. */
section.relative.min-h-screen.flex.items-center.overflow-hidden > div.absolute.inset-0 {
  background-color: #fafaf8 !important;
  background-image:
    linear-gradient(rgba(37,99,235,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 40%, rgba(37,99,235,0.10), transparent 30%),
    radial-gradient(circle at 74% 38%, rgba(56,189,248,0.11), transparent 25%),
    radial-gradient(circle at 88% 72%, rgba(124,58,237,0.09), transparent 28%) !important;
  background-size: 64px 64px, 64px 64px, auto, auto, auto !important;
}
