
/* Codex Kisarazu responsive fix 2026-07-05 */
@media (min-width: 960px) {
  .kmc-subpage {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    overflow-x: clip !important;
  }

  .kmc-subpage .kmc-page-hero,
  .kmc-subpage .kmc-section,
  .kmc-subpage .kmc-footer,
  .kmc-subpage .kmc-footer__cta {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .kmc-subpage .kmc-mobilebar {
    display: none !important;
  }
}

.kmc-site a.kmc-btn--primary,
.kmc-subpage a.kmc-btn--primary,
.kmc-site .kmc-mobilebar a,
.kmc-subpage .kmc-mobilebar a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* KMC white-base visual system 2026-08-23 */
:root {
  --kmc-white: #fefefe;
  --kmc-white-pure: #fff;
  --kmc-white-soft: #f7f9fa;
  --kmc-white-mist: #f2f6f7;
  --kmc-white-line: #dce5e8;
  --kmc-white-ink: #102d40;
  --kmc-white-muted: #526772;
  --kmc-white-navy: #002860;
  --kmc-white-teal: #086b62;
  --kmc-white-gold: #9a6a20;
  --kmc-white-shadow: 0 12px 32px rgba(16, 45, 64, .07);
}

html body,
html body:has(.kch-home),
html body:has(.kmc-site),
html body:has(.kmc-subpage),
html body #body_wrap {
  background: var(--kmc-white) !important;
  background-image: none !important;
  color: var(--kmc-white-ink) !important;
}

/* Header: match the near-white pixels around the supplied logo. */
html body #header.l-header,
html body .l-fixHeader {
  background: var(--kmc-white) !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
  box-shadow: 0 6px 20px rgba(16, 45, 64, .06) !important;
  backdrop-filter: none !important;
}

html body #header .l-header__bar,
html body .l-fixHeader .l-header__bar {
  background: var(--kmc-white) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
  color: var(--kmc-white-navy) !important;
}

html body #header .l-header__inner,
html body #header .l-header__barInner,
html body .l-fixHeader .l-header__inner,
html body .l-fixHeader__inner {
  background: var(--kmc-white) !important;
  background-image: none !important;
}

html body #header .c-headLogo__link,
html body .l-fixHeader .c-headLogo__link,
html body #header .l-header__logo,
html body .l-fixHeader__logo {
  background-color: var(--kmc-white) !important;
}

html body #header .l-header__bar .c-catchphrase,
html body #header .l-header__bar .c-catchphrase * {
  color: var(--kmc-white-ink) !important;
  text-shadow: none !important;
}

html body #header .l-header__bar .c-catchphrase::before,
html body #header .l-header__bar .c-catchphrase::after {
  border: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-navy) !important;
}

html body #header .l-header__logo::after {
  border-left-color: var(--kmc-white-gold) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-navy) !important;
}

html body #header .c-gnav > .menu-item > a {
  color: var(--kmc-white-ink) !important;
}

html body #header .c-gnav > .menu-item > a:hover,
html body #header .c-gnav > .menu-item.current-menu-item > a,
html body #header .c-gnav > .menu-item.current_page_item > a {
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-navy) !important;
}

html body #header .c-gnav > .menu-item > a[href$="/contact/"],
html body #header .c-gnav > .menu-item > a[href$="/contact/"] .ttl {
  background: var(--kmc-white-teal) !important;
  border-color: var(--kmc-white-teal) !important;
  color: #fff !important;
}

html body #header .c-gnav > .menu-item > a[href^="tel:"],
html body #header .c-gnav > .menu-item > a[href^="tel:"] .ttl {
  background: var(--kmc-white) !important;
  border-color: #d8c39e !important;
  color: var(--kmc-white-navy) !important;
}

html body #header .c-iconBtn {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-navy) !important;
}

html body .p-spMenu__inner,
html body .p-spMenu__inner::before {
  background: var(--kmc-white) !important;
}

html body .p-spMenu .c-widget__title.-spmenu {
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-navy) !important;
}

html body .p-spMenu .c-widget__title.-spmenu::after {
  color: var(--kmc-white-muted) !important;
}

