/* フォントと全体ベース */
body {
  font-family: 'DotGothic16', 'Share Tech Mono', monospace;
  margin: 0;
  padding: 0;
  background-color: #f4f7fb;
  color: #2a2a2a;
  text-align: center;
}

/* ヒーローセクション */
.hero {
  position: relative;
  background: url('images/hero_background.png') center / cover no-repeat;
  text-align: center;
  padding: 8rem 1rem;
  color: #ffffff;
  z-index: 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35); /* ← ここで暗さを調整 */
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #00c4cc;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background-color: #009fa6;
}

/* セクション共通 */
.section {
  padding: 4rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* 特徴リスト */
.features {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  text-align: center;
}

.features li {
  margin: 0.5rem 0;
}

/* キャラクター紹介 */
.character-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.character-card {
  background: #e8faff;
  padding: 1rem;
  border: 1px solid #b3dfe8;
  box-shadow: inset 0 0 0 1px #d1f3f7;
  text-align: center;
  width: 160px;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.character-card img {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

/* フッター */
.footer {
  background-color: #00c4cc;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .character-card {
    width: 120px;
  }
}