
/* bpo-natural-ja-wrap-20260713 */
html[lang="ja"] body #body_wrap .bpo-natural-break-applied {
  line-break: strict !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
}

html[lang="ja"] body #body_wrap .bpo-natural-break-applied .bpo-natural-phrase {
  display: inline !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
}

html[lang="ja"] body #body_wrap .bpo-natural-break-applied wbr {
  display: none !important;
}

html[lang="ja"] body #body_wrap :is(
  h1, h2, h3, h4, h5, h6,
  .bma-hero h1,
  .bma-section h2,
  .agri-form-page h1,
  .agri-form-page h2,
  .agri-form-page h3
) {
  line-break: strict !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
  text-wrap: balance !important;
}

html[lang="ja"] body #body_wrap :is(
  p, li, dd, figcaption, blockquote,
  label, legend, summary,
  .bma-lead,
  .bma-section__lead,
  .agri-form__lead,
  .bpo-cf7-privacy,
  .bpo-cf7-needs-consent,
  .bpo-cf7-fields label
) {
  line-break: strict !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
  text-wrap: pretty !important;
}

html[lang="ja"] body #body_wrap :is(
  a[href^="tel:"],
  .bma-stat__num,
  .bma-zero__num,
  .bma-fee__price,
  .bpo-legal-footer__phone
) {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

@supports not (word-break: auto-phrase) {
  html[lang="ja"] body #body_wrap :is(
    h1, h2, h3, h4, h5, h6,
    p, li, dd, label, legend, summary,
    a, button
  ) {
    line-break: strict !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

html[lang="ja"] body .bpo-natural-break-applied.bpo-natural-break-applied {
  line-break: strict !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
}

html[lang="ja"] body .bpo-natural-break-applied.bpo-natural-break-applied .bpo-natural-phrase.bpo-natural-phrase {
  display: inline !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
}

html[lang="ja"] body .bpo-natural-break-applied.bpo-natural-break-applied wbr {
  display: none !important;
}

html[lang="ja"] body .bpo-unified-header__trust > span.bpo-natural-break-applied {
  display: block !important;
  min-width: 0 !important;
  white-space: normal !important;
  line-break: strict !important;
  word-break: normal !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
  text-wrap: pretty !important;
  text-align: center !important;
}

html[lang="ja"] body .bpo-unified-header__trust > span.bpo-natural-break-applied > :is(b, strong) {
  display: inline !important;
}

html[lang="ja"] body .bpo-unified-header__trust > span.bpo-natural-break-applied .bpo-natural-phrase {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  min-width: 0 !important;
  flex: none !important;
  color: inherit !important;
  line-height: inherit !important;
}
/* /bpo-natural-ja-wrap-20260713 */

/* bpo-typography-readability-20260713 */
html[lang="ja"] body {
  --bpo-type-ink: #102d43;
  --bpo-type-muted: #42586a;
  --bpo-type-soft: #617383;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="ja"] body #body_wrap {
  color: var(--bpo-type-ink) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
}

html[lang="ja"] body #body_wrap :is(
  .post_content p,
  .post_content li,
  .post_content dd,
  .post_content td,
  .bma-page p,
  .bma-page li,
  .agri-form-page p,
  .agri-form-page li,
  .bpo-legal-page p,
  .bpo-legal-page li
) {
  color: var(--bpo-type-ink);
  font-size: clamp(16px, 1.28vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.82 !important;
  letter-spacing: .012em !important;
  font-feature-settings: "palt" 0;
}

html[lang="ja"] body #body_wrap :is(
  h1, h2, h3, h4,
  .entry-title,
  .bma-section__title
) {
  font-feature-settings: "palt" 1;
  letter-spacing: .005em !important;
  text-rendering: optimizeLegibility;
}

html[lang="ja"] body #body_wrap #bpo-ma-top .bma-hero h1 {
  font-size: clamp(44px, 5.1vw, 64px) !important;
  font-weight: 880 !important;
  line-height: 1.22 !important;
  letter-spacing: -.015em !important;
}

html[lang="ja"] body #body_wrap :is(
  .agri-form-page h1,
  .agri-form h1,
  .bpo-legal-page h1,
  .entry-title
) {
  font-size: clamp(32px, 3.4vw, 42px) !important;
  font-weight: 850 !important;
  line-height: 1.34 !important;
  letter-spacing: .005em !important;
}

html[lang="ja"] body #body_wrap :is(
  #bpo-ma-top .bma-section h2,
  #bpo-ma-top .bma-depth h2,
  #bpo-ma-top .bma-cta h2,
  #bpo-ma-top .bma-zero-spotlight h2
) {
  font-size: clamp(28px, 3.15vw, 38px) !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body #body_wrap :is(
  .agri-form-page h2,
  .bpo-legal-page h2,
  .post_content > h2
) {
  font-size: clamp(26px, 2.75vw, 34px) !important;
  font-weight: 840 !important;
  line-height: 1.42 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body #body_wrap :is(
  #bpo-ma-top h3,
  .agri-form-page h3,
  .bpo-legal-page h3,
  .post_content > h3
) {
  font-size: clamp(19px, 1.9vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.52 !important;
  letter-spacing: .006em !important;
}

html[lang="ja"] body #body_wrap #bpo-ma-top .bma-hero__copy {
  max-width: 42em !important;
  color: #18394f !important;
  font-size: clamp(16px, 1.35vw, 17.5px) !important;
  font-weight: 600 !important;
  line-height: 1.84 !important;
  letter-spacing: .012em !important;
}

