
/* pet-ma-center.jp responsive, contrast, and drawer fix 2026-08-23 */
@media screen and (max-width: 960px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .drawer-menu {
    z-index: 10050 !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .drawer-menu .hamburger-close-menu {
    position: relative !important;
    z-index: 2 !important;
    width: 44px !important;
    height: 44px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .drawer-menu button.hamburger-close-line {
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .drawer-menu button.drawer-menu__toggle {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin-left: auto !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .breadcrumb,
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .breadcrumb__inner {
    max-width: 100% !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .breadcrumb__inner {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .breadcrumb__item {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body.page-id-1215,
  html body.page-id-1219,
  html body.page-id-1215 #contents.l-contents,
  html body.page-id-1219 #contents.l-contents,
  html body.page-id-1215 #contents .l-content,
  html body.page-id-1219 #contents .l-content,
  html body.page-id-1215 #contents .l-content__inner,
  html body.page-id-1219 #contents .l-content__inner,
  html body.page-id-1215 #contents .u-row,
  html body.page-id-1219 #contents .u-row,
  html body.page-id-1215 #contents .l-content__main,
  html body.page-id-1219 #contents .l-content__main,
  html body.page-id-1215 #contents .article-body,
  html body.page-id-1219 #contents .article-body,
  html body.page-id-1215 .article-body .pmc-site,
  html body.page-id-1219 .article-body .pmc-site {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body.page-id-1215 .pmc-site .pmc-wrap,
  html body.page-id-1219 .pmc-site .pmc-wrap {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }

  html body.page-id-1215 .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  html body.page-id-1219 .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  html body.page-id-1215 .wpcf7-form select,
  html body.page-id-1219 .wpcf7-form select,
  html body.page-id-1215 .wpcf7-form textarea,
  html body.page-id-1219 .wpcf7-form textarea {
    border-width: 1px !important;
    border-color: #6b7280 !important;
  }
}

@media screen and (max-width: 360px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
}

/* pet-ma-center.jp homepage contrast and mobile width fix 2026-08-23 */
html body.page-id-38 main.pmc-gov .pmc-gov__industry span {
  color: #7a521a !important;
}
html body.page-id-38 main.pmc-gov .pmc-gov__step > b {
  color: #111827 !important;
}
@media screen and (max-width: 599px) {
  html body.page-id-38,
  html body.page-id-38 .l-container,
  html body.page-id-38 #contents.l-contents,
  html body.page-id-38 #contents.l-contents > .l-content,
  html body.page-id-38 .pmc-gov {
    width: 100% !important;
    max-width: 100% !important;
  }
  html body.page-id-38 .pmc-gov__wrap,
  html body.page-id-38 .pmc-gov__phone {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }
}

/* pet-ma-center.jp compact desktop header fix 2026-08-23 */
@media screen and (min-width: 960px) and (max-width: 1159px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta {
    display: none !important;
  }
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-menu > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* pet-ma-center.jp narrow inner-page header fit 2026-08-23 */
@media screen and (max-width: 519px) {
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta,
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta > .u-row,
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta__item,
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta__item > a,
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta__inner {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
  }
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta {
    flex: 0 0 56px !important;
  }
}

@media screen and (max-width: 519px) {
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta__item {
    margin-left: 0 !important;
  }
}

/* pet-ma-center.jp mid-phone inner-page branding fix 2026-08-23 */
@media screen and (min-width: 361px) and (max-width: 480px) {
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link {
    font-size: clamp(14px, 4.7vw, 18px) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 519px) {
  body:not(.home):not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link {
    font-size: clamp(18px, calc(15vw - 54px), 24px) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
}

/* pet-ma-center.jp form field definition fix 2026-08-23 */
html body.page-id-1215 .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
html body.page-id-1219 .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
html body.page-id-1215 .wpcf7-form select,
html body.page-id-1219 .wpcf7-form select,
html body.page-id-1215 .wpcf7-form textarea,
html body.page-id-1219 .wpcf7-form textarea {
  border-width: 1px !important;
  border-color: #6b7280 !important;
}

/* pet-ma-center.jp final cross-device QA 2026-08-23 */
@media screen and (min-width: 960px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .header-site-branding img.icon-logo-common {
    width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
  }
}

body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-description {
  color: #4b5563 !important;
}

body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .header-menu .current-menu-item > a,
body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .header-menu .current-menu-item > a span,
body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .header-menu .current_page_item > a,
body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .header-menu .current_page_item > a span {
  color: #0b3e65 !important;
}

body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) a.pmc-btn.pmc-btn--gold {
  background: #855b18 !important;
  color: #ffffff !important;
}

@media screen and (max-width: 959px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) button.js-hamburger-menu {
    min-height: 44px !important;
    height: 44px !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
  }
}

@media screen and (min-width: 960px) and (max-width: 1199px) {
  body.page-id-3 .l-content__main,
  body.page-id-5998 .l-content__main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-right: 0 !important;
  }

  body.page-id-3 .l-content__side,
  body.page-id-5998 .l-content__side {
    display: none !important;
  }

  body.page-id-3 main.pmc-site .pmc-wrap,
  body.page-id-5998 main.pmc-site .pmc-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* Codex smoke QA 2026-08-23: public drawer link touch targets */
@media screen and (max-width: 959px) {
  body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .drawer-menu .drawer-menu__nav a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Contact form UI: single-column and neutral palette 2026-08-25 */
body.page-id-1215 .pmc-cf7-form,
body.page-id-1219 .pmc-cf7-form {
  max-width: 760px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #334155 !important;
}

body.page-id-1215 .pmc-cf7-grid,
body.page-id-1219 .pmc-cf7-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

body.page-id-1215 .pmc-cf7-grid > p,
body.page-id-1219 .pmc-cf7-grid > p {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.page-id-1215 .pmc-cf7-grid > p > br,
body.page-id-1219 .pmc-cf7-grid > p > br {
  display: none !important;
}

body.page-id-1215 .pmc-cf7-grid > fieldset,
body.page-id-1219 .pmc-cf7-grid > fieldset,
body.page-id-1215 .pmc-cf7-field,
body.page-id-1219 .pmc-cf7-field {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.page-id-1215 .pmc-cf7-field .wpcf7-form-control-wrap,
body.page-id-1219 .pmc-cf7-field .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

body.page-id-1215 .pmc-cf7-section,
body.page-id-1219 .pmc-cf7-section,
body.page-id-1215 .pmc-cf7-label,
body.page-id-1219 .pmc-cf7-label {
  color: #1f2937 !important;
}

body.page-id-1215 .pmc-cf7-section,
body.page-id-1219 .pmc-cf7-section {
  border-bottom-color: #e5e7eb !important;
}

body.page-id-1215 .pmc-cf7-required,
body.page-id-1219 .pmc-cf7-required {
  background: #0b2e5b !important;
  color: #ffffff !important;
}

body.page-id-1215 .pmc-cf7-optional,
body.page-id-1219 .pmc-cf7-optional {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

body.page-id-1215 .pmc-cf7-form input[type="text"],
body.page-id-1215 .pmc-cf7-form input[type="email"],
body.page-id-1215 .pmc-cf7-form input[type="tel"],
body.page-id-1215 .pmc-cf7-form select,
body.page-id-1215 .pmc-cf7-form textarea,
body.page-id-1219 .pmc-cf7-form input[type="text"],
body.page-id-1219 .pmc-cf7-form input[type="email"],
body.page-id-1219 .pmc-cf7-form input[type="tel"],
body.page-id-1219 .pmc-cf7-form select,
body.page-id-1219 .pmc-cf7-form textarea {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  box-shadow: none !important;
}

body.page-id-1215 .pmc-cf7-form textarea,
body.page-id-1219 .pmc-cf7-form textarea {
  height: 180px !important;
  min-height: 180px !important;
  resize: vertical !important;
}

body.page-id-1215 .pmc-cf7-form input::placeholder,
body.page-id-1215 .pmc-cf7-form textarea::placeholder,
body.page-id-1219 .pmc-cf7-form input::placeholder,
body.page-id-1219 .pmc-cf7-form textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

body.page-id-1215 .pmc-cf7-form input:focus,
body.page-id-1215 .pmc-cf7-form select:focus,
body.page-id-1215 .pmc-cf7-form textarea:focus,
body.page-id-1219 .pmc-cf7-form input:focus,
body.page-id-1219 .pmc-cf7-form select:focus,
body.page-id-1219 .pmc-cf7-form textarea:focus {
  border-color: #0b2e5b !important;
  outline: 3px solid rgba(11, 46, 91, 0.16) !important;
  outline-offset: 1px !important;
}

body.page-id-1215 .pmc-cf7-checks .wpcf7-checkbox,
body.page-id-1219 .pmc-cf7-checks .wpcf7-checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.page-id-1215 .pmc-cf7-checks .wpcf7-list-item,
body.page-id-1219 .pmc-cf7-checks .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

body.page-id-1215 .pmc-cf7-checks .wpcf7-list-item label,
body.page-id-1219 .pmc-cf7-checks .wpcf7-list-item label {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body.page-id-1215 .pmc-cf7-checks input[type="checkbox"],
body.page-id-1215 .pmc-cf7-privacy input[type="checkbox"],
body.page-id-1219 .pmc-cf7-checks input[type="checkbox"],
body.page-id-1219 .pmc-cf7-privacy input[type="checkbox"] {
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #0b2e5b !important;
}

body.page-id-1215 .pmc-cf7-privacy,
body.page-id-1219 .pmc-cf7-privacy {
  border-color: #e5e7eb !important;
  background: #f8fafc !important;
  color: #475569 !important;
}

body.page-id-1215 .pmc-cf7-privacy .wpcf7-list-item,
body.page-id-1219 .pmc-cf7-privacy .wpcf7-list-item {
  margin: 0 !important;
}

body.page-id-1215 .pmc-cf7-privacy .wpcf7-list-item label,
body.page-id-1219 .pmc-cf7-privacy .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: #1f2937 !important;
}

body.page-id-1215 .pmc-cf7-submit input[type="submit"],
body.page-id-1219 .pmc-cf7-submit input[type="submit"] {
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #0b2e5b !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.page-id-1215 .pmc-cf7-submit input[type="submit"]:hover,
body.page-id-1215 .pmc-cf7-submit input[type="submit"]:focus,
body.page-id-1219 .pmc-cf7-submit input[type="submit"]:hover,
body.page-id-1219 .pmc-cf7-submit input[type="submit"]:focus {
  background: #123f6c !important;
}

@media screen and (max-width: 760px) {
  body.page-id-1215 .pmc-form-panel,
  body.page-id-1219 .pmc-form-panel {
    width: auto !important;
    margin-right: -16px !important;
    margin-left: -16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-id-1215 .pmc-cf7-form,
  body.page-id-1219 .pmc-cf7-form {
    width: 100% !important;
    max-width: none !important;
    margin-top: 16px !important;
    padding: 20px 14px !important;
  }

  body.page-id-1215 .pmc-cf7-grid,
  body.page-id-1219 .pmc-cf7-grid,
  body.page-id-1215 .pmc-cf7-grid > p,
  body.page-id-1219 .pmc-cf7-grid > p {
    gap: 16px !important;
  }

  body.page-id-1215 .pmc-cf7-label,
  body.page-id-1219 .pmc-cf7-label {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.page-id-1215 .pmc-cf7-checks .wpcf7-checkbox,
  body.page-id-1219 .pmc-cf7-checks .wpcf7-checkbox {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-id-1215 .pmc-cf7-privacy,
  body.page-id-1219 .pmc-cf7-privacy {
    padding: 14px !important;
  }
}

@media screen and (max-width: 760px) {
  html body.page-id-1215.wp-singular:not(.home) .article-body .pmc-form-panel,
  html body.page-id-1219.wp-singular:not(.home) .article-body .pmc-form-panel {
    padding: 0 !important;
  }
}

/* Pet MA Center clarity and layout – 2026-09-11 */
html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header .header-cta {display:none!important}
html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link {font-size:20px!important;line-height:1.4!important;color:#193e36!important;letter-spacing:0!important;white-space:nowrap!important}
html body .l-header .header-site-branding {flex-shrink:0!important;width:auto!important;max-width:none!important}
html body .l-header .header-menu > li > a {padding:18px 11px!important;font-size:13px!important;letter-spacing:0!important;color:#193e36!important}
html body .l-header .header-menu-row {margin-left:20px!important}
html body .l-header {background:#fff!important;border-bottom:1px solid #dbe5de!important;box-shadow:0 2px 10px rgba(25,62,54,.04)!important}
html body .l-header .l-header__inner {min-height:86px!important}
html body.page:not(.home) .l-content__main {width:100%!important;max-width:100%!important;padding:0!important;flex-basis:100%!important}
html body.page:not(.home) .l-content__sidebar {display:none!important}
html body.page:not(.home) .article {width:100%!important;max-width:1120px!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important}
html body.page:not(.home) .article-body {width:100%!important;max-width:100%!important;padding:0!important;border:0!important;box-shadow:none!important}
html body.page:not(.home) .article-header {display:block!important;margin:28px auto 38px!important;padding:0 0 18px!important;border-bottom:1px solid #dbe5de!important}
html body.page:not(.home) h1.article-title {display:block!important;font-size:clamp(23px,3vw,30px)!important;line-height:1.6!important;color:#193e36!important;margin:0!important}
html body.page-id-6351 .article-header__thumbnail {display:none!important}
html body.page:not(.home) .article-body .pmc-wrap {width:100%!important;max-width:1040px!important}
html body.page:not(.home) .article-body .pmc-policy__wrap {width:calc(100% - 48px)!important;max-width:1040px!important}
html body.page:not(.home) .article-body .pmc-hero .pmc-body-title,
html body.page:not(.home) .article-body .pmc-policy__hero .pmc-body-title {color:#fff!important;font-size:clamp(28px,4vw,44px)!important;line-height:1.5!important;margin:0!important}
html body.page:not(.home) .article-body .pmc-hero,
html body.page:not(.home) .article-body .pmc-policy__hero {background:linear-gradient(120deg,#193e36,#316657)!important}
html body .pet-page .pet-form-panel .pmc-cf7-form {margin:0!important;padding:0!important;max-width:none!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body .pet-page .pet-form-panel .pmc-cf7-required,
html body .pet-page .pet-form-panel .pmc-cf7-submit input[type=submit] {background:#176c58!important;color:#fff!important}
html body .pet-page .pet-form-panel input[type=checkbox] {accent-color:#176c58!important}
html body .pet-page .pet-form-panel input:focus,
html body .pet-page .pet-form-panel select:focus,
html body .pet-page .pet-form-panel textarea:focus {outline:3px solid rgba(23,108,88,.22)!important;border-color:#176c58!important;outline-offset:2px!important}
html body .pet-page .pet-form-panel .pmc-cf7-privacy {background:#f2f6f1!important}
html body a:focus-visible,html body button:focus-visible,html body summary:focus-visible {outline:3px solid #ad7c32;outline-offset:4px}
@media(min-width:960px) and (max-width:1159px){html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link {font-size:18px!important}html body .l-header .header-menu>li>a{padding:16px 6px!important;font-size:12px!important}html body .l-header .header-menu-row{margin-left:10px!important}}
@media(max-width:959px){html body .l-header .l-header__inner{min-height:74px!important}html body .l-header .header-site-branding{flex-shrink:1!important;max-width:calc(100% - 64px)!important}html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .site-title .header-site-branding__link{font-size:clamp(14px,4.15vw,20px)!important;white-space:normal!important}html body .l-header .site-description{font-size:9px!important;line-height:1.5!important}html body.page:not(.home) .article-header{margin:20px 0 28px!important}html body.page:not(.home) .article-body .pmc-policy__wrap{width:calc(100% - 32px)!important}html body .pet-page .pet-form-panel{padding:22px 16px!important}}

/* Header balance and contact emphasis, verified at 390px */
@media(max-width:959px){html body .l-header .l-header__inner{position:relative!important}html body .l-header .header-site-branding{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;width:max-content!important;max-width:calc(100% - 116px)!important}html body .l-header .site-title{text-align:center!important}html body .l-header .js-hamburger-menu{margin-right:auto!important}}
html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header #menu-item-117 > a{background:#176c58!important;color:#fff!important;border-radius:4px!important;padding:12px 17px!important;margin:0 6px!important}
html body:not(.page-id-6278):not(.page-id-6279):not(.page-id-6280):not(.page-id-6281) .l-header #menu-item-117 > a span{color:#fff!important}

/* Article reading layout and consultation, 2026-09-11 */
html body.single-post .l-content__main{width:100%!important;max-width:100%!important;flex-basis:100%!important;padding:0!important}
html body.single-post article.article{width:100%!important;max-width:920px!important;margin:0 auto!important;padding:0!important}
html body.single-post .article-header__inner{padding-bottom:24px!important}
html body.single-post h1.article-title{font-size:clamp(24px,2.7vw,34px)!important;line-height:1.6!important;color:#193e36!important;letter-spacing:.015em!important}
html body.single-post .article-body{font-size:16px!important;line-height:1.95!important;overflow-wrap:anywhere}
html body.single-post .article-body small{font-size:14px!important;line-height:1.8!important;color:#53635d!important}
html body.single-post .article-body > h2,html body.single-post .pet-reference-case > h2{color:#193e36!important;font-size:clamp(21px,2.1vw,27px)!important;line-height:1.65!important;margin-top:2.4em!important;padding-bottom:12px!important;border-bottom:1px solid #dbe5de!important}
html body.single-post .pet-reference-case > p:first-child{padding:18px 22px;background:#f0f5f0;border-left:4px solid #547764;color:#193e36}
html body.single-post .pmc-article-consult{margin-top:48px;padding:28px 32px;border:1px solid #d5e3d8;border-radius:12px;background:#f2f6ef}
html body.single-post .pmc-article-consult h2{margin:0 0 14px!important;padding:0!important;border:0!important;background:transparent!important;color:#193e36!important;font-size:24px!important;line-height:1.6!important}
html body.single-post .pmc-article-consult p:last-child{font-size:14px;line-height:1.85;color:#53635d;margin-bottom:0}
html body.single-post .pmc-article-consult a{color:#176c58;text-decoration:underline;text-underline-offset:4px}
html body.single-post .pmc-article-consult p:nth-of-type(2)>a:first-child{display:inline-block;background:#176c58;color:#fff!important;padding:13px 20px;border-radius:5px;text-decoration:none;font-weight:700;margin:4px 4px 4px 0}
@media(max-width:767px){html body.single-post .article-body{font-size:16px!important;line-height:1.9!important}html body.single-post .article-body small{font-size:13px!important}html body.single-post .pmc-article-consult{padding:22px 18px;margin-top:32px}html body.single-post .pmc-article-consult h2{font-size:22px!important}html body.single-post .pet-reference-case>p:first-child{padding:16px}}

/* Keep the two consultation choices readable on narrow screens */
html body.single-post .pmc-article-consult p:nth-of-type(2){font-size:0!important}
html body.single-post .pmc-article-consult p:nth-of-type(2)>a:first-child{font-size:15px!important}
html body.single-post .pmc-article-consult p:nth-of-type(2)>a:nth-of-type(2){display:block;font-size:15px!important;margin-top:12px;line-height:1.8}

#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']) > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):hover > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#wrapper#wrapper#wrapper div.l-header__inner a:not([class]):is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):focus-visible > span { color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; }
#wrapper#wrapper#wrapper div.l-header-row a.c-btn.c-btn__main.c-btn__1:is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#wrapper#wrapper#wrapper div.l-header-row a.c-btn.c-btn__main.c-btn__1:is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#wrapper#wrapper#wrapper div.l-header-row a.c-btn.c-btn__main.c-btn__1:is([href='https://pet-ma-center.jp/contact/'],[href^='https://pet-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }

/* Append after the existing common voices stylesheet. Color roles only. */
html body #ma-owner-voices#ma-owner-voices {
  --voice-ink: #132c46;
  --voice-muted: #526171;
  --voice-line: #d6dde5;
  --voice-paper: #f3f5f7;
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #f3f5f7 !important;
}

html body #ma-owner-voices#ma-owner-voices h2,
html body #ma-owner-voices#ma-owner-voices h3 {
  color: #132c46 !important;
  -webkit-text-fill-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-kicker,
html body #ma-owner-voices#ma-owner-voices .ma-voices-intro,
html body #ma-owner-voices#ma-owner-voices .ma-voice-topic,
html body #ma-owner-voices#ma-owner-voices .ma-voices-note {
  color: #526171 !important;
  -webkit-text-fill-color: #526171 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voice-card {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #ffffff !important;
  border-color: #d6dde5 !important;
}

html body #ma-owner-voices#ma-owner-voices blockquote,
html body #ma-owner-voices#ma-owner-voices blockquote p {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #132c46 !important;
  border-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #1e4264 !important;
  border-color: #1e4264 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline-color: #8a631f;
}

