/* =========================
   共通リセット
========================= */
body {
  margin: 0;
  font-family: sans-serif;
  background: #f6f6f6;
  color: #333;
}

/* =========================
   ヘッダー
========================= */
#header {
  background: rgb(154, 150, 150);
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 36px;
}

.header-nav a {
  margin-left: 14px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.header-nav .nav-game {
  font-weight: bold;
  color: #222;
}

.header-nav a:hover {
  text-decoration: underline;
}

/* =========================
   メインコンテンツ
========================= */
.main {
  max-width: 700px;
  margin: 40px auto;
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.main h1 {
  margin-top: 0;
  font-size: 24px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

.main h2 {
  margin-top: 28px;
  font-size: 18px;
}

.main p {
  line-height: 1.7;
  font-size: 14px;
}

.main ul {
  padding-left: 20px;
  font-size: 14px;
}

.main li {
  margin-bottom: 6px;
}


/* ===== 起動時イントロ ===== */
#bootOverlay {
  position: absolute;   /* fixed → absolute */
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;          /* ロゴより上でOK */
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none; /* 操作邪魔しない */
}

#bootOverlay img {
  width: 220px;
  max-width: 70%;
}

/* フェードアウト */
#bootOverlay.fade-out {
  opacity: 0;
}

/* 完全非表示 */
#bootOverlay.hidden {
  display: none;
}
