/* 1) bodyのflex/100vh/overflowをやめる */
html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", "Yu Gothic", sans-serif;
  scroll-behavior: smooth;
}

/* 2) ヒーロー(.container)だけを1画面に */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;          /* ▼のabsolute基準 */
  text-align: center;

  /* 背景はここにだけ */
  background: linear-gradient(160deg, #0d2f36 0%, #19b7b4 100%);
  color: #fff;
  padding: 48px 16px;
}

/* 3) 既存要素 */
.logo {
  font-size: 4rem;
  letter-spacing: 0.15em;
  color: #b3f2f7;
  animation: fadeIn 3s ease-in-out;
}
.tagline {
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #ffffffb3;
  text-align: center;
  animation: fadeIn 4s ease-in-out;
}

/* ▼スクロール誘導 */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #b3f2f7;
  text-align: center;
  text-decoration: none;
  opacity: 0.8;
  animation: float 2.4s infinite ease-in-out;
  transition: opacity 0.3s ease, transform 0.3s ease; /* ←s抜け修正 */
}
.scroll-indicator span {
  display: block;
  font-size: 0.8rem;
  margin-top: 6px;
  letter-spacing: 0.1em;
  color: #8fd8dd;
}
.scroll-indicator:hover {      /* ←スペース削除（擬似クラスの正しい書式） */
  opacity: 1;
  transform: translate(-50%, 4px); /* ←translateのスペル修正 */
}

/* 下のセクション（#home）は別トーンにして被り回避 */
.intro-section {
  min-height: 100vh;
  background: linear-gradient(to bottom, #0d1c1f 0%, #142f35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eaf8fa;
  padding: 60px 20px;
}
.intro-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #b3f2f7;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.intro-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #d7eaea;
  max-width: 700px;
  margin: 0 auto;
}

/* フッターは通常フローでOK（絶対配置をやめる） */
footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.1em;
  padding: 24px 16px;
}

/* アニメーション */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* モバイル微調整 */
@media (max-width: 768px) {
  .scroll-indicator { bottom: 100px; }
  .logo { font-size: 3.2rem; }
}