/* Mobile and tablet layout, loaded after the original visual system.
   Fix intrinsic grid widths at their source; keep the document horizontally scroll-free. */
.home-mobile-start { display: none; }
.hero-title-line { display: block; }
.lead-context { margin: 14px 0; padding: 12px 14px; color: #264b53; background: #edf5f5; border-left: 3px solid #287c88; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.lead-extra { margin-top: 20px; border-top: 1px solid #dfe5e6; border-bottom: 1px solid #dfe5e6; }
.lead-extra summary { min-height: 48px; padding: 14px 0; cursor: pointer; color: #3b4e55; font-size: 14px; line-height: 1.5; font-weight: 600; }
.lead-extra[open] summary { margin-bottom: 4px; }
.lead-extra > .lead-fields { padding-bottom: 20px; }

@media (max-width: 980px) {
  html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
  body { overflow-wrap: anywhere; }
  body :is(main, section, article, aside, figure, form, fieldset, nav, header, footer) { min-width: 0; }
  body :is(.section-inner, .hero-content, .module-copy, .module-content, .product-copy,
    .lead-form, .lead-field, .sales-catalog-product, .company-intro-copy,
    .home-cooperation-copy, .home-contact-strip-inner, .modal-title-wrap) { min-width: 0; max-width: 100%; }
  body :is(img, video, svg) { max-width: 100%; }
  body :is(button, a, summary, input, select, textarea) { touch-action: manipulation; }
  body :is(.primary, .secondary, .close-button, .mobile-nav-toggle,
    .product-back, .training-course-back, .product-links a, .qr-actions a,
    .qr-actions button, .cooperation-samples-action button) { min-height: 44px; }
  body :is(.lead-field input, .lead-field select, .lead-field textarea,
    .sales-catalog-tools input, .sales-catalog-tools select) { min-width: 0; max-width: 100%; font-size: 16px; }

  /* One compact header and one complete drawer on touch-size screens. */
  body .topbar { height: calc(64px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 24px 0; }
  body .topnav { gap: 10px; flex: 0 0 auto; }
  body .topnav .business-menu { display: none; }
  body .topnav > a, body .topnav > .nav-action { display: none; }
  body .mobile-nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
  body .mobile-nav-panel { top: calc(64px + env(safe-area-inset-top, 0px)); right: 16px; width: min(380px, calc(100% - 32px)); max-height: calc(100vh - 152px); max-height: calc(100dvh - 152px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; border-radius: 0 0 12px 12px; }
  body .mobile-nav-panel :is(a, button) { min-width: 0; min-height: 48px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
  body .business-menu-panel { position: fixed; left: 16px; right: 16px; top: calc(64px + env(safe-area-inset-top, 0px)); width: auto; max-width: none; transform: translateY(10px); }
  body .business-menu.open .business-menu-panel { transform: translateY(0); }

  body .hero { min-height: 0; }
  body .hero-content { width: calc(100% - 48px); margin: 0 auto; padding: calc(124px + env(safe-area-inset-top, 0px)) 0 72px; }
  body .hero-copy { width: 100%; max-width: 650px; }
  body .hero h1 { max-width: 100%; font-size: clamp(38px, 5.8vw, 54px); line-height: 1.25; letter-spacing: -.025em; }
  body .hero-title-line { display: block; }
  body .hero p { font-size: 16px; line-height: 1.8; }
  body .hero-eyebrow { max-width: 100%; line-height: 1.6; }
  body .hero-eyebrow::before { flex: 0 0 22px; }

  /* Explicitly undo the later desktop grid overrides in index.html. */
  body .portal-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; overflow: visible; }
  body .module-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px; overflow: visible; }
  body .module-nav h3 { display: none; }
  body .module-tab { min-width: 0; width: 100%; margin: 0; grid-template-columns: minmax(0, 1fr); min-height: 68px; padding: 12px; border: 1px solid #41464a; }
  body .module-tab i { display: none; }
  body .module-tab b { font-size: 14px; line-height: 1.5; }
  body .module-tab small { font-size: 11px; line-height: 1.5; }
  body .module-tab.active { border-color: #b7c5c9; background: #38464c; }
  body .module-tab.cooperation-tab { border-left-color: #41464a; }
  body .module-content { padding: 28px; }
  body .module-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body .module-copy { padding: 0; }
  body .module-image { min-height: 0; height: auto; aspect-ratio: 16 / 9; max-height: 430px; object-fit: cover; }
  body .company-intro-inner, body .home-cooperation-inner, body .lead-shell { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  body .lead-shell { gap: 0; }
  body .company-intro-media, body .cooperation-visual { margin: 0; min-height: 0; }
  body .company-intro-media img { min-height: 0; height: auto; max-height: 440px; aspect-ratio: 16 / 10; object-fit: cover; }
  body .cooperation-visual img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  body .business-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .service-system-grid .business-tile:nth-child(n) { grid-column: auto; min-height: 0; }
  body .business-tile { grid-template-rows: auto 1fr; min-width: 0; }
  body .business-tile img, body .business-tile:nth-child(2) img { height: auto; aspect-ratio: 16 / 10; padding: 0; object-fit: cover; }
  body :is(.section-head, .audience-intro, .home-contact-strip-inner,
    .case-proof-head, .cooperation-evidence-head, .cooperation-packages-head,
    .cooperation-samples-head, .credential-group-head, .training-overview-head,
    .service-cases-head, .training-directory-head, .training-assessment-head) { align-items: flex-start; flex-direction: column; gap: 12px; }
  body :is(.case-proof-head, .cooperation-evidence-head, .cooperation-packages-head,
    .cooperation-samples-head, .credential-group-head, .training-overview-head,
    .training-directory-head, .training-assessment-head) p { text-align: left; }
  body .service-cases-intro { text-align: left; }
  body .cooperation-gallery, body .credential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .credential-card-copy, body .sales-product-card-copy { display: block; }
  body .credential-card img { height: 290px; }
  body .cooperation-copy, body .trust-panel { padding: 26px; }
  body .video-frame { min-height: 0; }
  body .video-frame video { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  body .video-shield { position: relative; inset: auto; padding: 20px; min-height: 0; }
  body .campus-card, body .campus-card:first-child { min-height: 0; }
  body .campus-card img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

  /* Dialog height follows the visible viewport; only its body scrolls. */
  body dialog { width: calc(100% - 32px); max-width: 860px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); margin: auto; border-radius: 12px; overflow: hidden; }
  body dialog[open] { display: flex; flex-direction: column; }
  body .modal-head { flex: 0 0 auto; padding: 16px 20px; gap: 12px; }
  body .modal-head strong { font-size: 22px; line-height: 1.4; }
  body .close-button { flex: 0 0 44px; width: 44px; height: 44px; }
  body :is(.modal-body, .consult-body, .qr-body) { min-height: 0; max-height: none; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  body .modal-body { padding: 24px; }
  body .product-detail-tabs { top: -24px; max-width: 100%; scrollbar-width: thin; }
  body .product-detail-tabs button { flex: 0 0 auto; font-size: 13px; }
  body .product-copy h3 { max-width: 100%; line-height: 1.3; }
  body .sales-products-head, body .sales-catalog-head { align-items: flex-start; flex-direction: column; }
  body .sales-catalog-row { grid-template-columns: minmax(0, 1fr) minmax(88px, auto); gap: 8px 12px; }
  body .sales-catalog-row > span { grid-column: 1; }
  body .sales-catalog-row > b { grid-column: 2; grid-row: 1; }
  body .sales-catalog-row > em { grid-column: 2; grid-row: 2; }
  body .sales-catalog-row > b, body .sales-products-head span, body .sales-catalog-count { white-space: normal; }
  body .training-course-detail-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  body .training-course-price { white-space: normal; }
  body .product-price-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .product-links a, body .modal-actions > :is(a, button) { max-width: 100%; padding: 12px 16px; line-height: 1.5; text-align: center; }
  body .modal-actions > .primary { color: #fff; background: #142d36; border-color: #142d36; }
  body .qr-code { width: min(270px, 100%); min-height: 0; aspect-ratio: 1; }
  body .toast { width: max-content; max-width: calc(100% - 32px); line-height: 1.6; text-align: center; }
  body .table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  body .modal-body table { display: block; max-width: 100%; overflow-x: auto; }

  /* Text below 12px is hard to read on touch screens, particularly inside cards. */
  body :is(.hero-proof, .company-intro-points, .home-cooperation-point,
    .cooperation-capability, .cooperation-gallery, .cooperation-evidence-card,
    .cooperation-sample, .credential-highlight, .credential-card-copy,
    .service-case-copy, .sales-product-card-copy, .product-price-option) > span { font-size: 13px; line-height: 1.7; }
  body :is(.featured-product-copy, .audience-card, .item-card,
    .cooperation-package, .cooperation-evidence-card, .case-proof-card,
    .training-course-card, .training-difference, .assessment-card,
    .product-copy, .sales-product-card, .consult-heading, .consult-group-head) p { font-size: 14px; line-height: 1.8; }
  body :is(.featured-product-copy, .business-tile-copy) > strong { font-size: 13px; line-height: 1.6; }
  body :is(.price-note, .price-card span, .price-section-head span,
    .sales-catalog-note, .product-source-note, .product-price-panel > p,
    .product-price-panel > span, .training-course-note, .cooperation-evidence-note,
    .credential-note, .lead-form-title p, .lead-consent, .analytics-note,
    .campus-disclaimer) { font-size: 12px; line-height: 1.75; }
  body :is(.company-intro-copy, .business-overview-head, .section-head,
    .audience-intro, .home-cooperation-copy, .lead-intro) > p { font-size: 15px; line-height: 1.85; }
  body :is(.modal-box ul, .product-detail-box ul, .training-course-columns ul,
    .training-course-columns ol, .cooperation-package ul) { font-size: 14px; line-height: 1.85; }
  body :is(.sales-catalog-row strong, .sales-catalog-row span, .sales-catalog-row em,
    .training-overview-card span, .training-course-card i, .cooperation-contact span,
    .lead-field span, .consult-advisor small) { font-size: 13px; line-height: 1.6; }
  body :is(.sales-catalog-row small, .sales-catalog-tools span,
    .detail-meta small, .product-spec small, .training-course-facts small) { font-size: 12px; }
  body :is(.sales-product-link, .training-course-facts b, .product-spec b,
    .home-contact-strip p, .consult-advisor strong) { font-size: 13px; }
  body .lead-consent { min-height: 44px; align-items: flex-start; padding: 8px 0; }
  body .lead-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; }
}

@media (min-width: 681px) and (max-width: 980px) {
  body :is(.business-overview, .company-intro, .featured-products, .audience-band,
    .home-cooperation, .section, .lead-band) { padding: 64px 24px; }
  body .business-detail-toolbar { margin-bottom: 24px; }
  body[data-site-view="business"] #business,
  body[data-site-view="customers"] #customer-paths,
  body[data-site-view="cases"] #cases,
  body[data-site-view="cooperation"] #cooperation,
  body[data-site-view="credentials"] #credentials,
  body[data-site-view="consultation"] #consultation,
  body[data-site-view="privacy"] #privacy { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  body .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .audience-card:last-child { grid-column: 1 / -1; }
  body .home-contact-strip-actions { width: 100%; }
  body .featured-products-head h2, body .company-intro-copy h2,
  body .business-overview-head h2, body #audience-title,
  body .home-cooperation-copy h2 { font-size: 36px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 15px; }
  body .topbar { height: calc(60px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
  body .brand { gap: 8px; }
  body .brand-mark { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 6px; }
  body .brand strong { font-size: 14px; line-height: 1.4; letter-spacing: 0; }
  body .mobile-nav-panel { top: calc(60px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; width: auto; padding: 10px; }
  body .hero { background-position: 61% center; }
  body .hero-content { width: calc(100% - 40px); padding: calc(98px + env(safe-area-inset-top, 0px)) 0 52px; }
  body .hero h1 { margin: 0 0 18px; font-size: clamp(27px, 7.8vw, 39px); line-height: 1.35; letter-spacing: -.02em; }
  body .hero-eyebrow { gap: 8px; margin-bottom: 17px; font-size: 11px; letter-spacing: .025em; }
  body .hero-eyebrow::before { flex-basis: 16px; width: 16px; }
  body .hero p { font-size: 15px; line-height: 1.8; }
  body .hero-actions { gap: 10px; margin-top: 24px; }
  body .hero-actions :is(.primary, .secondary) { width: 100%; min-height: 48px; border-radius: 7px; font-size: 15px; padding: 12px; }
  body .hero-render-note { right: 20px; left: 20px; bottom: 12px; width: fit-content; max-width: calc(100% - 40px); font-size: 10px; line-height: 1.5; }

  body[data-site-view="home"] .home-mobile-start { display: block; order: 2; padding: 18px 16px; background: #f0f4f4; border-bottom: 1px solid #e1e7e7; }
  body .home-mobile-start-inner { max-width: 600px; margin: 0 auto; }
  body .home-mobile-start h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.5; font-weight: 650; }
  body .home-mobile-start-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body .home-mobile-start-links a { min-width: 0; min-height: 78px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 13px 8px; text-align: center; color: #162b32; background: #fff; border: 1px solid #dfe7e8; border-radius: 8px; }
  body .home-mobile-start-links :is(strong, b) { font-size: 15px; line-height: 1.5; font-weight: 650; }
  body .home-mobile-start-links :is(small, span) { font-size: 12px; line-height: 1.5; color: #626e73; }
  body .home-mobile-study { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; min-height: 52px; margin-top: 10px; padding: 14px; color: #fff; background: #143640; border-radius: 8px; font-size: 14px; line-height: 1.5; }
  body .home-mobile-study :is(small, span) { color: #d5e5e7; font-size: 12px; }
  body .home-mobile-study b { display: block; color: #fff; font-size: 15px; }
  body .home-mobile-study small { display: block; margin-top: 3px; }
  body[data-site-view="home"] .hero-facts { order: 3; }
  body[data-site-view="home"] .company-intro { order: 4; }
  body[data-site-view="home"] .featured-products { order: 5; }
  body[data-site-view="home"] .business-overview { order: 6; }
  body[data-site-view="home"] .audience-band { order: 7; }
  body[data-site-view="home"] .home-cooperation { order: 8; }
  body[data-site-view="home"] .home-contact-strip { order: 9; }

  body .hero-facts { padding: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .hero-proof, body .hero-proof:first-child, body .hero-proof:last-child { min-height: 0; padding: 21px 12px; }
  body .home-gateways .hero-proof { min-height: 0; }
  body .home-gateways .hero-proof strong { font-size: 16px; line-height: 1.5; }
  body .home-gateways .hero-proof span { font-size: 12px; line-height: 1.75; }
  body :is(.business-overview, .company-intro, .featured-products, .audience-band,
    .home-cooperation, .section, .lead-band, .privacy-band) { padding: 48px 16px; }
  body[data-site-view="business"] #business,
  body[data-site-view="customers"] #customer-paths,
  body[data-site-view="cases"] #cases,
  body[data-site-view="cooperation"] #cooperation,
  body[data-site-view="credentials"] #credentials,
  body[data-site-view="consultation"] #consultation,
  body[data-site-view="privacy"] #privacy { padding-top: calc(88px + env(safe-area-inset-top, 0px)); }
  body :is(.business-overview-head, .featured-products-head, .section-head, .audience-intro) { margin-bottom: 24px; gap: 12px; }
  body .business-overview-head h2, body .company-intro-copy h2,
  body .featured-products-head h2, body #audience-title,
  body .home-cooperation-copy h2, body #cases-title, body #cooperation-title,
  body #credentials-title, body .portal .section-head h2,
  body .home-contact-strip h2, body #consultation-title { font-size: clamp(26px, 7vw, 31px); line-height: 1.4; letter-spacing: -.025em; }
  body h2 { font-size: 28px; line-height: 1.4; }
  body .section-kicker { line-height: 1.7; letter-spacing: .07em; }
  body .company-intro-inner { gap: 24px; }
  body .company-intro-media img { min-height: 0; max-height: 300px; aspect-ratio: 4 / 3; }
  body .company-intro-points { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
  body .company-intro-points div { min-width: 0; padding: 15px 10px 15px 0; }
  body .company-intro-points div:nth-child(even) { padding-left: 12px; }
  body .company-intro-points b { font-size: 14px; line-height: 1.5; }
  body .company-intro-points span { font-size: 12px; line-height: 1.7; }
  body .company-intro-actions { gap: 8px; margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .company-intro-actions :is(a, button) { min-width: 0; min-height: 46px; padding: 10px 8px; font-size: 13px; line-height: 1.5; }
  body .company-intro-actions > :last-child { grid-column: 1 / -1; }
  body .featured-product-grid, body .business-overview-grid, body .audience-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body .featured-product-card { min-height: 0; border-radius: 10px; }
  body .featured-product-card:last-child { grid-column: auto; }
  body .featured-product-media { min-height: 0; padding: 20px; }
  body .featured-product-media img { height: 190px; object-fit: contain; }
  body .featured-product-copy { padding: 20px; }
  body .featured-product-copy h3 { font-size: 22px; line-height: 1.4; }
  body .digital-product-strip { padding: 22px 18px; gap: 18px; }
  body .digital-product-strip h3 { font-size: 23px; line-height: 1.4; }
  body .digital-product-strip p { font-size: 14px; line-height: 1.75; }
  body .digital-product-strip a { min-height: 46px; white-space: normal; font-size: 14px; text-align: center; }
  body .business-tile { border-radius: 10px; grid-template-rows: auto 1fr; }
  body .business-tile-copy { min-height: 0; padding: 20px; }
  body .business-tile-copy b { font-size: 22px; line-height: 1.4; }
  body .business-tile-copy span { font-size: 14px; line-height: 1.75; }
  body .audience-card { min-height: 0; padding: 22px; border-radius: 10px; }
  body .audience-card h3 { font-size: 24px; }
  body .audience-tags span { padding: 7px 9px; font-size: 12px; }
  body .audience-card strong { padding-top: 20px; font-size: 14px; }
  body .home-cooperation-inner { gap: 24px; }
  body .home-cooperation-actions { gap: 10px; }
  body .home-cooperation-actions :is(.primary, .secondary) { min-height: 46px; padding: 12px; font-size: 14px; }
  body .home-cooperation-point { min-height: 0; padding: 18px 14px; }
  body .home-cooperation-point b { font-size: 15px; line-height: 1.5; }
  body .home-contact-strip { padding: 40px 16px; }
  body .home-contact-strip-inner { gap: 24px; }
  body .home-contact-strip-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body .home-contact-strip-actions :is(a, button) { min-width: 0; min-height: 46px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
  body .home-contact-strip-actions a { grid-column: 1 / -1; }

  body .business-detail-toolbar { gap: 5px; margin-bottom: 22px; padding: 10px 14px; }
  body .business-detail-toolbar a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
  body .business-detail-toolbar b { font-size: 12px; }
  body .module-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 6px; }
  body .module-tab { padding: 10px; min-height: 78px; }
  body .module-content { padding: 20px 14px; }
  body #module-title { font-size: 27px; line-height: 1.4; }
  body .module-copy p { font-size: 15px; line-height: 1.8; }
  body .module-copy .quote { margin-top: 16px; font-size: 13px; line-height: 1.6; }
  body .module-image { max-height: 280px; }
  body .item-grid, body .training-overview-grid { grid-template-columns: minmax(0, 1fr); }
  body .item-card { min-height: 0; padding: 18px; border-radius: 7px; }
  body .item-card h4 { font-size: 19px; line-height: 1.45; }
  body .item-card .more, body .card-price { font-size: 13px; line-height: 1.5; }
  body .training-overview { padding: 16px; }
  body .training-overview-card { min-height: 0; padding: 16px; }
  body .training-overview-card b { font-size: 16px; }
  body .service-cases { padding: 16px; }
  body .service-case-contact { min-height: 44px; padding: 10px; white-space: normal; font-size: 13px; line-height: 1.6; }
  body .service-case-grid { grid-template-columns: minmax(0, 1fr); }
  body .service-case-card:first-child { grid-column: auto; }
  body .service-case-card:first-child .service-case-media { min-height: 0; aspect-ratio: 16 / 9; }
  body .service-case-badge { max-width: calc(100% - 20px); font-size: 10px; }
  body .video-shield { padding: 18px; gap: 12px; }
  body .video-shield b { font-size: 18px; line-height: 1.5; }
  body .video-shield span { font-size: 13px; line-height: 1.6; }
  body .media-tile { min-height: 0; }
  body .media-tile img { height: auto; aspect-ratio: 16 / 10; }
  body .campus-card-info { position: relative; padding: 18px; background: #162e36; }
  body .campus-card-info span { font-size: 13px; }
  body :is(.cooperation-lead, .cooperation-capabilities, .cooperation-gallery,
    .cooperation-evidence-grid, .cooperation-package-grid, .cooperation-sample-grid,
    .credential-grid, .credential-highlights, .trust-grid, .case-proof-grid) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .cooperation-copy, body .cooperation-package, body .cooperation-evidence-card,
  body .trust-panel { padding: 20px; }
  body .cooperation-copy h3 { font-size: 25px; line-height: 1.4; }
  body .cooperation-copy p, body .cooperation-copy li { font-size: 14px; line-height: 1.8; }
  body .cooperation-capability { min-height: 0; padding: 20px; }
  body .cooperation-capability b { font-size: 17px; }
  body .cooperation-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body .cooperation-process b { font-size: 14px; }
  body .cooperation-contact { padding: 20px; }
  body .cooperation-contact :is(a, button) { width: 100%; text-align: center; }
  body .cooperation-package-meta { flex-wrap: wrap; }
  body .credential-highlight { min-height: 0; padding: 18px; }
  body .credential-card { border-radius: 8px; }
  body .credential-card img { height: auto; max-height: 380px; aspect-ratio: 4 / 3; padding: 10px; object-fit: contain; }
  body .credential-card-copy { padding: 18px; }
  body .credential-card-copy b { font-size: 17px; line-height: 1.5; }
  body .credential-card-copy small { font-size: 11px; line-height: 1.7; }
  body .credential-card-copy em { min-height: 30px; padding-top: 6px; font-size: 13px; }
  body .credential-details summary { font-size: 15px; line-height: 1.6; min-height: 48px; }
  body .credential-downloads { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .credential-downloads a { padding: 12px; font-size: 14px; line-height: 1.6; text-align: center; }
  body .credential-verification b, body .trust-row span { font-size: 14px; line-height: 1.75; }
  body .trust-row { grid-template-columns: 28px minmax(0, 1fr); }
  body .trust-row b { font-size: 16px; line-height: 1.6; }
  body .lead-intro, body .lead-form { padding: 24px 18px; }
  body .lead-contact-list { margin-top: 20px; }
  body .lead-contact-list :is(a, button) { padding: 12px; font-size: 14px; line-height: 1.5; }
  body .lead-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body .lead-field { gap: 8px; }
  body .lead-field :is(input, select, textarea) { min-height: 48px; border-radius: 6px; }
  body .lead-field textarea { min-height: 132px; }
  body .lead-form-actions { gap: 8px; }
  body .lead-form-actions :is(button, a) { min-height: 48px; padding: 12px 16px; font-size: 14px; line-height: 1.5; }
  body #lead-submit { flex: 1; }
  body .lead-result { padding: 16px; }
  body .lead-result pre { font-size: 13px; line-height: 1.8; }
  body .privacy-inner { padding: 24px 18px; }
  body .privacy-inner h1 { font-size: 29px; line-height: 1.4; }
  body .privacy-inner p, body .privacy-inner li { font-size: 15px; line-height: 1.85; }

  body dialog, body #consult-dialog, body #qr-dialog { width: calc(100% - 16px); max-width: none; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
  body .modal-head, body #consult-dialog .modal-head { padding: 12px 14px; }
  body .modal-head strong { font-size: 19px; line-height: 1.45; }
  body .modal-kicker { font-size: 10px; line-height: 1.5; }
  body .modal-body, body .consult-body, body .qr-body { padding: 18px 14px; }
  body .modal-intro { font-size: 15px; line-height: 1.8; }
  body .modal-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .modal-actions > :is(a, button) { width: 100%; min-height: 48px; font-size: 14px; }
  body .detail-meta, body .modal-columns, body .product-detail-columns,
  body .training-course-grid, body .training-course-facts, body .training-course-columns,
  body .training-difference, body .training-assessment-grid, body .price-grid { grid-template-columns: minmax(0, 1fr); }
  body .modal-box, body .training-course-detail, body .price-section,
  body .training-assessment, body .process-strip, body .product-detail-box { padding: 16px; }
  body .process-list { grid-template-columns: minmax(0, 1fr); }
  body .process-list li { min-height: 0; font-size: 14px; }
  body .training-course-detail-head h4 { font-size: 24px; line-height: 1.4; }
  body .training-course-card { min-height: 0; padding: 18px; }
  body .training-course-card b { font-size: 17px; }
  body .training-course-card span { font-size: 18px; }
  body .training-course-columns { gap: 22px; }
  body .training-course-columns h5 { font-size: 16px; }
  body .sales-products, body .sales-catalog { padding: 14px 10px; }
  body .sales-product-grid { grid-template-columns: minmax(0, 1fr); }
  body .sales-product-card img { aspect-ratio: 16 / 10; max-height: 245px; }
  body .sales-product-card b { font-size: 19px; }
  body .sales-product-price { padding: 12px; }
  body .sales-product-price em, body .sales-product-price small { font-size: 12px; }
  body .sales-product-price strong { font-size: 20px; }
  body .sales-catalog-head h5 { font-size: 21px; line-height: 1.4; }
  body .sales-catalog-head p { font-size: 13px; line-height: 1.75; }
  body .sales-catalog-tools { grid-template-columns: minmax(0, 1fr); }
  body .sales-catalog-tools label { padding: 0 8px; }
  body .sales-catalog-tools input, body .sales-catalog-tools select { min-height: 48px; }
  body .sales-catalog-row { grid-template-columns: minmax(0, 1fr); padding: 16px 8px; gap: 6px; }
  body .sales-catalog-row > span, body .sales-catalog-row > b,
  body .sales-catalog-row > em { grid-column: auto; grid-row: auto; text-align: left; }
  body .sales-catalog-row > b { font-size: 19px; }
  body .sales-catalog-row strong { font-size: 15px; }
  body .sales-catalog-more { min-height: 48px; font-size: 14px; }
  body .product-detail-tabs { top: -18px; margin-top: 6px; padding: 0; gap: 0; }
  body .product-detail-tabs button { min-width: 96px; min-height: 48px; padding: 0 12px; }
  body .product-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body .product-media { min-height: 0; padding: 14px; }
  body .product-media img, body .product-media img.product-image-large { width: 100%; height: 230px; max-height: 58vw; object-fit: contain; }
  body .product-copy h3 { font-size: 27px; line-height: 1.4; }
  body .product-price-panel { padding: 14px; }
  body .product-price-panel > strong { font-size: 26px; line-height: 1.4; }
  body .product-price-variants { grid-template-columns: minmax(0, 1fr); }
  body .product-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .product-spec { min-width: 0; padding: 12px 9px; }
  body .product-back { font-size: 14px; line-height: 1.6; }
  body .product-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .product-links a { min-height: 46px; font-size: 14px; }
  body .product-advice { padding: 15px; font-size: 14px; line-height: 1.8; }
  body .product-video-wrap { padding: 14px; }
  body .consult-groups { grid-template-columns: minmax(0, 1fr); }
  body .consult-group-head { padding: 18px; }
  body .consult-advisor-list { padding: 0 12px; }
  body .consult-advisor { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; min-height: 84px; }
  body .consult-avatar { width: 32px; height: 32px; }
  body .consult-advisor b { font-size: 16px; }
  body .consult-advisor strong { white-space: normal; max-width: 88px; font-size: 12px; }
  body .consult-footer { font-size: 13px; }
  body .consult-footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: 20px; }
  body .qr-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .qr-body p { font-size: 14px; }

  body .mobile-consult-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
  body .mobile-consult-bar :is(a, button) { min-width: 0; min-height: 46px; padding: 10px 4px; font-size: 13px; line-height: 1.4; border-radius: 7px; }
  body .mobile-consult-bar a:not([href^="tel:"]) { color: #24454e; background: #edf4f4; }
  body .desktop-consult-float { display: none; }
  body footer { padding: 30px 16px calc(88px + env(safe-area-inset-bottom, 0px)); }
  body .footer-inner { gap: 12px; font-size: 14px; line-height: 1.8; }
  body .footer-meta { gap: 4px 14px; font-size: 12px; line-height: 1.8; }
  body .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
  body .footer-meta > span { flex-basis: 100%; }
  body .toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
}

@media (max-width: 359px) {
  body .hero-content { width: calc(100% - 32px); }
  body .hero h1 { font-size: 27px; }
  body .hero-eyebrow { font-size: 10px; }
  body .home-mobile-start-links a { padding: 12px 4px; }
  body .home-mobile-start-links :is(strong, b) { font-size: 14px; }
  body .home-mobile-start-links :is(small, span) { font-size: 11px; }
  body .brand strong { font-size: 13px; }
  body .module-tab { padding: 10px 8px; }
  body .product-spec-grid { grid-template-columns: minmax(0, 1fr); }
  body .consult-advisor { grid-template-columns: 32px minmax(0, 1fr); }
  body .consult-advisor strong { grid-column: 2; padding-bottom: 10px; margin-top: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body *, body *::before, body *::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; scroll-behavior: auto; }
}

@media (hover: none) and (max-width: 980px) {
  body :is(.primary, .secondary, .featured-product-card, .business-tile,
    .audience-card, .item-card, .credential-card, .training-overview-card,
    .training-course-card, .sales-product-card):hover,
  body .featured-product-card:hover img, body .business-tile:hover img { transform: none; }
}
