@media (max-width: 599px) {
  .p-breadcrumb__list {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 0.25em;
  }

  .p-breadcrumb__item {
    min-width: 0;
    max-width: 100%;
  }

  .p-breadcrumb__item:last-child {
    flex: 1 1 100%;
  }

  .p-breadcrumb__text {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body .p-fixBtnWrap {
    right: 10px !important;
    bottom: calc(env(safe-area-inset-bottom) + 88px) !important;
  }
}



/* 2026-08-23 | White-base visual refinement */
html body,
html body #body_wrap,
html body .l-content,
html body .l-container,
html body .l-mainContent,
html body .l-mainContent__inner,
html body .post_content {
  background-color: #ffffff !important;
}

html body .ma2-trust-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5ebed !important;
  box-shadow: 0 8px 24px rgba(7, 32, 50, .06) !important;
}

html body .ma2-trust-header__main,
html body .ma2-trust-header__main-inner,
html body .ma2-trust-header__brand {
  background: #ffffff !important;
}

html body .ma2-trust-header__brand img {
  filter: brightness(1.08) contrast(1.15) !important;
}

html body .ma2-trust-header__phone,
html body .ma2-trust-header__nav {
  box-shadow: none !important;
}

html body .p-breadcrumb {
  background: #ffffff !important;
  border-bottom: 1px solid #edf1f2 !important;
  box-shadow: none !important;
}

html body #body_wrap.home,
html body #body_wrap.home .l-content,
html body #body_wrap.home .l-container,
html body #body_wrap.home .l-mainContent,
html body #body_wrap.home .l-mainContent__inner,
html body #body_wrap.home .l-content__inner,
html body #body_wrap.home .p-mainContent,
html body #body_wrap.home #main_content,
html body #body_wrap.home #content,
html body #body_wrap.home .post_content,
html body #body_wrap.home #kma-pro-home,
html body #body_wrap.home .kma-pro {
  background: #ffffff !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__hero {
  border-bottom: 1px solid #edf1f2 !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__hero::before {
  opacity: 1 !important;
  background: #ffffff !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__consult-card {
  background: #ffffff !important;
  border: 0 !important;
  border-left: 1px solid #e1e8ea !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__consult-photo,
html body #body_wrap.home #kma-pro-home .kma-pro__consult-body {
  background: #ffffff !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__consult-photo img {
  filter: brightness(1.015) contrast(1.04) !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__trustbar,
html body #body_wrap.home #kma-pro-home .kma-pro__fee,
html body #body_wrap.home #kma-pro-home .kma-pro__section,
html body #body_wrap.home #kma-pro-home .kma-pro__section--white,
html body #body_wrap.home #kma-pro-home .kma-pro__cta {
  background: #ffffff !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__section--soft,
html body #body_wrap.home #kma-pro-home .kma-pro__knowledge {
  background: #f8faf9 !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__trustbar,
html body #body_wrap.home #kma-pro-home .kma-pro__fee,
html body #body_wrap.home #kma-pro-home .kma-pro__section,
html body #body_wrap.home #kma-pro-home .kma-pro__cta {
  border-top-color: #edf1f2 !important;
  border-bottom-color: #edf1f2 !important;
}

html body #body_wrap.home #kma-pro-home .kma-pro__fee-panel,
html body #body_wrap.home #kma-pro-home .kma-pro__card,
html body #body_wrap.home #kma-pro-home .kma-pro__step,
html body #body_wrap.home #kma-pro-home .kma-pro__knowledge-card {
  border-color: #e0e7e9 !important;
  box-shadow: 0 8px 22px rgba(7, 32, 50, .045) !important;
}

html body .kma-sell,
html body .kma26-sub {
  background: #ffffff !important;
}

html body .kma-sell__section,
html body .kma26-sub__section {
  background-color: #ffffff !important;
}

html body .kma26-sub__section--soft {
  background-color: #f8faf9 !important;
}

html body .kma-sell__cta,
html body .kma26-sub__cta {
  background-color: #ffffff !important;
}

html body :where(.kma26-sub__card, .kma26-sub__panel, .kma-sell__card, .ma-form) {
  border-color: #e0e7e9 !important;
  box-shadow: 0 10px 28px rgba(7, 32, 50, .055) !important;
}


