/* モーダルの背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* display: flex; */
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
}

/* モーダルの内容 */
.modal-content {
  position: relative;
  background-color: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

button.openform{
  width: 300px !important;
}
/* 閉じるボタン */
.close {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  z-index: 10;
  font-size: 16px;
  cursor: pointer;
  background: none;
  color: #fff;
  border: none;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
}

.input-group {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  position: relative;
}
.form-row {
  margin-bottom: 10px;
}
.form-row label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.input-group input[type="text"],
.input-group input[type="email"] {
  width: 95%;
  padding: 8px;
  box-sizing: border-box;
}
#addButton {
  margin-top: 10px;
  padding: 10px 15px;
}
.removeButton {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}
