  /* ヘッダー直後の余白スペーサー */
  .header-spacer {
    height: 120px;
  }

html, body {
  min-height: 100vh;    /* 100% ではなく 100vh を推奨 */
  font-family: 'Zen Kaku Gothic New', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;     /* 縦方向のスクロールを有効に */
}
body {
  /*margin: 0;*/
  padding: 0 1rem;
}
 .cta-section a {
  display: inline-block;
  background-color: #111;
  color: #fff;
  font-size: 1.2rem;
  padding: 1.2rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}


.cta-section a:hover {
  background-color: #000;
  transform: translateY(-6px);
}

/* ハンバーガーメニュー ------------------------------------------------ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px; 
  cursor: pointer;
}
.hamburger:focus {
  outline: 2px solid var(--brand-primary);  /* ← 追加：キーボード時の可視化 */
  outline-offset: 2px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-main);
}
/* タップハイライトを無色に */
.hamburger,
.hamburger span,
.nav-menu ul li a {
  -webkit-tap-highlight-color: transparent;
}

/* フォーカス時の背景色もクリアに */
.hamburger:focus,
.hamburger span:focus,
.nav-menu ul li a:focus {
  background-color: transparent;
  outline: none;
}
.fade-in, .fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  line-height: 2.5rem;
}
.fade-in.visible, .fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
  text-align: center;
}



@media (max-width: 768px) {
body { 
    padding: 0 0.75rem; 
}
.hamburger {
    display: flex;
  }
.hero {
    height: 70vh;
  }
.stat-label {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
 body { padding: 0 0.5rem; }

 .cta-section a {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
.stat-label {
    font-size: 0.85rem;
  }
}
  @media (max-width: 768px) {
    .header-spacer {
      height: 100px;
    }
    .about-section, .stats-section, .cta-section {
    padding: 4rem 1rem;
  }
  }
  @media (max-width: 480px) {
    .header-spacer {
      height: 80px;
    }
    .about-section, .stats-section, .cta-section {
    padding: 3rem 1rem;
  }
  }
