form {
  width: 70rem;
  margin: 7.6rem auto;
  background-color: white;
  border: 1px solid #d3e2e5;
  border-radius: 2rem;
  overflow: hidden;
  padding: 8rem;
}

fieldset {
  border: 0;
}

fieldset + fieldset {
  margin-top: 8rem;
}

fieldset legend {
  width: 100%;
  font-size: 3.2rem;
  line-height: 1.5;
  color: #5c8599;
  font-weight: 700;

  border-bottom: 1px solid #d3e2e5;
  margin-bottom: 4rem;
  padding: 2.4rem;
}

.input-block + .input-block {
  margin-top: 2.4rem;
}

.input-block label {
  color: #8fa7b3;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.input-block label span {
  font-size: 1.4rem;
  color: #8fa7b3;
  margin-left: 2.4rem;
  line-height: 1.5;
}

.input-block input,
.input-block textarea {
  width: 100%;
  background-color: #f5f8fa;
  border: 1px solid #d3e2e5;
  border-radius: 2rem;
  color: #5c8599;
}

.input-block input {
  height: 6.4rem;
  padding: 0 1.6rem;
}

.input-block input:valid, .input-block textarea:valid {
  border: 1px solid #a1e9c5;
}

.input-block textarea {
  height: clamp(12rem 16rem 24rem);
  resize: vertical;
  padding: 1.6rem;
  line-height: 2.8rem;
}

.input-block.images button {
  background: #f5f8fa;
  border: 1px dashed #96d2f0;
  border-radius: 2rem;
  width: 100%;
  padding: 1.6rem;
  margin-top: 2.4rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.new-upload {
  position: relative;
}

.new-upload span {
  position: absolute;
  right: 17px;
  bottom: 12px;
  background: #ffffff;
  border: 1px solid #d3e2e5;
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  cursor: pointer;
}
