@charset "utf-8";
/* CSS Document */
.c-form {
  max-width: 850px;
  margin-bottom: 500px;
  margin-top: 100px;
}
.c-form__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 20px;
}
.c-form__label, .c-form__input {
  padding: 10px;
}
.c-form__label {
  width: 90%;
  font-size: 14px;
}
.c-form__input {
  width: 90%;
  font-size: 14px;
  border: solid 1px #0C2359;
  border-radius: 4px;
}
.c-form__input:focus-visible {
  outline: #0C2359;
}
.c-form__required {
  color: #fff;
  background-color: #0C2359;
  border-radius: 4px;
  padding: 5px 5px;
  margin: 0 0 0 18px;
  font-size: 14px;
}
textarea.c-form__input {
  height: 160px;
}
.c-form__submit {
  text-align: center;
}
.c-form__submit button {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #0C2359;
  border: solid 1px #0C2359;
  border-radius: 4px;
  padding: 25px 50px;
  transition: 0.4s;
  cursor: pointer;
  letter-spacing: 1px;
}
.c-form__submit button:hover {
  color: #0C2359;
  background-color: transparent;
}
@media (min-width: 640px) {
  .c-form__item {
    flex-wrap: nowrap;
  }
  .c-form__label {
    width: 25%;
    font-size: 16px;
  }
  .c-form__input {
    width: 55%;
    font-size: 16px;
  }
  .c-form__required {
    font-size: 16px;
  }
  .c-form__submit button {
    font-size: 16px;
    margin-top: 50px;
  }
}
@media (max-width: 500px) {
  .c-form {
    margin-bottom: 300px;
    margin-top: 50px;
  }
}