/* Shared phone layout: keep section edges, card spacing and touch targets consistent. */
@media (max-width: 600px) {
    .sj-navbar-layout { --sj-phone-gutter: 16px; --sj-phone-section: 25px; }
    .sj-navbar-layout main { min-width: 0; }
    .sj-navbar-layout.sj-menu-open { overflow: hidden; }
    .sj-glass-header {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 12px;
        min-height: 68px;
        padding: 8px 12px;
    }
    .sj-glass-brand { min-width: 0; max-width: none; gap: 10px; }
    .sj-glass-brand img { width: 46px; height: 46px; max-width: 46px; flex-shrink: 0; object-fit: contain; }
    .sj-glass-brand-name { max-width: 240px; font-size: 14px; line-height: 1.25; letter-spacing: 0; }
    .sj-glass-cta { display: none; }
    .sj-glass-toggle { width: 44px; height: 44px; padding: 11px; border-radius: 9px; }
    .sj-glass-links { top: calc(100% + 8px); padding: 10px; max-height: calc(100dvh - var(--sj-nav-height, 68px) - 40px); overscroll-behavior: contain; }
    .sj-glass-header .sj-glass-links { gap: 4px; }
    .sj-glass-links a.sj-glass-link, .sj-glass-header .sj-dropdown-toggle { font-size: 19px; padding: 12px; min-height: 48px; }
    .sj-dropdown { margin: 2px 0 8px; padding: 4px; }
    .sj-dropdown a { padding: 12px; min-height: 48px; }
    .sj-dropdown strong { font-size: 17px; line-height: 1.4; }
    .sj-dropdown small { font-size: 13px; line-height: 1.6; }
    .sj-mobile-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 6px; padding: 12px; background: #d2e9b5; border-radius: 9px; color: #194b34; text-decoration: none; font-size: 18px; font-weight: 600; }
    .sj-mobile-contact svg { width: 22px; height: 22px; }

    .sj-home-layout .sjh-hero { margin-bottom: 8px; }
    .sj-home-layout .sjh-intro { padding: calc(var(--sj-nav-height, 68px) + var(--sj-frame-gap) + 24px) 16px 0; }
    .sjh-eyebrow { font-size: 9px; letter-spacing: .8px; line-height: 1.6; margin-bottom: 16px; }
    .sjh-hero h1 { font-size: clamp(29px, 8.1vw, 39px); line-height: 1.12; }
    .sjh-description { font-size: 15px; line-height: 1.75; max-width: 320px; margin-top: 17px; }
    .sjh-scene { height: 360px; margin-top: 18px; }
    .sjh-portrait { width: 275px; max-width: 80%; height: 325px; }
    .sjh-note-left { left: 12px; top: 18px; padding: 11px 12px; }
    .sjh-contact { min-height: 44px; font-size: 14px; gap: 14px; padding: 12px 16px; }
    .sjh-marquee { padding: 14px 0; }
    .sjh-marquee-group > span { font-size: 18px; }

    .sjw-section, .sjc-section, .sjn-section, .sjp-process, .sjabout-section, .sjwhy-section, .sjq-section {
        padding: var(--sj-phone-section) var(--sj-phone-gutter);
    }
    .sjw-heading, .sjc-heading, .sjn-heading, .sjp-heading, .sjwhy-heading { margin-bottom: 26px; gap: 18px; }
    .sjw-heading h2, .sjc-heading h2, .sjn-heading h2, .sjp-heading h2, .sjabout-story h2, .sjwhy-heading h2, .sjq-intro h2 {
        font-size: clamp(34px, 9.5vw, 40px); line-height: 1.1; letter-spacing: -.3px; overflow-wrap: break-word;
    }
    .sjw-heading > p, .sjc-heading > p, .sjp-introduction p, .sjabout-story > p, .sjwhy-heading > p, .sjq-intro > p { font-size: 16px; line-height: 1.75; }
    .sjw-grid, .sjc-grid, .sjwhy-benefits, .sjp-journey { gap: 16px; }
    .sjw-card, .sjc-card, .sjp-step, .sjwhy-card { border-radius: 18px; }
    .sjw-image-card { min-height: 420px; padding: 22px; }
    .sjw-number-card, .sjw-material-card, .sjw-partner-card { padding: 22px; }
    .sjw-number { font-size: 86px; margin: 14px 0; }
    .sjw-partner-card { min-height: 0; gap: 16px; }
    .sjw-bottom-note { margin-top: 22px; gap: 12px; }
    .sjw-bottom-note a, .sjw-small-link, .sjw-image-link, .sjc-heading > a, .sjc-card-link, .sjn-step a, .sjwhy-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
    .sjc-card-copy { padding: 24px 22px 0; }
    .sjc-card h3 { font-size: 30px; line-height: 1.15; }
    .sjc-card p { line-height: 1.75; }
    .sjc-card-image { height: 205px; margin-top: 8px; }
    .sjc-note { margin-top: 22px; line-height: 1.7; }

    .sjn-grid { gap: 26px; }
    .sjn-steps { gap: 24px; }
    .sjn-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
    .sjn-step-number { width: 38px; height: 38px; font-size: 24px; }
    .sjn-step:not(:last-child)::after { left: 18px; top: 46px; bottom: -17px; }
    .sjn-step h3 { font-size: 27px; margin-top: 3px; }
    .sjn-step p { line-height: 1.75; }
    .sjn-visual { display: grid; gap: 12px; margin-left: 0; padding-bottom: 0; }
    .sjn-photo { height: 310px; border-radius: 18px; }
    .sjn-photo-label { left: 15px; bottom: 18px; font-size: 8px; }
    .sjn-highlight { position: static; width: auto; display: grid; grid-template-columns: 32px auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 18px; border-width: 1px; border-radius: 16px; }
    .sjn-highlight-icon svg { width: 29px; height: 29px; margin: 0; }
    .sjn-highlight strong { font-size: 44px; line-height: 1; }
    .sjn-highlight strong > span { font-size: 11px; margin-top: 5px; }
    .sjn-highlight p { margin: 0; font-size: 13px; line-height: 1.5; }
    .sjn-highlight p b { font-size: 12px; }
    .sjn-orbit { display: none; }
    .sjs-highlights { margin-top: 26px; }
    .sjs-highlight { padding: 22px; }
    .sjs-highlight-top { gap: 14px; margin-bottom: 12px; }
    .sjs-value { font-size: 62px; }
    .sjs-highlight h3 { margin-bottom: 10px; }
    .sjn-contact-strip { padding: 20px; gap: 14px; }

    .sjp-heading { gap: 18px; }
    .sjp-step { padding: 22px; }
    .sjp-step-top { margin-bottom: 18px; }
    .sjp-step h3 { font-size: 30px; margin-bottom: 12px; }
    .sjp-step p { margin-bottom: 20px; line-height: 1.75; }
    .sjp-bottom { padding: 22px; gap: 12px; }
    .sjp-bottom-copy { min-width: 0; }
    .sjp-bottom-copy h3 { font-size: 24px; }
    .sjp-material-list { font-size: 13px; gap: 6px 10px; }
    .sjp-call { margin-top: 4px; padding-top: 18px; }

    .sjabout-container { gap: 28px; }
    .sjabout-story { padding: 0; }
    .sjabout-brand { margin: 22px 0; padding: 18px 16px; gap: 22px; }
    .sjabout-brand-word { font-size: 108px; }
    .sjabout-story-bottom { gap: 18px; padding-top: 8px; }
    .sjabout-story-bottom .sj-detail-button { width: 100%; }
    .sjabout-location { font-size: 10px; }
    .sjabout-panel { min-height: 470px; }
    .sjabout-panel-copy { padding: 26px 22px; }
    .sjabout-panel h3 { font-size: 38px; }
    .sjabout-tabs button { min-height: 44px; }
    .sjabout-environment-bottom { padding: 14px 18px; font-size: 8px; line-height: 1.6; letter-spacing: .5px; }

    .sjwhy-grid { gap: 16px; }
    .sjwhy-visual { min-height: 330px; }
    .sjwhy-photo-copy { left: 22px; bottom: 23px; }
    .sjwhy-photo-copy h3 { font-size: 36px; margin-bottom: 18px; }
    .sjwhy-seal { bottom: 170px; }
    .sjwhy-card { padding: 22px; }
    .sjwhy-card-top { margin-bottom: 15px; }
    .sjwhy-card h3 { font-size: 29px; }
    .sjwhy-bottom { gap: 12px; padding-top: 18px; }
    .sjq-section { gap: 24px; }
    .sjq-intro h2 { margin: 18px 0; }
    .sjq-list summary { padding: 19px 12px; align-items: flex-start; gap: 10px; font-size: 16px; }
    .sjq-list summary > span:nth-child(2) { min-width: 0; flex: 1; }
    .sjq-list summary i { flex-shrink: 0; line-height: 24px; }
    .sjq-list details > p { padding: 0 16px 22px 38px; }
    .sj-end-cta { margin: 0 16px 24px; padding: 26px 22px; gap: 22px; border-radius: 18px; }
    .sj-end-cta h2 { font-size: 37px; line-height: 1.1; }
    .sj-detail-button { min-height: 48px; padding: 14px 18px; }

    .sjf-footer { margin: 16px 8px 8px; padding: 32px 20px 24px; border-radius: 20px; }
    .sjf-main { gap: 30px; }
    .sjf-brand { gap: 12px; }
    .sjf-logo-wrap { width: 58px; height: 58px; }
    .sjf-brand > span:last-child { min-width: 0; font-size: 25px; }
    .sjf-brand small { font-size: 9px; line-height: 1.6; letter-spacing: .6px; margin-top: 7px; }
    .sjf-description { margin: 22px 0 26px; font-size: 16px; line-height: 1.75; }
    .sjf-contact-grid { grid-template-columns: 1fr; gap: 23px; }
    .sjf-contact-grid h3 { margin-bottom: 10px; }
    .sjf-socials { gap: 10px; margin-top: 22px; }
    .sjf-socials > a { width: 44px; height: 44px; }
    .sjf-socials svg { width: 19px; height: 19px; }
    .sjf-connect h2 { font-size: 36px; line-height: 1.1; margin: 14px 0 22px; }
    .sjf-contact-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
    .sjf-contact-banner strong { font-size: 15px; line-height: 1.7; }
    .sjf-write { justify-content: space-between; min-height: 46px; padding: 12px 15px; }
    .sjf-link-panel { grid-template-columns: 1fr; padding: 22px 18px; margin-top: 24px; gap: 22px; }
    .sjf-link-column + .sjf-link-column { border-left: 0; border-top: 1px solid #ffffff12; padding: 22px 0 0; }
    .sjf-link-panel ul, .sjf-link-column:last-child ul { display: grid; gap: 2px; }
    .sjf-link-panel a { display: flex; align-items: center; min-height: 44px; padding: 5px 0; font-size: 16px; line-height: 1.5; }
    .sjf-link-panel h3 { margin-bottom: 12px; }
    .sjf-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; padding-top: 20px; }
    .sjf-bottom p { font-size: 13px; }
    .sjf-back-top { min-height: 44px; font-size: 14px; }
    .sj-company-page { margin: 24px 16px 40px; padding: 26px 20px; }
}
.sj-mobile-contact { display: none; }
@media (max-width: 600px) { .sj-mobile-contact { display: flex; } }
@media (max-width: 360px) {
    .sj-glass-brand-name { font-size: 13px; }
    .sj-glass-brand img { width: 40px; height: 40px; }
    .sj-glass-brand { gap: 8px; }
    .sjabout-brand { gap: 17px; padding-inline: 10px; }
    .sjabout-brand-word { font-size: 94px; }
    .sjabout-brand-caption { padding-left: 16px; font-size: 8px; }
    .sjh-note-left { max-width: 205px; }
    .sjh-portrait { width: 255px; height: 310px; }
    .sjh-scene { height: 345px; }
    .sjf-footer { padding-inline: 18px; }
    .sjn-highlight { gap: 10px; padding: 16px; }
    .sjn-highlight p { font-size: 12px; }
}
