h1 {
  font-size: 45px;
}

#stage-board {
    display: none;
    position: fixed;
    top: 3px;
    left: 2px;
    width: 100px;
    height: 40px;
    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: 28px;
    background-color: white;
    border: solid 1px black;
    display: block;
    text-align: center;
  }
  
  #restart-button {
    display: none;
    position: fixed;
    top: 9px;
    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: 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;
    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;
    }
  
  }