/* V15: scoped footer repair for standalone SES / development pages */
body:has(.v14-layout) .lam-terminal-footer{display:block!important;position:relative!important;clear:both;background:#04101e!important;color:#b8cad8!important;padding:0!important;border-top:1px solid #254158!important;font-family:"Noto Sans JP",Arial,sans-serif!important;box-sizing:border-box}
body:has(.v14-layout) .lam-terminal-footer *{box-sizing:border-box}
body:has(.v14-layout) .lam-terminal-footer .lam-terminal-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:clamp(25px,5vw,75px);padding:clamp(45px,5vw,80px) clamp(22px,5vw,95px);align-items:start}
body:has(.v14-layout) .lam-terminal-footer .lam-terminal-intro h2{color:#f5fbff;font-size:clamp(23px,2.5vw,37px);line-height:1.5;margin:0 0 24px}
body:has(.v14-layout) .lam-terminal-footer a{text-decoration:none;color:#b8cad8}
body:has(.v14-layout) .lam-terminal-footer .terminal-contact{display:inline-flex!important;background:#0a608e!important;color:white!important;padding:13px 22px;border-radius:999px;font-size:14px}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols>div{display:flex;flex-direction:column;gap:13px;min-width:0}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols strong{font-size:13px;color:#f0faff;margin-bottom:8px;letter-spacing:.04em}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols a{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols a:hover{color:#71d5fb!important}
body:has(.v14-layout) .lam-terminal-footer .lam-terminal-bottom{display:flex!important;justify-content:center!important;align-items:center!important;gap:25px;flex-wrap:wrap;text-align:center;border-top:1px solid #284158;padding:22px;font-size:12px}
body:has(.v14-layout) .lam-terminal-footer .terminal-cols a[href="contact.html"]{display:none!important}
@media(max-width:900px){body:has(.v14-layout) .lam-terminal-footer .lam-terminal-main{grid-template-columns:1fr}}
@media(max-width:650px){body:has(.v14-layout) .lam-terminal-footer .terminal-cols{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px}}
@media(max-width:410px){body:has(.v14-layout) .lam-terminal-footer .terminal-cols{grid-template-columns:1fr}}
/* Interactive bird: airy, crisp and properly scaled to the services hero */
.section-services .haidongqing-area{position:relative;margin:-25px auto 55px;width:min(100%,980px);min-height:clamp(280px,35vw,425px);display:flex;justify-content:center;align-items:center;isolation:isolate;overflow:hidden;border-radius:30px;background:radial-gradient(ellipse at 50% 45%,rgba(221,238,250,.55),rgba(248,251,253,.2) 64%,transparent 80%)}
.section-services .haidongqing-orbit{position:absolute;width:min(70vw,500px);aspect-ratio:1;border:1px solid rgba(24,120,174,.1);border-radius:50%;pointer-events:none;box-shadow:0 0 0 36px rgba(51,134,187,.025),0 0 0 88px rgba(51,134,187,.016)}
.section-services .haidongqing-frame{position:relative;width:min(100%,650px);aspect-ratio:16/9;overflow:hidden;pointer-events:none;mix-blend-mode:multiply;filter:contrast(1.06) saturate(.88)}
.section-services #haidongqing-video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.section-services #haidongqing-canvas{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}
.section-services .haidongqing-caption{position:absolute;right:26px;bottom:18px;display:flex;flex-direction:column;gap:3px;text-align:right;font-size:11px;color:#527085;letter-spacing:.08em;pointer-events:none}
.section-services .haidongqing-caption strong{color:#194a69;font-size:13px}
.section-services .haidongqing-caption small{letter-spacing:normal;font-size:11px}
@media(max-width:780px){.section-services .haidongqing-area{margin:0 auto 35px;min-height:250px}.section-services .haidongqing-caption{right:14px;bottom:10px;font-size:9px}.section-services .haidongqing-frame{width:100%}}
@media(prefers-reduced-motion:reduce){.section-services .haidongqing-orbit{animation:none!important}}

/* V16: non-flow, right-side hawk in the existing white services header */
.section-services{position:relative;isolation:isolate}
.section-services>.section-head{position:relative;z-index:2;min-height:clamp(260px,24vw,340px);margin-bottom:0!important}
.section-services>.section-head>div:first-child{position:relative;z-index:3;max-width:54%}
.section-services>.section-head>p{position:relative;z-index:3;max-width:32%;align-self:end}
.section-services>.haidongqing-area{position:absolute!important;z-index:1;top:clamp(35px,4vw,70px);right:clamp(20px,8vw,145px);width:clamp(300px,39vw,570px);height:clamp(230px,23vw,325px);min-height:0!important;margin:0!important;overflow:visible;background:transparent!important;border-radius:0;pointer-events:none}
.section-services .haidongqing-frame{width:100%;height:100%;aspect-ratio:auto;overflow:hidden;mix-blend-mode:normal;filter:none;background:#fff;border-radius:20px;pointer-events:none;box-shadow:0 8px 30px rgba(11,58,89,.045)}
.section-services #haidongqing-canvas{position:absolute;inset:0;width:100%;height:100%;background:transparent;opacity:0;transition:opacity .2s ease}
.section-services .haidongqing-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;pointer-events:none}
.section-services .haidongqing-orbit{width:75%;opacity:.35;left:12%;top:-8%}
.section-services .haidongqing-caption{display:none}
.section-services>.service-grid{position:relative;z-index:3;margin-top:0!important}
@media(min-width:1001px){.section-services>.section-head{padding-bottom:30px}.section-services>.section-head>p{max-width:30%;padding-top:220px}}
@media(max-width:1000px){.section-services>.section-head{min-height:0;margin-bottom:0!important}.section-services>.section-head>div:first-child{max-width:100%}.section-services>.section-head>p{max-width:100%;align-self:auto}.section-services>.haidongqing-area{position:relative!important;top:auto;right:auto;width:min(100%,540px);height:auto;aspect-ratio:16/9;margin:-4px auto 10px!important}.section-services>.service-grid{margin-top:16px!important}}
@media(prefers-reduced-motion:reduce){.section-services #haidongqing-canvas{transition:none}}
