@charset "utf-8";
/* レイアウト */
form {
  width: 70%;
  margin: 0 auto;
}
p {
  text-align: center;
}
.form-row {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 20px;
  border-bottom: 1px solid #f2f4f5;
}
.form-row:last-child {
  border-bottom: none;
}
.form-label {
  display: flex;
  align-items: center;
  width: 250px;
}
.form-label label {
  font-weight: bold;
}
.form-label span {
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: darkorange;
}
form {
  width: 100%;
}

/* フォームパーツのデザイン */
input, textarea {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 14px;
}
select {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
}
button {
  cursor: pointer;
  margin: 30px auto;
  padding: 15px 45px;
  border: none;
  border-radius: 30px;
  color: #333;
  font-size: 20px;
  font-weight: bold;
  background-color: #f2af00;
  width: 300px;
  height: 70px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border:2px solid #F2D022;
  border-radius: 4px;
  }

@media screen and (min-width:886px) {
input, textarea {
  width: 70%;
}
form {
  width: 80%;
}
.form-row {
  flex-direction: row;
}


}