@charset "UTF-8";

.max-w-760px {
  max-width: 760px;
}

.form-wrapper {
  display: flex;
  flex-direction: column;     /* 縦並びにする */
  align-items: center;        /* 横方向（主に子の中央寄せ） */
  justify-content: center;    /* 縦方向（全体の中央寄せ） */
}

.form-inline {
  border: 0.25px solid black;
  padding: 0px 20px;
  width: 100%;
}

.contact_header {
  background-color: #e5eaff;
  margin-bottom: 30px;
  padding: 20px;
}

.contact-form__label {
  width: 50%;
  font-weight: 700;
}

.contact-form {
  font-size: 14px;
}

#contact_reason_select {
  font-weight: bold;
}

.form_item {
  margin: 20px 0px;
  display: flex;
  justify-content: left;
  align-items: center;
}

.contact_order_number .annotation {
  font-size: 12px;
}

.message {
  align-items: start;
}

.message .contact-form__label {
  padding-top: 0.75em;
}

.form-required {
  color: red;
  font-size: 0.75em;
  vertical-align: baseline;
}

.contact-form__radio {
  display: flex;
  flex-direction: column;
  gap: 0.75em; /* 選択肢間の余白 */
}

.contact-form__radio-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  line-height: 1.5;
}

.contact-form__radio-input {
  margin-right: 0.5em;
  margin-top: 0.2em;
}

.contact-form__textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #000;
  border-radius: 4px;
  resize: vertical;
  min-height: 120px;
}

.contact-form__input-field {
  padding: 10px 10px;
  width: 100%;
}

.contact-form__name-wrapper {
  display: flex;
  justify-content: space-between;
}

.contact-form__input-field-name {
  padding: 10px 20px;
  width: 49%;
}

.contact-form__value {
  width: 100%;
}

.contact-form__input-field[readonly], .contact-form__input-field-name[readonly] {
  border: none;
}

.contact-submit-wrapper {
  display: flex;
  justify-content: center;
}

.contact-submit {
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  font-size: 18px;
  border-radius:10px;
  border: solid;
  border: 1px solid;
  border-color: #FF7113;
  background-color: white;
  width: 50%;
  height: 40px;
  margin-bottom: 16px;
  margin-top: 10px;
  color: #FF7113;
  text-align: center;
  padding-top: 5px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contact-submit:hover
{
  color: #FFF !important;
  background: #FF8200 0% 0% no-repeat padding-box;
}

.error-message {
  color: red;
  display: block;
  margin-top: 5px;
  font-size: small;
}

.contact-form__radio-label:has(input:disabled) {
  color: #aaa; /* 薄いグレー */
}

@media (max-width: 765px){
  .form-wrapper{
    padding: 5px;
  }

  .form_item {
    display: grid;
    justify-content: normal;
  }

  .contact-form__label {
    width: 100%;
    margin-bottom: 10px;
  }

  .contact_overview .contact-form__label {
    width: 0%;
  }

  .contact-form__input-field-name {
    width: 49%;
  }

}