.main {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 200px auto;
}

.contact-content {
  display: block;
  width: 100%;
  margin: 0 0 100px 0;
}
.contact-content__button {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 40px;
  margin: 0 auto;
  padding: 15px 50px;
  background: #79ac78;
  color: #ffffff;
  font-size: 16px;
  z-index: 100;
  overflow: hidden;
}
.contact-content__button a {
  text-decoration: none;
  color: white;
}
.contact-content__button p {
  display: flex;
  margin: 0;
}
.contact-content__button p span {
  transition: 0.3s;
}
.contact-content__button p::before {
  content: "";
  display: block;
  border-radius: 20px;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border: none;
  position: relative;
  left: 142px;
  top: 8px;
  z-index: 1000;
}
.contact-content__button p::after {
  content: "";
  display: block;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  background: #d0e7d2;
  position: relative;
  top: 2px;
  left: 33px;
  z-index: 100;
  transition: 0.5s;
  animation: scaleAnimation 0.65s infinite alternate;
}
.contact-content__button:hover {
  cursor: pointer;
}
.contact-content__button:hover p span {
  color: #79ac78;
  z-index: 500;
  transition: 0.8s;
}
.contact-content__button:hover p::after {
  transition: 0.8s;
  scale: 40;
  z-index: 0;
}
@keyframes scaleAnimation {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1.1);
  }
}
.contact-content__title p {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0;
  font-weight: 700;
}
.contact-content__title p::before {
  content: "";
  display: block;
  width: 500px;
  height: 2px;
  background: #dedede;
  position: relative;
  top: 27px;
  right: 518px;
}
.contact-content__title p::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #79ac78;
  position: relative;
  top: -19px;
  right: 18px;
  animation: slideBar 2s infinite;
}
@keyframes slideBar {
  0% {
    transform: translateX(-500px);
  }
  100% {
    transform: translateX(-24px);
  }
}
.contact-content__title__ja {
  color: #2f2626;
  font-size: 30px;
  margin: 0 0 60px 0;
}

