.contact-form {
  display: block;
  width: 100%;
  position: relative;
  max-width: 552px;
  margin: 32px auto 0;
}

.contact input,
.contact textarea,
.contact select {
  font-size: 16px;
}
.contact_privacy .title {
  margin-bottom: 11.5vw;
}

.contact_form {
  padding-top: 0;
}

.contact .section_title h3:last-of-type {
  display: none;
}

.contact .section_title h3 {
  line-height: 1.8;
}

.contact_content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 54px;
}

.contact_wrapper {
  margin-top: 43px;
}

.contact_section_wrapper {
  padding: 100px 0;
}

.contact_section {
  padding-bottom: 100px;
}

.contact_content img {
  position: relative;
  width: 36px;
  margin-right: 5px;
  top: -5px;
}

img.order_content__icon {
  position: absolute;
  left: 50px;
  top: 18px;
  width: 20px;
}

.contact_form {
  color: #000;
}

input[type="tel"] > a {
  color: #3b4043;
}

.contact__form {
  padding-top: 62px;
  padding-bottom: 104px;
}
.contact__item {
  position: relative;
  padding-bottom: 28px;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.contact__item--address {
  padding-bottom: 20px;
}

.contact_form > .contact__item {
  padding-bottom: 0px;
}
.contact_form > .contact__item:last-of-type {
  padding-bottom: 0;
}

.contact__label {
  display: block;
  padding-bottom: 10px;
  font-weight: 700;
  color: #3d3d3d;
}
.contact__required {
  background-color: #ca3c38;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact_optional {
  background-color: #3d3d3d;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0px 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact_optional--file {
  background: #888a86;
}

.contact__name {
  display: flex;
  gap: 20px;
  max-width: 660px;
  width: 100%;
  position: relative;
}

.contact__item:first-of-type .contact__name input {
  margin-right: 0;
}

.contact__input {
  border: 1px solid #707070;
  padding: 8px 16px;
  height: 40px;
  width: 100%;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.contact__medium-input {
  width: 320px;
  max-width: 100%;
  display: block;
  position: relative;
  margin-bottom: 20px;
}
.contact__small-input {
  max-width: 235px;
  display: block;
  position: relative;
}

.contact__small-input02 {
  max-width: none;
}
.contact__small-input03 {
  margin-bottom: 0;
}
.contact__small2-input {
  max-width: 132px;
}
.contact__textarea {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 200px;
  width: 100%;
  background-color: #f8f8f8;
}
.contact__select {
  background-image: url(../images/common/select-arrow.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px 9px;
  border: 1px solid #707070;
  border-radius: 4px;
  width: 235px;
  position: relative;
}

.contact__accept {
  display: inline-block;
  padding-left: 10px;
  font-weight: 700;
  margin-top: 20px;
}
.contact__button-box {
  padding-top: 20px;
  text-align: center;
}

.submit_button {
  display: block;
  width: 100%;
  max-width: 320px;
  color: white;
  height: 60px;
  text-align: center;
  line-height: 60px;
  background-color: #3f9a0b;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 700;
  border-radius: 30px;
  transition: opacity 0.2s;
}

.submit_button:hover {
  opacity: 0.8;
}

.contact__btn-pt {
  padding-top: 10px;
  text-align: center;
}

::placeholder {
  font-weight: 700;
  color: #c7c7c7;
}

.is-empty {
  color: #c7c7c7;
}

select {
  color: rgb(201, 201, 201);

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

:disabled {
  color: #3b4043;
  background-color: #ffffff;
  border: 1px solid #707070;
}

.common__btn__wrap {
  width: 320px;
  height: 60px;
  background-color: #191919;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  line-height: calc(18 / 14);
  text-align: center;
  margin-top: 40px;
}

.common__btn__wrap a {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  font-weight: bold;
}

.contact__radio-container {
  display: flex;
  flex-direction: column;
}

.contact__radio-label input[type="radio"] {
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
  border: 0.5px solid black;
  border-radius: 50%;
  outline: none;
  margin-right: 10px;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.contact__radio-label {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.contact__radio-text {
  margin-left: 10px;
}

.contact__item__sign {
  margin-top: 10px;
}

.contact__section_wrapper {
  padding-bottom: 100px;
}

.contact__information {
  text-align: center;
}

.contact__information p {
  line-height: 1.5;
}

.contact__confirm {
  position: relative;
  padding: 150px 10px 250px 10px;
}

.form-container {
  background-color: white;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.fileattached {
  display: flex;
  gap: 10px;
  position: relative;
  margin-top: 12px;
}

@media (min-width: 600px) {
  .fileattached {
    align-items: center;
  }
}

.fileattached label {
  display: inline-block;
  width: min(150px, max(120px, calc(150px + 50vw - 188px)));
  height: 40px;
  border-radius: 4px;
  background-color: #3f9a0b;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 !important;
  transition: opacity 0.2s;
}

.fileattached label:hover {
  opacity: 0.8;
}

.label-inner {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.form-container input[type="file"] {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
  background-color: #fff !important;
  color: var(--primary-text);
  border-radius: 0px;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0;
  font-weight: 400;
}

.fileattached input[type="file"] {
  display: none !important;
}

.mwform-file-delete {
  cursor: pointer;
  visibility: hidden;
}

.fileattached label .mwform-file-delete {
  display: none;
}

.fileattached__status {
  word-break: break-word;
  overflow-wrap: break-word;
  width: calc(100% - min(210px, calc(210px + 50vw - 188px)));
  display: inline-block;
}

.fileattached__status {
  font-size: 11px;
}

.fileattached__delete {
  position: absolute;
  right: 0;
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: white;
  text-align: center;
  border-radius: 4px;
  background-color: #3f9a0b;
  display: none;
  cursor: pointer;
}

.file-text {
  font-size: 16px;
  line-height: 24px;
  color: #3d3d3d;
}

.form-group--policy {
  display: flex;
  border-bottom: none;
  align-items: center;
  position: relative;
  margin-bottom: 0 !important;
  margin-top: 2px;
  padding-left: 10px;
}

.form-group--policy span {
  color: #3d3d3d;
  font-weight: 700;
}

.contact__checkbox {
  font-weight: 700;
}

.contact input[type="checkbox"] {
  position: relative;
  margin: 3px 5px 0 0;
  height: 20px;
  width: 20px;
  border: 1px solid #707070;
}

.contact__checkbox-label {
  font-size: 12px;
  font-weight: 700;
}

.mw_wp_form .error {
  position: absolute;
  bottom: -16px;
  left: 0;
  font-size: 12px !important;
  color: #b70000;
  display: block;
}

.privacy-error {
  position: absolute;
  bottom: -16px;
}

.privacy-error .error {
  position: relative;
  left: auto;
  bottom: auto;
  white-space: nowrap;
  font-weight: 400;
}

.mw-wp-form_file {
  display: none !important;
}

button[value="back"] {
  margin-top: 30px;
}

.mw_wp_form_complete {
  margin: 40px auto 0;
  text-align: center;
  line-height: 2;
}

@media (min-width: 768px) {
  .contact {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .contact-form {
    margin: 80px auto 0;
  }
}
