/* === corporate/index.ejs 専用スタイル === */

html {
  scroll-behavior: smooth;
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Hero Background: Deeper Sky Gradient */
.bg-hero-flow {
  background: linear-gradient(
    to bottom,
    #93C5FD 0%,
    #BFDBFE 50%,
    #DBEAFE 100%
  );
  position: relative;
  overflow: hidden;
}

/* Grid Background for Story section */
.bg-grid-paper {
  background-color: #ffffff;
  background-image:
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
}
.bg-grid-paper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #F8FAFC);
}

/* === Animations === */
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.animate-cursor {
  animation: cursor-blink 1s step-end infinite;
}

@keyframes morph-spin {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg); }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(360deg); }
}
.animate-blob {
  animation: morph-spin 20s linear infinite;
}
.animate-blob-reverse {
  animation: morph-spin 25s linear infinite reverse;
}

@keyframes float-horizontal {
  0%, 100% { transform: translateX(0) scaleY(1); opacity: 0.5; }
  50% { transform: translateX(20px) scaleY(1.1); opacity: 0.8; }
}
.animate-float-h {
  animation: float-horizontal 10s ease-in-out infinite;
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-reveal {
  opacity: 0;
  animation: fadeUp 1.2s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-reveal-1 { animation-delay: 0.2s; }
.hero-reveal-2 { animation-delay: 0.6s; }
.hero-reveal-3 { animation-delay: 1s; }

/* Utils */
::-webkit-scrollbar {
  width: 8px;
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.tracking-tight-custom {
  letter-spacing: -0.05em;
}
.font-mono {
  font-family: "JetBrains Mono", monospace;
}
.font-code {
  font-family: "Fira Code", monospace;
}
.font-serif-jp {
  font-family: "Shippori Mincho", serif;
}

/* Text Gradients based on Google Colors */
.text-gradient-primary {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #4285F4, #34A853);
}
