/* =========================================
   Contact FAQ
========================================= */


.contact-page {
  width: 100%;
  overflow-x: hidden;
  background: #f1f8f5;
  color: #0d1b2f;
}

.contact-faq-section {
  background: #f1f8f5;
  padding: 72px 20px;
}

.contact-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact-faq-head {
  text-align: center;
  margin-bottom: 40px;
}

.contact-faq-label {
  color: #009b83;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.contact-faq-head h2 {
  color: #0d1b2f;
  font-size: 32px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.contact-faq-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin: 18px auto 0;
}

.contact-faq-head p {
  color: #0d1b2f;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.contact-faq-group {
  margin-top: 34px;
}

.contact-faq-group h3 {
  color: #0d1b2f;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 5px solid #009b83;
}

.contact-faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.contact-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  color: #0d1b2f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-item summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #009b83;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.contact-faq-item summary::after {
  content: "+";
  justify-self: end;
  color: #009b83;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.contact-faq-item[open] summary::after {
  content: "−";
}

.contact-faq-answer {
  padding: 0 22px 22px 84px;
}

.contact-faq-answer p {
  color: #0d1b2f;
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* hover */
.contact-faq-item summary:hover {
  background: #f7fbf8;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 768px) {
  .contact-faq-section {
    padding: 56px 20px;
  }

  .contact-faq-head {
    margin-bottom: 32px;
  }

  .contact-faq-head h2 {
    font-size: 26px;
  }

  .contact-faq-head p {
    font-size: 13px;
    line-height: 1.9;
  }

  .contact-faq-group {
    margin-top: 28px;
  }

  .contact-faq-group h3 {
    font-size: 18px;
  }

  .contact-faq-item summary {
    grid-template-columns: 40px 1fr 20px;
    gap: 12px;
    padding: 18px 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-faq-item summary span {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .contact-faq-answer {
    padding: 0 16px 20px 68px;
  }

  .contact-faq-answer p {
    font-size: 13px;
    line-height: 1.85;
  }
}

/* =========================================
   Contact Form
========================================= */

.wpcf7 form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-note {
  background: #f1f8f5;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.contact-form-note p {
  margin: 0 0 6px;
  color: #0d1b2f;
  font-size: 14px;
  line-height: 1.8;
}

.contact-form-note p:last-child {
  margin-bottom: 0;
}

.wpcf7 label {
  display: block;
  color: #0d1b2f;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}

.required {
  display: inline-block;
  background: #009b83;
  color: #fff;
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #d8ebe4;
  border-radius: 10px;
  background: #fff;
  color: #0d1b2f;
  font-size: 15px;
  box-sizing: border-box;
}

.wpcf7 textarea {
  min-height: 160px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #009b83;
  box-shadow: 0 0 0 3px rgba(0, 155, 131, 0.12);
}

.privacy-check {
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.privacy-check a {
  color: #009b83;
  font-weight: 700;
}

.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 32px auto 0;
  background: #009b83;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,155,131,0.25);
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.86;
}

@media (max-width: 768px) {
  .wpcf7 form {
    max-width: 100%;
  }

  .wpcf7 label {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 14px;
  }
}

/* =========================================
   Contact Form Section
========================================= */

.contact-form-section {
  max-width: 800px;
  margin: 72px auto 0;
  padding: 0 20px 80px;
}

.contact-form-head {
  text-align: center;
  margin-bottom: 36px;
}

.contact-form-label {
  color: #009b83;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.contact-form-head h2 {
  color: #0d1b2f;
  font-size: 32px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.contact-form-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  background: #009b83;
  margin: 18px auto 0;
}

.contact-form-lead {
  color: #0d1b2f;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

/* フォーム全体 */
.contact-form-section .wpcf7 {
  margin-top: 32px;
}

/* スマホ */
@media (max-width: 768px) {
  .contact-form-section {
    margin-top: 56px;
    padding: 0 20px 64px;
  }

  .contact-form-head h2 {
    font-size: 26px;
  }

  .contact-form-lead {
    font-size: 13px;
    line-height: 1.9;
  }
}

/* =========================================
   Contact FAQ Compact
========================================= */

.contact-faq-section {
  padding: 48px 20px 40px;
}

.contact-faq-inner {
  max-width: 760px;
}

.contact-faq-head {
  margin-bottom: 28px;
}

.contact-faq-label {
  font-size: 11px;
  margin-bottom: 6px;
}

.contact-faq-head h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contact-faq-head h2::after {
  width: 44px;
  height: 4px;
  margin-top: 12px;
}

.contact-faq-head p {
  font-size: 13px;
  line-height: 1.8;
}

.contact-faq-group {
  margin-top: 24px;
}

.contact-faq-group h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left-width: 4px;
}

.contact-faq-item {
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.045);
}

.contact-faq-item summary {
  grid-template-columns: 36px 1fr 18px;
  gap: 12px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.contact-faq-item summary span {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.contact-faq-item summary::after {
  font-size: 20px;
}

.contact-faq-answer {
  padding: 0 18px 16px 66px;
}

.contact-faq-answer p {
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 768px) {
  .contact-faq-section {
    padding: 40px 20px 32px;
  }

  .contact-faq-inner {
    max-width: 100%;
  }

  .contact-faq-head h2 {
    font-size: 23px;
  }

  .contact-faq-head p {
    font-size: 12px;
  }

  .contact-faq-group {
    margin-top: 22px;
  }

  .contact-faq-group h3 {
    font-size: 15px;
  }

  .contact-faq-item summary {
    grid-template-columns: 32px 1fr 18px;
    padding: 13px 14px;
    font-size: 13px;
  }

  .contact-faq-item summary span {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .contact-faq-answer {
    padding: 0 14px 15px 58px;
  }

  .contact-faq-answer p {
    font-size: 12px;
    line-height: 1.75;
  }
}