/* =========================================================
   山﨑タクシー お問い合わせページ
   トップページの yamazaki-taxi.css（変数・ボタン・見出し・余白）を再利用。
   このファイルはページ固有レイアウトと、予約フォームとは独立した CF7 見た目のみ。
   #reservation / .yt-reservation には触れない。
   ========================================================= */

body.yt-wp-contact #sidebar,
body.yt-wp-contact .sidebar,
body.yt-wp-contact .breadcrumb,
body.yt-wp-contact .article-header .entry-title,
body.yt-wp-contact .eye-catch,
body.yt-wp-contact #header,
body.yt-wp-contact .header,
body.yt-wp-contact .navi,
body.yt-wp-contact .mobile-menu-buttons,
body.yt-wp-contact #footer {
  display: none !important;
}

body.yt-wp-contact #main,
body.yt-wp-contact .main,
body.yt-wp-contact .content,
body.yt-wp-contact .article,
body.yt-wp-contact .entry-content,
body.yt-wp-contact #container,
body.yt-wp-contact .container,
body.yt-wp-contact #content,
body.yt-wp-contact .content-in,
body.yt-wp-contact .wrap {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.yt-wp-contact {
  background: #0b1220;
}

.yt-contact-page {
  overflow-x: hidden;
  max-width: 100%;
}

.ytc-hero {
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(201, 169, 98, 0.16), transparent 60%),
    linear-gradient(180deg, #111827 0%, #0b1220 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.ytc-hero-inner {
  max-width: 760px;
}

.ytc-hero .yt-hero-title {
  font-size: clamp(28px, 5vw, 40px);
  margin: 8px 0 16px;
  letter-spacing: 0.06em;
}

.ytc-hero .yt-hero-lead {
  margin: 0 0 10px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.9);
}

.ytc-hero-note {
  margin: 0;
  font-size: 14px;
  color: rgba(232, 213, 163, 0.92);
}

.ytc-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ytc-method-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--yt-radius-lg);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.06);
  padding: 24px 22px 22px;
}

.ytc-method-card-line {
  border-top: 4px solid var(--yt-line);
  background: linear-gradient(180deg, #f3fff6 0%, #fff 42%);
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.14);
}

.ytc-method-card-phone {
  border-top: 4px solid var(--yt-gold);
}

.ytc-method-card-form {
  border-top: 4px solid #243047;
}

.ytc-method-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f2937;
}

.ytc-method-card h3 {
  margin: 0 0 10px;
  font-family: var(--yt-serif);
  font-size: 22px;
  color: #0b1220;
  letter-spacing: 0.04em;
}

.ytc-method-text {
  margin: 0 0 18px;
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}

