.claim {
  padding-bottom: 64px;
}

.claim .procedure__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem;
  column-gap: 2rem;
  align-items: end;
  margin-bottom: 32px;
}

.claim .procedure__heading {
  grid-column: 1;
}

.claim .procedure__sections-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.claim__section {
  display: block;
}

.claim .procedure__footer {
  display: block;
}

.claim .procedure__description {
  grid-column: 1;
  max-width: none;
}

.claim__lead-main,
.claim__lead-caution {
  display: block;
}

.claim .procedure__staff {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  text-align: center;
  transform: translateY(32px);
}

.claim .procedure__staff img {
  width: 7.5rem;
  max-width: 100%;
}

.claim .procedure__note {
  display: block;
  margin-top: 12px;
}

.claim .procedure__select-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.claim .procedure__select-item {
  margin-bottom: 0;
}

.claim .procedure__select-item label {
  min-height: 72px;
  height: auto;
}

.claim .procedure__input-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid #e1d6d2;
  border-radius: 10px;
  padding: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
}

.claim .procedure__input-field textarea:focus,
.claim .procedure__input-field input:focus,
.claim .procedure__input-field select:focus {
  border-color: #f75e28;
  outline: none;
}

.claim .building-name-section {
  display: block;
}

.claim .building-name-section.is-disabled .building-input-wrap {
  opacity: 0.45;
}

.claim .building-name-section.is-disabled .js-building-name-input {
  background: #f5f5f5;
}

.claim__notes {
  margin-bottom: 26px;
}

.claim .procedure__submit {
  box-sizing: border-box;
  max-width: 100%;
}

.claim-confirm .form-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  border-bottom: 1px solid #eadfdc;
  padding: 18px 0;
}

.claim-confirm .form-group label {
  color: #373737;
  font-weight: 700;
}

.claim-confirm .form-control {
  word-break: break-word;
}

.claim-complete .procedure__footer,
.claim-error .procedure__footer {
  margin-top: 28px;
}

.claim-complete .procedure__header,
.claim-error .procedure__header {
  display: block;
}

.claim-complete .procedure__description,
.claim-error .procedure__description {
  max-width: none;
}

.claim-complete .procedure__footer,
.claim-error .procedure__footer {
  text-align: left;
}

.claim-complete .procedure__back,
.claim-error .procedure__back {
  display: inline-block;
  margin-top: 0;
  color: #696969;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  .claim .procedure__header {
    display: block;
    width: 90%;
    margin-bottom: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .claim .procedure__staff {
    margin: -80px 0 0;
    text-align: right;
    transform: none;
  }

  .claim .procedure__staff img {
    width: 100px;
  }

  .claim__lead-caution {
    max-width: calc(100% - 120px);
  }

  .claim .procedure__note {
    max-width: calc(100% - 110px);
  }
}

@media screen and (max-width: 420px) {
  .claim__lead-caution {
    max-width: calc(100% - 104px);
  }

  .claim .procedure__staff img {
    width: 92px;
  }
}

@media screen and (max-width: 640px) {
  .claim .procedure__select-list {
    grid-template-columns: 1fr;
  }

  .claim-confirm .form-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media screen and (max-width: 360px) {
  .claim .procedure__date-field {
    gap: 6px;
  }

  .claim .procedure__date-field select {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 16px;
  }

  .claim .procedure__date-field select[name="birth_year"] {
    width: 4.8em;
  }

  .claim .procedure__date-field select[name="birth_month"],
  .claim .procedure__date-field select[name="birth_day"] {
    width: 3.6em;
  }
}