html[lang="ja"] body #body_wrap #bpo-ma-top :is(
  .bma-lead,
  .bma-section__lead,
  .bma-depth__lead
) {
  max-width: 68ch;
  color: var(--bpo-type-muted) !important;
  font-size: clamp(16px, 1.28vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.84 !important;
  letter-spacing: .012em !important;
}

html[lang="ja"] body #body_wrap #bpo-ma-top :is(
  .bma-card p,
  .bma-step p,
  .bma-dd-card p,
  .bma-photo-card p,
  .bma-faq-item p
) {
  color: var(--bpo-type-muted) !important;
  font-size: clamp(15.5px, 1.22vw, 16.5px) !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
  letter-spacing: .01em !important;
}

html[lang="ja"] body :is(
  .bpo-trust-topbar__lead,
  .bpo-trust-topbar__items li,
  .bpo-trust-topbar__tel
) {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  letter-spacing: .01em !important;
}

html[lang="ja"] body .bpo-trust-topbar__lead {
  font-weight: 800 !important;
}

html[lang="ja"] body .bpo-unified-header__nav a {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .005em !important;
}

html[lang="ja"] body :is(
  .bpo-unified-header__cta,
  .bma-btn,
  .bpo-btn,
  .bpo-contact-button,
  .bpo-footer-brand__button,
  .bpo-legal-footer__button,
  .wpcf7-submit,
  .agri-form summary
) {
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body .bpo-unified-header__trust > span {
  color: #173b50 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.48 !important;
  letter-spacing: .006em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page :is(
  .agri-form__lead,
  .agri-form-card > p,
  .agri-form__intro
) {
  max-width: 66ch;
  color: var(--bpo-type-muted) !important;
  font-size: clamp(16px, 1.28vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.84 !important;
  letter-spacing: .012em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page .bpo-cf7-step {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  letter-spacing: .006em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page .bpo-cf7-step small {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}

html[lang="ja"] body #body_wrap .agri-form-page form label {
  color: var(--bpo-type-ink) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1.62 !important;
  letter-spacing: .006em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page form :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  select,
  textarea
) {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  letter-spacing: .005em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page :is(
  .bpo-field-hint,
  .bpo-cf7-privacy,
  .bpo-cf7-needs-consent,
  .bpo-cf7-legal-extra,
  .bpo-legal-form-note
) {
  color: #42586a !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.72 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body #body_wrap .agri-form-page :is(
  .bpo-required,
  .bpo-optional
) {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .01em !important;
}

html[lang="ja"] body :is(
  .bpo-unified-footer h2,
  .bpo-legal-footer h2
) {
  font-size: clamp(27px, 3vw, 36px) !important;
  font-weight: 840 !important;
  line-height: 1.42 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body :is(
  .bpo-unified-footer__lead,
  .bpo-legal-footer__lead,
  .bpo-unified-footer p,
  .bpo-legal-footer p
) {
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body :is(
  .bpo-unified-footer nav h3,
  .bpo-legal-footer nav h3
) {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

html[lang="ja"] body :is(
  .bpo-unified-footer nav a,
  .bpo-legal-footer nav a,
  .bpo-unified-footer__bottom,
  .bpo-legal-footer__bottom
) {
  font-size: 14.5px !important;
  font-weight: 550 !important;
  line-height: 1.68 !important;
  letter-spacing: .006em !important;
}

html[lang="ja"] body :is(
  .bma-stat__num,
  .bma-zero__num,
  .bma-fee__price,
  .bpo-legal-footer__phone,
  a[href^="tel:"]
) {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  html[lang="ja"] body #body_wrap {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  html[lang="ja"] body #body_wrap #bpo-ma-top .bma-hero h1 {
    font-size: clamp(34px, 9.4vw, 40px) !important;
    line-height: 1.26 !important;
    letter-spacing: -.01em !important;
  }

  html[lang="ja"] body #body_wrap :is(
    .agri-form-page h1,
    .agri-form h1,
    .bpo-legal-page h1,
    .entry-title
  ) {
    font-size: clamp(26px, 7.2vw, 31px) !important;
    line-height: 1.4 !important;
  }

  html[lang="ja"] body #body_wrap :is(
    #bpo-ma-top .bma-section h2,
    #bpo-ma-top .bma-depth h2,
    #bpo-ma-top .bma-cta h2,
    #bpo-ma-top .bma-zero-spotlight h2,
    .agri-form-page h2,
    .bpo-legal-page h2
  ) {
    font-size: clamp(24px, 6.6vw, 29px) !important;
    line-height: 1.44 !important;
  }

  html[lang="ja"] body #body_wrap :is(
    #bpo-ma-top h3,
    .agri-form-page h3,
    .bpo-legal-page h3
  ) {
    font-size: clamp(18px, 5vw, 21px) !important;
    line-height: 1.52 !important;
  }

  html[lang="ja"] body #body_wrap #bpo-ma-top :is(
    .bma-hero__copy,
    .bma-lead,
    .bma-section__lead,
    .bma-card p,
    .bma-step p
  ),
  html[lang="ja"] body #body_wrap .agri-form-page :is(
    .agri-form__lead,
    .agri-form-card > p
  ) {
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  html[lang="ja"] body :is(
    .bpo-unified-header__cta,
    .bma-btn,
    .bpo-btn,
    .wpcf7-submit
  ) {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
  }
}
/* /bpo-typography-readability-20260713 */

/* bpo-typography-specificity-fix-20260713 */
html[lang="ja"] body.bpo-home-executive-clean #body_wrap.page-id-38 #bpo-ma-top.bma-page .bma-hero #bma-hero-title {
  font-size: clamp(44px, 5.1vw, 64px) !important;
  font-weight: 880 !important;
  line-height: 1.22 !important;
  letter-spacing: -.015em !important;
}

html[lang="ja"] body.bpo-home-executive-clean #body_wrap.page-id-38 #bpo-ma-top.bma-page .bma-hero .bma-kicker {
  font-size: 14.5px !important;
  font-weight: 750 !important;
  line-height: 1.55 !important;
  letter-spacing: .008em !important;
}

html[lang="ja"] body.bpo-home-executive-clean #body_wrap.page-id-38 #bpo-ma-top.bma-page .bma-btn {
  font-size: 15.5px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: .008em !important;
}