.ytc-method-btn {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.yt-contact-page .yt-section-light,
.yt-contact-page .ytc-method-card,
.yt-contact-page .ytc-form-panel,
.yt-contact-page .ytc-thanks,
.yt-contact-page .ytc-line-footer {
  color: #1f2937;
}

.yt-contact-page .yt-heading-dark h2 {
  color: #0b1220;
}

.yt-contact-page a.yt-btn,
.yt-contact-page a.yt-btn:link,
.yt-contact-page a.yt-btn:visited {
  color: #ffffff !important;
}

.yt-contact-page a.yt-btn-navy,
.yt-contact-page a.yt-btn-navy:link,
.yt-contact-page a.yt-btn-navy:visited {
  background: linear-gradient(180deg, #243047 0%, #152033 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.yt-contact-page a.yt-btn-navy:hover,
.yt-contact-page a.yt-btn-navy:focus,
.yt-contact-page a.yt-btn-navy:focus-visible,
.yt-contact-page a.yt-btn-navy:active {
  color: #ffffff !important;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  opacity: 1;
}

.yt-contact-page a.yt-btn-gold,
.yt-contact-page a.yt-btn-gold:link,
.yt-contact-page a.yt-btn-gold:visited {
  background: linear-gradient(180deg, #d8bc78 0%, #b8924a 55%, #9a7a3c 100%) !important;
  color: #ffffff !important;
}

.yt-contact-page a.yt-btn-gold:hover,
.yt-contact-page a.yt-btn-gold:focus,
.yt-contact-page a.yt-btn-gold:focus-visible,
.yt-contact-page a.yt-btn-gold:active {
  color: #ffffff !important;
  opacity: 1;
}

.yt-contact-page a.yt-btn-line,
.yt-contact-page a.yt-btn-line:link,
.yt-contact-page a.yt-btn-line:visited {
  background: linear-gradient(180deg, #2ad366 0%, #06c755 55%, #05a848 100%) !important;
  color: #ffffff !important;
}

.yt-contact-page a.yt-btn-line:hover,
.yt-contact-page a.yt-btn-line:focus,
.yt-contact-page a.yt-btn-line:focus-visible,
.yt-contact-page a.yt-btn-line:active {
  color: #ffffff !important;
  opacity: 1;
}

.yt-contact-page a.yt-btn:focus-visible {
  outline: 3px solid #c9a962;
  outline-offset: 2px;
}

.ytc-line-main {
  min-height: 56px;
  font-size: 17px;
}

.ytc-method-pc-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
}

.ytc-book-note {
  background: var(--yt-navy-2);
  color: #fff;
  padding: 36px 0;
}

.ytc-book-note-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ytc-book-note-title {
  margin: 0 0 8px;
  font-family: var(--yt-serif);
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--yt-gold-text);
}

.ytc-book-btn {
  min-width: 220px;
  min-height: 52px;
}

.ytc-line-footer {
  background: #fff;
  padding: 28px 0 36px;
  text-align: center;
}

.ytc-line-footer-btn {
  min-height: 52px;
  min-width: min(100%, 360px);
  width: min(100%, 420px);
  font-size: 16px;
}

.ytc-privacy-note {
  margin: 4px 0 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  line-height: 1.8 !important;
}

.yt-contact-page .ytc-acceptance,
.yt-contact-page .wpcf7 p.ytc-acceptance {
  margin: 0 0 20px !important;
  padding: 14px 16px;
  background: #f8f5ee;
  border: 1px solid rgba(154, 122, 60, 0.28);
  border-radius: 10px;
  color: #1a2332;
}

.yt-contact-page .ytc-acceptance .wpcf7-form-control-wrap,
.yt-contact-page .ytc-acceptance .wpcf7-acceptance,
.yt-contact-page .ytc-acceptance .wpcf7-list-item,
.yt-contact-page .ytc-acceptance .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  margin: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.yt-contact-page .ytc-acceptance .wpcf7-list-item {
  margin: 0;
}

.yt-contact-page .ytc-acceptance .wpcf7-list-item label {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  color: #0b1220;
  cursor: pointer;
}

.yt-contact-page .wpcf7 input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 22px !important;
  min-width: 22px;
  height: 22px !important;
  min-height: 22px !important;
  margin: 2px 0 0;
  flex: 0 0 22px;
  accent-color: #9a7a3c;
  cursor: pointer;
}

.yt-contact-page .ytc-acceptance .wpcf7-list-item-label {
  color: #0b1220 !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
}

.yt-contact-page .ytc-acceptance a,
.yt-contact-page .yt-privacy-policy-link {
  color: #0b1220;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #9a7a3c;
  font-weight: 700;
}

.yt-contact-page .wpcf7-turnstile,
.yt-contact-page .cf-turnstile {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 68px;
  margin: 0 0 18px;
}

.ytc-book-note-inner p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.ytc-form-lead {
  max-width: 720px;
  margin: -12px auto 28px;
  text-align: center;
  color: #374151;
  font-size: 15px;
  line-height: 1.9;
}

/* Temporary: inquiry form notice. Remove with the HTML block in yamazaki-contact-content.php */
.ytc-temp-form-notice {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 16px 18px;
  background: #fffdf8;
  color: #1f2937;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 12px;
  box-shadow: inset 4px 0 0 0 #c9a962;
}

.ytc-temp-form-notice-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
}

.ytc-form-panel {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--yt-radius-lg);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.08);
  padding: 32px 28px 36px;
}

