body {
  margin: 0;
  font-family: "Yu Gothic", "Helvetica Neue", sans-serif;
  background-color: #111;
  color: #ddd;
  line-height: 1.8;
}

/* ヒーロービジュアル */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.alpha-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 204, 0, 0.85);
  color: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
}

/* main全体 */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 2.5rem;
}

section {
  max-width: 100%;      /* 画面幅を超えないように */
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left; /* デフォルト左寄せ */
  overflow-x: hidden;   /* 横にはみ出した要素を隠す保険 */
}

section.centered {
  text-align: center;
}
section.centered p {
  max-width: none; /* 中央寄せの短文は制限不要 */
}
section p {
  max-width: 100%;  /* ← 700px制限を解除 */
  margin-top: 0;
}

/* 見出し */
h2 {
  font-size: 1.6rem;
  color: #66ccff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}


/* ボタン */
.start-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #222;
  border: 2px solid #ffcc00;
  border-radius: 8px;
  color: #ffcc00;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.start-button:hover {
  background: #ffcc00;
  color: #111;
}

/* 更新履歴 */
.updates {
  list-style: none;
  padding: 0;
}
.updates li {
  margin: 0.6rem 0;
}
.updates span {
  color: #ffcc00;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* フッター */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #888;
}

/* スマホ対応 */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }
  section {
    padding: 1rem;
  }
  .start-button {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
  }
}
a {
  color: #ffcc00; /* ゴールドに統一 */
  text-decoration: underline;
}
a:hover {
  color: #fff176; /* ホバーで少し明るく */
}
.game-overview {
  display: flex;
  align-items: flex-start;   /* 上揃え */
  align-items: center;
  justify-content: flex-start; /* ← これに変更 */
  gap: 0;
}
.overview-text p {
  flex: 1;
  margin: 0 0 1rem 0;   /* 下だけ余白、横はゼロ */
}
.overview-image img {
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin-left: 1rem;
}

.battle-system {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.battle-image {
  flex: 0 0 45%;          /* 画像を40%に固定 */
}

.battle-image img {
  width: 100%;            /* コンテナいっぱいに収める */
  height: auto;
  border: 2px solid #444; /* 枠つけてもいい感じ */
  border-radius: 8px;
}

.battle-text {
  flex: 1;                /* 残りスペースをテキスト */
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .battle-system {
    flex-direction: column;
  }
  .battle-image {
    flex: 1;
  }
  .game-overview {
    flex-direction: column;
    text-align: center;
  }
  .overview-image img {
    max-width: 80%;
  }
}
