/* 画面全体を覆うオーバーレイ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 10000;
  
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* モーダル本体 */
.modal-content {
  background-color: #ffffff;
  border-radius: 16px;
  margin: auto 1em;
  padding: 16px 32px 48px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* テキスト・アイコンのデザイン */

.modal-content h2 {
  font-family: "WDXL Lubrifont JP N", sans-serif ;
  margin-top: 0.5em;
  margin-bottom: 1em;
  font-size: 3em;
  font-weight: 400;
  line-height: 0.8em;
}
.modal-content h2 img{
width: 1.8em;
}

.modal-content p {
  font-family: 'M PLUS 1p';
  color: #333;
  font-size: 1.001em;
  text-align: left;
    padding: 0 12px;
    margin-bottom: 1em;
    line-height: 1.8em;
    text-align: justify;
}

/* ボタンレイアウト */
.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-buttons button {
  flex: 1;
  padding: 0.5em 1em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'M PLUS 1p';
  font-size: 1.001em;
  font-weight: 800;
  margin-top: 1em;
    line-height: normal;
    text-align: center;
    text-decoration: underline;
}

/* 「はい」ボタン */
.btn-fill {
  background-color: #000;
  color: white;
  border: 1px solid #000;
}

.btn-fill:hover {
  background-color: #000;
}

/* 「いいえ」ボタン */
.btn-outline {
  background-color: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background-color: #f3f4f6;
}