:root {
  --ink: #1d291a;
  --muted: #606859;
  --deep: #253c14;
  --lime: #c8ec31;
  --line: #dce1d4;
  --error: #a42c24;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f6f7f1; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
a, button, input, textarea, select, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #52772a; outline-offset: 4px; }
.consult-header { min-height: 82px; padding: 20px max(24px, calc((100vw - 1180px) / 2)); background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.consult-brand { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: 19px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.back-link { color: var(--muted); font-size: 14px; white-space: nowrap; }
.back-link span { margin-left: 12px; }
.consult-layout { width: min(1120px, calc(100% - 64px)); margin: 64px auto 80px; display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 64px; align-items: start; }
.consult-intro { padding-top: 14px; }
.consult-eyebrow { margin: 0 0 18px; color: #527327; font-size: 14px; font-weight: 700; letter-spacing: .09em; }
.consult-intro h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(29px, 3.2vw, 40px); line-height: 1.55; letter-spacing: .04em; margin: 0 0 22px; }
.consult-lead { font-weight: 700; font-size: 19px; line-height: 1.85; }
.consult-intro > p:not(.consult-eyebrow):not(.consult-lead) { color: var(--muted); }
.consult-boundary { margin: 18px 0 0; padding: 13px 15px; border-left: 4px solid #a5c923; background: #f5f9e8; color: #405331 !important; font-size: 14px; line-height: 1.7; }
.booking-choice { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:24px 0 10px; }
.booking-choice a { min-height:72px; border-radius:14px; padding:14px 16px; text-decoration:none; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 10px; font-weight:800; line-height:1.35; }
.booking-choice a span { font-size:20px; }
.booking-choice a small { flex-basis:100%; font-size:11px; font-weight:600; opacity:.78; }
.booking-choice-primary { background:#c8ec31; color:#20340c; border:1px solid #b8d92b; }
.booking-choice-secondary { background:#fff; color:#314521; border:1px solid #ccd5c2; }
.booking-choice-note { margin:0 0 22px !important; color:var(--muted); font-size:12px; line-height:1.7; }
#booking-calendar, #booking-form { scroll-margin-top:24px; }
.consult-picture { position: relative; margin: 30px 0; }
.consult-picture img { display: block; width: 100%; height: 208px; object-fit: cover; border-radius: 16px; }
.consult-picture > span { position: absolute; bottom: 15px; left: 16px; font-size: 13px; font-weight: 700; padding: 5px 13px; color: var(--deep); background: #fff; border-radius: 20px; }
.consult-steps { list-style: none; margin: 32px 0 0; padding: 0; }
.consult-steps li { display: flex; align-items: flex-start; gap: 15px; margin: 0 0 25px; }
.consult-steps li > span { color: #688b3c; border-top: 2px solid #a6bc81; font-family: Georgia, serif; padding-top: 3px; font-size: 20px; line-height: 1.5; }
.consult-steps strong { display: block; font-size: 15px; }
.consult-steps p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.consult-contact { font-size: 13px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; }
.consult-card { background: #fff; border: 1px solid #e7eadf; border-radius: 22px; padding: 38px; box-shadow: 0 12px 36px #253c1408; min-width: 0; }
.consult-stack { display: grid; gap: 24px; min-width: 0; }
.appointment-card { overflow: hidden; }
.appointment-heading { margin-bottom: 18px; }
.appointment-frame { display: block; width: 100%; height: 720px; border: 0; border-radius: 12px; background: #fff; }
.appointment-help { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.appointment-help a { color: #41651d; font-weight: 700; }
.fallback-form { margin-top: 0; }
.purchase-layout { padding-top: 48px; }
.purchase-card { width: min(980px, 100%); }
.appointment-inline-wrap { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.appointment-frame-purchase { height: 760px; border-radius: 0; }
.purchase-steps { max-width: 680px; margin-left: auto; margin-right: auto; }
.form-heading { border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 20px; }
.free-label { display: inline-block; border-radius: 6px; background: #eff5d7; color: #41641f; font-size: 12px; font-weight: 700; padding: 3px 10px; letter-spacing: .04em; }
.form-heading h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: 26px; margin: 12px 0 6px; line-height: 1.55; }
.form-heading p { color: var(--muted); font-size: 13px; margin: 5px 0 0; }
.required-key { color: #476824; font-weight: 700; margin-right: 3px; }
.form-field { margin-bottom: 23px; min-width: 0; }
.form-field label { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.field-tag { display: inline-block; padding: 1px 7px; font-size: 11px; line-height: 1.6; background: #eff5df; border-radius: 4px; color: #436023; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.field-tag.optional { background: #f0f1ed; color: #666d5e; font-weight: 400; }
.form-field input, .form-field textarea, .form-field select { display: block; width: 100%; min-height: 54px; padding: 13px 14px; border: 1px solid #bec7b2; border-radius: 8px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.6; appearance: none; }
.form-field select { appearance: auto; padding-right: 28px; }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #777e71; opacity: 1; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid #688a3a; outline-offset: 1px; border-color: #688a3a; }
.consult-context { margin: 20px 0; padding: 18px 20px; border: 1px solid #d2ddbe; border-radius: 12px; background: #f4f7ed; }
.consult-context strong { font-size: 15px; }
.consult-context p { margin: 6px 0; font-size: 14px; overflow-wrap: anywhere; }
.consult-context small { display: block; color: #5f6857; font-size: 12px; line-height: 1.8; }
.form-field [aria-invalid="true"] { border-color: var(--error); background: #fffafa; }
.form-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field-pair label { font-size: 14px; gap: 6px; }
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.field-error { color: var(--error); margin: 7px 0 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.datetime-fields { border: 0; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.datetime-fields legend { float: left; padding: 0; margin-bottom: 9px; font-weight: 700; font-size: 18px; }
.schedule-note { clear: both; color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 18px; }
.schedule-note strong { display: block; color: var(--deep); font-weight: 600; }
.privacy-field { padding: 22px 0; margin-top: 4px; border-top: 1px solid var(--line); }
.checkbox-label { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; cursor: pointer; padding: 5px 0; }
.checkbox-label input { width: 23px; height: 23px; accent-color: #4e7027; flex: 0 0 23px; margin: 2px 0 0; }
.checkbox-label a { color: #41651d; }
.checkbox-label .field-tag { margin-left: 4px; }
.privacy-unavailable { color: var(--muted); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.consult-submit { border: 0; display: flex; width: 100%; justify-content: center; align-items: center; gap: 18px; padding: 17px 20px; min-height: 60px; border-radius: 999px; background: var(--lime); color: #20340c; font-size: 17px; font-weight: 700; line-height: 1.5; cursor: pointer; box-shadow: 0 5px 14px #688a3a18; text-decoration: none; transition: background .15s; }
.consult-submit:hover { background: #b9df25; }
.consult-submit:disabled { cursor: default; box-shadow: none; background: #e5e9dd; color: #727b68; }
.submit-note { font-size: 12px; line-height: 1.85; color: var(--muted); text-align: center; margin: 14px 0 0; }
.submit-status { font-size: 13px; margin: 8px 0 0; color: #496622; text-align: center; }
.submit-status:empty { display: none; }
.form-alert { color: #842a21; background: #fff4f1; border: 1px solid #eac1b9; border-radius: 8px; padding: 16px 18px; margin-bottom: 25px; font-size: 14px; overflow-wrap: anywhere; }
.form-alert p { margin: 0; }
.form-alert ul { padding-left: 20px; margin: 8px 0 0; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consult-footer { padding: 24px; border-top: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--muted); text-align: center; }
.consult-footer span { display: inline-block; margin-left: 18px; }
.thanks-layout { min-height: calc(100vh - 152px); padding: 64px 24px 80px; display: grid; place-items: center; }
.thanks-card { width: min(680px, 100%); text-align: center; padding: 48px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 36px #253c1408; }
.thanks-check { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 25px; background: #eff6d9; color: #52732c; font-size: 30px; }
.thanks-card h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: 28px; line-height: 1.7; margin: 0 0 22px; }
.thanks-card > p { color: var(--muted); }
.thanks-card .consult-eyebrow { color: #527327; }
.thanks-next { text-align: left; background: #f5f7ee; padding: 24px; border-radius: 12px; margin: 30px 0; }
.thanks-next > span { font-size: 12px; color: #607347; font-weight: 700; letter-spacing: .05em; }
.thanks-next p { margin: 8px 0 12px; }
.thanks-next > strong { display: block; font-size: 14px; color: #47632b; }
.thanks-help { font-size: 13px; margin: 16px 0; }
.thanks-help a { color: var(--deep); }
.thanks-back { font-size: 15px; margin-top: 28px; }
.thanks-secondary { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 13px; }
.reply-warning { border: 1px solid #e6d7ae; background: #fff9e9; padding: 18px; border-radius: 8px; text-align: left; font-size: 14px; }
.policy-layout { width: min(880px, calc(100% - 40px)); margin: 56px auto 80px; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 48px; box-shadow: 0 12px 36px #253c1408; }
.policy-card h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(28px, 4vw, 38px); line-height: 1.5; margin: 0 0 24px; }
.policy-card h2 { margin: 34px 0 8px; font-size: 18px; line-height: 1.6; }
.policy-card p { color: var(--muted); margin: 0 0 14px; }
.policy-card a { color: var(--deep); }
.policy-updated { margin-top: 34px !important; font-size: 13px; }
.policy-card .consult-submit { color: #20340c; }
@media (max-width: 960px) {
  .consult-layout { gap: 32px; width: calc(100% - 40px); grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
  .consult-card { padding: 28px; }
  .consult-intro h1 { font-size: 29px; }
  .consult-intro > p { font-size: 14px; }
  .consult-picture img { height: 170px; }
  .form-field-pair { grid-template-columns: 1fr; gap: 0; }
  .form-field-pair label { font-size: 16px; }
}
@media (max-width: 700px) {
  .consult-header { min-height: 68px; padding: 15px 20px; gap: 12px; }
  .consult-brand { font-size: 14px; }
  .consult-brand span { display: block; }
  .back-link { font-size: 12px; }
  .back-link span { display: none; }
  .consult-layout { width: calc(100% - 32px); display: block; margin: 28px auto 40px; }
  .consult-intro { padding: 0 6px 18px; }
  .consult-eyebrow { margin-bottom: 10px; font-size: 12px; }
  .consult-intro h1 { font-size: 28px; margin-bottom: 12px; line-height: 1.5; }
  .consult-lead { margin: 0; }
  .consult-intro > p:not(.consult-eyebrow):not(.consult-lead), .consult-picture, .consult-steps { display: none; }
  .consult-lead br { display: none; }
  .consult-card { padding: 25px 20px; border-radius: 16px; }
  .consult-stack { gap: 18px; }
  .booking-choice { grid-template-columns:1fr; }
  .booking-choice a { min-height:66px; }
  .appointment-card { padding: 22px 12px 18px; }
  .appointment-card .form-heading { padding-left: 8px; padding-right: 8px; }
  .appointment-frame { height: 760px; }
  .purchase-layout { padding: 24px 10px 40px; }
  .purchase-card { padding: 28px 12px; }
  .purchase-card > h1, .purchase-card > p, .purchase-card > .consult-eyebrow, .purchase-card > .thanks-help, .purchase-card > .thanks-secondary { margin-left: 10px; margin-right: 10px; }
  .appointment-frame-purchase { height: 760px; }
  .form-heading { padding-bottom: 16px; margin-bottom: 24px; }
  .form-heading h2 { font-size: 23px; }
  .form-field { margin-bottom: 22px; }
  .form-field input, .form-field textarea { padding: 13px 12px; }
  .consult-submit { font-size: 16px; padding: 17px 12px; gap: 12px; }
  .consult-footer { padding: 22px 16px; font-size: 11px; }
  .consult-footer span { display: block; margin: 4px 0 0; }
  .thanks-layout { min-height: calc(100vh - 155px); padding: 32px 16px 40px; }
  .thanks-card { padding: 30px 22px; border-radius: 16px; }
  .thanks-card h1 { font-size: 23px; }
  .thanks-card > p { font-size: 14px; }
  .thanks-next { padding: 20px; }
  .thanks-next p { font-size: 15px; }
  .thanks-card > .thanks-help { font-size: 13px; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Policy / legal pages */
.policy-card ul { margin: 8px 0 18px; padding-left: 22px; color: var(--muted); }
.policy-card li { margin: 6px 0; line-height: 1.75; }
.policy-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.policy-links > a:not(.consult-submit) { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.policy-links .consult-submit { width: auto; min-width: 240px; margin-top: 0; }
.legal-table { margin: 28px 0 0; border-top: 1px solid var(--line); }
.legal-table > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.legal-table dt { margin: 0; padding: 18px 16px; background: #f5f6ef; color: #37422e; font-weight: 700; }
.legal-table dd { margin: 0; padding: 18px 20px; color: var(--muted); line-height: 1.8; }
.legal-table a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 700px) {
  .policy-layout { width: calc(100% - 28px); margin: 28px auto 46px; }
  .policy-card { padding: 28px 20px; border-radius: 16px; }
  .policy-card h2 { margin-top: 28px; font-size: 17px; }
  .legal-table > div { grid-template-columns: 1fr; }
  .legal-table dt { padding: 13px 14px 6px; background: #f7f8f2; }
  .legal-table dd { padding: 8px 14px 16px; }
  .policy-links { align-items: stretch; }
  .policy-links > a { width: 100% !important; justify-content: center; }
}