/* Home page: white editorial hero with the photograph retained on the right. */
html body:has(.kch-home) #body_wrap .kch-home {
  --ink: var(--kmc-white-ink) !important;
  --muted: var(--kmc-white-muted) !important;
  --navy: var(--kmc-white-navy) !important;
  --deep: var(--kmc-white-navy) !important;
  --teal: var(--kmc-white-teal) !important;
  --gold: var(--kmc-white-gold) !important;
  --paper: var(--kmc-white) !important;
  --surface: var(--kmc-white-pure) !important;
  --mist: var(--kmc-white-soft) !important;
  --line: var(--kmc-white-line) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kch-home) #body_wrap .kch-hero {
  background: var(--kmc-white) !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
}

html body:has(.kch-home) #body_wrap .kch-hero__image {
  inset: 0 0 0 auto !important;
  width: 55% !important;
  height: 100% !important;
  opacity: .86 !important;
  filter: saturate(.78) contrast(.96) brightness(1.08) !important;
  object-position: center center !important;
}

html body:has(.kch-home) #body_wrap .kch-hero::before {
  background: linear-gradient(90deg,
    #fefefe 0%,
    #fefefe 44%,
    rgba(254, 254, 254, .96) 52%,
    rgba(254, 254, 254, .7) 65%,
    rgba(254, 254, 254, .12) 100%) !important;
}

html body:has(.kch-home) #body_wrap .kch-hero::after {
  background: linear-gradient(0deg,
    #fefefe 0%,
    rgba(254, 254, 254, .68) 30%,
    rgba(254, 254, 254, 0) 100%) !important;
}

html body #body_wrap .post_content .kch-home .kch-hero h1,
html body:has(.kch-home) #body_wrap .kch-home .kch-hero h1 {
  color: var(--kmc-white-navy) !important;
  text-shadow: none !important;
}

html body #body_wrap .post_content .kch-home .kch-hero p,
html body:has(.kch-home) #body_wrap .kch-home .kch-hero p {
  color: var(--kmc-white-muted) !important;
  text-shadow: none !important;
}

html body:has(.kch-home) #body_wrap .kch-title-accent {
  color: var(--kmc-white-gold) !important;
}

html body #body_wrap .post_content .kch-home .kch-hero__label,
html body #body_wrap .post_content .kch-home .kch-hero__facts span,
html body:has(.kch-home) #body_wrap .kch-home .kch-hero__label,
html body:has(.kch-home) #body_wrap .kch-home .kch-hero__facts span {
  border-color: #cad8dd !important;
  background: rgba(255, 255, 255, .9) !important;
  color: var(--kmc-white-navy) !important;
  box-shadow: 0 6px 18px rgba(16, 45, 64, .04) !important;
}

html body:has(.kch-home) #body_wrap .kch-contactbar {
  background: var(--kmc-white) !important;
}

html body:has(.kch-home) #body_wrap .kch-contactbar__inner {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white-pure) !important;
  box-shadow: var(--kmc-white-shadow) !important;
}

html body:has(.kch-home) #body_wrap .kch-section,
html body:has(.kch-home) #body_wrap .kch-section--paper,
html body:has(.kch-home) #body_wrap .kch-section--soft {
  background: var(--kmc-white) !important;
}

html body:has(.kch-home) #body_wrap .kch-section--paper,
html body:has(.kch-home) #body_wrap .kch-section--soft {
  border-top: 1px solid var(--kmc-white-line) !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
}

html body:has(.kch-home) #body_wrap .kch-panel,
html body:has(.kch-home) #body_wrap .kch-card,
html body:has(.kch-home) #body_wrap .kch-note,
html body:has(.kch-home) #body_wrap .kch-zero-list div {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white-pure) !important;
  box-shadow: var(--kmc-white-shadow) !important;
}

html body:has(.kch-home) #body_wrap .kch-cta {
  border-top: 1px solid var(--kmc-white-line) !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
  background-image: none !important;
  color: var(--kmc-white-ink) !important;
}

