/* Japanese mobile readability — desktop layout is deliberately unchanged. */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .ep-nav .ep-logo, header.nav .logo {
    font-size: 20px;
    line-height: 1.12;
    flex: 0 0 auto;
  }
  .ep-nav .ep-logo small, header.nav .logo small {
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .16em;
    white-space: nowrap;
  }
  /* Compact the inline navigation on pages without a hamburger button. */
  header.nav .nav-inner:not(:has(> .menu)) .links { gap: 8px; }
  .ep-nav .ep-links.is-open a, header.nav .links.is-open a { font-size: 14px; }

  /* Corporate, service and contact pages. */
  .hero { --hero-text-size: 16px; }
  .hero .hero-text, .hero-action-description,
  .ep-lead, .about-copy p, .service-card p, .service-support,
  .card p, .why-card p, .item p, .items-support p,
  .message-copy p, .achievement p, .base-info-value,
  .issue-list div, .issue-list div:last-child,
  .product-flow span, .product-flow.one-column span, .flow-step span,
  .consult-fit li, .support-grid li, .trade-advantage p,
  .operation-copy p, .license-note, .price-note, .case p,
  .bo-intro .lead, .bo-section .lead, .bo-service-card .body p,
  .bo-direct p, .bo-strength p, .bo-process p, .bo-pricing p,
  .bo-faq details p, .bo-contact p,
  .contact-hero p, .contact-intro p, .contact p, .form-message,
  .intro p, .blog-hero p, .featured-copy p, .guide-card p {
    font-size: 16px;
  }
  .lead, .intro .lead, .bo-intro .lead { font-size: 18px; }
  .base-info-value small, .info .row small, .item-note,
  .license-note small, .bo-note, .bo-pricing small,
  .form-consent, .turnstile-note { font-size: 13px; }
  .base-info-label, .form-field label { font-size: 13px; }
  .form-field input, .form-field textarea, .form-field select,
  .blog-search input { font-size: 16px; }
  .text-link, .service-link, .read-more, .contact-btn,
  .submit-btn, .contact-back a { font-size: 14px; }

  /* News, article listings and article reading. */
  .news-item { font-size: 14px; }
  .news-date, .article-list .article .date { font-size: 12px; }
  .article-summary { font-size: 15px; }
  .paper p { font-size: 17px; }
  .article-lead, .article-page--prototype .article-lead { font-size: 18px; }
  .article-paper p, .article-page--prototype .article-paper .legacy-body p,
  .article-paper .legacy-body p { font-size: 18px !important; }
  .article-paper li, .article-paper ul, .article-paper ol,
  .article-page--prototype .article-paper .legacy-body li,
  .article-introduction ul, .article-introduction p,
  .article-page--prototype .article-introduction ul,
  .article-page--prototype .article-introduction p { font-size: 17px; }
  .article-paper th, .article-paper td,
  .article-page--prototype .article-paper .legacy-body th,
  .article-page--prototype .article-paper .legacy-body td { font-size: 16px; }
  .article-toc summary, .article-toc-list li,
  .article-page--prototype .article-toc summary,
  .article-page--prototype .article-toc-list li { font-size: 16px; }
  .article-toc-list .toc-level-3,
  .article-page--prototype .article-toc-list .toc-level-3 { font-size: 15px; }
  .article-meta, .article-page--prototype .article-meta,
  .article-top-media figcaption, .photos figcaption { font-size: 14px; }
  .footer, .copy { font-size: 12px; }
}
@media (max-width: 360px) {
  header.nav .nav-inner:not(:has(> .menu)) .logo { font-size: 19px; }
  header.nav .nav-inner:not(:has(> .menu)) .logo small { letter-spacing: .1em; }
  header.nav .nav-inner:not(:has(> .menu)) .links { gap: 6px; }
}
