@charset "utf-8";
@media screen and (max-width: 768px) {
  #confirmButton {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: block;
  }
}
@media screen and (max-width: 768px) {
  #confirmButton {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
#pdfContainer {
  position: relative;
  z-index: 1;
}

#confirmButton {
  position: fixed;
  z-index: 9999;
}
@media screen and (max-width: 768px) {
  #pdfModal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
  }

  #pdfModal iframe {
    height: 70vh; /* 画面の70%の高さに調整 */
  }

  #pdfModal button {
    font-size: 18px;
    padding: 10px 20px;
    margin-top: 10px;
    align-self: center;
  }
}
#pdfModal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto; /* ← これがポイント！ */
  padding-bottom: 80px; /* ボタン分の余白を確保 */
}

#pdfModal iframe {
  width: 100%;
  height: 80vh; /* 画面の80%の高さに調整 */
}

#pdfModal button {
  display: block;
  margin: 20px auto;
  font-size: 18px;
  padding: 10px 20px;
}
body {
  font-size: 20px; /* ← お好みで調整。通常は16pxが標準 */
}
