/*
 * Responsive layout layer.
 *
 * Baseline dimensions remain those of the 1440px desktop and 376px mobile
 * comps. Scale tokens are fixed at 1 so browser zoom is no longer cancelled
 * by viewport-derived CSS scaling. This file stays separate from main.css to
 * keep the rollout reversible while every page is verified.
 */

:root,
body,
.site-main,
.site-footer,
.page-slug-csr .csr-governance-v2 {
    --pc-base-scale: 1;
    --pc-scale: 1;
    --sp-base-scale: 1;
    --sp-scale: 1;
    --page-scale: 1;
    --font-scale: 1;
    --container-pc: 1160px;
    --gutter-sp: 20px;
}

.site-header,
.page-front .site-main {
    --pc-base-scale: 1;
    --pc-scale: 1;
    --sp-base-scale: 1;
    --sp-scale: 1;
    --page-scale: 1;
    --font-scale: 1;
}

.page-front .site-main {
    --container-pc: 1160px;
    --gutter-sp: 20px;
}

img {
    max-width: 100%;
}

.section-container {
    width: min(1160px, calc(100% - 40px));
    max-width: none;
}

.section-container-narrow {
    width: min(900px, calc(100% - 40px));
}

.section-container-medium {
    width: min(1040px, calc(100% - 40px));
}

