@charset "utf-8";

/* general
-------------------------------------------------------------- */
.contact #cv,
.thanks #cv {
  display: none;
}

/* contact
-------------------------------------------------------------- */
#contact {
  padding: 50px 0 120px;
}

#contact .container {
  max-width: 672px;
}

#contact table {
  width: 100%;
}

#contact th {
  padding: 20px 0;
  width: 30%;
  text-align: left;
  font-weight: 700;
}

#contact th.cat {
  vertical-align: top;
}
#contact th em {
  font-style: normal;
  vertical-align: top;
}

#contact td {
  padding: 20px 0;
  width: 70%;
}

#contact td .txt-note {
  color: var(--color-blue);
  font-size: 1rem;
}

#contact .message th {
  display: block;
  padding: 10px 0;
  width: 100%;
  text-align: left;
  font-weight: 700;
}

#contact .message td {
  display: block;
  padding: 0;
  width: 100%;
}

::placeholder {
  color: #bcbec0;
}

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

#contact input[type="date"] {
  padding: 5px 10px;
  border-radius: 2px;
  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: 2px;
  width: 100%;
  height: 280px;
  box-sizing: border-box;
  border: 1px solid var(--color-lightgray);
}

.wpcf7-list-item {
  display: block;
  margin: 0 0 20px !important;
  line-height: 1;
  width: 100%;
}

.wpcf7-list-item+.wpcf7-list-item {
  margin-top: 8px;
}

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

.wpcf7-list-item-label {
  position: relative;
  height: 30px;
  line-height: 30px;
  padding-left: 40px;
  display: inline-block;
  font-size: 1.6rem;
}

.wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  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: 12px;
  height: 6px;
  border-top: 3px solid var(--color-lightblack);
  border-right: 3px solid var(--color-lightblack);
  transform: rotate(135deg);
  position: absolute;
  left: 8px;
  top: 8px;
}

#contact .policy {
  padding: 20px 0 60px;
}

#contact .policy .wpcf7-list-item-label {
  padding-left: 35px;
  height: 24px;
  font-size: 1.4rem;
  line-height: 24px;
}

#contact .policy .wpcf7-list-item-label::before {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
}

#contact .policy input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  width: 10px;
  height: 5px;
  left: 5px;
  top: 6px;
}

#contact .policy a {
  text-decoration: underline;
}

#contact .btn {
  position: relative;
  justify-content: flex-end;
  width: 100%;
  cursor: hover;
}

#contact .btn input {
  border: none;
  background: transparent;
  color: var(--color-blue);
  font-size: 2.4rem;
  font-weight: 700;
}

#contact .btn::after {
  display: inline-block;
  margin-left: 20px;
  background: url(../img/common/arrow_blue_l.svg) no-repeat center / contain;
  width: 64px;
  height: 64px;
  content: "";
  transition: all 0.5s ease-in-out;
}

#contact .btn:hover::after {
  transform: translateX(20px);
}

.wpcf7-spinner {
  display: none!important;
}
@media (max-width: 767px) {
  #contact {
    padding: 30px 0 100px;
  }

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

  #contact th {
    padding: 0;
  }

  #contact td {
    padding: 10px 0 20px;
  }
  
  #contact .policy {
    padding: 20px 0 30px;
  }

  #contact .btn {
    justify-content: center;
  }
  
  #contact .btn input {
    font-size: 2rem;
  }
  
  #contact .btn::after {
    margin-left: 15px;
    width: 32px;
    height: 32px;
  }
  
}

/* thanks
-------------------------------------------------------------- */
#thanks {
  padding: 50px 0 350px;
}

#thanks h2 {
  padding-bottom: 20px;
  text-align: center;
  color: var(--color-blue);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

#thanks p {
  color: var(--color-blue);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  line-height: 2;
}

@media (max-width: 767px) {
  #thanks {
    padding: 20px 5% 100px;
  }

  #thanks h2 {
    font-size: 2rem;
    text-align: left;
  }

  #thanks p {
    padding-bottom: 60px;
    font-size: 1.5rem;
    text-align: left;
  }
}