@charset 'use strict';

/*---------------------------------------------------
mv
---------------------------------------------------*/
.page_mv::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: url('../img/contact.webp');
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: darken;
}

.page_title {
  position: absolute;
  top: 50%;
  left: 150px;
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .page_title {
    top: 40%;
    left: 30px;
    transform: translateY(-50%);
  }
}

/*-----------------------------------------------
contact
-----------------------------------------------*/
.top_text {
  display: block;
  margin-top: 5rem;
  line-height: 2;
}

.contact_tel {
  width: fit-content;
  margin: 8rem auto 0;
  padding: 2rem 6rem;
  background: #fff;
  border: 1px solid var(--color1);
  text-align: center;
}

.contact_tel .tel {
  margin-top: 2rem;
}

.contact_tel .tel a {
  position: relative;
  display: block;
  margin-left: 50px;
  font-size: 4rem;
}

.contact_tel .tel a::before {
  content: '';
  position: absolute;
  top: 17px;
  left: -60px;
  background: url('../img/tel2.webp');
  background-size: cover;
  width: 50px;
  height: 50px;
}

.contact_tel .tel p {
  margin-top: 1rem;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
}

/* .form {
  margin-top: 2.5rem;
  width: 100%;
  text-align: center;
} */

@media screen and (max-width: 768px) {
  .contact_tel {
    width: 100%;
    margin: 5rem auto 0;
    padding: 2rem 0;
  }

  .contact_tel>.section_title {
    font-size: 1.5rem;
  }

  .contact_tel .tel a {
    width: fit-content;
    margin-left: 100px;
    font-size: 2rem;
  }

  .contact_tel .tel a::before {
    top: 3px;
    left: -45px;
    width: 35px;
    height: 35px;
  }

  .contact_tel .tel p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
  }
}

/*-----------------------------------------------
form
-----------------------------------------------*/
form {
  width: 80%;
  margin: 2rem auto 0;
}

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

.ta1 tr {
  display: block;
  margin-top: 2rem;
}

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

.ta1 th {
  width: 100%;
  color: #08647B;
}

.ta1 td {
  width: 100%;
  margin-top: 0.5rem;
}

.ta1 tr:nth-of-type(2) td {
  display: flex;
  align-items: center;
}

.ta1 tr:nth-of-type(2) td label {
  margin-right: 2rem;
  font-weight: 700;
}

.ta1 tr:nth-of-type(2) td input {
  margin-top: -0.2rem;
  margin-right: 0.5rem;
  line-height: 2;
}

input.item_text {
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--color1);
  border-radius: 5px;
  background: #fff;
  font-weight: 500;
  box-sizing: border-box;
}

textarea.wl {
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--color1);
  border-radius: 5px;
  background: #fff;
  font-weight: 500;
  box-sizing: border-box;
}

.must {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 0.9rem;
  color: red;
}

form .c {
  position: relative;
  margin-top: 4rem;
  text-align: center;
}

form .c .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(120px, -50%);
}

.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: #696969;
}

.finish {
  margin-top: 1rem;
}

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

@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;
  }

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

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

  input.item_text {
    padding: 1rem 0.5rem;
  }

  textarea.wl {
    padding: 1rem 0.5rem;
  }

  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;
  }
}