html body #body_wrap .post_content .kch-home .kch-cta h2,
html body #body_wrap .post_content .kch-home .kch-cta p,
html body:has(.kch-home) #body_wrap .kch-home .kch-cta h2,
html body:has(.kch-home) #body_wrap .kch-home .kch-cta p {
  color: var(--kmc-white-navy) !important;
}

html body #body_wrap .post_content .kch-home .kch-cta p,
html body:has(.kch-home) #body_wrap .kch-home .kch-cta p {
  color: var(--kmc-white-muted) !important;
}

html body:has(.kch-home) #body_wrap .kch-footer {
  border-top: 3px solid var(--kmc-white-navy) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-muted) !important;
}

html body #body_wrap .post_content .kch-home .kch-footer h2,
html body:has(.kch-home) #body_wrap .kch-home .kch-footer h2 {
  color: var(--kmc-white-navy) !important;
}

html body #body_wrap .post_content .kch-home .kch-footer p,
html body #body_wrap .post_content .kch-home .kch-footer__bottom,
html body:has(.kch-home) #body_wrap .kch-home .kch-footer p,
html body:has(.kch-home) #body_wrap .kch-home .kch-footer__bottom {
  color: var(--kmc-white-muted) !important;
}

html body:has(.kch-home) #body_wrap .kch-footer__links a {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white-pure) !important;
  color: var(--kmc-white-navy) !important;
}

html body:has(.kch-home) #body_wrap .kch-footer__bottom {
  border-top-color: var(--kmc-white-line) !important;
}

/* Subpages and forms: white surfaces with restrained light-grey separators. */
html body:has(.kmc-site) #body_wrap .kmc-site,
html body:has(.kmc-subpage) #body_wrap .kmc-subpage {
  --ink: var(--kmc-white-ink) !important;
  --navy: var(--kmc-white-navy) !important;
  --teal: var(--kmc-white-teal) !important;
  --sea: var(--kmc-white-soft) !important;
  --paper: var(--kmc-white) !important;
  --line: var(--kmc-white-line) !important;
  --brass: var(--kmc-white-gold) !important;
  --muted: var(--kmc-white-muted) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-page-hero,
html body:has(.kmc-subpage) #body_wrap .kmc-page-hero {
  border-bottom-color: var(--kmc-white-line) !important;
  background: linear-gradient(135deg, #f7f9fa 0%, #fefefe 62%, #f6f8f9 100%) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-page-hero::before,
html body:has(.kmc-subpage) #body_wrap .kmc-page-hero::before {
  background: linear-gradient(90deg, rgba(0, 40, 96, .025), rgba(8, 107, 98, .018)) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-section,
html body:has(.kmc-subpage) #body_wrap .kmc-section,
html body:has(.kmc-site) #body_wrap .kmc-section--soft,
html body:has(.kmc-subpage) #body_wrap .kmc-section--soft,
html body:has(.kmc-site) #body_wrap .kmc-form-band,
html body:has(.kmc-subpage) #body_wrap .kmc-form-band {
  background: var(--kmc-white) !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-section--soft,
html body:has(.kmc-subpage) #body_wrap .kmc-section--soft,
html body:has(.kmc-site) #body_wrap .kmc-form-band,
html body:has(.kmc-subpage) #body_wrap .kmc-form-band {
  border-top: 1px solid var(--kmc-white-line) !important;
  border-bottom: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-section--ink,
html body:has(.kmc-subpage) #body_wrap .kmc-section--ink {
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-section--ink > .kmc-wrap > :is(.kmc-title, .kmc-lead, .kmc-eyebrow),
html body:has(.kmc-subpage) #body_wrap .kmc-section--ink > .kmc-wrap > :is(.kmc-title, .kmc-lead, .kmc-eyebrow) {
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap :is(.kmc-card, .kmc-page-card, .kmc-form-shell, .kmc-form-note, .kmc-note, .kmc-list li, .kmc-data, .wpcf7),
html body:has(.kmc-subpage) #body_wrap :is(.kmc-card, .kmc-page-card, .kmc-form-shell, .kmc-form-note, .kmc-note, .kmc-list li, .kmc-data, .wpcf7) {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white-pure) !important;
  color: var(--kmc-white-ink) !important;
  box-shadow: var(--kmc-white-shadow) !important;
}

