.p_form {
  width: 100%;
  box-sizing: border-box;
}

.p_form * {
  box-sizing: border-box;
}
.p_form h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  padding: 20px 0;
  background-color: #462a11;
  color: #fff;
}
.p_form form {
  width: 100%;
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  box-sizing: border-box;
}
.p_form input,
.p_form textarea {
  width: 100%;
}
.p_form input,
.p_form select,
.p_form textarea {
  font-size: 20px;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  line-height: 1.5;
}
.p_form button {
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  text-align: center;
  letter-spacing: 0.2em;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 40px;
  background-color: #462a11;
  color: #fff;
  transition-property: opacity;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  font-family:
    'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'ＭＳ Ｐ明朝', 'MS PMincho';
}
.p_form_row {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.date-selection-group {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.date-selection-group fieldset {
  display: flex;
  -moz-column-gap: 2em;
  column-gap: 2em;
}
.date-selection-group fieldset legend {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 0.5em;
}
.date-selection-group fieldset select {
  width: -moz-fit-content;
  width: fit-content;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
.p_form_label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  -moz-column-gap: 1em;
  column-gap: 1em;
}
.p_form_label em {
  padding: 0.25em 0.5em;
  background-color: #f7c063;
  color: #462a11;
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .p_form {
    form {
      width: 100%;
      padding: 50px 0px 0px;
    }
  }
}
