
/* Cosme M&A Center — unified Japanese typography v1.6.0 */
:root {
  --cosme-type-ink: #273638;
  --cosme-type-muted: #536164;
  --cosme-type-body: 16.5px;
  --cosme-type-leading: 1.9;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body #body_wrap {
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body #body_wrap :where(
  .post_content,
  .p-articleContent,
  #main_visual,
  #cosme-home-sections,
  .cosme-concerns,
  .cosme-proof-rail,
  .cosme-contact,
  .cosme-service-guide,
  .cosme-archive-intro,
  .cosme-seo-related,
  .cosme-editorial-note
) {
  color: var(--cosme-type-ink);
  font-feature-settings: "palt" 1;
}

/* Page and article titles */
body #body_wrap .c-pageTitle {
  font-size: clamp(30px, 2.8vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.4 !important;
}

body #body_wrap .c-postTitle__ttl {
  font-size: clamp(27px, 2.55vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.45 !important;
}

/* Long-form pages and articles */
body #body_wrap :where(.post_content, .p-articleContent) {
  color: var(--cosme-type-ink);
  font-size: var(--cosme-type-body);
  line-height: var(--cosme-type-leading);
}

body #body_wrap :where(.post_content, .p-articleContent) :where(p, li, dt, dd) {
  font-size: 1em;
  letter-spacing: .006em;
  line-height: 1.9;
}

body #body_wrap :where(.post_content, .p-articleContent) p {
  margin-bottom: 1.45em !important;
}

body #body_wrap :where(.post_content, .p-articleContent) h2:not(.p-postList__title) {
  font-size: clamp(25px, 2.15vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -.012em !important;
  line-height: 1.5 !important;
  margin-bottom: 1em !important;
  margin-top: 2.8em !important;
}

body #body_wrap :where(.post_content, .p-articleContent) h3 {
  font-size: clamp(20px, 1.75vw, 24px) !important;
  font-weight: 800 !important;
  letter-spacing: -.008em !important;
  line-height: 1.55 !important;
  margin-bottom: .85em !important;
  margin-top: 2.25em !important;
}

body #body_wrap :where(.post_content, .p-articleContent) h4 {
  font-size: clamp(18px, 1.45vw, 21px) !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
}

body #body_wrap .p-postList__title {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.62 !important;
}

body #body_wrap .cosme-archive-intro {
  color: var(--cosme-type-ink);
  font-size: 16.5px;
  line-height: 1.9;
}

body #body_wrap .cosme-seo-related h2 {
  font-size: clamp(21px, 1.8vw, 25px) !important;
  margin: 0 0 .85em !important;
}

body #body_wrap .cosme-editorial-note {
  color: var(--cosme-type-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* Home */
body #body_wrap.home #main_visual .cosme-hero-copy h1 {
  font-size: clamp(36px, 3.55vw, 46px) !important;
  font-weight: 800 !important;
  letter-spacing: -.026em !important;
  line-height: 1.24 !important;
}

body #body_wrap.home #main_visual .cosme-hero-copy > p {
  color: #354649 !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  letter-spacing: .004em !important;
  line-height: 1.88 !important;
}

body #body_wrap.home #main_visual .cosme-hero-advisory-body p {
  color: #536164 !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
}

body #body_wrap.home :where(#cosme-home-sections, .cosme-concerns) h2:not(.p-postList__title) {
  font-size: clamp(29px, 3vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.4 !important;
}

body #body_wrap.home :where(#cosme-home-sections, .cosme-concerns) h3 {
  font-size: clamp(18px, 1.65vw, 20px) !important;
  font-weight: 800 !important;
  letter-spacing: -.006em !important;
  line-height: 1.55 !important;
}

body #body_wrap.home #cosme-home-sections .cosme-lead,
body #body_wrap.home .cosme-concerns-lead {
  color: #3e4d50 !important;
  font-size: 16.5px !important;
  line-height: 1.9 !important;
}

body #body_wrap.home :where(.cosme-concern-card, .cosme-insight-card) p {
  color: #4b5a5d !important;
  font-size: 14.5px !important;
  line-height: 1.85 !important;
}

body #body_wrap.home :where(.cosme-service, .cosme-route, .cosme-faq) p {
  color: #465659 !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

body #body_wrap.home #cosme-home-sections .cosme-note {
  color: #5d686a !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

body #body_wrap :where(.cosme-btn, .cosme-header-action, .cosme-site-footer__button) {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .005em !important;
  line-height: 1.5 !important;
}

/* Contact forms */
body #body_wrap .cosme-contact {
  color: var(--cosme-type-ink);
  font-size: 16px;
}

