/* ========================================
  Contact Page
======================================== */

.contact {
  background: #f9f9f9;
  margin: 70px auto 0;
  padding-top: 72px;
}

.contact .p-contact-message {
  background: #fff;
  border-radius: 20px;
  margin: 0 auto;
  max-width: 945px;
  padding: 80px 56px 5px;
}

.contact .p-contact-message__content {
  margin-bottom: 40px;
}

.contact .p-contact-message__content-text {
  max-width: 100%;
}

.contact .p-contact-message__subtitle {
  color: #5b5ada;
  font-family:
    "M P LUS 1p",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 20px;
}

.contact .p-contact-message__title {
  color: #222;
  font-family:
    "M P LUS 1p",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: clamp(28px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 60px;
}

.contact .p-contact-message__content-text h3 {
  color: #222;
  font-family:
    "M P LUS 1p",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: clamp(14px, 1.5vw, 14px);
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 20px;
}

.contact .p-contact-message__content-text p {
  color: #333;
  font-size: clamp(12px, 1.2vw, 12px);
  line-height: 2;
}

.contact .p-contact-message__content-text p span {
  color: #ca3604;
}

.contact .contact-content {
  background: #fff;
  border-radius: 20px;
  margin: 0 auto 100px;
  max-width: 945px;
}

.contact_item {
  margin-bottom: 18px;
}

.contact_item-p {
  letter-spacing: 3px;
  margin-bottom: 30px;
  margin-top: 24px;
  text-align: center;
}

.contact_item-p a {
  border-bottom: 1px solid #ca3604;
  color: #ca3604;
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 6px;
}

.contact_item-information {
  margin-top: 16px;
}

.label {
  color: #000;
  font-size: 14px;
}

.label span {
  color: #ca3604;
}

.wpcf7-list-item {
  margin: 0;
  position: relative;
}

.custom-checkbox {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  justify-content: center;
  position: relative;
}

.custom-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  height: 20px;
  opacity: 0;
  position: absolute;
  width: 20px;
}

.custom-checkbox .checkmark {
  background-color: #fff;
  border: 2px solid #808080;
  border-radius: 4px;
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  position: relative;
  width: 20px;
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
  background-color: #222222;
  border-color: #222222;
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
  color: #fff;
  content: "\2714";
  font-size: 10px;
  left: 60%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: 1px solid #666666;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 5px;
  padding: 10px 8px;
  resize: none;
  width: 100%;
}

textarea.form-control {
  height: 207px;
}

.submit-btn-wrapper {
  margin: 16px auto 0;
  position: relative;
  text-align: center;
}

.submit-btn-wrapper::after {
  background: url(../../../lp/2026-01/img/send.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 16px;
  pointer-events: none;
  position: absolute;
  right: calc(50% - 50px);
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.submit-btn-wrapper input[type="submit"] {
  background: linear-gradient(to bottom, #5b5ada, #273992);
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px 12px 0;
  transition: all 0.3s;
  width: 160px;
}

.submit-btn-wrapper input[type="submit"]:hover {
  opacity: 0.7;
}

.contact_item-p-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 3;
}

.contact_item-p-text {
  font-size: 12px;
  margin-bottom: 10px;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 br {
  display: none;
}

.wpcf7-list-item-label {
  font-size: 14px;
}

.wpcf7-list-item-label a {
  font-size: 14px;
}

/* ========================================
  Responsive - SP (max-width: 767px)
======================================== */

@media screen and (max-width: 767px) {
  .contact {
    margin: 0 auto;
    padding: 72px 20px 0;
  }

  .contact .p-contact-message {
    padding: 60px 20px 20px;
  }

  .contact .p-contact-message__content {
    margin-bottom: 30px;
  }

  .contact .contact-content {
    margin-bottom: 60px;
  }

  .full-width {
    margin: 60px auto 50px;
  }

  .contact_item-p a {
    font-size: 1rem;
  }

  .label {
    font-size: 1rem;
  }

  .custom-checkbox .checkmark {
    height: 17px;
    width: 17px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  .contact_item-p {
    margin-top: 30px;
  }

  .contact_item-p-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .contact_item-p-text {
    font-size: 0.8rem;
  }

  .wpcf7-list-item-label {
    font-size: 0.8rem;
  }

  .wpcf7-list-item-label a {
    font-size: 0.8rem;
  }
}