.ytc-thanks {
  max-width: 760px;
  margin: 0 auto 28px;
  background: #fff;
  border: 1px solid rgba(6, 199, 85, 0.28);
  border-radius: var(--yt-radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.ytc-thanks-title {
  margin: 0 0 10px;
  font-family: var(--yt-serif);
  font-size: 24px;
  color: var(--yt-navy);
}

.ytc-thanks p {
  margin: 0 0 22px;
  color: #374151;
}

.ytc-thanks-actions {
  justify-content: center;
  margin-bottom: 0;
}

.yt-contact-page .wpcf7 {
  margin: 0;
  width: 100%;
}

.yt-contact-page .wpcf7 form {
  margin: 0;
  width: 100%;
}

.yt-contact-page .wpcf7 label,
.yt-contact-page .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.yt-contact-page .wpcf7 p {
  margin: 0 0 18px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.7;
}

.yt-contact-page .wpcf7 label {
  font-weight: 700;
  font-size: 14px;
  color: #0b1220;
  margin-bottom: 8px;
}

.yt-contact-page .wpcf7 .wpcf7-form-control-wrap {
  margin-top: 6px;
}

.yt-contact-page .wpcf7 input[type="text"],
.yt-contact-page .wpcf7 input[type="email"],
.yt-contact-page .wpcf7 input[type="tel"],
.yt-contact-page .wpcf7 select,
.yt-contact-page .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}

.yt-contact-page .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.yt-contact-page .wpcf7 input:focus,
.yt-contact-page .wpcf7 select:focus,
.yt-contact-page .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--yt-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.22);
}

.yt-contact-page .wpcf7 .wpcf7-not-valid-tip {
  color: #b42318;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
}

.yt-contact-page .wpcf7 .wpcf7-not-valid {
  border-color: #d92d20 !important;
}

.yt-contact-page .wpcf7 .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
  border: 1px solid transparent;
}

.yt-contact-page .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(6, 199, 85, 0.08);
  border-color: rgba(6, 199, 85, 0.35);
  color: #0b5c2e;
}

.yt-contact-page .wpcf7 form.invalid .wpcf7-response-output,
.yt-contact-page .wpcf7 form.unaccepted .wpcf7-response-output,
.yt-contact-page .wpcf7 form.failed .wpcf7-response-output,
.yt-contact-page .wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(180, 35, 24, 0.06);
  border-color: rgba(180, 35, 24, 0.3);
  color: #912018;
}

.yt-contact-page .wpcf7 input[type="submit"],
.yt-contact-page .wpcf7 input.wpcf7-submit,
.yt-contact-page .wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 220px;
  width: 100%;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #d8bc78 0%, #b8924a 55%, #9a7a3c 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(154, 122, 60, 0.35);
}

.yt-contact-page .wpcf7 input[type="submit"]:hover,
.yt-contact-page .wpcf7 input.wpcf7-submit:hover,
.yt-contact-page .wpcf7 button[type="submit"]:hover,
.yt-contact-page .wpcf7 input[type="submit"]:focus,
.yt-contact-page .wpcf7 input.wpcf7-submit:focus,
.yt-contact-page .wpcf7 button[type="submit"]:focus {
  color: #ffffff;
  opacity: 1;
}

.ytc-form-mock label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--yt-navy);
  margin: 0 0 8px;
}

.ytc-form-mock .ytc-field {
  margin: 0 0 18px;
}

.ytc-form-mock input,
.ytc-form-mock select,
.ytc-form-mock textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.ytc-form-mock textarea {
  min-height: 180px;
}

.ytc-form-mock .yt-btn {
  width: 100%;
  min-height: 52px;
}

@media (min-width: 860px) {
  .ytc-method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .ytc-method-card {
    display: flex;
    flex-direction: column;
  }

  .ytc-method-btn {
    margin-top: auto;
  }

  .ytc-form-panel {
    padding: 36px 40px 40px;
  }

  .yt-contact-page .wpcf7 input[type="submit"],
  .yt-contact-page .wpcf7 input.wpcf7-submit,
  .yt-contact-page .wpcf7 button[type="submit"] {
    width: auto;
  }
}

@media (max-width: 720px) {
  body.yt-wp-contact {
    padding-bottom: 78px;
  }

  .ytc-hero {
    padding: 40px 0 36px;
  }

  .ytc-form-panel {
    padding: 22px 16px 26px;
  }

  .ytc-thanks-actions .yt-btn,
  .ytc-book-btn,
  .ytc-line-footer-btn {
    width: 100%;
  }

  .yt-contact-page .yt-mobile-cta .yt-btn {
    min-height: 48px;
    font-size: 14px;
  }

  .yt-contact-page .wpcf7 input[type="submit"],
  .yt-contact-page .wpcf7 input.wpcf7-submit,
  .yt-contact-page .wpcf7 button[type="submit"] {
    min-height: 56px;
    font-size: 17px;
  }
}
