@charset "UTF-8";
/* ===== Page Hero ===== */
.page-hero {
  aspect-ratio: 1920/315;
}
@media screen and (max-width: 768px) {
  .page-hero {
    aspect-ratio: 480/177;
  }
}

/* ===== Contact Section ===== */
.section-contact {
  padding: 100px 0 120px;
}
@media screen and (max-width: 768px) {
  .section-contact {
    padding: 60px 0 80px;
  }
}
@media screen and (max-width: 480px) {
  .section-contact {
    padding: 40px 0 60px;
  }
}

.contact-heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .contact-heading {
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  .contact-heading {
    font-size: 20px;
  }
}

.section-contact .heading-line {
  margin-bottom: 32px;
}

.contact-lead {
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 60px;
  color: #555;
  padding: 0 20px;
}
@media screen and (max-width: 768px) {
  .contact-lead {
    font-size: 14px;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 480px) {
  .contact-lead {
    font-size: 13px;
  }
  .contact-lead br {
    display: none;
  }
}

/* ===== Contact Form (CF7) ===== */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

/* フォーム行レイアウト */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 0;
}
.contact-form-wrap .wpcf7-form .form-row {
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .contact-form-wrap .wpcf7-form .form-row {
    margin-bottom: 14px;
  }
}
.contact-form-wrap .wpcf7-form .form-row label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
@media screen and (max-width: 768px) {
  .contact-form-wrap .wpcf7-form .form-row label {
    font-size: 14px;
  }
}
.contact-form-wrap .wpcf7-form .form-field {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.contact-form-wrap .wpcf7-form input[type=text],
.contact-form-wrap .wpcf7-form input[type=email],
.contact-form-wrap .wpcf7-form input[type=tel],
.contact-form-wrap .wpcf7-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form-wrap .wpcf7-form input[type=text]:focus,
.contact-form-wrap .wpcf7-form input[type=email]:focus,
.contact-form-wrap .wpcf7-form input[type=tel]:focus,
.contact-form-wrap .wpcf7-form select:focus {
  border-color: #34C8DC;
}
@media screen and (max-width: 768px) {
  .contact-form-wrap .wpcf7-form input[type=text],
  .contact-form-wrap .wpcf7-form input[type=email],
  .contact-form-wrap .wpcf7-form input[type=tel],
  .contact-form-wrap .wpcf7-form select {
    font-size: 14px;
  }
}
.contact-form-wrap .wpcf7-form select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  height: 200px;
  resize: vertical;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form-wrap .wpcf7-form textarea:focus {
  border-color: #34C8DC;
}
@media screen and (max-width: 768px) {
  .contact-form-wrap .wpcf7-form textarea {
    height: 150px;
    font-size: 14px;
  }
}

/* プライバシーポリシーボックス */
.privacy-box {
  max-width: 700px;
  margin: 48px auto 24px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  height: 220px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}
@media screen and (max-width: 768px) {
  .privacy-box {
    height: 180px;
    font-size: 12px;
    padding: 20px;
    border-radius: 8px;
  }
}

/* チェックボックス + 送信ボタン */
.contact-agree {
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
}
.contact-agree .wpcf7-list-item-label {
  margin-left: 4px;
}

.contact-submit {
  text-align: center;
}
.contact-submit input[type=submit] {
  display: inline-block;
  min-width: 240px;
  padding: 16px 48px;
  border: 1px solid #333;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.contact-submit input[type=submit]:hover {
  background: #333;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .contact-submit input[type=submit] {
    min-width: 200px;
    padding: 14px 40px;
    font-size: 15px;
  }
}

/* CF7 バリデーション */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

.wpcf7-response-output {
  text-align: center;
  font-size: 14px;
  margin-top: 24px;
  padding: 12px;
}

/* ===== Confirm Plus 確認画面 ===== */
#wpcf7cpcnf {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 0 20px;
}
#wpcf7cpcnf table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
#wpcf7cpcnf table tr {
  border-bottom: 1px solid #e8e8e8;
}
#wpcf7cpcnf table th,
#wpcf7cpcnf table td {
  padding: 16px 12px;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}
@media screen and (max-width: 768px) {
  #wpcf7cpcnf table th,
  #wpcf7cpcnf table td {
    font-size: 14px;
    padding: 12px 8px;
  }
}
#wpcf7cpcnf table th {
  font-weight: 600;
  white-space: nowrap;
  width: 200px;
  color: #333;
}
@media screen and (max-width: 768px) {
  #wpcf7cpcnf table th {
    width: auto;
    display: block;
    padding-bottom: 4px;
  }
}
#wpcf7cpcnf table td {
  color: #555;
}
@media screen and (max-width: 768px) {
  #wpcf7cpcnf table td {
    display: block;
    padding-top: 0;
  }
}

.wpcf7cp-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
@media screen and (max-width: 480px) {
  .wpcf7cp-btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
.wpcf7cp-btns button {
  min-width: 180px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
@media screen and (max-width: 768px) {
  .wpcf7cp-btns button {
    min-width: 140px;
    padding: 12px 32px;
    font-size: 14px;
  }
}
@media screen and (max-width: 480px) {
  .wpcf7cp-btns button {
    width: 100%;
    max-width: 280px;
  }
}

.wpcf7cp-cfm-edit-btn {
  border: 1px solid #999;
  background: transparent;
  color: #666;
}
.wpcf7cp-cfm-edit-btn:hover {
  background: #666;
  color: #fff;
}

.wpcf7cp-cfm-submit-btn {
  border: 1px solid #333;
  background: #333;
  color: #fff;
}
.wpcf7cp-cfm-submit-btn:hover {
  background: transparent;
  color: #333;
}

.wpcf7-spinner {
  display: none;
}