.form__block {
  border-top: none;
  margin-bottom: 1.5rem;
}

.form__head,
.form__body {
  padding: 0.5rem .25rem;
}

.form__head {
  background: #f4e9da;
  font-size: 0.95rem;
  color: #333;
}

@media all and (min-width: 768px) {
  .form__row {
    display: flex;
    align-items: stretch;
  }

  .form__head,
  .form__body {
    padding: .5rem .75rem;
  }

  .form__head {
    width: 25%;
    min-width: 25%;
    border-bottom: 1px solid #fff;
  }

  .form__body {
    width: 75%;
    border-bottom: 1px solid #dcdcdc;
  }
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  margin-right: 0.25rem;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.badge.__required {
  background-color: red;
  color: white;
}

.badge.__optional {
  background-color: gray;
  color: white;
}

.invalid-feedback {
  font-size: 0.7rem;
  color: red;
}

/*-------------------------------------------------------*/
.form__button {
  background-color: #d3bf9a;
  color: #fff;
}

.form__button {
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border: none;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #6a5534;
  vertical-align: middle;
  white-space: nowrap;
  font-size: 0.85rem;
  transition: background-color 0.2s linear;
  font-family: "Noto Sans Japanese-l";
}

.form__button--sm {
  padding: .25rem .5rem;
  font-size: .75rem;
}

.form__button--lg {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.form__button:not(.__disabled):hover {
  transform: translateY(2px);
  border-bottom: none;
  margin-bottom: 2px;
  background-color: #b59f77;
}

.form__button.__disabled {
  background: #dcdcdc;
  color: #aaa;
  cursor: not-allowed;
  border-bottom-color: #aaa;
}


.vdp-datepicker__clear-button,
.vdp-datepicker__calendar-button {
  vertical-align: middle;
}

.vdp-datepicker__calendar-button *,
.vdp-datepicker__clear-button *,
.vdp-datepicker__calendar-input {
  vertical-align: baseline;
  cursor: pointer;
}

.vdp-datepicker__calendar-input::placeholder {
  color: #b8b8b8;
}

.vdp-datepicker__calendar-button i,
.vdp-datepicker__clear-button i {
  font-size: 1.25rem;
}

.vdp-datepicker__calendar-button i {
  color: #0d47a1;
}

.vdp-datepicker__clear-button i {
  color: orange;
}

.calendar-disabled .vdp-datepicker__calendar-button {
  cursor: not-allowed;
}

.calendar-disabled .vdp-datepicker__calendar-button i {
  color: gray;
}

.calendar-disabled .vdp-datepicker__calendar-input {
  display: none;
}

.vdp-datepicker__calendar-input {
  display: inline-block;
  outline: none;
  border: none;
  border-bottom: 1px solid #aaa;
  font-size: 0.875rem;
  min-width: 200px;
  padding: 0.125rem 0.5rem;
  margin: 0 0.5rem;
  vertical-align: baseline;
}

/* ▼追加分 --------------------------------------------------------------- */

/* user agent stylesheetリセット用 */
.form__body optgroup,
.form__body select,
.form__body input,
.form__body button,
.form__body textarea {
  font-family: inherit;
}

.checkbox-label {
  cursor: pointer;
}

.confirm {
  text-align: center;
  margin: 1rem 0 2rem;
}

.confirm p {
  margin-bottom: 1rem;
}

@media all and (min-width: 768px) {
  .form-control.form--half {
    width: 50%;
  }
}

.selected-item-fullname {
  display: inline-block;
}

fieldset {
  min-inline-size: unset;
}

.scrollable {
  overflow: auto;
  white-space: nowrap;
}

.scrollable {
  width: 100%;
}

.scrollable::-webkit-scrollbar {
  height: 5px;
}

.scrollable::-webkit-scrollbar-track {
  background: #F1F1F1;
}

.scrollable::-webkit-scrollbar-thumb {
  background: #BCBCBC;
}

.scrollable .count__table {
  margin-bottom: .5rem;
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
  -webkit-overflow-scrolling: touch;
}

.count__table thead th,
.count__table tbody td {
  vertical-align: middle;
  font-size: .75rem;
}

.count__table thead th {
  padding: .35rem .35rem;
  white-space: nowrap;
  font-weight: bold;
}

.count__table tbody td {
  padding: .2rem .35rem;
}

.count__table tr:not(:last-child),
.count__table tr:first-child {
  border-bottom: 1px solid #eee;
}

.count__table thead tr:first-child {
  background-color: #eee;
}

.count__table tbody tr td:first-child {
  padding-left: 0;
}

.count__table tbody tr:first-child td {
  padding-top: .45rem;
}


@media all and (min-width: 768px) {
  .count__table {
    width: 80%;
    margin-bottom: 0;
  }

  .count__table th,
  .count__table td {
    padding: .2rem .5rem;
    font-size: .75rem;
  }
}
