/* このページのみに適用するCSS記述 */
.text .group p:not(:last-of-type) {
  margin-bottom: 0;
}

.caution {
  margin: 40px 0 20px;
}

.caution,
.form-item span {
  color: #cd4847;
}

.form-input,
.form-confirm {
  border: 1px solid #fa0;
  border-top: none;
  border-left: none;
}

.form-item {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.item-name {
  font-weight: bold;
}

.item-name,
.item-input,
.box-area,
.textarea-style {
  border: 1px solid #fa0;
  border-right: none;
  border-bottom: none;
  padding: 15px;
}

.item-input input,
.item-input select,
.item-input textarea {
  background-color: #e6e6e6;
  border: initial;
  line-height: initial;
  padding: 10px;
  width: 100%;
}

.textarea-style {
  word-wrap: break-word;
  white-space: pre-line;
}

.agreement-area {
  margin-top: 30px;
  text-align: center;
}

.form-button {
  margin: 30px 0;
  text-align: center;
}

input[type="checkbox"] {
  inline-size: 15px;
  block-size: 15px;
}

.checked-item input {
  width: inherit;
}

@media screen and (min-width: 768px) {
  .item-name {
    display: table-cell;
    vertical-align: middle;
    width: 40%;
  }
  .item-input {
    display: table-cell;
    width: 60%;
  }
  .item-input select {
    border-color: #dcdcdc;
  }
  .item-input input,
  .item-input select,
  .item-input textarea {
    padding: 1vw;
  }
  .multiple {
    display: table-cell;
    width: 60%;
  }
  .multiple .group .item-name,
  .multiple .group .item-input {
    display: block;
    width: 100%;
  }
  .form-button {
    margin: 50px 0 30px;
  }

}
