/* Local motion study. Existing brand, copy and product data remain authoritative. */
:root { --motion-arrive: cubic-bezier(.16, 1, .3, 1); --motion-quick: 180ms; --motion-state: 260ms; }
.motion-page ::selection { color: #fff; background: #0878b9; }
.motion-page button, .motion-page input, .motion-page textarea { caret-color: var(--blue-700); }
.motion-page .hero-product { isolation: isolate; }
.hero-integration { position: absolute; bottom: 8px; left: 50%; z-index: 3; width: min(360px, 88%); transform: translateX(-50%); color: var(--navy-900); }
.hero-integration-line { display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-integration-line span { font-size: 13px; font-weight: 800; white-space: nowrap; }
.hero-integration-line svg { width: 56px; height: 12px; overflow: visible; fill: none; stroke: var(--blue-700); stroke-width: 1.5; }
.hero-integration-line path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-integration > p { margin: 9px 0 0; color: #496575; font-size: 12px; text-align: center; }

.home-system-explorer { min-width: 0; }
.system-explorer-hint { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: #496575; font-size: 13px; }
.system-explorer-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.home-system-chain .system-node { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-width: 0; min-height: 148px; gap: 25px; padding: 24px 28px; text-align: left; color: var(--navy-900); background: #fff; border: 0; border-right: 1px solid var(--slate-300); border-bottom: 1px solid var(--slate-300); transition: color var(--motion-state), background var(--motion-state); }
.home-system-chain .system-node::after { content: ''; position: absolute; right: 20px; top: 25px; width: 6px; height: 6px; border-radius: 50%; background: #8da7b8; transition: background var(--motion-state), transform var(--motion-state); }
.home-system-chain .system-node span { font-size: 13px; color: #0870aa; }
.home-system-chain .system-node strong { font-size: 19px; font-weight: 800; line-height: 1.5; }
.home-system-chain .system-node[aria-pressed="true"] { color: #fff; background: var(--navy-900); }
.home-system-chain .system-node[aria-pressed="true"] strong { color: #fff; }
.home-system-chain .system-node[aria-pressed="true"] span { color: #b9e3fa; }
.home-system-chain .system-node[aria-pressed="true"]::after { background: var(--yellow); }
.home-system-chain .system-node.is-demonstrating:not([aria-pressed="true"]) { background: #e2f3fb; }
.home-system-chain .system-node.is-demonstrating::after { background: #f4c300; transform: scale(1.4); }
.home-system-chain .system-node:focus-visible { z-index: 2; outline: 3px solid var(--yellow); outline-offset: -5px; }
.system-detail { min-height: 180px; padding: 24px 0 0; }
.system-detail h3 { margin: 0 0 9px; color: var(--navy-900); font-size: 20px; }
.system-detail p { max-width: 48ch; margin: 0 0 11px; color: #496575; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.system-detail a { display: inline-flex; align-items: center; min-height: 38px; color: #0870aa; font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
@media(hover:hover) { .home-system-chain .system-node:not([aria-pressed="true"]):hover { background: #e9f6fc; } }

.catalog-visual.gallery-enhanced { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 48px 24px 22px; }
.catalog-visual [hidden] { display: none !important; }
.catalog-visual::before, .catalog-visual::after { pointer-events: none; }
.gallery-enhanced .product-visual-label { max-width: calc(100% - 36px); text-align: right; }
.motion-gallery-main { position: relative; display: grid; place-items: center; width: 100%; min-height: 300px; padding: 20px 12px 28px; border: 0; border-radius: 6px; background: transparent; cursor: zoom-in; }
.motion-gallery-main .motion-gallery-image { display: block; width: auto; max-width: min(96%, 450px); max-height: 270px; object-fit: contain; mix-blend-mode: multiply; transform: none; }
.motion-gallery-main:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.motion-image-hint { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #496575; font-size: 12px; font-weight: 500; }
.motion-image-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.motion-gallery-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.motion-gallery-controls:empty { display: none; }
.motion-gallery-controls button { min-width: 80px; min-height: 42px; padding: 0 18px; border: 1px solid #b6d1e0; border-radius: 4px; color: var(--navy-900); background: #fff; font-size: 13px; font-weight: 700; transition: color var(--motion-quick), background var(--motion-quick), border-color var(--motion-quick); }
.motion-gallery-controls button[aria-pressed="true"] { color: #fff; border-color: #0d4761; background: #0d4761; }
.motion-gallery-controls button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.motion-gallery-caption { min-height: 20px; margin: 2px 0 0; color: #496575; font-size: 12px; text-align: center; }
.motion-gallery-caption.is-error { color: #a12328; }
.motion-lightbox { position: fixed; inset: 0; width: min(1050px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; overflow: auto; color: var(--navy-900); border: 0; border-radius: 12px; background: #fff; box-shadow: 0 24px 80px rgba(0, 20, 40, .24); }
.motion-lightbox::backdrop { background: rgba(4, 26, 40, .78); }
.motion-lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--slate-200); }
.motion-lightbox-top h2 { margin: 0; font-size: 20px; }
.motion-lightbox-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 76px; min-height: 44px; padding: 0 10px; color: var(--navy-900); border: 0; border-radius: 4px; background: #edf5fa; font: inherit; font-size: 13px; }
.motion-lightbox-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.motion-lightbox-stage { display: grid; place-items: center; min-height: 260px; height: min(64dvh, 620px); margin: 0; padding: 24px; background: #f7fafc; touch-action: pan-y pinch-zoom; }
.motion-lightbox-image { display: block; width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.motion-lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px 8px; }
.motion-lightbox-bottom p { margin: 0; font-size: 14px; font-weight: 700; text-align: center; }
.motion-lightbox-step { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; color: var(--navy-900); background: #edf5fa; border: 0; border-radius: 4px; }
.motion-lightbox-step svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.motion-lightbox [hidden] { display: none !important; }
.motion-lightbox :is(button):focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.motion-lightbox-help { margin: 0; padding: 0 24px 17px; color: #496575; font-size: 12px; text-align: center; }

.inquiry-product { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 26px; padding: 18px 20px; color: var(--navy-900); border: 1px solid #c9e0ed; border-radius: 6px; background: #eef8fd; }
.inquiry-product[hidden] { display: none; }
.inquiry-product > span { color: #496575; font-size: 13px; }
.inquiry-product strong { font-size: 17px; }
.inquiry-product a { min-height: 38px; display: inline-flex; align-items: center; color: #0870aa; font-size: 13px; text-underline-offset: 4px; }
.inquiry-product button { margin-left: auto; min-height: 40px; padding: 0 8px; color: #496575; background: transparent; border: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.inquiry-product button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.inquiry-message-count { display: block; margin-top: 7px; color: #496575; font-size: 12px; font-weight: 400; text-align: right; }
.motion-page .submit-button[aria-busy="true"] { display: inline-flex; justify-content: center; }
.motion-page .form-result.warning { color: #7c5700; }
@media(max-width:820px) { .hero-integration { bottom: 2px; } .system-detail { min-height: 158px; } .catalog-visual.gallery-enhanced { min-height: 370px; height: auto; } .motion-gallery-main { min-height: 245px; } .motion-gallery-main .motion-gallery-image { max-height: 225px; } }
@media(max-width:600px) {
  .hero-integration { width: 84%; bottom: 6px; }
  .hero-integration-line { gap: 10px; }
  .hero-integration-line svg { width: 40px; }
  .home-system-chain .system-node { min-height: 132px; padding: 20px; gap: 23px; }
  .home-system-chain .system-node strong { font-size: 16px; }
  .home-system-chain .system-node::after { top: 24px; right: 18px; }
  .system-detail { min-height: 188px; padding-top: 20px; }
  .system-detail p { font-size: 14px; }
  .catalog-visual.gallery-enhanced { min-height: 330px; padding: 40px 16px 18px; gap: 4px; }
  .motion-gallery-main { min-height: 215px; padding: 12px 8px 18px; }
  .motion-gallery-main .motion-gallery-image { max-height: 185px; }
  .motion-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .motion-lightbox-top { padding: 12px 16px; gap: 10px; }
  .motion-lightbox-top h2 { font-size: 17px; }
  .motion-lightbox-stage { min-height: 240px; height: 52dvh; padding: 16px; }
  .motion-lightbox-bottom { padding: 12px 16px 8px; gap: 10px; }
  .motion-lightbox-help { padding-inline: 16px; }
  .inquiry-product { gap: 5px 12px; padding: 14px; }
  .inquiry-product strong { font-size: 16px; }
}
@media(prefers-reduced-motion:reduce) { .motion-page .hero-product:hover img { transform: none; } .system-node, .motion-gallery-controls button { transition-duration: 80ms; } }
