#stage-board {
  display: none;
  position: fixed;
  top: 5px;
  left: 2px;
  width: 150px;
  height: 45px;
  margin: 5px;
  background-color: pink;
  border: solid 1px black;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
}

#stage {
  display: flex;
  width: 90%;
  height: 80%;
  margin: 5px;
  font-size: 20px;
  background-color: white;
  border: solid 1px black;
  display: block;
  text-align: center;
  z-index: 10;
}

/* Canvasの設定 */
canvas {
  display: none;
  margin: 0 auto;
}

#stage-selection {
  display: flex;
  flex-direction: column;
  margin-top: 70px;
  width: 100vw;
  height: auto;
}

.stage-button {
  font-size: 30px;
  padding: 10px;
  margin: 20px;
  cursor: pointer;
}

.clear-modal {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.clear-modal-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  font-size: 35px;
  padding: 10px;
  border-radius: 10px;
  width: 90%;
  height: auto;
}

.clear-modal-content p {
  font-size: 45px;
  margin-top: 30px;
}

#clear-comment {
  font-size: 30px;
}

.gameover-modal {
  display: none;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gameover-modal-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  font-size: 35px;
  padding: 10px;
  border-radius: 10px;
  width: 90%;
  height: auto;
}

.gameover-modal-content p {
  font-size: 50px;
}

#retry-button {
  display: flex;
  width: 200px;
  height: auto;
  font-size: 40px;
  font-weight: bold;
  color: violet;
  margin: 10px auto;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.back-button {
  display: flex;
  width: 220px;
  height: auto;
  text-align: center;
  margin: 20px auto;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 4px gray;
}

.back-button a {
  color: blue;
  font-size: 30px;
  text-decoration: none;
}

#nextstage-button {
  font-size: 35px;
  font-weight: bold;
  width: 250px;
  height: 60px;
  margin: 10px auto;
  color: violet;
  border: solid 2px palevioletred;
  box-shadow: 0px 2px 4px hotpink;
}