html body:has(.kmc-site) #body_wrap :is(input, textarea, select),
html body:has(.kmc-subpage) #body_wrap :is(input, textarea, select) {
  border-color: #cbd8dd !important;
  background: var(--kmc-white-pure) !important;
  color: var(--kmc-white-ink) !important;
}

/* Keep filled contact-card buttons legible over legacy high-specificity link colors. */
html body .kmc-subpage .kmc-page-card a.kmc-btn--primary,
html body .kmc-subpage .kmc-page-card a.kmc-btn--gold,
html body .kmc-site .kmc-page-card a.kmc-btn--primary,
html body .kmc-site .kmc-page-card a.kmc-btn--gold {
  color: var(--kmc-white-pure) !important;
  -webkit-text-fill-color: var(--kmc-white-pure) !important;
}

/* CF7 auto-paragraphing wraps each grid in one paragraph; expose its fields to CSS Grid. */
html body .kmc-subpage .kmc-cf7-grid > p,
html body .kmc-site .kmc-cf7-grid > p {
  display: contents !important;
}

html body .kmc-subpage .kmc-cf7-grid > p > br,
html body .kmc-site .kmc-cf7-grid > p > br,
html body .kmc-subpage .kmc-cf7-field > br,
html body .kmc-site .kmc-cf7-field > br {
  display: none !important;
}

/* Custom footer used on fixed pages. */
html body:has(.kmc-site) #body_wrap .kmc-footer,
html body:has(.kmc-subpage) #body_wrap .kmc-footer {
  border-top: 3px solid var(--kmc-white-navy) !important;
  background: var(--kmc-white) !important;
  background-image: none !important;
  color: var(--kmc-white-muted) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer::before,
html body:has(.kmc-subpage) #body_wrap .kmc-footer::before {
  inset: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--kmc-white-navy), var(--kmc-white-teal), var(--kmc-white-gold)) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer::after,
html body:has(.kmc-subpage) #body_wrap .kmc-footer::after {
  opacity: .3 !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__cta,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__cta {
  border-bottom: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
  background-image: none !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__cta h2,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__cta h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__cta h2::before,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__cta h2::before {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--kmc-white-gold) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__cta p,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__cta p {
  color: var(--kmc-white-muted) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__ctaBtns a:first-child,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__ctaBtns a:first-child {
  background: var(--kmc-white-teal) !important;
  color: #fff !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__ctaBtns a:last-child,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__ctaBtns a:last-child {
  background: var(--kmc-white-pure) !important;
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap :is(.kmc-footer__brand, .kmc-footer__links > section, .kmc-footer__links > div, .kmc-footer__meta, .kmc-footer__meta > div),
html body:has(.kmc-subpage) #body_wrap :is(.kmc-footer__brand, .kmc-footer__links > section, .kmc-footer__links > div, .kmc-footer__meta, .kmc-footer__meta > div) {
  border-color: var(--kmc-white-line) !important;
  background: var(--kmc-white-pure) !important;
  color: var(--kmc-white-ink) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__brandLogo,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__brandLogo {
  border-color: var(--kmc-white-line) !important;
  background-color: var(--kmc-white) !important;
  box-shadow: none !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer :is(h2, h3, strong, a),
html body:has(.kmc-subpage) #body_wrap .kmc-footer :is(h2, h3, strong, a) {
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__brand h2,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__brand h2 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__brand h2::before,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__brand h2::before {
  display: none !important;
  content: none !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer :is(p, li, small, .kmc-footer__meta, .kmc-footer__bottom, .kmc-footer__bottom span),
html body:has(.kmc-subpage) #body_wrap .kmc-footer :is(p, li, small, .kmc-footer__meta, .kmc-footer__bottom, .kmc-footer__bottom span) {
  color: var(--kmc-white-muted) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer__badges span,
html body:has(.kmc-subpage) #body_wrap .kmc-footer__badges span {
  border-color: #c8d9d8 !important;
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-navy) !important;
}

html body:has(.kmc-site) #body_wrap .kmc-footer .kmc-footer__bottom,
html body:has(.kmc-site) #body_wrap .kmc-footer .kmc-footer__bottom *,
html body:has(.kmc-subpage) #body_wrap .kmc-footer .kmc-footer__bottom,
html body:has(.kmc-subpage) #body_wrap .kmc-footer .kmc-footer__bottom * {
  border-top-color: var(--kmc-white-line) !important;
  background: transparent !important;
  color: var(--kmc-white-muted) !important;
}

/* Standard posts, archives, search, and 404 pages. */
html body #content,
html body .l-content,
html body .l-mainContent,
html body .l-mainContent__inner,
html body .post_content,
html body .p-articleHead,
html body .c-pageTitle {
  background: transparent !important;
}

html body .p-breadcrumb {
  border-bottom: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white-soft) !important;
  color: var(--kmc-white-muted) !important;
}

html body :is(.c-widget, .p-postList__item, .p-toc, .p-authorBox, .c-box, .cap_box, .is-style-big_icon_point, .is-style-big_icon_check) {
  border-color: var(--kmc-white-line) !important;
  background-color: var(--kmc-white-pure) !important;
  box-shadow: 0 8px 24px rgba(16, 45, 64, .05) !important;
}

html body #footer.l-footer {
  border-top: 1px solid var(--kmc-white-line) !important;
  background: var(--kmc-white) !important;
  color: var(--kmc-white-muted) !important;
}

