.contact__inner {
  width: 95%;
  max-width: 1000px;
}

.contactPhone {
  padding: 0;
  text-align: center;
}

.contactPhone__number {
  margin-top: 3rem;
}

.contactPhone__number a {
  font-family: "Montserrat", sans-serif;
  font-size: 5rem;
  font-weight: 700;
}

.contactPhone__meta {
  margin-top: 1rem;
}

.contactPhone__text {
  font-size: 1.5rem;
  line-height: 1.5;
}

.contactForm__lead {
  margin-top: 3rem;
  font-size: 1.15rem;
  font-weight: 300;
  text-align: center;
  line-height: 2;
}

.contactForm__leadText:last-child {
  margin-top: 2rem;
}

@media screen and (max-width: 580px) {
  .contactPhone__number a {
    font-size: 10cqw;
    font-weight: 700;
  }

  .contactPhone__text {
    font-size: 1rem;
    line-height: 1.25;
  }

  .contactForm__lead {
    font-size: 4cqw;
    text-align: left;
    line-height: 1.5;
  }

  .contactForm__leadText:last-child {
    margin-top: 1.5rem;
  }

}

/*--------------------------------------------------------
form
--------------------------------------------------------*/
.table-res-form {
  width: 100%;
  margin: 5rem auto 0;
}

.table-res-form tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5%;
  margin-top: 3rem;
}

.table-res-form th {
  width: 25%;
  color: #0A2C86;
  text-align: right;
  font-size: min(1.3cqw, 1rem);
}

.table-res-form th p br {
  display: none;
}

.table-res-form td {
  width: 75%;
}

/*「必須」部分のスタイリング*/
.table-res-form .requied {
  display:inline-block;
  margin-left: 0.5rem;
  border-radius: 5px;
  font-size: min(1cqw, 0.9rem);
  color: #FD4040;
}

.table-res-form input[type="text"], input[type="email"], textarea {
    border: 2px #0A2C86 solid;
    padding: 1rem;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.table-res-form textarea {
  height: 200px;
}

/*入力欄にフォーカスしたら変化*/
.table-res-form input[type="text"]:focus, 
input[type="email"]:focus, textarea:focus {
    background: #eeeeff;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}

form > p {
  text-align: center;
}

.submit {
  display: inline-block;
  padding: 1.5rem 0;
  margin-top: 5rem;
  width: 200px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  background: #000044;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  transition: all .3s;
}

.submit:hover {
  opacity: 0.8;
}

.wpcf7-spinner {
    display: none !important;
}

@media only screen and (max-width: 768px) {
  .table-res-form {
    width: 95%;
  }

  .table-res-form tr {
    display: block;
  }

  .table-res-form tr:first-child {
    margin-top: 0;
  }
  
  .table-res-form th, .table-res-form td {
      width: 100%;
      display: block;
  }
  
  .table-res-form th {
      padding-bottom: 0;
      font-size: 3cqw;
      text-align: left;
  }

  .table-res-form span.requied {
    font-size: 2cqw;
  }

  .table-res-form .empty {
      display: none;
  }

  input,
  textarea {
    margin-top: 0.5rem;
  }
}
