.file .error {
  margin-top: 0;
}

#form_submit_button[disabled] {
  opacity: 0.2;

  background-position: 100%;
  background-color: #3fa6f2;
  color: white;

  cursor: not-allowed;
}

.form-content [type=radio] + label::before,
.form-content [type=radio] + label {
  flex-shrink: 0;
}

/*飼い主選択部分注釈*/
.radio-block input[value="飼い主さま"] + label::after {
  white-space:pre-wrap;
  content: "※当センター未受診の動物の症状や治療に関するご相談は\A原則としてお受けしておりません";
  font-size: 0.7rem;
  line-height: 0.9rem;
  margin-left: 1.5rem;
  text-indent: -1em;
}
@media (maX-width:700px) {
  .radio-block input[value="飼い主さま"] + label {
    flex-wrap: wrap;
  }
  .radio-block input[value="飼い主さま"] + label::after {
    content: "※当センター未受診の動物の症状や治療に関するご相談は原則としてお受けしておりません";
    flex-basis: 100%;
    margin-left: 53px;
  }
}

/*注意文*/
.precaution {
  margin: auto;
  padding: 2rem;
  display: grid;
  max-width: 920px;
  grid-template-columns: 180px auto;
  grid-template-rows: auto auto auto auto;
  grid-column-gap: 0px;
  grid-row-gap: 1rem;
  background-color: rgba(183, 163, 139, 0.1);
  border-radius: 2rem;
  place-items: center stretch;
}
.precaution_01 {
  grid-area: 2 / 1 / 3 / 2; 
  padding: 0 2rem;
}
.precaution_02 {
  grid-area: 2 / 2 / 3 / 3;
  font-size: 16px;
}
.precaution_03 {
  grid-area: 3 / 1 / 5 / 3; 
  background-color: white;
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-size: 14px;
}
.precaution_04 {
  grid-area: 1 / 1 / 2 / 3; 
  text-align: center;
}
.precaution h2 {
  font-size: x-large;
  font-weight: bolder;
}
.precaution h3 {
  font-weight: bolder;
}
.precaution_03 p {
  margin-bottom: 1rem;
}
.precaution_03 p + h3 {
  margin-top: 1rem;
}
.precaution_03 p + ul,
.precaution_02 p {
  margin-bottom: 1rem;
}
@media (maX-width:700px) {
  .precaution {
  padding: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  grid-row-gap: 1rem;
  place-items: center;
  height: fit-content;}
  .precaution_01 {grid-area: 2 / 1 / 3 / 3; padding: 0;}
  .precaution_02 {grid-area: 3 / 1 / 4 / 3; font-size: 15px;}
  .precaution_03 {grid-area: 4 / 1 / 5 / 3; padding: 1rem; font-size: 13px;}
  .precaution_04 {grid-area: 1 / 1 / 2 / 3; text-align: left;}
  img.precaution_01 {height: 100px; width: auto;}
  .precaution h2 {font-size: 15px;}
}
@media (maX-width:815px) {
  .precaution_02 br {display: none;}
}