body #body_wrap .cosme-contact h1 {
  font-size: clamp(32px, 3.4vw, 42px) !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.36 !important;
}

body #body_wrap .cosme-contact h2 {
  font-size: clamp(24px, 2.35vw, 29px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

body #body_wrap .cosme-contact-card h2,
body #body_wrap .cosme-contact-step h2,
body #body_wrap .cosme-contact-step h3 {
  font-size: clamp(18px, 1.7vw, 21px) !important;
  line-height: 1.55 !important;
}

body #body_wrap .cosme-contact p {
  color: #4a595c;
  font-size: 16px;
  line-height: 1.85;
}

body #body_wrap :where(.cosme-contact-note, .cosme-contact-step p) {
  font-size: 14.5px !important;
  line-height: 1.82 !important;
}

body #body_wrap :where(.cosme-field label, .cosme-check-group legend) {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body #body_wrap :where(.cosme-check-list label, .cosme-consent) {
  color: #3f5053;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
}

body #body_wrap .cosme-check-list label > span {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

body #body_wrap :where(.cosme-form-help, .cosme-consent-detail, .cosme-conditional-help) {
  color: #5d696b !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}

body #body_wrap :where(.cosme-contact-btn, .cosme-quick-prompt) {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* Service guides and footer */
body #body_wrap .cosme-service-guide__lead {
  font-size: clamp(17px, 1.7vw, 19px) !important;
  line-height: 1.9 !important;
}

body #body_wrap .cosme-service-guide__section h2 {
  font-size: clamp(24px, 2.2vw, 30px) !important;
}

body #body_wrap :where(.cosme-service-guide__section p, .cosme-service-guide__checklist li) {
  font-size: 16px !important;
  line-height: 1.88 !important;
}

body #body_wrap .cosme-site-footer__lead {
  color: rgba(255,255,255,.82) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

@media (max-width: 640px) {
  :root {
    --cosme-type-body: 16px;
    --cosme-type-leading: 1.88;
  }

  body #body_wrap .c-pageTitle {
    font-size: 27px !important;
    line-height: 1.45 !important;
  }

  body #body_wrap .c-postTitle__ttl {
    font-size: 24px !important;
    letter-spacing: -.012em !important;
    line-height: 1.5 !important;
  }

  body #body_wrap :where(.post_content, .p-articleContent) h2:not(.p-postList__title) {
    font-size: 23px !important;
    line-height: 1.55 !important;
    margin-bottom: .9em !important;
    margin-top: 2.55em !important;
  }

  body #body_wrap :where(.post_content, .p-articleContent) h3 {
    font-size: 19.5px !important;
    line-height: 1.6 !important;
    margin-bottom: .75em !important;
    margin-top: 2.1em !important;
  }

  body #body_wrap .p-postList__title {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body #body_wrap .cosme-archive-intro {
    font-size: 15.5px;
    line-height: 1.88;
  }

  body #body_wrap.home #main_visual .cosme-hero-copy h1 {
    font-size: 33px !important;
    line-height: 1.28 !important;
  }

  body #body_wrap.home #main_visual .cosme-hero-copy > p {
    font-size: 15.5px !important;
    line-height: 1.86 !important;
  }

  body #body_wrap.home :where(#cosme-home-sections, .cosme-concerns) h2:not(.p-postList__title) {
    font-size: 27px !important;
    line-height: 1.42 !important;
  }

  body #body_wrap.home :where(#cosme-home-sections, .cosme-concerns) h3 {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  body #body_wrap.home #cosme-home-sections .cosme-lead,
  body #body_wrap.home .cosme-concerns-lead {
    font-size: 16px !important;
    line-height: 1.88 !important;
  }

  body #body_wrap.home :where(.cosme-concern-card, .cosme-insight-card) p {
    font-size: 14.5px !important;
  }

  body #body_wrap .cosme-contact h1 {
    font-size: 29px !important;
    line-height: 1.43 !important;
  }

  body #body_wrap .cosme-contact h2 {
    font-size: 23px !important;
    line-height: 1.5 !important;
  }

  body #body_wrap .cosme-contact p {
    font-size: 15.5px;
    line-height: 1.84;
  }

  body #body_wrap :where(.cosme-field label, .cosme-check-group legend) {
    font-size: 15px !important;
  }

  body #body_wrap :where(.cosme-check-list label, .cosme-consent) {
    font-size: 14px !important;
  }

  body #body_wrap .cosme-site-footer__lead {
    font-size: 14.5px !important;
  }
}

        