@media (min-width: 768px) {
    .site-header {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 24px;
        height: auto;
        min-height: 90px;
        padding: 0 40px;
    }

    .site-logo {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        width: auto;
        height: auto;
        min-width: 0;
        align-items: center;
        flex: 0 1 auto;
    }

    .site-logo .site-logo-main {
        position: static;
        width: auto;
        height: auto;
        font-size: 22px;
        line-height: 1.2;
    }

    .site-logo .site-logo-sub,
    .language-en .site-logo .site-logo-sub {
        position: static;
        width: auto;
        height: auto;
        margin-left: 20px;
        font-size: 12px;
        line-height: 1.2;
    }

    .site-nav {
        position: static;
        width: auto;
        height: auto;
        min-width: 0;
        margin-left: auto;
    }

    .site-nav-list {
        justify-content: flex-end;
        gap: 32px;
        height: auto;
    }

    .site-nav-list li:nth-child(n) {
        margin-right: 0;
    }

    .site-nav-list a {
        height: 42px;
        margin-top: 0;
        font-size: 16px;
        line-height: 1;
    }

    .site-nav-list .is-contact a {
        width: 180px;
        height: 42px;
        margin-top: 0;
        font-size: 15px;
    }

    .site-language-switcher {
        top: 5px;
        right: 40px;
        gap: 5px;
        font-size: 10px;
    }

    .site-language-icon {
        font-size: 9px;
    }

    .site-language-link {
        padding: 2px 4px;
    }

    .page-front .section-container {
        width: min(1160px, calc(100% - 40px));
        max-width: none;
    }

    .page-front .section-container-narrow {
        width: min(900px, calc(100% - 40px));
    }

    .page-front .section-container-medium {
        width: min(1040px, calc(100% - 40px));
    }

    .page-front .home-hero {
        height: auto;
        min-height: 700px;
    }

    .page-front .home-hero-inner {
        width: min(1160px, calc(100% - 40px));
        max-width: none;
        min-height: 700px;
        padding-top: 154px;
        padding-bottom: 80px;
    }

    .page-front .home-news {
        height: auto;
        min-height: 286px;
        overflow: hidden;
    }

    .page-front .home-news-panel {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 35px;
        width: min(1160px, calc(100% - 40px));
        min-height: 286px;
    }

    .page-front .home-news-heading {
        height: auto;
        min-height: 284px;
        padding: 46px 0 24px 36px;
    }

    .page-front .home-news-heading::before {
        left: 20px;
    }

    .page-front .home-news-more {
        top: auto;
        bottom: 52px;
        left: 36px;
    }

    .page-front .home-news-list {
        width: auto;
        min-width: 0;
    }

    .page-front .home-news-list > .news-list-empty {
        padding-top: 16px;
    }

    .page-front .home-news-item::before {
        right: 0;
        width: auto;
    }

    .page-front .home-overview {
        height: auto;
        min-height: 793px;
    }

    .page-front .home-process-diagram {
        grid-template-columns: 96px minmax(80px, 292px) 96px minmax(80px, 292px) 96px;
        width: min(874px, 100%);
    }

    .page-front .home-process-connector {
        width: 100%;
    }

    .page-front .home-license,
    .language-en.page-slug-home .home-license {
        height: auto;
        min-height: 547px;
    }

    .page-front .license-grid {
        gap: 80px;
        width: min(1040px, 100%);
    }

    .page-front .license-card,
    .language-en.page-slug-home .license-card {
        height: auto;
        min-height: 260px;
    }

    .page-front .home-cta {
        height: auto;
        min-height: 400px;
    }

    .page-front .home-cta .section-container,
    .page-front .home-cta-banner {
        width: min(1040px, 100%);
        max-width: none;
    }

    .page-front .home-cta-banner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: center;
        gap: 80px;
        height: auto;
        min-height: 120px;
        padding: 24px 80px;
    }

    .page-front .home-cta-banner p,
    .page-front .home-cta-button {
        position: static;
        width: auto;
    }

    .page-front .home-cta-banner p {
        text-align: center;
    }

    .page-front .home-cta-button {
        height: 50px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .site-header {
        gap: 14px;
        min-height: 80px;
        padding: 0 16px;
    }

    .site-logo .site-logo-main {
        font-size: 16px;
    }

    .site-logo .site-logo-sub {
        display: none;
    }

    .site-nav-list {
        gap: 10px;
    }

    .site-nav-list a,
    .language-en .site-nav-list a {
        height: 38px;
        padding: 0;
        font-size: 12px;
    }

    .site-nav-list .is-contact a {
        width: 110px;
        height: 38px;
        font-size: 12px;
    }

    .site-language-switcher {
        top: 4px;
        right: 16px;
        font-size: 9px;
    }

    .page-front .home-hero {
        min-height: 600px;
    }

    .page-front .home-hero-inner {
        min-height: 600px;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .page-front .home-hero h1 {
        font-size: 44px;
    }

    .page-front .home-hero-lead,
    .page-front .home-hero-en {
        font-size: 20px;
    }

    .page-front .home-news-panel {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 24px;
    }

    .page-front .home-news-heading {
        padding-left: 24px;
    }

    .page-front .home-news-heading::before {
        left: 8px;
    }

    .page-front .home-news-more {
        left: 24px;
    }

    .page-front .home-process-diagram {
        grid-template-columns: 92px minmax(50px, 1fr) 92px minmax(50px, 1fr) 92px;
        width: 100%;
    }

    .page-front .license-grid {
        gap: 32px;
    }

    .page-front .home-cta-banner {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 32px;
        padding-right: 48px;
        padding-left: 48px;
    }
}

@media (max-width: 767px) {
    .site-header {
        height: auto;
        min-height: 60px;
        padding: 0 20px;
    }

    .site-language-switcher-desktop {
        display: none;
    }

    .site-language-switcher-mobile {
        position: static;
        display: inline-flex;
        top: auto;
        right: auto;
        gap: 4px;
        font-size: 10px;
    }

    .site-language-icon {
        font-size: 9px;
    }

    .site-language-link {
        padding: 2px 4px;
    }

    .page-front .section-container,
    .page-front .section-container-narrow,
    .page-front .section-container-medium {
        width: min(1160px, calc(100% - 40px));
        max-width: none;
    }

    .page-front .home-hero {
        height: auto;
        min-height: 494px;
    }

    .page-front .home-hero-inner {
        width: calc(100% - 40px);
        min-height: 494px;
        padding-top: 74px;
        padding-bottom: 36px;
    }

    .page-front .home-news {
        height: auto;
        min-height: 310px;
        padding: 20px;
    }

    .page-front .home-news .section-container,
    .page-front .home-news-panel {
        width: 100%;
    }

    .page-front .home-news-category {
        white-space: nowrap;
    }

    .page-front .home-overview {
        height: auto;
        min-height: 0;
    }

    .page-front .home-process-diagram {
        height: auto;
        min-height: 663px;
    }

    .page-front .home-license,
    .language-en.page-slug-home .home-license {
        height: auto;
        min-height: 0;
        padding-bottom: 60px;
    }

    .page-front .license-card,
    .language-en.page-slug-home .license-card {
        height: auto;
        min-height: 254px;
    }

    .language-en.page-slug-home .license-card a {
        transform: translateY(8px);
    }

    .page-front .home-cta,
    .page-front.page-front .home-cta {
        height: auto;
        min-height: 262px;
        padding: 60px 20px 40px;
    }

    .page-front .home-cta .section-container {
        width: 100%;
    }

    .page-front .home-cta-banner {
        display: grid;
        grid-template-columns: 1fr;
        align-content: center;
        justify-items: center;
        gap: 20px;
        width: min(336px, 100%);
        height: auto;
        min-height: 162px;
        padding: 28px 24px;
    }

    .page-front .home-cta-banner p,
    .page-front .home-cta-button,
    .language-en.page-slug-home .home-cta-button {
        position: static;
        width: auto;
        transform: none;
    }

    .page-front .home-cta-button,
    .language-en.page-slug-home .home-cta-button {
        width: 190px;
        height: 44px;
    }

    .language-en.page-slug-home .home-cta-button {
        width: min(230px, 100%);
        padding-right: 12px;
        padding-left: 12px;
        white-space: nowrap;
    }
}

/* Shared page rollout: fluid containers and content-driven section heights. */
@media (min-width: 768px) {
    .page-hero {
        height: auto;
        min-height: 320px;
    }

    .page-hero-inner {
        width: min(1160px, calc(100% - 40px));
        min-height: 320px;
    }

    .business-intro,
    .business-timeline-section,
    .zea-contract,
    .service-concept,
    .service-network,
    .service-prep,
    .service-contact-cta,
    .company-profile,
    .company-support,
    .company-partners,
    .csr-intro,
    .csr-efforts,
    .csr-contact-section,
    .contact-section,
    .news-archive,
    .news-single-section {
        height: auto;
    }

    .business-timeline,
    .business-flow-detail,
    .chain-strip,
    .support-grid,
    .partner-grid,
    .csr-governance-container,
    .page-slug-csr .csr-contact-section .section-container-medium,
    .page-slug-contact .section-container-medium {
        width: min(1160px, calc(100% - 40px));
        max-width: none;
    }

    .business-timeline {
        margin-right: auto;
        margin-left: auto;
    }

    .timeline-item {
        grid-template-columns: minmax(0, 1fr) clamp(80px, 12.8vw, 184px) minmax(0, 1fr);
        min-height: 0;
    }

    .timeline-card {
        height: auto;
        min-height: 302px;
    }

    .timeline-image {
        width: 100%;
        height: auto;
        aspect-ratio: 488 / 302;
    }

    .timeline-image img,
    .network-image img,
    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .chain-strip {
        left: auto;
        justify-content: space-around;
        gap: 0;
        transform: none;
    }

    .network-layout {
        grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
        gap: clamp(36px, 5.2vw, 74px);
    }

    .network-image {
        width: 100%;
        height: auto;
        aspect-ratio: 566 / 390;
    }

    .prep-box,
    .page-slug-service .service-prep .prep-box,
    .page-slug-service .service-contact-cta .wide-cta {
        width: min(1140px, calc(100% - 40px));
        height: auto;
        min-height: 200px;
    }

    .profile-layout {
        width: min(1000px, 100%);
        grid-template-columns: minmax(0, 680px) minmax(200px, 240px);
        gap: clamp(40px, 5.6vw, 80px);
    }

    .profile-image {
        width: 100%;
        height: auto;
        aspect-ratio: 6 / 5;
    }

    .support-grid,
    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 340px));
        gap: clamp(28px, 4.9vw, 70px);
    }

    .support-card,
    .partner-card,
    .language-en.page-slug-company .company-support .support-card,
    .language-en.page-slug-company .company-partners .partner-card {
        width: 100%;
        height: auto;
    }

    .support-card,
    .language-en.page-slug-company .company-support .support-card {
        min-height: 350px;
        padding-bottom: 72px;
    }

    .partner-card,
    .language-en.page-slug-company .company-partners .partner-card {
        min-height: 300px;
        padding-bottom: 72px;
    }

    .contact-panel {
        height: auto;
        min-height: 0;
    }

    .field-row textarea {
        height: auto;
        min-height: 168px;
        resize: vertical;
    }

    .site-footer {
        height: auto;
        min-height: 350px;
    }

    .site-footer-inner {
        display: grid;
        grid-template-columns: minmax(300px, 1fr) repeat(3, auto);
        column-gap: clamp(32px, 5vw, 72px);
        row-gap: 28px;
        width: min(1200px, calc(100% - 80px));
        max-width: none;
        height: auto;
        min-height: 350px;
        padding: 56px 0 28px;
    }

    .site-footer-inner::after {
        top: auto;
        bottom: 79px;
    }

    .footer-company,
    .footer-nav,
    .site-footer-copy {
        position: static;
    }

    .footer-company {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-nav-menu,
    .footer-nav-about,
    .footer-nav-contact {
        align-self: start;
        margin-top: 48px;
    }

    .footer-nav-menu {
        grid-column: 2;
    }

    .footer-nav-about {
        grid-column: 3;
    }

    .footer-nav-contact {
        grid-column: 4;
    }

    .site-footer-copy {
        grid-column: 1 / -1;
        width: auto;
        margin-top: auto;
        padding-top: 30px;
        transform: none;
    }

    .csr-governance-v2,
    .page-slug-csr .csr-gov-banner,
    .page-slug-csr .csr-gov-band,
    .page-slug-csr .csr-gov-flow-v2,
    .page-slug-csr .csr-gov-notice-section {
        height: auto;
        overflow: visible;
    }

    .page-slug-csr .csr-gov-band,
    .page-slug-csr .csr-gov-flow-v2,
    .page-slug-csr .csr-gov-notice-section {
        min-height: 0;
    }

    .page-slug-csr .csr-gov-inner {
        width: min(1160px, calc(100% - 40px));
        height: auto;
    }

    .page-slug-csr .csr-gov-partner-card,
    .page-slug-csr .csr-gov-flow-step,
    .language-en.page-slug-csr .csr-gov-partner-card,
    .language-en.page-slug-csr .csr-gov-flow-step {
        height: auto;
    }

    .page-slug-csr .csr-gov-partner-card {
        min-height: 150px;
    }

    .page-slug-csr .csr-gov-flow-step {
        min-height: 130px;
    }

    .news-archive-inner,
    .news-single-inner {
        width: min(1160px, calc(100% - 40px));
        max-width: none;
    }
}

/* Tablet and browser-zoom range: reflow dense grids without scaling text. */
@media (min-width: 768px) and (max-width: 1199px) {
    .site-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .page-hero,
    .page-hero-inner {
        min-height: 280px;
    }

    .page-hero-inner {
        padding-top: 92px;
    }

    .page-hero h1,
    .page-slug-csr .page-hero h1 {
        font-size: 34px;
    }

    .business-intro .section-copy,
    .service-concept .section-copy,
    .csr-intro .section-copy {
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
    }

    .timeline-card {
        min-height: 260px;
        padding: 28px;
    }

    .timeline-card h2 {
        font-size: 22px;
    }

    .business-flow-detail.pmcs-flow-detail {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        padding-bottom: 24px;
    }

    .business-flow-diagram.pmcs-flow-diagram {
        width: 1160px;
        min-width: 1160px;
    }

    .network-layout {
        grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    }

    .network-copy h2 {
        font-size: 28px;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    }

    .support-grid,
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 340px));
    }

    .partner-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .page-slug-csr .csr-gov-flow-v2 {
        height: auto;
        min-height: 360px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    body.language-en.page-slug-csr .csr-gov-flow-v2 {
        height: auto;
        min-height: 360px;
    }

    .page-slug-csr .csr-gov-flow-steps {
        min-width: 960px;
    }

    .contact-panel {
        padding: 64px clamp(40px, 7vw, 100px) 72px;
    }

    .contact-types {
        gap: 32px;
    }

    .site-footer-inner {
        grid-template-columns: minmax(280px, 1fr) repeat(3, auto);
        column-gap: 28px;
        width: calc(100% - 40px);
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-company p,
    .footer-nav a {
        font-size: 13px;
    }
}

/* 376px comp remains a separate layout and may grow with real content. */
@media (max-width: 767px) {
    .site-nav {
        box-sizing: border-box;
        width: 100%;
    }

    .site-nav-list {
        width: min(312px, 100%);
    }

    .section-container,
    .section-container-narrow,
    .section-container-medium,
    .page-slug-csr .csr-gov-inner,
    .page-slug-csr .csr-contact-section .section-container-medium,
    .page-slug-contact .section-container-medium {
        width: calc(100% - 40px);
        max-width: none;
    }

    .page-hero {
        height: auto;
        min-height: 260px;
    }

    .page-hero-inner {
        width: calc(100% - 40px);
        min-height: 260px;
    }

    .business-intro,
    .business-timeline-section,
    .zea-contract,
    .zea-video,
    .service-concept,
    .service-network,
    .service-prep,
    .service-contact-cta,
    .company-profile,
    .company-support,
    .company-partners,
    .csr-intro,
    .csr-efforts,
    .csr-contact-section,
    .contact-section,
    .news-archive,
    .news-single-section,
    .site-footer {
        height: auto;
    }

    .business-intro,
    .business-timeline-section,
    .service-concept,
    .service-network,
    .service-prep,
    .service-contact-cta,
    .company-profile,
    .company-support,
    .company-partners,
    .csr-intro,
    .csr-efforts,
    .csr-contact-section,
    .contact-section,
    .news-archive,
    .news-single-section {
        min-height: 0;
    }

    body.page-slug-service .service-concept,
    body.page-slug-service .service-network,
    body.page-slug-service .service-prep,
    body.page-slug-service .service-contact-cta,
    body.page-slug-company .company-profile,
    body.page-slug-company .company-support,
    body.page-slug-company .company-partners,
    body.page-slug-csr .csr-intro,
    body.page-slug-csr .csr-efforts,
    body.page-slug-csr .csr-contact-section,
    body.page-slug-contact .contact-section,
    body.page-slug-news .news-archive {
        height: auto;
        min-height: 0;
    }

    body.page-slug-csr .csr-intro {
        padding-bottom: 40px;
    }

    body.page-slug-csr .csr-intro-copy,
    body.page-slug-csr .csr-intro-copy p {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .timeline-item,
    .timeline-card,
    .timeline-image,
    .network-layout,
    .network-image,
    .profile-layout,
    .profile-image,
    .prep-box,
    .wide-cta,
    .contact-panel,
    .news-archive-inner,
    .news-single-inner {
        width: 100%;
        max-width: none;
    }

    .timeline-item,
    .timeline-card,
    .network-layout,
    .profile-layout,
    .prep-box,
    .wide-cta,
    .contact-panel {
        height: auto;
    }

    .timeline-card {
        min-height: 150px;
    }

    .timeline-image {
        aspect-ratio: 295 / 150;
    }

    .timeline-image img,
    .network-image img,
    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .network-image,
    .profile-image {
        height: auto;
    }

    .network-image {
        aspect-ratio: 336 / 220;
    }

    .profile-image {
        aspect-ratio: 336 / 220;
    }

    .support-grid,
    .partner-grid {
        width: 100%;
    }

    .support-card,
    .partner-card,
    .language-en.page-slug-company .company-support .support-card,
    .language-en.page-slug-company .company-partners .partner-card {
        width: 100%;
        height: auto;
    }

    body.page-slug-company .company-support .support-card,
    body.page-slug-company .company-support .support-card:nth-child(3),
    body.page-slug-company .company-partners .partner-card,
    body.language-en.page-slug-company .company-support .support-card,
    body.language-en.page-slug-company .company-partners .partner-card {
        height: auto;
        overflow: visible;
    }

    body.page-slug-company .company-support .support-card {
        min-height: 260px;
        padding-bottom: 64px;
    }

    body.page-slug-company .company-support .support-card:nth-child(3) {
        min-height: 220px;
    }

    body.page-slug-company .company-partners .partner-card {
        min-height: 170px;
        padding-bottom: 64px;
    }

    .contact-panel {
        min-height: 0;
    }

    .contact-privacy-label-row,
    .contact-privacy-scroll,
    .contact-note {
        width: 100%;
        max-width: 100%;
    }

    .field-row textarea {
        height: auto;
        min-height: 180px;
        resize: vertical;
    }

    .business-flow-detail.pmcs-flow-detail,
    .business-flow-diagram.pmcs-flow-diagram {
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .business-flow-diagram.pmcs-flow-diagram .pmcs-flow-card,
    .business-flow-diagram.pmcs-flow-diagram .pmcs-flow-card-body,
    .business-flow-diagram.pmcs-flow-diagram .pmcs-flow-license-grid section {
        height: auto;
    }

    .page-slug-csr .csr-governance-v2,
    .page-slug-csr .csr-gov-banner,
    .page-slug-csr .csr-gov-band,
    .page-slug-csr .csr-gov-flow-v2,
    .page-slug-csr .csr-gov-notice-section,
    .page-slug-csr .csr-gov-inner,
    .page-slug-csr .csr-gov-copy,
    .page-slug-csr .csr-gov-partner-card,
    .page-slug-csr .csr-gov-flow-step,
    .page-slug-csr .csr-gov-notice,
    .language-en.page-slug-csr .csr-gov-band,
    .language-en.page-slug-csr .csr-gov-flow-v2,
    .language-en.page-slug-csr .csr-gov-notice-section {
        height: auto;
        overflow: visible;
    }

    .page-slug-csr .csr-gov-banner,
    .page-slug-csr .csr-gov-band,
    .page-slug-csr .csr-gov-flow-v2,
    .page-slug-csr .csr-gov-notice-section {
        min-height: 0;
    }

    .page-slug-csr .csr-gov-partner-card,
    .page-slug-csr .csr-gov-flow-step {
        min-height: 94px;
    }

    .page-slug-csr .csr-gov-flow-steps {
        width: 100%;
    }

    .news-list-item {
        width: 100%;
        min-width: 0;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .site-logo .site-logo-main {
        font-size: 15px;
    }

    .site-nav-list {
        gap: 6px;
    }

    .site-nav-list a,
    .language-en .site-nav-list a {
        font-size: 11px;
    }

    .site-nav-list .is-contact a {
        width: 100px;
    }

    .site-footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 24px;
        padding-top: 40px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .footer-nav-menu,
    .footer-nav-about,
    .footer-nav-contact {
        margin-top: 0;
    }

    .footer-nav-menu {
        grid-column: 1;
    }

    .footer-nav-about {
        grid-column: 2;
    }

    .footer-nav-contact {
        grid-column: 3;
    }
}

@media (max-width: 340px) {
    .site-footer-inner {
        height: auto;
        min-height: 465px;
    }

    .site-footer-copy {
        white-space: normal;
        line-height: 1.4;
    }

    /* Keep the 376px comp intact while allowing 200% zoom and narrow devices
     * to reflow instead of clipping legacy 336px/376px fixed-width blocks. */
    body.page-slug-business .business-intro .section-copy,
    body.page-slug-business .business-intro-copy-sp,
    body.page-slug-business .business-timeline,
    body.page-slug-business .timeline-item,
    body.page-slug-business .timeline-card,
    body.page-slug-business .timeline-image,
    body.page-slug-business .zea-contract-heading,
    body.page-slug-business .zea-contract-heading p,
    body.page-slug-business .business-flow-detail.pmcs-flow-detail {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-business .business-intro .section-copy span,
    body.page-slug-business .business-intro-copy-sp span {
        white-space: normal;
    }

    body.page-slug-business .business-intro-copy-sp {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-slug-business .business-timeline {
        box-sizing: border-box;
        padding-left: 44px;
    }

    body.page-slug-business .timeline-number {
        left: -42px;
    }

    body.page-slug-business .timeline-card,
    body.page-slug-business .timeline-image {
        height: auto;
        min-height: 0;
    }

    body.page-slug-business .timeline-image {
        aspect-ratio: 275.166 / 150;
    }

    body.page-slug-business .timeline-reveal-left,
    body.page-slug-business .timeline-reveal-right {
        transform: none;
    }

    body.page-slug-business .business-timeline-section .wide-cta,
    body.page-slug-business .business-timeline-section .wide-cta .button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-business .zea-contract-card {
        width: calc(100% - 40px);
        max-width: none;
        height: auto;
        min-height: 0;
    }

    body.page-slug-business .zea-contract-detail,
    body.page-slug-business .zea-contract-info,
    body.page-slug-business .zea-contract-list,
    body.page-slug-business .zea-contract-stats,
    body.page-slug-business .zea-contract-summary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-business .business-flow-diagram.pmcs-flow-diagram {
        width: 100%;
        min-width: 0;
    }

    body.page-slug-service .service-concept-copy,
    body.page-slug-service .service-concept-copy-sp,
    body.page-slug-service .service-concept-copy-sp p,
    body.page-slug-service .service-concept-copy-sp span,
    body.page-slug-service .network-layout,
    body.page-slug-service .network-description,
    body.page-slug-service .network-description span,
    body.page-slug-service .prep-box,
    body.page-slug-service .prep-box h2,
    body.page-slug-service .service-prep-copy,
    body.page-slug-service .service-prep-copy span,
    body.page-slug-service .service-contact-cta .wide-cta,
    body.page-slug-service .service-contact-cta .wide-cta p,
    body.page-slug-service .service-contact-cta .wide-cta .button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
    }

    body.page-slug-service .prep-box,
    body.page-slug-service .service-contact-cta .wide-cta {
        height: auto;
        min-height: 178px;
    }

    body.page-slug-csr .csr-efforts .csr-card {
        width: 100%;
        max-width: 100%;
    }

    body.page-slug-csr .csr-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
    }

    body.page-slug-csr .csr-gov-flow-v2 .csr-gov-inner,
    body.page-slug-csr .csr-gov-flow-steps,
    body.page-slug-csr .csr-gov-flow-step {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-csr .csr-gov-flow-step p {
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    body.page-slug-csr .csr-cta {
        position: relative;
        display: flex;
        width: 100%;
        height: auto;
        min-height: 241px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 28px 16px;
    }

    body.page-slug-csr .csr-cta h2,
    body.page-slug-csr .csr-cta p,
    body.page-slug-csr .csr-cta .button {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        white-space: normal;
        transform: none;
    }

    body.page-slug-csr .csr-cta .button {
        flex: 0 0 48px;
    }

    body.page-slug-contact .section-container-medium,
    body.page-slug-contact .contact-panel,
    body.page-slug-contact .contact-form-body,
    body.page-slug-contact .contact-panel h2.section-heading,
    body.page-slug-contact .contact-types,
    body.page-slug-contact .contact-type,
    body.page-slug-contact .contact-fields,
    body.page-slug-contact .contact-privacy,
    body.page-slug-contact .contact-privacy-label-row,
    body.page-slug-contact .contact-privacy-scroll,
    body.page-slug-contact .contact-privacy-consent,
    body.page-slug-contact .contact-privacy-consent .wpcf7-form-control-wrap,
    body.page-slug-contact .contact-privacy-consent .wpcf7-acceptance,
    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item,
    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item label {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-contact .contact-type {
        height: auto;
        min-height: 80px;
    }

    body.page-slug-contact .contact-type strong,
    body.page-slug-contact .contact-type small,
    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item-label {
        white-space: normal;
    }

    body.page-slug-contact .contact-privacy-consent {
        height: auto;
        min-height: 32px;
        align-items: flex-start;
    }

    body.page-slug-news .news-archive-inner,
    body.page-slug-news .news-pagination,
    body.page-slug-news .news-single-inner {
        width: calc(100% - 40px);
        max-width: none;
        min-width: 0;
    }

    body.page-slug-news .news-pagination .news-pagination-pages {
        justify-content: center;
        padding-left: 0;
    }
}

/* CSR desktop used absolute children inside fixed-height bands. Rebuild those
 * bands in document flow so Japanese, English, and browser zoom can reflow. */
@media (min-width: 768px) {
    body.page-slug-csr .csr-governance-v2 {
        height: auto;
    }

    body.page-slug-csr .csr-gov-inner {
        height: auto;
    }

    body.page-slug-csr .csr-gov-banner {
        display: flex;
        min-height: 304px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 48px 20px;
    }

    body.page-slug-csr .csr-gov-banner h2,
    body.page-slug-csr .csr-gov-banner-rule,
    body.page-slug-csr .csr-gov-banner-lead,
    body.page-slug-csr .csr-gov-banner-keywords {
        position: static;
        width: auto;
    }

    body.page-slug-csr .csr-gov-banner-rule {
        margin-top: 34px;
        transform: none;
    }

    body.page-slug-csr .csr-gov-banner-lead {
        margin-top: 24px;
    }

    body.page-slug-csr .csr-gov-banner-keywords {
        margin-top: 8px;
    }

    body.page-slug-csr .csr-gov-band {
        height: auto;
        min-height: 0;
        padding: 24px 0 32px;
    }

    body.page-slug-csr .csr-gov-block-header,
    body.page-slug-csr .csr-gov-divider,
    body.page-slug-csr .csr-gov-copy,
    body.page-slug-csr .csr-gov-partner-grid {
        position: static;
    }

    body.page-slug-csr .csr-gov-divider {
        display: block;
        margin-top: 8px;
    }

    body.page-slug-csr .csr-gov-copy,
    body.page-slug-csr .csr-gov-experts .csr-gov-copy {
        margin-top: 16px;
    }

    body.page-slug-csr .csr-gov-partner-grid,
    body.language-en.page-slug-csr .csr-gov-experts .csr-gov-partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
        width: 100%;
        margin-top: 24px;
    }

    body.page-slug-csr .csr-gov-partner-card,
    body.language-en.page-slug-csr .csr-gov-experts .csr-gov-partner-card {
        height: auto;
        min-height: 150px;
        padding-bottom: 24px;
    }

    body.page-slug-csr .csr-gov-note {
        height: auto;
        min-height: 44px;
        padding-bottom: 8px;
    }

    body.page-slug-csr .csr-gov-flow-v2 {
        height: auto;
        min-height: 304px;
        padding: 64px 0 48px;
    }

    body.page-slug-csr .csr-gov-flow-heading,
    body.page-slug-csr .csr-gov-flow-steps {
        position: static;
        transform: none;
    }

    body.page-slug-csr .csr-gov-flow-heading {
        min-height: 0;
    }

    body.page-slug-csr .csr-gov-flow-steps {
        grid-template-columns: minmax(160px, 1fr) 50px minmax(160px, 1fr) 50px minmax(160px, 1fr) 50px minmax(160px, 1fr);
        width: min(1090px, 100%);
        margin: 24px auto 0;
    }

    body.page-slug-csr .csr-gov-flow-step {
        min-height: 130px;
    }

    body.page-slug-csr .csr-gov-flow-step p {
        width: auto;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-slug-csr .csr-gov-notice-section {
        height: auto;
        min-height: 0;
        padding: 22px 0;
    }

    body.page-slug-csr .csr-gov-notice {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 206px;
        padding-bottom: 18px;
    }

    body.page-slug-csr .csr-cta {
        height: auto;
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    body.page-slug-contact .contact-privacy-consent {
        width: 100%;
        height: auto;
        min-height: 32px;
        align-items: flex-start;
    }

    body.page-slug-contact .contact-privacy-consent .wpcf7-form-control-wrap,
    body.page-slug-contact .contact-privacy-consent .wpcf7-acceptance {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item {
        box-sizing: border-box;
        width: min(280px, 100%);
        max-width: 100%;
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item label {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
    }

    body.page-slug-contact .contact-privacy-consent .wpcf7-list-item-label {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 14px;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.language-en.page-slug-contact .contact-privacy-consent .wpcf7-list-item {
        width: min(280px, 100%);
        max-width: 100%;
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }

    body.language-en.page-slug-contact .contact-privacy-consent .wpcf7-list-item label {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
    }

    body.language-en.page-slug-contact .contact-privacy-consent .wpcf7-list-item-label {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 14px;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-slug-news .news-archive-inner {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-slug-csr .csr-gov-banner {
        padding-bottom: 32px;
    }

    body.language-en.page-slug-csr .csr-gov-banner {
        padding-bottom: 48px;
    }

    body.page-slug-csr .csr-gov-experts-mobile .csr-gov-partner-card {
        padding-left: 74px;
    }

    body.page-slug-csr .csr-gov-experts-mobile .csr-gov-partner-icon {
        display: block;
        box-sizing: border-box;
        top: 10px;
        left: 12px;
        width: 50px;
        height: 50px;
        padding: 7px;
        border-radius: 999px;
        background: #edf2f7;
        object-fit: contain;
    }

    body.page-slug-csr .csr-gov-experts-mobile .csr-gov-partner-icon.is-jcrma {
        padding: 0;
    }

    body.page-slug-csr .csr-gov-experts-mobile .csr-gov-partner-icon.is-police-ob {
        padding: 8px;
        background: #fef4e8;
    }

    body.page-slug-csr .csr-contact-section .csr-cta h2,
    body.page-slug-csr .csr-contact-section .csr-cta p,
    body.page-slug-csr .csr-contact-section .csr-cta .button {
        box-sizing: border-box;
        width: min(280px, 100%);
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-slug-company .company-profile > .profile-layout {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-slug-company .company-profile .profile-copy,
    body.page-slug-company .company-profile .profile-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-service .service-network {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    body.page-slug-service .service-network > .network-layout {
        box-sizing: border-box;
        width: calc(100% - 40px);
        max-width: none;
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-slug-service .service-network .network-heading,
    body.page-slug-service .service-network .network-detail,
    body.page-slug-service .service-network .network-image,
    body.page-slug-service .service-network .network-description {
        max-width: 100%;
        min-width: 0;
    }

    body.page-slug-service .service-network .network-description,
    body.page-slug-service .service-network .network-description span {
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-slug-service .service-prep .prep-box {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    body.page-slug-csr .csr-efforts .csr-card,
    body.language-en.page-slug-csr .csr-efforts .csr-card {
        height: auto;
        min-height: 270px;
    }

    body.language-en.page-slug-csr .csr-efforts .csr-card {
        min-height: 310px;
    }

    body.page-slug-csr .csr-gov-block-header {
        width: 100%;
    }

    body.page-slug-csr .csr-gov-block-header h3 {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-slug-csr .csr-gov-flow-step p,
    body.page-slug-csr .csr-gov-notice p {
        width: 100%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
