@charset "utf-8";

/* general
-------------------------------------------------------------- */
.contact #sv h1,
.complete #sv h1 {
  color: var(--color-green);
  text-align: left;
}

.entry #sv h1,
.page-id-3680 #sv h1 {
  color: var(--color-white);
  text-align: left;
  text-shadow: 0 0 16px #ff6600;
}

.contact #sv h1 .jp,
.entry #sv h1 .jp,
.complete #sv h1 .jp {
  font-size: 4rem;
  font-weight: 300;
}


@media (max-width: 767px) {
  .contact #sv h1 .jp,
  .entry #sv h1 .jp,
  .complete #sv h1 .jp {
    font-size: 1.9rem;
  }
}

/* contact
-------------------------------------------------------------- */
#contact {
  padding: 80px 0 96px;
}

#contact .txt {
  font-size: 1.6rem;
  line-height: 1.7;
}

#contact table {
  margin-bottom: 80px;
  width: 100%;
  font-size: 1.9rem;
}

#contact tbody {
  border-top: 1px solid var(--color-lightgray);

}

#contact tbody::before,
#contact tbody::after {
  display: block;
  height: 16px;
  content: "";
}

#contact th {
  position: relative;
  padding: 16px 16px 16px 56px;
  width: 25%;
  color: var(--color-lightgreen);
  text-align: left;
  font-weight: 500;
}

#contact th em {
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  padding: 4px 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

#contact td {
  padding: 16px 0;
  width: 75%;
}

::placeholder {
  color: #bcbec0;
}

#contact input[type="text"],
#contact input[type="number"],
#contact input[type="email"],
#contact input[type="tel"] {
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-lightgray);
}

#contact input[type="date"] {
  padding: 5px 10px;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid var(--color-lightgray);
  margin-right: 20px;
}

#contact select {
  padding: 5px 10px;
  width: 100%;
  max-width: 240px;
  color: #231f20;
  box-sizing: border-box;
  border: 1px solid var(--color-lightgray);
}

#contact textarea {
  padding: 5px 10px;
  border-radius: 4px;
  width: 100%;
  height: 240px;
  box-sizing: border-box;
  border: 1px solid var(--color-lightgray);
}

#contact input[type="file"] {
  width: 100%;
}

#contact input[type="text"]:focus,
#contact input[type="number"]:focus,
#contact input[type="email"]:focus,
#contact input[type="tel"]:focus,
#contact input[type="date"]:focus,
#contact textarea:focus,
#contact select:focus {
  border: 1px solid var(--color-lightgreen);
  outline: none;
}


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

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

input[type="checkbox"] {
  display: none;
}

.wpcf7-list-item-label {
  display: block;
  position: relative;
  height: 46px;
  line-height: 46px;
  padding-left: 70px;
  font-weight: 500;
}

.wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 1px solid var(--color-lightgray);
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
}

input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--color-lightgreen);
  position: absolute;
  left: 0;
  top: 0;
}

#contact .btn {
  position: relative;
  margin: auto;
  max-width: 464px;
  transition: all 0.5s ease-in-out;
}

#contact .btn input {
  display: inline-block;
  padding: 28px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 60px;
  border: 0;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: .1em;
  line-height: 1;
  transition: all 0.5s ease-in-out;
}

.entry #contact .btn input {
  background: linear-gradient(90deg, #DDBB00 0%, #FF7700 100%);
  transition: all 0.5s ease-in-out;
}

#contact .btn::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18%;
  width: 13px;
  height: 13px;
  margin: auto;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
  transition: all 0.5s ease-in-out;
  content: "";
}


#contact .btn::after {
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(to right, #0A7E77, #006699);
  opacity: 0;
  transition: opacity 0.6s ease;
  content: "";
  z-index: -1;
}

.entry #contact .btn::after {
  background: linear-gradient(to right, #FF7700, #FF0046);
}


#contact .btn:hover,
#contact .btn:hover input {
  background: transparent;
}


#contact .btn:hover::after {
  opacity: 1;
}

#contact .btn:hover::before {
  right: 16%;
}

#contact .file .wpcf7-form-control-wrap {
  display: inline-block;
  padding-bottom: 10px;
}

#contact .txt-note {
  font-size: 1.3rem;
}

#contact .txt-red {
  color: var(--color-red);
}

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

@media (max-width: 1400px) {
  #contact th {
    width: 35%;
  }

  #contact td {
    width: 65%;
  }
}

@media (max-width: 767px) {
  #contact {
    padding: 30px 0 100px;
  }

  #contact .txt {
    font-size: 1.4rem;
  }

  #contact table {
    margin-bottom: 20px;
  }

  #contact th,
  #contact td {
    font-size: 1.4rem;
    width: 100% !important;
    display: list-item;
  }

  #contact th {
    padding: 0 0 0 60px;
  }

  #contact th em {
    top: calc(50% - 10px);
    font-size: 1.2rem;
  }

  #contact td {
    padding: 15px 0 20px;
  }

  .wpcf7-list-item-label {
    height: 30px;
    line-height: 30px;
    padding-left: 40px;
  }

  .wpcf7-list-item-label::before {
    width: 30px;
    height: 30px;
  }

  input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
    width: 30px;
    height: 30px;
  }

  #contact .btn input {
    padding: 20px;
    font-size: 1.8rem;
  }

  #contact .btn::before {
    margin-left: 15px;
    width: 10px;
    height: 10px;
  }

  #contact .txt-note {
    font-size: 1.3rem;
  }
}

/* complete
-------------------------------------------------------------- */
#complete {
  padding: 100px 0 120px;
}

#complete h2 {
  padding-bottom: 30px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
}

#complete p {
  font-weight: 500;
  line-height: 2;
}

@media (max-width: 767px) {
  #complete {
    padding: 50px 0 60px;
  }

  #complete h2 {
    font-size: 2rem;
  }

}