html body #footer.l-footer a {
  color: var(--kmc-white-navy) !important;
}

@media (max-width: 640px) {
  html body:has(.kch-home) #body_wrap .kch-hero {
    padding-top: 0 !important;
    background: var(--kmc-white) !important;
  }

  html body:has(.kch-home) #body_wrap .kch-hero__image {
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 38% !important;
    opacity: .22 !important;
    object-position: center center !important;
  }

  html body:has(.kch-home) #body_wrap .kch-hero::before {
    background: linear-gradient(180deg,
      rgba(254, 254, 254, .62) 0%,
      rgba(254, 254, 254, .94) 25%,
      #fefefe 48%,
      #fefefe 100%) !important;
  }

  html body:has(.kch-home) #body_wrap .kch-hero::after {
    display: none !important;
  }

  html body:has(.kch-home) #body_wrap .kch-hero__content {
    padding: 36px 0 48px !important;
  }

  html body:has(.kch-home) #body_wrap .kch-contactbar {
    padding-top: 14px !important;
  }

  html body #header .c-headLogo__link {
    width: min(238px, 61vw) !important;
    height: 52px !important;
  }

  html body #header .l-header__logo {
    min-width: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .kch-home *,
  html body .kmc-site *,
  html body .kmc-subpage * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* KMC contact form UI refresh 2026-08-25 */
:root {
  --kmc-form-ink: #163746;
  --kmc-form-muted: #5f7078;
  --kmc-form-accent: #0b6b70;
  --kmc-form-accent-hover: #08585d;
  --kmc-form-line: #d5dee2;
  --kmc-form-soft: #f4f7f8;
  --kmc-form-white: #ffffff;
}

html body .kmc-subpage .kmc-form-band {
  background: var(--kmc-form-soft) !important;
}

html body .kmc-subpage .kmc-form-band .kmc-wrap {
  max-width: 860px !important;
}

