/* Meiryo 600 for the public site's text at 16px and below.
   Keep this after the LP/detail styles so CMS previews use the same typography. */
:where(body.motion-lp,body.detail-page){
  --small-text-family:"Meiryo","メイリオ","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
}
:where(body.motion-lp,body.detail-page) :is(
  p:not(.motion-description):not(.seminar-subtitle),small,li,dt,dd,
  input,textarea,select,td,th,
  .button,.seminar-button,.eyebrow,.brand-caption,.header-cta,.skip-link,
  .desktop-nav a,.menu-dialog[open] nav a,.footer-links,.footer-links a,
  .text-link,.entry-link,.event-action,.collection-more,.back-button,
  .support-links a,.support-links button,.support-video-link,
  .official-form-link,.contact-extra-links a,.living-detail-link,
  .radio-label,.consent,.field,.form-submit,.dialog-note,
  .entry-body,.entries-empty,.news-row time,.event-date,.event-ended,
  .event-meta,.upcoming-date,.upcoming-date span,.upcoming-location,
  .case-company,.case-location,.case-record-title,.case-record-body,
  .step-number,.benefit-number,.steps li>span,.inline-steps li>span,
  .sales-step summary,.sales-step summary>span,.sales-step-short,
  .sales-example-details>summary,.resources-details>summary,.resource-grid summary,
  .support-catalog .tool-name,.tool-summary,.story-process li,
  .plan-details>summary,.faq-list summary,.contact-destination legend,
  .detail-breadcrumb,.detail-facts,.detail-steps li:before,
  .seminar-status,.seminar-checks li,.seminar-points li,.seminar-points li:before,
  .seminar-side nav>a,.seminar-application-steps li>span,.seminar-application-steps strong,
  .seminar-back,.cabin-status,.cabin-hint,.cabin-controls button
){
  font-family:var(--small-text-family)!important;
  font-weight:600!important;
  font-synthesis:weight;
}
/* Inline emphasis in body copy follows the same small-text weight. */
:where(body.motion-lp,body.detail-page) :is(.entry-body,p:not(.motion-description):not(.seminar-subtitle),.story-process,.seminar-checks,.seminar-points) :is(strong,b,em){
  font-family:var(--small-text-family)!important;font-weight:600!important;
}
body.motion-lp :is(.upcoming-events .upcoming-info h3,.example-grid h4,.hero-scroll>span:first-child){
  font-family:var(--small-text-family)!important;font-weight:600!important;
}
/* These larger children retain their original weight inside small-text parents. */
:where(body.motion-lp,body.detail-page) .contact-phone a{font-weight:400}
body.seminar-detail-page .seminar-button>span{font-weight:700}
/* Desktop hero copy uses clamp(16px,1.35vw,18px); phone copy never exceeds 16px. */
@media(max-width:1185.185185px){
  body.motion-lp .motion-description{font-family:var(--small-text-family)!important;font-weight:600!important}
}
@media(max-width:800px){
  body.motion-lp :is(.cost-checklist summary,.news-row h3),
  body.seminar-detail-page .seminar-section>.seminar-subtitle,
  :where(body.motion-lp,body.detail-page) .tool-name{
    font-family:var(--small-text-family)!important;font-weight:600!important;
  }
}
@media(max-width:370px){
  body.motion-lp .product-caption h3{font-family:var(--small-text-family)!important;font-weight:600!important}
}
