


/* 全体設定 */
body {
  background-color: #000;
  color: #fff;
  /* font-family:"Yu Gothic", sans-serif;*/
  font-family: 'DotGothic16', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

#game-container {
  width: 90%;
  max-width: 600px;
  text-align: center;
  background: #000;
  padding: 20px;
}

#title-image {
  width: 80%;        /* ←好きな大きさにできる */
  max-width: 800px;  /* ←上限も設定可 */
  height: auto;
  margin: 0 auto 20px;
  display: block;
}



/* テキスト */
#content p {
  font-size: 18px;
  line-height: 1.6;
  white-space: nowrap;

  /* ★ これを追加して本文もドット化！ */
  font-family: 'DotGothic16', sans-serif;
}


.choice a {
  display: inline-block;
  font-family: 'DotGothic16', sans-serif;
  background-color: #fff;
  color: #000;
  padding: 18px 40px;
  margin: 24px 12px;           /* ← 上下を広げて、左右は少し控えめに */
  border: 4px solid #000;
  text-decoration: none;
  border-radius: 0;
  font-size: 22px;
  letter-spacing: 1.5px;
  image-rendering: pixelated;
  box-shadow:
    3px 3px 0 #000,
    -3px 3px 0 #000,
    3px -3px 0 #000,
    -3px -3px 0 #000;
  transition: all 0.1s ease;
}

/* ホバー時（白黒反転） */
.choice a:hover {
  background-color: #000;
  color: #fff;
  box-shadow:
    3px 3px 0 #fff,
    -3px 3px 0 #fff,
    3px -3px 0 #fff,
    -3px -3px 0 #fff;
}

button:hover {
  background: #333;
}

@media (max-width: 600px) {
  /* 追加：スマホではゲーム画面を「スクロールできる箱」にする */
  #game-container {
    max-height: 100vh;      /* 画面の高さまでで打ち止め */
    overflow-y: auto;       /* 中身を縦スクロール */
    box-sizing: border-box; /* padding込で計算 */
  }

  /* テキストはすでに小さめ＆折り返しOKになってる */
  #content p {
    font-size: clamp(10px, 4vw, 12px);
    margin: 0 16px 12px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* ボタンもスマホ用に小さめ */
  .choice a {
    font-size: clamp(10px, 3.5vw, 16px);
    padding: 8px 12px;
    border-radius: 8px;
  }
}
