html, body {
  touch-action: none;  /* タッチ操作のズームを完全に無効化 */
  overscroll-behavior: none; /* スクロールのバウンド効果も無効化（任意） */
}
/* ページ全体のスクロールを防ぐ */
/* モーダルが開いた時にスクロールを完全に防ぐ */
html.modal-open, body.modal-open {
  overflow: hidden;
  height: 100vh;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .overlay.active {
    display: block;
  }
  .modal {
    touch-action: manipulation;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70%;
    transform: translate(-50%, -50%);
    color: white;
    /* background-color: black; */
    background-color: rgba(0, 0, 0, 0.65); /* 黒の半透明背景 */
    border: 4px solid white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* text-align: left; */
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
  }
  .modal.active {
    display: block;
  }
  .button {
    touch-action: manipulation;
    position: fixed;
    bottom: -35px;
    right: 10px;
    margin-top: 10px;
    padding: 15px 30px;
    border: solid 4px white;
    border-radius: 4px;
    /* background-color: black; */
    background-color: #0077ff;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
  }
  .button:hover {
    touch-action: manipulation;
    /* background-color: #0077ff; */
  }







  /*===============================
パソコン画面用
=================================*/
@media print, screen and (min-width: 820px) {
  .modal {
    width: 33%;
    font-size: 3rem!important;
  }
}