
/* Codex seibi non-AJ contrast fixes 2026-08-24. */
.amc-site .amc-section:not(.amc-aj-part) .amc-icon {
  color: #805810 !important;
}
.amc-site #valuation .amc-stat strong,
.amc-site .amc-section:not(.amc-aj-part) .amc-industry > span {
  color: #7b5715 !important;
}
.amc-site .amc-section:not(.amc-aj-part) .amc-lead {
  color: #596570 !important;
}

/* Codex seibi dark-section lead correction 2026-08-24. */
.amc-site .amc-section--ink:not(.amc-aj-part) .amc-lead {
  color: #e4ebee !important;
}

/* White-base and responsive repair 2026-08-25. */
html:has(.amc-site),
body:has(.amc-site),
body:has(.amc-site) #all_wrapp,
body:has(.amc-site) #body_wrap {
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  background: #fff !important;
}

html body:has(.amc-site) .l-header,
html body:has(.amc-site) header#header.l-header,
html body:has(.amc-site) .l-fixHeader {
  display: block !important;
  z-index: 1000;
  border-bottom: 1px solid #dce3e6;
  background: #fff !important;
  color: #102033 !important;
  box-shadow: 0 4px 18px rgba(16, 32, 51, .06);
}
html body:has(.amc-site) .amc-site > .amc-topline,
html body:has(.amc-site) .amc-site > .amc-nav,
html body:has(.amc-site) .amc-mobile-bar {
  display: none !important;
}
body:has(.amc-site) .l-header__bar {
  border-bottom: 1px solid #edf0f2;
  background: #f7f9f8 !important;
}
body:has(.amc-site) .c-headLogo__link,
body:has(.amc-site) .c-gnav a,
body:has(.amc-site) .c-iconBtn,
body:has(.amc-site) .l-fixHeader a {
  color: #102033 !important;
}
body:has(.amc-site) .c-headLogo__link {
  display: flex;
  align-items: center;
}
body:has(.amc-site) .c-headLogo__img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 64px !important;
  object-fit: contain;
}
body:has(.amc-site) .l-fixHeader .c-headLogo__img {
  max-height: 44px !important;
}
body:has(.amc-site) .p-spMenu__inner {
  background: #fff !important;
  color: #102033 !important;
}
body:has(.amc-site) .p-spMenu__inner a {
  color: #102033 !important;
}
body:has(.amc-site) .p-spMenu__inner .menu-item:last-child > a {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #548235 !important;
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a {
  min-height: 44px;
  margin: 10px 0;
  padding: 0 16px;
  border-radius: 6px;
  background: #548235 !important;
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a span {
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a:hover {
  background: #385723 !important;
}


html body:has(.amc-site) .c-pageTitle,
html body:has(.amc-site) .p-articleHead,
html body:has(.amc-site) #main_visual,
html body:has(.amc-site) .p-mainVisual {
  display: none !important;
}

html body:has(.amc-site) .amc-site {
  --amc-ink: #102033;
  --amc-text: #26323b;
  --amc-muted: #586570;
  --amc-paper: #f7f9f8;
  --amc-line: #d9e1e4;
  overflow-x: clip !important;
  overflow-y: visible !important;
  background: #fff !important;
  color: var(--amc-text) !important;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}
.amc-site img,
.amc-site svg,
.amc-site video,
.amc-site iframe {
  max-width: 100%;
}

html body:has(.amc-site) .amc-hero.amc-aj-part {
  min-height: 0 !important;
  background: #fff !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-hero.amc-aj-part::before,
html body:has(.amc-site) .amc-hero.amc-aj-part::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}
html body:has(.amc-site) .amc-hero.amc-aj-part .amc-wrap {
  display: grid !important;
  min-height: 690px !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr) !important;
  gap: 28px;
  align-items: end;
}
html body:has(.amc-site) .amc-hero.amc-aj-part .amc-hero__body {
  max-width: 720px;
  padding: 68px 0 76px !important;
}
html body:has(.amc-site) .amc-hero h1,
html body:has(.amc-site) .amc-hero p,
html body:has(.amc-site) .amc-hero__card strong,
html body:has(.amc-site) .amc-hero__card span {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-hero p,
html body:has(.amc-site) .amc-hero__card span {
  color: #52606b !important;
}
html body:has(.amc-site) .amc-hero .amc-kicker,
html body:has(.amc-site) .amc-hero .amc-aj-brandmark {
  border-color: #cfdcc8 !important;
  background: #f3f7ef !important;
  color: #385723 !important;
}
html body:has(.amc-site) .amc-hero__card {
  border: 1px solid #d9e1e4 !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(16, 32, 51, .07);
  backdrop-filter: none !important;
}
html body:has(.amc-site) .amc-aj-hero {
  height: 650px !important;
  isolation: isolate;
}
html body:has(.amc-site) .amc-aj-hero::before {
  border-color: #d9e6d2 !important;
  background: #eef4e9 !important;
}
html body:has(.amc-site) .amc-aj-hero img {
  object-position: center bottom;
  filter: drop-shadow(0 18px 18px rgba(16, 32, 51, .16));
}

html body:has(.amc-site) .amc-section {
  background: #fff !important;
}
html body:has(.amc-site) .amc-section--paper {
  background: #f7f9f8 !important;
}
html body:has(.amc-site) .amc-section--ink,
html body:has(.amc-site) .amc-subhero,
html body:has(.amc-site) .amc-aj-subhero {
  background: #f2f6ef !important;
  color: #26323b !important;
}
html body:has(.amc-site) .amc-section--ink h1,
html body:has(.amc-site) .amc-section--ink h2,
html body:has(.amc-site) .amc-section--ink h3,
html body:has(.amc-site) .amc-section--ink strong,
html body:has(.amc-site) .amc-subhero h1,
html body:has(.amc-site) .amc-aj-subhero h1 {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-section--ink p,
html body:has(.amc-site) .amc-section--ink .amc-lead,
html body:has(.amc-site) .amc-section--ink .amc-list li,
html body:has(.amc-site) .amc-subhero p,
html body:has(.amc-site) .amc-aj-subhero p,
html body:has(.amc-site) .amc-lead {
  color: #52606b !important;
}
html body:has(.amc-site) .amc-section--ink .amc-eyebrow,
html body:has(.amc-site) .amc-subhero .amc-eyebrow {
  color: #548235 !important;
}

html body:has(.amc-site) .amc-aj-stage,
html body:has(.amc-site) .amc-aj-fee__visual {
  border-color: #d6e1d0 !important;
  box-shadow: 0 16px 36px rgba(16, 32, 51, .08);
}
html body:has(.amc-site) .amc-proofline {
  border-color: #d9e1e4 !important;
  background: #fff !important;
}
html body:has(.amc-site) .amc-proofline a,
html body:has(.amc-site) .amc-proofline div {
  border-color: #d9e1e4 !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-proofline small {
  color: #5d6973 !important;
}
html body:has(.amc-site) .amc-fee__pill {
  background: #eef4e9 !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-fee__pill span {
  color: #53635f !important;
}

html body:has(.amc-site) :is(
  .amc-card, .amc-stat, .amc-step, .amc-micro, .amc-route__card,
  .amc-area-card, .amc-faq details, .amc-legal article, .amc-cta
) {
  border-color: #d9e1e4 !important;
  background: #fff !important;
  color: #26323b !important;
}
html body:has(.amc-site) .amc-btn {
  min-height: 48px;
  border: 2px solid #385723 !important;
  background: #fff !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-btn--primary {
  border-color: #548235 !important;
  background: #548235 !important;
  color: #fff !important;
}
html body:has(.amc-site) .amc-btn--gold {
  border-color: #d2a13b !important;
  background: #d2a13b !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-btn:hover {
  border-color: #385723 !important;
  background: #385723 !important;
  color: #fff !important;
}
body:has(.amc-site) :is(a, button, summary):focus-visible {
  outline: 3px solid #d2a13b !important;
  outline-offset: 3px;
}

html body:has(.amc-site) .amc-footer {
  border-top: 1px solid #d9e1e4;
  background: #f7f9f8 !important;
  color: #46545f !important;
}
html body:has(.amc-site) .amc-footer h2,
html body:has(.amc-site) .amc-footer h3 {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-footer a {
  color: #385723 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
html body:has(.amc-site) .amc-footer > .amc-wrap[style] {
  color: #64717b !important;
}

@media (max-width: 760px) {
  body:has(.amc-site) .l-header__bar {
    display: none !important;
  }
  body:has(.amc-site) .l-header__inner {
    min-height: 64px;
    padding-right: 16px;
    padding-left: 16px;
  }
  body:has(.amc-site) .l-header__logo {
    max-width: calc(100% - 96px);
  }
  body:has(.amc-site) .c-headLogo__img {
    max-height: 56px !important;
  }
  html body:has(.amc-site) .amc-site {
    padding-bottom: 0 !important;
  }
  html body:has(.amc-site) .amc-wrap,
  html body:has(.amc-site) .amc-phone {
    width: calc(100% - 32px) !important;
  }
  html body:has(.amc-site) .amc-hero {
    padding-inline: 0 !important;
  }
  html body:has(.amc-site) .amc-hero.amc-aj-part .amc-wrap {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  html body:has(.amc-site) .amc-hero.amc-aj-part .amc-hero__body {
    width: 100%;
    padding: 40px 0 8px !important;
  }
  html body:has(.amc-site) .amc-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.25;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  html body:has(.amc-site) .amc-aj-hero {
    width: 100%;
    height: clamp(330px, 105vw, 440px) !important;
  }
  html body:has(.amc-site) :is(
    .amc-hero__cards, .amc-grid, .amc-grid--2, .amc-grid--4,
    .amc-stats, .amc-industries, .amc-steps, .amc-area-grid,
    .amc-split, .amc-split--flip, .amc-route, .amc-proofline,
    .amc-microgrid, .amc-photo-grid, .amc-cta, .amc-footer__grid,
    .amc-phone__inner, .amc-aj-fee
  ) {
    grid-template-columns: 1fr !important;
  }
  html body:has(.amc-site) .amc-section {
    padding: 56px 0 !important;
  }
  html body:has(.amc-site) .amc-buttons,
  html body:has(.amc-site) .amc-buttons .amc-btn {
    width: 100%;
  }
  html body:has(.amc-site) .amc-proofline > * {
    border-right: 0 !important;
    border-bottom: 1px solid #d9e1e4 !important;
  }
  html body:has(.amc-site) .amc-proofline > *:last-child {
    border-bottom: 0 !important;
  }
}	/* Codex seibi non-AJ contrast fixes 2026-08-24. */
.amc-site .amc-section:not(.amc-aj-part) .amc-icon {
  color: #805810 !important;
}
.amc-site #valuation .amc-stat strong,
.amc-site .amc-section:not(.amc-aj-part) .amc-industry > span {
  color: #7b5715 !important;
}
.amc-site .amc-section:not(.amc-aj-part) .amc-lead {
  color: #596570 !important;
}

/* Codex seibi dark-section lead correction 2026-08-24. */
.amc-site .amc-section--ink:not(.amc-aj-part) .amc-lead {
  color: #e4ebee !important;
}

/* White-base and responsive repair 2026-08-25. */
html:has(.amc-site),
body:has(.amc-site),
body:has(.amc-site) #all_wrapp,
body:has(.amc-site) #body_wrap {
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  background: #fff !important;
}

html body:has(.amc-site) .l-header,
html body:has(.amc-site) header#header.l-header,
html body:has(.amc-site) .l-fixHeader {
  display: block !important;
  z-index: 1000;
  border-bottom: 1px solid #dce3e6;
  background: #fff !important;
  color: #102033 !important;
  box-shadow: 0 4px 18px rgba(16, 32, 51, .06);
}
html body:has(.amc-site) .amc-site > .amc-topline,
html body:has(.amc-site) .amc-site > .amc-nav,
html body:has(.amc-site) .amc-mobile-bar {
  display: none !important;
}
body:has(.amc-site) .l-header__bar {
  border-bottom: 1px solid #edf0f2;
  background: #f7f9f8 !important;
}
body:has(.amc-site) .c-headLogo__link,
body:has(.amc-site) .c-gnav a,
body:has(.amc-site) .c-iconBtn,
body:has(.amc-site) .l-fixHeader a {
  color: #102033 !important;
}
body:has(.amc-site) .c-headLogo__link {
  display: flex;
  align-items: center;
}
body:has(.amc-site) .c-headLogo__img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 64px !important;
  object-fit: contain;
}
body:has(.amc-site) .l-fixHeader .c-headLogo__img {
  max-height: 44px !important;
}
body:has(.amc-site) .p-spMenu__inner {
  background: #fff !important;
  color: #102033 !important;
}
body:has(.amc-site) .p-spMenu__inner a {
  color: #102033 !important;
}
body:has(.amc-site) .p-spMenu__inner .menu-item:last-child > a {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #548235 !important;
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a {
  min-height: 44px;
  margin: 10px 0;
  padding: 0 16px;
  border-radius: 6px;
  background: #548235 !important;
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a span {
  color: #fff !important;
}
body:has(.amc-site) .c-gnav > .menu-item:last-child > a:hover {
  background: #385723 !important;
}


html body:has(.amc-site) .c-pageTitle,
html body:has(.amc-site) .p-articleHead,
html body:has(.amc-site) #main_visual,
html body:has(.amc-site) .p-mainVisual {
  display: none !important;
}

html body:has(.amc-site) .amc-site {
  --amc-ink: #102033;
  --amc-text: #26323b;
  --amc-muted: #586570;
  --amc-paper: #f7f9f8;
  --amc-line: #d9e1e4;
  overflow-x: clip !important;
  overflow-y: visible !important;
  background: #fff !important;
  color: var(--amc-text) !important;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}
.amc-site img,
.amc-site svg,
.amc-site video,
.amc-site iframe {
  max-width: 100%;
}

html body:has(.amc-site) .amc-hero.amc-aj-part {
  min-height: 0 !important;
  background: #fff !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-hero.amc-aj-part::before,
html body:has(.amc-site) .amc-hero.amc-aj-part::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}
html body:has(.amc-site) .amc-hero.amc-aj-part .amc-wrap {
  display: grid !important;
  min-height: 690px !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr) !important;
  gap: 28px;
  align-items: end;
}
html body:has(.amc-site) .amc-hero.amc-aj-part .amc-hero__body {
  max-width: 720px;
  padding: 68px 0 76px !important;
}
html body:has(.amc-site) .amc-hero h1,
html body:has(.amc-site) .amc-hero p,
html body:has(.amc-site) .amc-hero__card strong,
html body:has(.amc-site) .amc-hero__card span {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-hero p,
html body:has(.amc-site) .amc-hero__card span {
  color: #52606b !important;
}
html body:has(.amc-site) .amc-hero .amc-kicker,
html body:has(.amc-site) .amc-hero .amc-aj-brandmark {
  border-color: #cfdcc8 !important;
  background: #f3f7ef !important;
  color: #385723 !important;
}
html body:has(.amc-site) .amc-hero__card {
  border: 1px solid #d9e1e4 !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(16, 32, 51, .07);
  backdrop-filter: none !important;
}
html body:has(.amc-site) .amc-aj-hero {
  height: 650px !important;
  isolation: isolate;
}
html body:has(.amc-site) .amc-aj-hero::before {
  border-color: #d9e6d2 !important;
  background: #eef4e9 !important;
}
html body:has(.amc-site) .amc-aj-hero img {
  object-position: center bottom;
  filter: drop-shadow(0 18px 18px rgba(16, 32, 51, .16));
}

html body:has(.amc-site) .amc-section {
  background: #fff !important;
}
html body:has(.amc-site) .amc-section--paper {
  background: #f7f9f8 !important;
}
html body:has(.amc-site) .amc-section--ink,
html body:has(.amc-site) .amc-subhero,
html body:has(.amc-site) .amc-aj-subhero {
  background: #f2f6ef !important;
  color: #26323b !important;
}
html body:has(.amc-site) .amc-section--ink h1,
html body:has(.amc-site) .amc-section--ink h2,
html body:has(.amc-site) .amc-section--ink h3,
html body:has(.amc-site) .amc-section--ink strong,
html body:has(.amc-site) .amc-subhero h1,
html body:has(.amc-site) .amc-aj-subhero h1 {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-section--ink p,
html body:has(.amc-site) .amc-section--ink .amc-lead,
html body:has(.amc-site) .amc-section--ink .amc-list li,
html body:has(.amc-site) .amc-subhero p,
html body:has(.amc-site) .amc-aj-subhero p,
html body:has(.amc-site) .amc-lead {
  color: #52606b !important;
}
html body:has(.amc-site) .amc-section--ink .amc-eyebrow,
html body:has(.amc-site) .amc-subhero .amc-eyebrow {
  color: #548235 !important;
}

html body:has(.amc-site) .amc-aj-stage,
html body:has(.amc-site) .amc-aj-fee__visual {
  border-color: #d6e1d0 !important;
  box-shadow: 0 16px 36px rgba(16, 32, 51, .08);
}
html body:has(.amc-site) .amc-proofline {
  border-color: #d9e1e4 !important;
  background: #fff !important;
}
html body:has(.amc-site) .amc-proofline a,
html body:has(.amc-site) .amc-proofline div {
  border-color: #d9e1e4 !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-proofline small {
  color: #5d6973 !important;
}
html body:has(.amc-site) .amc-fee__pill {
  background: #eef4e9 !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-fee__pill span {
  color: #53635f !important;
}

html body:has(.amc-site) :is(
  .amc-card, .amc-stat, .amc-step, .amc-micro, .amc-route__card,
  .amc-area-card, .amc-faq details, .amc-legal article, .amc-cta
) {
  border-color: #d9e1e4 !important;
  background: #fff !important;
  color: #26323b !important;
}
html body:has(.amc-site) .amc-btn {
  min-height: 48px;
  border: 2px solid #385723 !important;
  background: #fff !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-btn--primary {
  border-color: #548235 !important;
  background: #548235 !important;
  color: #fff !important;
}
html body:has(.amc-site) .amc-btn--gold {
  border-color: #d2a13b !important;
  background: #d2a13b !important;
  color: #102033 !important;
}
html body:has(.amc-site) .amc-btn:hover {
  border-color: #385723 !important;
  background: #385723 !important;
  color: #fff !important;
}
body:has(.amc-site) :is(a, button, summary):focus-visible {
  outline: 3px solid #d2a13b !important;
  outline-offset: 3px;
}

html body:has(.amc-site) .amc-footer {
  border-top: 1px solid #d9e1e4;
  background: #f7f9f8 !important;
  color: #46545f !important;
}
html body:has(.amc-site) .amc-footer h2,
html body:has(.amc-site) .amc-footer h3 {
  color: #102033 !important;
}
html body:has(.amc-site) .amc-footer a {
  color: #385723 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
html body:has(.amc-site) .amc-footer > .amc-wrap[style] {
  color: #64717b !important;
}

@media (max-width: 760px) {
  body:has(.amc-site) .l-header__bar {
    display: none !important;
  }
  body:has(.amc-site) .l-header__inner {
    min-height: 64px;
    padding-right: 16px;
    padding-left: 16px;
  }
  body:has(.amc-site) .l-header__logo {
    max-width: calc(100% - 96px);
  }
  body:has(.amc-site) .c-headLogo__img {
    max-height: 56px !important;
  }
  html body:has(.amc-site) .amc-site {
    padding-bottom: 0 !important;
  }
  html body:has(.amc-site) .amc-wrap,
  html body:has(.amc-site) .amc-phone {
    width: calc(100% - 32px) !important;
  }
  html body:has(.amc-site) .amc-hero {
    padding-inline: 0 !important;
  }
  html body:has(.amc-site) .amc-hero.amc-aj-part .amc-wrap {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  html body:has(.amc-site) .amc-hero.amc-aj-part .amc-hero__body {
    width: 100%;
    padding: 40px 0 8px !important;
  }
  html body:has(.amc-site) .amc-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.25;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  html body:has(.amc-site) .amc-aj-hero {
    width: 100%;
    height: clamp(330px, 105vw, 440px) !important;
  }
  html body:has(.amc-site) :is(
    .amc-hero__cards, .amc-grid, .amc-grid--2, .amc-grid--4,
    .amc-stats, .amc-industries, .amc-steps, .amc-area-grid,
    .amc-split, .amc-split--flip, .amc-route, .amc-proofline,
    .amc-microgrid, .amc-photo-grid, .amc-cta, .amc-footer__grid,
    .amc-phone__inner, .amc-aj-fee
  ) {
    grid-template-columns: 1fr !important;
  }
  html body:has(.amc-site) .amc-section {
    padding: 56px 0 !important;
  }
  html body:has(.amc-site) .amc-buttons,
  html body:has(.amc-site) .amc-buttons .amc-btn {
    width: 100%;
  }
  html body:has(.amc-site) .amc-proofline > * {
    border-right: 0 !important;
    border-bottom: 1px solid #d9e1e4 !important;
  }
  html body:has(.amc-site) .amc-proofline > *:last-child {
    border-bottom: 0 !important;
  }
}

/* Desktop header proportion fix. */
@media (min-width: 960px) {
  body:has(.amc-site) .l-header__inner {
    height: 88px !important;
    min-height: 88px !important;
  }
  body:has(.amc-site) .c-gnav > .menu-item:last-child {
    height: auto !important;
    align-self: center;
  }
  body:has(.amc-site) .c-gnav > .menu-item:last-child > a {
    display: flex;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0;
    align-items: center;
  }
}
	
/* Codex seibi non-AJ contrast fixes 2026-08-24. */
.amc-site .amc-section:not(.amc-aj-part) .amc-icon {
  color: #805810 !important;
}
.amc-site #valuation .amc-stat strong,
.amc-site .amc-section:not(.amc-aj-part) .amc-industry > span {
  color: #7b5715 !important;
}
.amc-site .amc-section:not(.amc-aj-part) .amc-lead {
  color: #596570 !important;
}

/* Codex seibi dark-section lead correction 2026-08-24. */
.amc-site .amc-section--ink:not(.amc-aj-part) .amc-lead {
  color: #e4ebee !important;
}

/* Seibi Inquiry Forms 2026-08-26 */
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section{
  padding:80px 0!important;
  border-top:1px solid #d7e0e5!important;
  border-bottom:1px solid #d7e0e5!important;
  background:#f5f7f8!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-wrap{
  width:min(920px,calc(100% - 32px))!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-eyebrow{
  color:#173d56!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-eyebrow::before{
  background:#173d56!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-title{
  color:#18313f!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-lead{
  max-width:760px!important;
  color:#526773!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .seibi-form-card{
  max-width:860px!important;
  margin:32px auto 0!important;
  padding:32px!important;
  border:1px solid #d7e0e5!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:20px!important;
  width:100%!important;
  color:#203744!important;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form *{
  box-sizing:border-box!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-field,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-field > label,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-field > p{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-field-label{
  display:flex!important;
  min-height:24px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  color:#203744!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.5!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-badge{
  display:inline-flex!important;
  min-height:22px!important;
  align-items:center!important;
  padding:2px 8px!important;
  border-radius:4px!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.4!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-badge.is-required{
  border:1px solid #173d56!important;
  background:#173d56!important;
  color:#fff!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-badge.is-optional{
  border:1px solid #a7b5bc!important;
  background:#f4f6f7!important;
  color:#465d69!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-form-control-wrap{
  display:block!important;
  width:100%!important;
  margin-top:8px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="text"],
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="email"],
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="tel"],
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form select,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  margin:0!important;
  padding:14px 16px!important;
  border:1px solid #7f969f!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18313f!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.5!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form textarea{
  min-height:168px!important;
  resize:vertical!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input::placeholder,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form textarea::placeholder{
  color:#6d7e87!important;
  opacity:1!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="text"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="email"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="tel"]:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form select:focus,
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form textarea:focus{
  border-color:#1d5b78!important;
  background:#fff!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(29,91,120,.14)!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-options{
  padding:16px!important;
  border:1px solid #d7e0e5!important;
  border-left:4px solid #173d56!important;
  border-radius:8px!important;
  background:#f4f7f8!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-options .wpcf7-form-control-wrap{
  margin-top:12px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-options .wpcf7-form-control{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  width:100%!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-list-item{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-list-item label{
  display:flex!important;
  width:100%!important;
  min-height:52px!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid #cbd7dc!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#294553!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.65!important;
  cursor:pointer!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-list-item label:has(input:checked){
  border-color:#173d56!important;
  background:#eef3f5!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) input[type="checkbox"],
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) input[type="radio"]{
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  margin:1px 0 0!important;
  accent-color:#173d56!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-consent{
  padding:16px!important;
  border:1px solid #d7e0e5!important;
  border-left:4px solid #173d56!important;
  border-radius:8px!important;
  background:#f4f7f8!important;
  color:#294553!important;
  font-size:15px!important;
  line-height:1.7!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-consent .wpcf7-form-control-wrap{
  margin:0!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-consent .wpcf7-list-item label{
  border:0!important;
  background:transparent!important;
  padding:0!important;
  min-height:32px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-consent a{
  color:#164b68!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-submit{
  margin:4px 0 0!important;
  text-align:center!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="submit"]{
  width:min(100%,420px)!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:0 24px!important;
  border:1px solid #173d56!important;
  border-radius:8px!important;
  background:#173d56!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.4!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="submit"]:hover{
  border-color:#0e2e43!important;
  background:#0e2e43!important;
  color:#fff!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="submit"]:disabled{
  border-color:#687984!important;
  background:#687984!important;
  color:#fff!important;
  opacity:1!important;
  cursor:not-allowed!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]),
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form select.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]),
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form textarea.wpcf7-form-control:is(.wpcf7-not-valid,[aria-invalid="true"]){
  border-color:#9b2c2c!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-not-valid-tip{
  margin-top:6px!important;
  color:#9b2c2c!important;
  font-size:14px!important;
  font-weight:700!important;
}
html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .wpcf7-response-output{
  margin:20px 0 0!important;
  padding:14px 16px!important;
  border-radius:8px!important;
  font-size:15px!important;
  line-height:1.7!important;
}
@media(max-width:760px){
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #fix_header{
    display:none!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section{
    padding:56px 0!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .amc-form-section .amc-wrap{
    width:calc(100% - 28px)!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content .seibi-form-card{
    margin-top:24px!important;
    padding:16px!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-options,
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-form-consent{
    padding:12px!important;
  }
  html body:not(.wp-admin) #body_wrap:is(.page-id-15,.page-id-16) #main_content#main_content :is(#wpcf7-f247-p15-o1,#wpcf7-f248-p16-o1) .seibi-contact-form input[type="submit"]{
    width:100%!important;
  }
}


/* Responsive navigation and subhero contrast repair 2026-08-26. */
@media (max-width: 959px) {
  html body:has(.amc-site) #fix_header.l-fixHeader {
    display: none !important;
  }

  html body:has(.amc-site) #sp_menu.p-spMenu {
    z-index: 1100 !important;
  }

  body:has(.amc-site) .p-spMenu__nav a {
    min-height: 44px;
  }

  body:has(.amc-site) .amc-subhero .amc-kicker {
    border-color: rgba(84, 130, 53, .28) !important;
    background: rgba(255, 255, 255, .84) !important;
    color: #365a27 !important;
  }
}


/* All-width subhero kicker contrast correction 2026-08-26. */
html body:has(.amc-site) .amc-subhero .amc-kicker,
html body:has(.amc-site) .amc-aj-subhero .amc-kicker {
  border-color: rgba(84, 130, 53, .28) !important;
  background: rgba(255, 255, 255, .84) !important;
  color: #365a27 !important;
}


/* Mobile drawer background scroll lock 2026-08-26. */
@media (max-width: 959px) {
  html[data-spmenu="opened"] {
    overflow-y: hidden !important;
    overscroll-behavior-y: none;
  }

  html[data-spmenu="opened"] #sp_menu .p-spMenu__body {
    overscroll-behavior-y: contain;
  }
}


@media (max-width: 959px) {
  html[data-spmenu="opened"] body:has(.amc-site) {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden !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;
}

/* サイトの基本背景と本文セクションの背景 */
@layer seibi-page-background {
  body,
  #header,
  .amc-section--paper,
  #seibi-home .amc-section--ink,
  .amc-footer,
  #seller-fee-reasons,
  #ma-owner-voices,
  .sbwp-download-card,
  .sbabout-contact,
  #seibi-purpose-links,
  #inquiry-form,
  #ma-do-representative-profile,
  .amc-subhero:not(.amc-aj-subhero--figure-right) {
    background-color: #fff !important;
  }

  #seller-fee-comparison .amc-fee__box,
  .sbabout-hero {
    background-color: #fff !important;
    background-image: none !important;
  }
}

