@charset 'utf-8';


/*--------------------------------------------------------
form
--------------------------------------------------------*/
.contact_form_ttl h3 {
  color: var(--color1);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

.contact_form_ttl p {
  margin-top: 3rem;
  color: var(--color1);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

form {
  width: 90%;
  margin: 5rem auto 0;
}

form table {
  width: 100%;
  /* border-spacing: 20px 10px; */
}

form table tr {
  display: flex;
  align-items: center;
}

.ta1 th,
.ta1 td {
  display: block;
  padding: 1.5rem 0;
  font-size: 1rem;
  box-sizing: border-box;
}

.ta1 th {
  width: 30%;
  color: #132539;
}

.ta1 td {
  width: 70%;
}

input.name,
input.tel,
input.mail,
input.address {
  padding: 1rem 0;
  width: 100%;
  border: 2px solid #DCDCDC;
  border-radius: 5px;
}

textarea.wl {
  width: 100%;
  border: 2px solid #DCDCDC;
  border-radius: 5px;
}

.must {
  margin-left: 1rem;
  display:inline-block;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #FD4040;
}

form .c {
  margin-top: 2rem;
  text-align: center;
}

.submit,
.reset {
  display: inline-block;
  padding: 1.5rem 0;
  width: 200px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  transition: all .3s;
}

.submit:hover,
.reset:hover {
  opacity: .8;
}

.submit {
  margin-right: 50px;
  background: var(--color1);
}

.reset {
  background: var(--color3);
}

.finish {
  margin-top: 1rem;
}

.confirm_text,
.over_text {
  font-size: 1.15em;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05rem;
}

.over_text {
  width: fit-content;
  margin: 0 auto;
}

@media screen and (max-width: 850px) {
  form table tr {
    display: block;
  }

  .ta1 th,
  .ta1 td {
    padding: 0;
    width: 100%;
  }

  .ta1 tr:nth-of-type(n + 2) {
    margin-top: 2.5rem;
  }

  .ta1 td {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 580px) {
  form {
    width: 95%;
    margin: 3rem auto 0;
  }

  .contact_form_ttl p {
    font-size: min(4cqw, 1.25rem);
    text-align: start;
  }

  .ta1 tr:nth-of-type(n + 2) td {
    margin-top: 0.5rem;
  }

  input.name,
  input.tel,
  input.mail,
  input.address {
    font-size: 0.9rem;
  }

  textarea.wl {
    font-size: 0.9rem;
  }

  .submit {
    margin-right: 0;
  }

  .submit,
  .reset {
    display: block;
    margin: 0 auto;
    padding: 1.5rem 0;
    width: 80%;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    transition: all .3s;
  }
  .confirm_text {
    font-size: 1.5rem;
  }

  .over_text {
    font-size: min(3.5cqw, 1rem);
  }
}

/* tel */
@media (min-width: 751px) {
  a[href*="tel:"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  }
}


.confirm_title,
.finish_title {
  color: var(--color1);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}