/* tap.css */

/* ページのメイン余白を調整（左右のパディングを除去して厳密センターに） */
.tap-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center; /* 子要素を中央寄せ */
}

/* ゲーム画面のコンテナ */
.music-game-container {
    position: relative;
    width: 360px;
    height: 400px;
    margin: 1rem auto; /* 念のため */
    background: #fff; /* ノーツが見やすいように白背景 */
    overflow: hidden;
  }
  
  /* レーンターゲットゾーン (例: 下部に赤線) */
  /* 必要に応じてJSで生成する例もあり */
  .lane-target {
    position: absolute;
    bottom: 40px;
    height: 20px;
    border-top: 2px dashed red;
    border-bottom: 2px dashed red;
    background: rgba(255, 0, 0, 0.1);
  }
  
  /* ノーツの見た目 */
  .note {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
  }
  
  /* スコア・コンボ・タイマー表示パネル */
#info-panel {
    width: 390px;
    margin: 1rem auto; /* 念のため */
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
  }
#score-display,
#combo-display,
#timer-display {
  width: 100px;
  padding: 2px;
  background: #ddd;
  color: #000;
  border-radius: 2px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}
  #score-display {
    width: 140px;
  }
  
  /* タッチパネル (レーンごとのボタン) */
#touch-panel {
    width: 390px;
    margin: 0 auto 1rem; /* 念のため */
    display: flex;
    justify-content: space-around;
  }
  .touch-btn {
    flex: 1;
    height: 30px;
    margin: 0 3px;
    background: #ccc;
    border: none;
    font-size: 10px;
    cursor: pointer;
    border-radius: 3px;
  }
  .touch-btn:active {
    background: #999;
  }
  
