.form-group {
    margin-bottom: 16px;
    overflow: visible;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 999;
  display: none;   /* ← ここ重要 */
}

.modal.active {
  display: flex;
}


.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  min-width: 260px;
}


/* ===============================
   Mobile (max-width: 600px)
================================ */
@media (max-width: 600px) {

  .form-input {
    font-size: 16px;      /* iOSのズーム防止 */
    padding: 12px 10px;
  }

  .btn-submit {
    padding: 12px;
    font-size: 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-label {
    margin-bottom: 6px;
    display: block;
  }

}