@media (max-width: 1040px) {
  html body #body_wrap.home #kma-pro-home .kma-pro__consult-card {
    border-left: 0 !important;
    border-top: 1px solid #e1e8ea !important;
  }
}


@media (max-width: 640px) {
  html body #body_wrap.home #kma-pro-home .kma-pro__consult-photo {
    display: none !important;
  }
}



/* 2026-08-23 | White footer integration */
html body .ma2-trust-footer {
  background: #ffffff !important;
  color: #102235 !important;
  border-top: 1px solid #e2e8ea !important;
}

html body .ma2-trust-footer::before {
  content: none !important;
  display: none !important;
}

html body .ma2-trust-footer__topline {
  background: #f8faf9 !important;
  border-bottom: 1px solid #e2e8ea !important;
}

html body .ma2-trust-footer__topline :where(span, strong, a) {
  color: #102235 !important;
}

html body .ma2-trust-footer__topline strong {
  color: #765514 !important;
}

html body .ma2-trust-footer__hero,
html body .ma2-trust-footer > .ma2-trust-footer__wrap {
  background: #ffffff !important;
}

html body .ma2-trust-footer__brand img {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: brightness(1.08) contrast(1.12) !important;
}

html body .ma2-trust-footer__lead,
html body .ma2-trust-footer__operator-note,
html body .ma2-trust-footer__microcopy,
html body .ma2-trust-footer__contact > p {
  color: #40576a !important;
}

html body .ma2-trust-footer__operator-note {
  border-color: #dce5e7 !important;
  background: #f8faf9 !important;
}

html body .ma2-trust-footer__operator-note :where(span, strong, a) {
  color: #102235 !important;
}

html body .ma2-trust-footer__badges span {
  border-color: #dce5e7 !important;
  background: #f8faf9 !important;
  color: #765514 !important;
}

html body .ma2-trust-footer__contact {
  border-color: #dce5e7 !important;
  background: #f8faf9 !important;
  box-shadow: 0 12px 30px rgba(7, 32, 50, .055) !important;
}

html body .ma2-trust-footer__contact h2 {
  color: #102235 !important;
}

html body .ma2-trust-footer__eyebrow {
  color: #765514 !important;
}

html body .ma2-trust-footer__primary,
html body .ma2-trust-footer__primary :where(span, strong) {
  background: #9b7226 !important;
  color: #ffffff !important;
}

html body .ma2-trust-footer__secondary,
html body .ma2-trust-footer__secondary :where(span, strong) {
  border-color: #cad7da !important;
  background: #ffffff !important;
  color: #07334a !important;
}

html body .ma2-trust-footer__tel,
html body .ma2-trust-footer__tel :where(span, strong) {
  color: #07334a !important;
}

html body .ma2-trust-footer__links {
  border-color: #e2e8ea !important;
  background: #f8faf9 !important;
}

html body .ma2-trust-footer__link-grid h3 {
  color: #765514 !important;
}

html body .ma2-trust-footer__link-grid a {
  color: #102235 !important;
}

html body .ma2-trust-footer__link-grid a:hover {
  color: #08756b !important;
}

html body .ma2-trust-footer__bottom {
  background: #ffffff !important;
  border-top: 1px solid #e2e8ea !important;
}

html body .ma2-trust-footer__bottom .ma2-trust-footer__wrap,
html body .ma2-trust-footer__bottom :where(span, a) {
  color: #536675 !important;
}


html body .ma2-trust-footer .ma2-trust-footer__lead,
html body .ma2-trust-footer .ma2-trust-footer__operator-note {
  color: #40576a !important;
}

html body .ma2-trust-footer .ma2-trust-footer__operator-note strong {
  color: #102235 !important;
}

html body .ma2-trust-footer .ma2-trust-footer__tel {
  border: 1px solid #cad7da !important;
  background: #ffffff !important;
  color: #07334a !important;
}


html body .ma2-trust-footer .ma2-trust-footer__logo-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}



