/* ================================================================
   ANIMATION — Bottomセクション（麻の葉パターン）
   ================================================================ */
.economic-animation {
  position: relative;
  height: 100vh;
  padding: 0;
  background: linear-gradient(135deg, #f8f4e6 0%, #e8dfd0 50%, #f0e6d8 100%);
  overflow: hidden;
}
.animation-container {
  position: relative;
  width: 100%;
  height: 100%;
}
#economicCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  width: 90%; /* スマホ対策 */
}
.dynamic-title {
  font-family: 'Courier New', monospace;
  font-size: clamp(32px, 7vw, 86px); /* サイズ微調整 */
  font-weight: 300;
  color: #8b7355;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  text-shadow: 2px 2px 0px rgba(139, 115, 85, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.highlight {
  color: #c8a96e;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8a96e, transparent);
  animation: glow 2s ease-in-out infinite;
}
.dynamic-subtitle {
  font-family: 'Courier New', monospace;
  font-size: clamp(14px, 2.2vw, 20px);
  color: rgba(139, 115, 85, 0.7);
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}