.contact_form {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.wpcf7 {
  width: 100%;
}
.wpcf7 form {
  width: 100%;
}
.wpcf7 p {
  margin: 0 0 24px 0;
}
.wpcf7 p:last-of-type {
  margin-bottom: 0;
}
.wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #2f2626;
  margin-bottom: 8px;
  line-height: 1.5;
}
.wpcf7 label br {
  display: none;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=url] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: serif;
  color: #2f2626;
  background: #ffffff;
  border: 2px solid #DEDEDE;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=url]:focus {
  outline: none;
  border-color: #79ac78;
  box-shadow: 0 0 0 3px rgba(121, 172, 120, 0.1);
}
.wpcf7 input[type=text]::-moz-placeholder, .wpcf7 input[type=email]::-moz-placeholder, .wpcf7 input[type=tel]::-moz-placeholder, .wpcf7 input[type=url]::-moz-placeholder {
  color: #ACACAC;
  opacity: 1;
}
.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 input[type=tel]::placeholder,
.wpcf7 input[type=url]::placeholder {
  color: #ACACAC;
  opacity: 1;
}
.wpcf7 input[type=text].wpcf7-not-valid,
.wpcf7 input[type=email].wpcf7-not-valid,
.wpcf7 input[type=tel].wpcf7-not-valid,
.wpcf7 input[type=url].wpcf7-not-valid {
  border-color: #e74c3c;
}
.wpcf7 input[type=text].wpcf7-not-valid:focus,
.wpcf7 input[type=email].wpcf7-not-valid:focus,
.wpcf7 input[type=tel].wpcf7-not-valid:focus,
.wpcf7 input[type=url].wpcf7-not-valid:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.wpcf7 textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: serif;
  color: #2f2626;
  background: #ffffff;
  border: 2px solid #DEDEDE;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.6;
}
.wpcf7 textarea:focus {
  outline: none;
  border-color: #79ac78;
  box-shadow: 0 0 0 3px rgba(121, 172, 120, 0.1);
}
.wpcf7 textarea::-moz-placeholder {
  color: #ACACAC;
  opacity: 1;
}
.wpcf7 textarea::placeholder {
  color: #ACACAC;
  opacity: 1;
}
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #e74c3c;
}
.wpcf7 textarea.wpcf7-not-valid:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.wpcf7 input[type=submit] {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 32px auto 0;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #79ac78;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(121, 172, 120, 0.2);
}
.wpcf7 input[type=submit]:hover {
  background: #6a9a69;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(121, 172, 120, 0.3);
}
.wpcf7 input[type=submit]:active {
  transform: translateY(0);
}
.wpcf7 input[type=submit].has-spinner {
  position: relative;
}
.wpcf7 input[type=submit].has-spinner::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #e74c3c;
  font-weight: 500;
}
.wpcf7 .wpcf7-validates-as-required.wpcf7-valid {
  border-color: #79ac78;
}
.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ng, .wpcf7 .wpcf7-response-output.wpcf7-aborted, .wpcf7 .wpcf7-response-output.wpcf7-spam {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.wpcf7 .wpcf7-response-output.wpcf7-validation-errors {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}
.wpcf7 .wpcf7-validates-as-required::after {
  content: " *";
  color: #e74c3c;
  font-weight: bold;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
@media (max-width: 768px) {
  .contact-content {
    display: block;
    width: 100%;
    margin: 0 0 100px 0;
  }
  .contact-content__button {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 40px;
    margin: 50px auto;
    padding: 15px 50px;
    background: #79ac78;
    color: #ffffff;
    font-size: 16px;
    z-index: 100;
    overflow: hidden;
  }
  .contact-content__button a {
    text-decoration: none;
    color: white;
  }
  .contact-content__button p {
    display: flex;
    margin: 0;
  }
  .contact-content__button p span {
    transition: 0.3s;
  }
  .contact-content__button p::before {
    content: "";
    display: block;
    border-radius: 20px;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border: none;
    position: relative;
    left: 119px;
    top: 8px;
    z-index: 1000;
  }
  .contact-content__button p::after {
    content: "";
    display: block;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    background: #d0e7d2;
    position: relative;
    top: 2px;
    left: 33px;
    z-index: 100;
    transition: 0.5s;
    animation: scaleAnimation 0.65s infinite alternate;
  }
  .contact-content__button:hover {
    cursor: pointer;
  }
  .contact-content__button:hover p span {
    color: #79ac78;
    z-index: 500;
    transition: 0.8s;
  }
  .contact-content__button:hover p::after {
    transition: 0.8s;
    scale: 40;
    z-index: 0;
  }
  @keyframes scaleAnimation {
    0% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1.1);
    }
  }
  .contact-content__title p {
    display: block;
    width: 80vw;
    margin: 0;
    font-weight: 700;
    font-size: 20px;
  }
  .contact-content__title p::before {
    content: "";
    display: block;
    width: 500px;
    height: 2px;
    background: #dedede;
    position: relative;
    top: 18px;
    right: 518px;
  }
  .contact-content__title p::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: #79ac78;
    position: relative;
    top: -13px;
    right: 18px;
    animation: slideBar 2s infinite;
  }
  @keyframes slideBar {
    0% {
      transform: translateX(-500px);
    }
    100% {
      transform: translateX(-24px);
    }
  }
  .contact-content__title__ja {
    color: #2f2626;
    font-size: 30px;
    margin: 0 0 60px 0;
  }
  .contact_form {
    max-width: 90%;
    padding: 30px 20px;
  }
  .wpcf7 input[type=text],
  .wpcf7 input[type=email],
  .wpcf7 input[type=tel],
  .wpcf7 input[type=url],
  .wpcf7 textarea {
    font-size: 16px;
  }
  .wpcf7 input[type=submit] {
    width: 100%;
    max-width: 100%;
    padding: 14px 30px;
  }
}/*# sourceMappingURL=contact.css.map */