/* 2026-08-23 | Final white-base polish */
body .ma2-trust-header .ma2-trust-header__main .ma2-trust-header__logo-shell {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .ma2-trust-header .ma2-trust-header__brand {
  background: transparent !important;
}

/* Company-sale page: white hero and readable content */
html body .post_content .kma-sell .kma-sell__hero {
  background: #fff !important;
  background-image: none !important;
  color: #102235 !important;
  border-top: 1px solid #e6eceb !important;
  border-bottom: 1px solid #e6eceb !important;
  box-shadow: none !important;
}
html body .post_content .kma-sell .kma-sell__hero h1,
html body .post_content .kma-sell .kma-sell__hero .kma-sell__eyebrow,
html body .post_content .kma-sell .kma-sell__hero .kma-sell__lead,
html body .post_content .kma-sell .kma-sell__hero .kma-sell__hero-points,
html body .post_content .kma-sell .kma-sell__hero .kma-sell__hero-points article,
html body .post_content .kma-sell .kma-sell__hero .kma-sell__hero-points strong {
  color: #102235 !important;
}
html body .post_content .kma-sell .kma-sell__hero .kma-sell__hero-points article {
  background: #f8faf9 !important;
  border-color: #dce6e4 !important;
}
html body .post_content .kma-sell .kma-sell__hero .kma-sell__hero-points span {
  color: #40576a !important;
}
html body .post_content .kma-sell .kma-sell__hero .kma-sell__btn--primary {
  color: #fff !important;
  background: #a87713 !important;
  background-image: none !important;
  border-color: #a87713 !important;
}
html body .post_content .kma-sell .kma-sell__hero .kma-sell__btn--secondary {
  color: #0b5269 !important;
  background: #fff !important;
  background-image: none !important;
  border-color: #b9cbd0 !important;
}
html body .post_content .kma-sell .kma-sell__section h2 {
  color: #102235 !important;
  background: #fff !important;
  background-image: none !important;
  border-top: 1px solid #dce6e4 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #dce6e4 !important;
  border-left: 4px solid #a87713 !important;
  box-shadow: none !important;
}
html body .post_content .kma-sell .kma-sell__section h2::before,
html body .post_content .kma-sell .kma-sell__section h2::after {
  background: none !important;
  background-image: none !important;
}

/* Shared inner-page heroes */
html body .post_content .kma26-sub .kma26-sub__hero {
  background: #fff !important;
  background-image: none !important;
  color: #102235 !important;
  border-top: 1px solid #e6eceb !important;
  border-bottom: 1px solid #e6eceb !important;
}
html body .post_content .kma26-sub .kma26-sub__hero::before,
html body .post_content .kma26-sub .kma26-sub__hero::after {
  background: none !important;
  background-image: none !important;
}
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__eyebrow {
  color: #8b6516 !important;
}
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__title,
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__title *,
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__lead {
  color: #102235 !important;
}
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__btn--primary {
  color: #fff !important;
  background: #a87713 !important;
  background-image: none !important;
  border-color: #a87713 !important;
}
html body .post_content .kma26-sub .kma26-sub__hero .kma26-sub__btn--outline {
  color: #0b5269 !important;
  background: #fff !important;
  background-image: none !important;
  border-color: #b9cbd0 !important;
}

/* Guideline page */
html body .post_content .kma26-legal .kma26-legal__hero {
  background: #fff !important;
  background-image: none !important;
  color: #102235 !important;
  border-top: 1px solid #e6eceb !important;
  border-bottom: 1px solid #e6eceb !important;
}
html body .post_content .kma26-legal .kma26-legal__hero h1,
html body .post_content .kma26-legal .kma26-legal__hero p,
html body .post_content .kma26-legal .kma26-legal__hero .kma26-legal__lead {
  color: #102235 !important;
}
html body .post_content .kma26-legal .kma26-legal__hero .kma26-legal__badge {
  color: #0b5269 !important;
  background: #f8faf9 !important;
  border-color: #cbd9dc !important;
}

/* Footer company details on white */
html body .ma2-trust-footer .ma2-trust-footer__company > div {
  background: #f8faf9 !important;
  border: 1px solid #dce6e4 !important;
  box-shadow: none !important;
}
html body .ma2-trust-footer .ma2-trust-footer__company dt {
  color: #8b6516 !important;
}
html body .ma2-trust-footer .ma2-trust-footer__company dd,
html body .ma2-trust-footer .ma2-trust-footer__company dd a {
  color: #102235 !important;
}

/* Replace repeated logo placeholders with simple industry summaries */
html body .kma-pro .kma-pro__industry-photo {
  min-height: 160px !important;
  padding: 26px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body .kma-pro .kma-pro__industry-photo img,
html body .kma-pro .kma-pro__industry-photo noscript {
  display: none !important;
}
html body .kma-pro .kma-pro__industry-photo::before {
  content: "" !important;
  width: 42px !important;
  height: 3px !important;
  margin-bottom: 24px !important;
  background: #a87713 !important;
}
html body .kma-pro .kma-pro__industry-photo figcaption {
  height: auto !important;
  padding: 0 !important;
  color: #102235 !important;
}

@media (max-width: 640px) {
  body:has(form.ma-form) .p-fixBtnWrap {
    display: none !important;
  }
}

/* Codex contrast fix 2026-08-25 */ #body_wrap .ma2-trust-footer__operator-note span{color:#765300!important;} #body_wrap .ma2-trust-footer__primary{background:#895f16!important;color:#fff!important;}


/* 2026-08-25 | Contact form: clean single-column UI */
body .ma-form.ma2-easy-form,
body .ma-form.ma2-easy-form * {
  box-sizing: border-box !important;
}

body .ma-form.ma2-easy-form {
  width: min(100%, 780px) !important;
  max-width: 780px !important;
  margin-inline: auto !important;
  padding: 36px !important;
  border: 1px solid #d7e0e7 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #142638 !important;
  box-shadow: 0 12px 32px rgba(15, 35, 55, .08) !important;
}

body .ma-form.ma2-easy-form .ma-form__header {
  margin-bottom: 26px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid #e2e8ed !important;
}

body .ma-form.ma2-easy-form .ma-form__heading,
body .ma-form.ma2-easy-form .ma-form__section-title,
body .ma-form.ma2-easy-form .ma-field__label {
  color: #142638 !important;
}

body .ma-form.ma2-easy-form .ma-form__kicker,
body .ma-form.ma2-easy-form .ma-required {
  border: 0 !important;
  background: #0b3b4a !important;
  color: #ffffff !important;
}

body .ma-form.ma2-easy-form .ma-optional {
  border: 1px solid #cfd8df !important;
  background: #f3f5f7 !important;
  color: #52616d !important;
}

body .ma-form.ma2-easy-form .ma-form__quick {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body .ma-form.ma2-easy-form .ma-form__quick span {
  border: 1px solid #d7e0e7 !important;
  background: #f7f9fa !important;
  color: #40515f !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form .ma-form-grid,
body .ma-form.ma2-easy-form .ma-form__fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
}

body .ma-form.ma2-easy-form .ma-field,
body .ma-form.ma2-easy-form .ma-wide {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
}

body .ma-form.ma2-easy-form .ma-form__section {
  width: 100% !important;
  padding: 24px !important;
  border: 1px solid #d7e0e7 !important;
  border-radius: 10px !important;
  background: #f8fafb !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form input:not([type="checkbox"]):not([type="hidden"]),
body .ma-form.ma2-easy-form select,
body .ma-form.ma2-easy-form textarea {
  width: 100% !important;
  min-height: 54px !important;
  padding: 14px 16px !important;
  border: 1px solid #b9c6cf !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #142638 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form textarea {
  min-height: 180px !important;
  resize: vertical !important;
}

body .ma-form.ma2-easy-form input::placeholder,
body .ma-form.ma2-easy-form textarea::placeholder {
  color: #75838e !important;
  opacity: 1 !important;
}

body .ma-form.ma2-easy-form input:not([type="checkbox"]):focus,
body .ma-form.ma2-easy-form select:focus,
body .ma-form.ma2-easy-form textarea:focus {
  border-color: #0b3b4a !important;
  outline: 3px solid rgba(11, 59, 74, .16) !important;
  outline-offset: 1px !important;
}

body .ma-form.ma2-easy-form .ma-field__hint,
body .ma-form.ma2-easy-form .ma-form__summary,
body .ma-form.ma2-easy-form .ma-form__microcopy,
body .ma-form.ma2-easy-form .ma-form__note,
body .ma-form.ma2-easy-form .ma-form__counter {
  color: #52616d !important;
}

body .ma-form.ma2-easy-form .ma-form__assist-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}

body .ma-form.ma2-easy-form .ma-form__assist button.ma-form__assist-button {
  width: 100% !important;
  min-height: 44px !important;
  justify-content: flex-start !important;
  padding: 10px 12px !important;
  border: 1px solid #d1dae1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #29404f !important;
  text-align: left !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form .ma-form__assist button.ma-form__assist-button:hover,
body .ma-form.ma2-easy-form .ma-form__assist button.ma-form__assist-button:focus-visible {
  border-color: #0b3b4a !important;
  background: #f0f4f6 !important;
  color: #0b3b4a !important;
}

body .ma-form.ma2-easy-form .ma-form__optional-panel {
  width: 100% !important;
  border: 1px solid #d7e0e7 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form button.ma-form__optional-summary {
  min-height: 58px !important;
  background: #ffffff !important;
  color: #142638 !important;
}

body .ma-form.ma2-easy-form .ma-form__optional-summary::after {
  background: #0b3b4a !important;
  color: #ffffff !important;
}

body .ma-form.ma2-easy-form .ma-form__note,
body .ma-form.ma2-easy-form .ma-consent,
body .ma-form.ma2-easy-form .ma-consent--buyer-needs {
  border: 1px solid #d7e0e7 !important;
  border-radius: 8px !important;
  background: #f7f9fa !important;
  color: #344755 !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form .ma-consent input[type="checkbox"] {
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 1px !important;
  accent-color: #0b3b4a !important;
}

body .ma-form.ma2-easy-form .ma-form__submit {
  display: flex !important;
  justify-content: center !important;
}

body .ma-form.ma2-easy-form .ma-form__submit button {
  width: 100% !important;
  max-width: 380px !important;
  min-height: 56px !important;
  border-radius: 8px !important;
  background: #0b3b4a !important;
  color: #ffffff !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

body .ma-form.ma2-easy-form .ma-form__submit button:hover,
body .ma-form.ma2-easy-form .ma-form__submit button:focus-visible {
  background: #082f3b !important;
  outline: 3px solid rgba(11, 59, 74, .18) !important;
  outline-offset: 3px !important;
}

@media (max-width: 760px) {
  body .ma-form.ma2-easy-form {
    width: 100% !important;
    padding: 20px !important;
    border-radius: 10px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__header {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__section {
    padding: 18px !important;
  }

  body .ma-form.ma2-easy-form .ma-form-grid,
  body .ma-form.ma2-easy-form .ma-form__fields {
    gap: 16px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__quick {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .ma-form.ma2-easy-form .ma-form__quick span {
    width: 100% !important;
  }

  body .ma-form.ma2-easy-form input:not([type="checkbox"]):not([type="hidden"]),
  body .ma-form.ma2-easy-form select,
  body .ma-form.ma2-easy-form textarea {
    min-height: 52px !important;
    padding: 13px 14px !important;
    font-size: 16px !important;
  }

  body .ma-form.ma2-easy-form textarea {
    min-height: 160px !important;
  }

  body .ma-form.ma2-easy-form .ma-consent {
    align-items: flex-start !important;
    padding: 14px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__submit button {
    max-width: none !important;
    min-height: 56px !important;
  }
}
/* End contact form clean single-column UI */


/* 2026-08-25 | Contact form mobile/accessibility safeguards */
body .ma-form.ma2-easy-form input::placeholder,
body .ma-form.ma2-easy-form textarea::placeholder {
  color: #5f6f7a !important;
}

body .ma-form.ma2-easy-form .ma-field__label {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body .ma-form.ma2-easy-form .ma-field__hint,
body .ma-form.ma2-easy-form .ma-form__microcopy,
body .ma-form.ma2-easy-form .ma-form__note,
body .ma-form.ma2-easy-form .ma-form__summary,
body .ma-form.ma2-easy-form .ma-form__counter,
body .ma-form.ma2-easy-form .ma-consent,
body .ma-form.ma2-easy-form .ma-consent__note {
  font-size: 13px !important;
  line-height: 1.7 !important;
}

body .ma-form.ma2-easy-form .ma-required,
body .ma-form.ma2-easy-form .ma-optional,
body .ma-form.ma2-easy-form .ma-form__quick span,
body .ma-form.ma2-easy-form .ma-form__assist-title,
body .ma-form.ma2-easy-form .ma-form__optional-summary small {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body .ma-form.ma2-easy-form .ma-form__assist button.ma-form__assist-button {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body .ma-form.ma2-easy-form button.ma-form__optional-summary {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

body .ma-form.ma2-easy-form .ma-field.is-invalid input,
body .ma-form.ma2-easy-form .ma-field.is-invalid select,
body .ma-form.ma2-easy-form .ma-field.is-invalid textarea {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important;
}

body .ma-form.ma2-easy-form .ma-consent.is-invalid {
  border-color: #d92d20 !important;
  background: #fff7f5 !important;
}

body .ma-form.ma2-easy-form .ma-form__missing-summary,
body .ma-form.ma2-easy-form .ma-field__error,
body .ma-form.ma2-easy-form .ma-consent__error {
  color: #9f1c13 !important;
}

body .ma-form.ma2-easy-form .ma-form__status {
  border: 1px solid #add9bd !important;
  background: #edf8f1 !important;
  color: #17653a !important;
}

@media (max-width: 480px) {
  body .ma-form.ma2-easy-form {
    padding: 16px 14px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__section {
    padding: 16px 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body .ma-form.ma2-easy-form .ma-form__optional-body {
    padding: 0 12px 12px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__optional-body .ma-form__section {
    padding: 4px 0 0 !important;
  }

  body .ma-form.ma2-easy-form .ma-form__header {
    margin-bottom: 14px !important;
    padding-bottom: 18px !important;
  }

  body .ma-form.ma2-easy-form .ma-form__assist button.ma-form__assist-button {
    min-height: 46px !important;
  }
}
/* End contact form mobile/accessibility safeguards */


/* 2026-10-09: Match the official logo matte across the header and footer. */
html body header.ma2-trust-header,
html body header.ma2-trust-header .ma2-trust-header__main,
html body header.ma2-trust-header .ma2-trust-header__main-inner,
html body header.ma2-trust-header .ma2-trust-header__brand,
html body footer.ma2-trust-footer,
html body footer.ma2-trust-footer > .ma2-trust-footer__wrap {
  background: #fefefe !important;
}

/* Match the existing logo image matte; preserve all sizes, menus and CTA colors. */
html body header.ma2-trust-header,
html body header.ma2-trust-header .ma2-trust-header__main,
html body header.ma2-trust-header .ma2-trust-header__main-inner,
html body header.ma2-trust-header .ma2-trust-header__brand,
html body header.ma2-trust-header .ma2-trust-header__main .ma2-trust-header__logo-shell,
html body footer.ma2-trust-footer,
html body footer.ma2-trust-footer > .ma2-trust-footer__wrap.ma2-trust-footer__hero,
html body footer.ma2-trust-footer .ma2-trust-footer__brand,
html body footer.ma2-trust-footer .ma2-trust-footer__brand .ma2-trust-footer__logo-card {
  background:#fefefe!important;
}

/* Do not brighten the white matte independently of the surrounding surface. */
html body header.ma2-trust-header .ma2-trust-header__brand img.ma2-trust-header__logo,
html body footer.ma2-trust-footer .ma2-trust-footer__brand .ma2-trust-footer__logo-card > img {
  filter:none!important;
}

/* Retain the existing flat logo treatment at normal and scrolled positions. */
html body header.ma2-trust-header .ma2-trust-header__main .ma2-trust-header__logo-shell,
html body header.ma2-trust-header .ma2-trust-header__brand img.ma2-trust-header__logo,
html body footer.ma2-trust-footer .ma2-trust-footer__brand .ma2-trust-footer__logo-card,
html body footer.ma2-trust-footer .ma2-trust-footer__brand .ma2-trust-footer__logo-card > img {
  box-shadow:none!important;
}


/* 神奈川M&A総合センターの背景と文字色 */
@layer kanagawa-white-backgrounds {
  html, body, #body_wrap, #header.l-header, #footer.l-footer, #breadcrumb,
  :is(.ma2-trust-header, .ma2-trust-header__main, .ma2-trust-header__main-inner,
      .p-spMenu__inner, #kanagawa-review-home, .kg13-person-stage, .civ-fees,
      .kma-pro__section, .ka2-fees, .ka2-zero-banner, #seller-fee-reasons,
      .sfr-result, .pcase-section, .pcase-card, .knseo, #kanagawa-review-cv,
      .kg13-cv-panel, #kanagawa-review-contact, .kg-contact-fee, .kma-region,
      .kma-region__section, .kma-region__section .kma-region__inner,
      .kma-region__cta-box, .kma-sell__cta-box, .kma26-sub__section,
      .kma26-legal__body, .kma26-legal__note, .kma26-legal__source,
      .ma-form__section, .ma-consent, #ma-do-representative-profile,
      .kmac-section.soft, .kmac-cta, .kmac-band, .ma-tier-directory,
      .tier-hero, .tier-contact, .ma2-legal-links, .ma2-trust-footer,
      .ma2-trust-footer__hero, .ma2-trust-footer__brand, .ma2-trust-footer__contact,
      .ma2-trust-footer__links, .ma2-trust-footer__bottom, .ma-seo-related,
      .kana-case__note, .kana-case__lead, .kana-case__cta, .pcase-note,
      .kana-case-cta, .kma-article, .kma-post-hero, .kma-post-cta, .kma-post-toc,
      .kma-post-note, .kma-post .hero, .kma-post .cta, .kma-post .toc,
      .kma-post .kma-hero, .kma-post .kma-cta, .kma-post .kma-toc,
      .kma-post .kma-disclosure, .kma-post .kma-fact, .kma-post .kma-alert,
      .kma-post .kma-analysis, .kma-post .kma-source, .kma-post .kma-note,
      .kma-post .disclaimer, .kma-post .boundary, .kma-post .callout,
      .kma-post .insight, .kma-post .source-box, .kma-post .point) {
    background: #fff !important;
  }

  :is(.ka2-zero-banner, .sfr-result, .kg13-cv-copy, .kma-region__cta-box,
      .kma-sell__cta-box, .kmac-cta, .kmac-band, .kana-case__cta,
      .kma-post-hero, .kma-post-cta, .kma-post .hero, .kma-post .cta,
      .kma-post .kma-hero, .kma-post .kma-cta),
  :is(.ka2-zero-banner, .sfr-result, .kg13-cv-copy, .kma-region__cta-box,
      .kma-sell__cta-box, .kmac-cta, .kmac-band, .kana-case__cta,
      .kma-post-hero, .kma-post-cta, .kma-post .hero, .kma-post .cta,
      .kma-post .kma-hero, .kma-post .kma-cta)
      :is(h1, h2, h3, p, small, span, strong, b, li):not(a *),
  .kana-case__cta a, #seller-fee-reasons-title {
    color: #17394a !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
  }

  #kanagawa-review-cv .accel-portrait-note, .kg13-buyer :is(a, p, span),
  .pcase-card small, .kma-region__cta-box h2, .kma-post .cta h2 {
    color: #17394a !important;
    -webkit-text-fill-color: currentColor !important;
  }
  .kma-region__cta-box h2, .kma-post .cta h2, .kma-post-cta h2, .kma-post .kma-cta h2,
  .kmac-cta h2, .kma-sell__cta-box h2,
  .kma-sell__steps > article, .kma-sell__hero-points > article {
    background: #fff !important;
  }

  .page-id-1379 .wp-element-caption, .postid-292 .wp-block-image figcaption,
  #ma-do-representative-profile figcaption,
  .accel-current-context figcaption {
    background: #fff !important;
  }
  .page-id-1379 .wp-element-caption, .postid-292 .wp-block-image figcaption,
  #ma-do-representative-profile figcaption,
  .accel-current-context figcaption, .accel-current-context figcaption :is(span, strong, p) {
    color: #17394a !important;
    -webkit-text-fill-color: #17394a !important;
  }

  .kma-region__hero :is(.kma-region__eyebrow, .kma-region__lead),
  .kmac-subhero .kmac-eyebrow {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .kma26-sub__hero .kma26-sub__btn--primary, .kma-sell__btn--primary {
    background: #775518 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  .kma-post-cta a, .kma-post .cta a {
    color: #122b39 !important;
    -webkit-text-fill-color: #122b39 !important;
  }
}