html body .kmc-subpage .kmc-form-shell {
  margin-inline: auto !important;
  padding: 40px 48px !important;
  background: var(--kmc-form-white) !important;
  border: 1px solid var(--kmc-form-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(22, 55, 70, .06) !important;
}

html body .kmc-subpage .kmc-form-shell .wpcf7 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body .kmc-subpage .kmc-cf7-form {
  color: var(--kmc-form-ink) !important;
}

html body .kmc-subpage .kmc-cf7-note {
  margin: 0 !important;
  padding: 16px 18px !important;
  color: var(--kmc-form-muted) !important;
  background: var(--kmc-form-soft) !important;
  border: 1px solid var(--kmc-form-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

html body .kmc-subpage .kmc-cf7-section {
  margin-top: 32px !important;
  padding-top: 28px !important;
  background: transparent !important;
  border-top: 1px solid var(--kmc-form-line) !important;
}

html body .kmc-subpage .kmc-cf7-section-title {
  margin: 0 0 20px !important;
  padding: 0 0 12px !important;
  color: var(--kmc-form-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--kmc-form-line) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

html body .kmc-subpage .kmc-cf7-section-title::before,
html body .kmc-subpage .kmc-cf7-section-title::after {
  display: none !important;
  content: none !important;
}

html body .kmc-subpage .kmc-cf7-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
}

html body .kmc-subpage .kmc-cf7-grid > p {
  display: contents !important;
}

html body .kmc-subpage .kmc-cf7-grid > p > br,
html body .kmc-subpage .kmc-cf7-field > br {
  display: none !important;
}

html body .kmc-subpage .kmc-cf7-field,
html body .kmc-subpage .kmc-cf7-field--full {
  display: grid !important;
  grid-column: auto !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--kmc-form-ink) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

html body .kmc-subpage .kmc-cf7-label {
  color: var(--kmc-form-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

html body .kmc-subpage .kmc-cf7-required,
html body .kmc-subpage .kmc-cf7-optional {
  display: inline !important;
  margin-left: 6px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}

html body .kmc-subpage .kmc-cf7-required {
  color: #b42318 !important;
}

html body .kmc-subpage .kmc-cf7-optional {
  color: #6b7b83 !important;
}

html body .kmc-subpage .kmc-cf7-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

html body .kmc-subpage .kmc-cf7-form input[type="text"],
html body .kmc-subpage .kmc-cf7-form input[type="email"],
html body .kmc-subpage .kmc-cf7-form input[type="tel"],
html body .kmc-subpage .kmc-cf7-form select,
html body .kmc-subpage .kmc-cf7-form textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  color: var(--kmc-form-ink) !important;
  background: var(--kmc-form-white) !important;
  border: 1px solid #c6d2d7 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body .kmc-subpage .kmc-cf7-form input[type="text"],
html body .kmc-subpage .kmc-cf7-form input[type="email"],
html body .kmc-subpage .kmc-cf7-form input[type="tel"],
html body .kmc-subpage .kmc-cf7-form select {
  min-height: 52px !important;
}

html body .kmc-subpage .kmc-cf7-form textarea {
  min-height: 180px !important;
  resize: vertical !important;
}

html body .kmc-subpage .kmc-cf7-form input::placeholder,
html body .kmc-subpage .kmc-cf7-form textarea::placeholder {
  color: #77868d !important;
  opacity: 1 !important;
}

html body .kmc-subpage .kmc-cf7-form input[type="text"]:focus,
html body .kmc-subpage .kmc-cf7-form input[type="email"]:focus,
html body .kmc-subpage .kmc-cf7-form input[type="tel"]:focus,
html body .kmc-subpage .kmc-cf7-form select:focus,
html body .kmc-subpage .kmc-cf7-form textarea:focus {
  outline: none !important;
  border-color: var(--kmc-form-accent) !important;
  box-shadow: 0 0 0 3px rgba(11, 107, 112, .14) !important;
}

html body .kmc-subpage .kmc-cf7-help {
  margin-top: 2px !important;
  color: var(--kmc-form-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}

html body .kmc-subpage .kmc-cf7-checks {
  margin-top: 2px !important;
}

html body .kmc-subpage .kmc-cf7-checks .wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

html body .kmc-subpage .kmc-cf7-checks .wpcf7-list-item {
  margin: 0 !important;
}

html body .kmc-subpage .kmc-cf7-checks .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 9px 12px !important;
  color: var(--kmc-form-ink) !important;
  background: var(--kmc-form-white) !important;
  border: 1px solid var(--kmc-form-line) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}

html body .kmc-subpage .kmc-cf7-form input[type="radio"],
html body .kmc-subpage .kmc-cf7-form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: var(--kmc-form-accent) !important;
}

html body .kmc-subpage .kmc-cf7-privacy {
  margin: 28px 0 0 !important;
  color: var(--kmc-form-muted) !important;
  font-size: 14px !important;
  text-align: left !important;
}

html body .kmc-subpage .kmc-cf7-privacy a {
  color: var(--kmc-form-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html body .kmc-subpage .kmc-cf7-consent {
  margin-top: 12px !important;
  padding: 14px 16px !important;
  background: var(--kmc-form-soft) !important;
  border: 1px solid var(--kmc-form-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html body .kmc-subpage .kmc-cf7-consent p {
  margin: 0 !important;
}

html body .kmc-subpage .kmc-cf7-consent label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: var(--kmc-form-ink) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  cursor: pointer !important;
}

html body .kmc-subpage .kmc-cf7-submit {
  margin-top: 24px !important;
  text-align: center !important;
}

html body .kmc-subpage .kmc-form-shell .wpcf7 input[type="submit"],
html body .kmc-subpage .kmc-form-shell .kmc-cf7-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 360px) !important;
  min-height: 56px !important;
  padding: 13px 24px !important;
  color: #ffffff !important;
  background: var(--kmc-form-accent) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
}

html body .kmc-subpage .kmc-form-shell .wpcf7 input[type="submit"]:hover:not(:disabled),
html body .kmc-subpage .kmc-form-shell .kmc-cf7-button:hover:not(:disabled) {
  background: var(--kmc-form-accent-hover) !important;
  filter: none !important;
}

html body .kmc-subpage .kmc-form-shell .wpcf7 input[type="submit"]:disabled,
html body .kmc-subpage .kmc-form-shell .kmc-cf7-button:disabled {
  opacity: .48 !important;
  cursor: not-allowed !important;
}

html body .kmc-subpage .wpcf7-not-valid-tip,
html body .kmc-subpage .wpcf7-response-output {
  color: #b42318 !important;
  font-size: 13px !important;
}

@media (max-width: 767px) {
  html body .kmc-subpage .kmc-form-shell {
    padding: 24px 18px !important;
    border-radius: 10px !important;
  }

  html body .kmc-subpage .kmc-cf7-note {
    padding: 14px 15px !important;
  }

  html body .kmc-subpage .kmc-cf7-section {
    margin-top: 26px !important;
    padding-top: 24px !important;
  }

  html body .kmc-subpage .kmc-cf7-section-title {
    margin-bottom: 18px !important;
    font-size: 19px !important;
  }

  html body .kmc-subpage .kmc-cf7-grid {
    gap: 18px !important;
  }

  html body .kmc-subpage .kmc-cf7-checks .wpcf7-radio {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .kmc-subpage .kmc-cf7-checks .wpcf7-list-item label {
    display: flex !important;
    width: 100% !important;
  }

  html body .kmc-subpage .kmc-form-shell .wpcf7 input[type="submit"],
  html body .kmc-subpage .kmc-form-shell .kmc-cf7-button {
    width: 100% !important;
    max-width: none !important;
  }
}


/* Keep the submit button above the site's global white-input rule. */
html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .wpcf7 input[type="submit"],
html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .kmc-cf7-button {
  color: #ffffff !important;
  background: var(--kmc-form-accent) !important;
}

html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .wpcf7 input[type="submit"]:hover:not(:disabled),
html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .kmc-cf7-button:hover:not(:disabled) {
  background: var(--kmc-form-accent-hover) !important;
}

html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .wpcf7 input[type="submit"]:disabled,
html body:has(.kmc-subpage) #body_wrap .kmc-form-shell .kmc-cf7-button:disabled {
  color: #718188 !important;
  background: #dfe7e9 !important;
}
/* Keep the drawer heading below the existing site header. */
@media(max-width:1059px){
html body #body_wrap.home #sp_menu > .p-spMenu__inner{padding-top:84px!important;}
}

nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084'] > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084']:hover > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
nav#gnav#gnav.l-header__gnav.c-gnavWrap a:not([class])[href='tel:0345600084']:focus-visible > span { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }

