*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #0b0d12;
  color: #e8eaef;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo",
    "Segoe UI", sans-serif;
  overflow: hidden;
  /* タッチ中のページ移動・ズームを無効化 */
  touch-action: none;
  -ms-touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/*
 * 企画書「720px × 480px のアスペクト比」を守り、
 * Phaser 3 の Scale.FIT がブラウザいっぱいに拡大 (縦横比維持) する
 * ための親コンテナ。
 */
#game {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#game canvas {
  display: block;
  margin: 0 auto;
  image-rendering: auto;
  touch-action: none;
}
