.form {
  width: 100%;
}

.form-item:first-child{
	margin-bottom:10px;
}

.form-name{
	display:flex;
	flex-wrap:wrap;
	gap:5rem;
}

.form-name .form-box{
	width:calc(100% / 2 - 2.5rem);
	margin:0;
}

.form-box{
	margin-top:3rem;
}

.wpcf7 {
  text-align: center;
}

.wpcf7-form {
  margin: 0 auto;
  text-align: left;
  display: inline-block;
  border-radius: 25px;
  width: 100%;
}

.wpcf7-form tr {
  vertical-align: text-top;
}

.haveto {
    color: var(--main-r);
    background: #BE0033;
    font-size: 1.4rem;
    display: inline-block;
    line-height: 1;
    padding: 5px;
    margin-left: 2rem;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output,
.wpcf7-spinner {
  display: none !important;
}

.formError.inline {
  display: block !important;
}

.formErrorContent {
  color: var(--main-r);
  margin-bottom: 2rem;
	font-size:1.4rem;
}

#form__center_area .formErrorContent {
  margin-top: 20px;
}

#form__center_area label {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#form__center_area .wpcf7-list-item label {
  margin-bottom: 3rem;
}

#form__center_area {
  margin-top: 1rem;
}

#form__center_area label #privacypolicy {
  order: 1;
}

#form__center_area label .wpcf7-list-item-label {
order: 2;
    margin-left: 8px;
}

#form__center_area label .privacypolicyformError {
  order: 3;
  display: block;
  width: 100%;
  text-align: center;
}

#form__privacypolicy {
  border-bottom: 1px solid #707070;
}

.contact-item a {
  transition: all .3;
}

.contact-item a:hover {
  opacity: .6;
}

.item-data {
  margin-bottom: 1rem;
  display: block;
}

.contact-item a:last-child {
  margin-bottom: 0;
}

.contact-item a img {
  height: initial;
  object-fit: initial;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  width: 20px;
}

#contact_form {
  margin-top: 15rem;
}

#form_comp_inner,
#form_comp_inner p {
  text-align: center;
}

#form_comp_item {
  margin-bottom: 3rem;
}

#page__contact #page_header img {
object-position: left;
}

.wpcf7-list-item {
    margin: 0!important;
}

@media screen and (max-width:1200px) {}

@media screen and (max-width:960px) {
  #contact_first {
    gap: 5rem;
  }

  .contact-item {
    width: calc(100% / 2 - 2.5rem);
  }

  .contact-item a:hover {
    opacity: 1;
  }
}

@media screen and (max-width:767px) {
.form-name{
display: block;
}

.form-name .form-box:last-child{
	margin-top:3rem;
}

.haveto {
    font-size: 12px;
    margin-left: 10px;
}

.form-name .form-box{
	width:100%;
	}

  .formError .formErrorContent {
    font-size: 12px !important;
  }

  .formError .formErrorContent {
    min-width: initial !important;
  }

  #submit_btn,
  #form__center_area {
    margin-top: 3rem;
  }

  #page__contact-us #header_r .r-btn {
    opacity: 0;
    pointer-events: none;
  }

  #form_comp_inner p {
    text-align: left;
  }

#form__center_area label {
    align-items: flex-start;
}
}