@media (max-width: 767px) {
  html[lang="ja"] body.bpo-home-executive-clean #body_wrap.page-id-38 #bpo-ma-top.bma-page .bma-hero #bma-hero-title {
    font-size: clamp(34px, 9.4vw, 40px) !important;
    line-height: 1.26 !important;
    letter-spacing: -.01em !important;
  }
}
/* /bpo-typography-specificity-fix-20260713 */
/* 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;
}

/* BPO M&A総合センターの基本背景、相談フォームと事例紹介 */
@layer bpo-page-background {
  body,
  #header,
  #footer,
  .bpo-clean-header,
  #bpg-home,
  .ajng-section--paper,
  .ajng-section--mist,
  #seller-fee-reasons,
  #ma-owner-voices,
  #bpo-consultation-cases-note,
  .bpo-introduction__sources,
  .bpo-company__section,
  #ma-do-representative-profile,
  #ajng-seller-form,
  #ajng-buyer-form,
  #ajng-contact-choice,
  #bpg-registration,
  .bpc-points {
    background-color: #fff !important;
  }

  .ajng-hero,
  #bpo-aj-seller-hero,
  .bpo-introduction__hero,
  .bpc-intro {
    background-color: #fff !important;
    background-image: none !important;
  }
}

/* BPO M&A総合センターの正式ヘッダーロゴ */
:where(#header,#fix_header) .c-headLogo.-txt a.c-headLogo__link, header.bpo-universal-header a.bpo-universal-header__brand,header.bma-sub-header a.bma-sub-brand,header.bpg-site-header a.bpg-brand {display:block!important;position:relative;flex:0 1 auto;width:min(250px,54vw);height:46px;max-width:100%;padding:0;overflow:hidden;text-indent:-9999px;white-space:nowrap;background:url("https://bpo-ma-center.jp/wp-content/uploads/2026/06/bpo-ma-center-attached-logo-display-20260616.jpg") left center / contain no-repeat!important;}
header.bpg-site-header a.bpg-brand>span {position:absolute;clip-path:inset(50%);width:1px;height:1px;margin:-1px;overflow:hidden;}
#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header {position:relative!important;top:auto!important;transform:none!important;visibility:visible!important;opacity:1!important;display:block!important;pointer-events:auto!important;}
#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header .l-fixHeader__inner {min-height:56px;}
@media(max-width:959px){:where(#header,#fix_header) .c-headLogo.-txt a.c-headLogo__link,header.bpo-universal-header a.bpo-universal-header__brand,header.bma-sub-header a.bma-sub-brand,header.bpg-site-header a.bpg-brand{width:min(210px,54vw);height:40px;}#body_wrap #header .c-headLogo__link:has(img.c-headLogo__img){display:flex;align-items:center;width:min(210px,calc(100vw - 118px));height:42px;}#body_wrap #header .c-headLogo__link img.c-headLogo__img {width:100%!important;height:auto!important;max-height:42px;object-fit:contain;}#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header .l-fixHeader__inner {display:flex;min-height:50px;justify-content:center;}#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header .l-fixHeader__gnav{display:none;}}
@media(max-width:959px){#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header .l-fixHeader__logo{flex:0 0 auto;padding:0;}#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header a.c-headLogo__link{display:flex;align-items:center;justify-content:center;width:min(210px,70vw)!important;height:44px!important;}#body_wrap:is(.page-id-1219,.page-id-1215,.page-id-110)>#fix_header img.c-headLogo__img{display:block;width:100%!important;height:auto!important;max-height:44px;object-fit:contain;}}
