h1 {
  font-size: 40px;
}

#stage-board {
  display: none;
  position: fixed;
  top: 5px;
  left: 2px;
  width: 100px;
  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;
  padding-top: 2px;
  font-size: 25px;
  background-color: white;
  border: solid 1px black;
  display: block;
  text-align: center;
}

#restart-button {
  display: none;
  position: fixed;
  top: 12px;
  left: 155px;
  width: 40px;
  height: 40px;
  font-size: 30px;
  font-weight: bold;
  padding: auto;
  color: white;
  background-color: rgb(235, 51, 91);
  border: 2px solid red;
  border-radius: 30%;
  justify-content: center;
}

#restart-button span {
  display: flex;
  margin-top: -10%;
}

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

#stage-selection {
  display: block;
  flex-direction: column;
  margin-top: 50px;
  width: 100vw;
  height: auto;
  font-size: 15px;
}

.stage-button {
  font-size: 20px;
  padding: 10px;
  margin: 15px;
  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;
  align-items: center;
  width: 90%;
  height: auto;
}

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

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

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

.back-button a {
  color: rgb(112, 202, 240);
  margin: 5px;
  font-size: 30px;
  text-decoration: none;
}

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

.home-button {
  display: flex;
  font-size: 15px;
  width: 50px;
  height: auto;
  justify-content: center;
}

.home-button a {
  color: purple;
  text-decoration: none;
}

@media (min-width: 768px) {

  canvas {
    margin-left: 300px;
  }

}