/* HANDS 5-site unified design V6.6 - 2026-10-15 */
:root{--hands-blue:#0756a5;--hands-blue-deep:#073f7e;--hands-blue-medium:#0768bc;--hands-sky:#1596d3;--hands-pale:#eaf5ff;--hands-border:#bfdff6;--brand:#075ca9;--brand2:#073f7e;--line:#c2dff2;--muted:#45637c;--pale:#f0f8ff}
html{scroll-behavior:smooth}body{color:#234663;font-family:Meiryo,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}body a{color:#0756a5}
.hands-cross-header,.hands-cross-header *,.hands-cross-footer,.hands-cross-footer *{box-sizing:border-box}
.hands-cross-header{width:min(100%,1100px);margin:0 auto;padding:0 14px 16px;background:#fff;font-family:Meiryo,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;position:relative;z-index:5;clear:both}
.hands-cross-title{color:#0956a5;font-size:clamp(16px,2.35vw,24px);font-weight:800;line-height:1.45;text-align:center;padding:13px 6px 12px;margin:0;letter-spacing:0;overflow-wrap:anywhere;border:0;background:white}
.hands-cross-identity{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;border-top:3px solid #1596d3;border-bottom:1px solid #b5d8ed;background:linear-gradient(110deg,#e8f6ff,#fafdff)}
.hands-cross-company{color:#073f7e!important;font-weight:850!important;font-size:18px;text-decoration:none!important;white-space:nowrap}
.hands-cross-desc{font-size:13px;color:#376888;line-height:1.6;text-align:right}
.hands-cross-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:7px 1px 9px;background:linear-gradient(180deg,#e8f5ff,#f7fbff)}
.hands-cross-nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:45px;padding:8px 5px;border:1px solid #bad8ed;border-radius:5px;background:linear-gradient(180deg,#fff,#e7f4ff);color:#07529b!important;font-size:14px;font-weight:750;line-height:1.4;text-decoration:none!important;overflow-wrap:anywhere;transition:background .15s}
.hands-cross-nav a:is(:hover,:focus-visible){background:#ccecff;outline:2px solid #147cc2;outline-offset:1px}
.hands-cross-nav a[aria-current="page"]{background:#d7edff;border-color:#1184ca;color:#073f7e!important}
.hands-cross-nav a.hands-to-com{background:linear-gradient(180deg,#0863b2,#07447e);color:white!important;border-color:#0758a5}
.hands-cross-related{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:11px 0 0;border-top:1px solid #d5eafa}
.hands-cross-related span{font-size:12px;color:#536d82;font-weight:800;padding:2px 6px}
.hands-cross-related a{font-size:12px;font-weight:700;color:#075a9e!important;text-decoration:none!important;border:1px solid #c2dff2;border-radius:4px;padding:6px 9px;background:#f4faff}
.hands-cross-related a[aria-current="page"]{background:#dbeeff;border-color:#62b7ed}
.hands-cross-footer{width:min(100% - 28px,1100px);margin:40px auto 0;padding:20px 12px;border-top:3px solid #168de1;background:linear-gradient(180deg,#eff8ff,#fff);clear:both;overflow-wrap:anywhere;font-family:Meiryo,"Yu Gothic",sans-serif}
.hands-cross-footer h2{font-size:18px;line-height:1.45;color:#0756a5;margin:0 0 12px}
.hands-cross-footer .hands-cross-related{border-top:0;padding-top:0}
.hands-cross-footer p{font-size:14px;line-height:1.85;color:#41627c;margin:14px 0 0}
/* Existing modern content adopts V6.5 blue palette without changing structure */
.site-head{display:none!important}.hero{background:linear-gradient(135deg,#e9f5ff,#fff 70%);border-color:#c2dff2}.hero h1{color:#0752a0;line-height:1.3;font-weight:800}.hero .eyebrow{color:#0876bd}.hero .wrap{padding-top:45px;padding-bottom:46px}.hero p{color:#415d76}main h2,main h3{color:#07529b} .card,.photo,article.card{border-color:#bfdff6}.btn:not(.alt){background:#0768bc}.btn.alt{background:#073f7e}.pale{background:#f0f8ff}
/* HPB18 pages: harmonize heading, text, borders; preserve original tables & images */
body:has(.hands-cross-header):not(:has(main)) #header h1,body:has(.hands-cross-header):not(:has(main)) #header font{color:#0756a5!important;font-family:Meiryo,"Yu Gothic",sans-serif!important}
body:has(.hands-cross-header):not(:has(main)) .hands-guide-return{display:none!important}
body:has(.hands-cross-header):not(:has(main)) img{max-width:100%;height:auto}
body:has(.hands-cross-header):not(:has(main)) table{max-width:100%}
@media(max-width:760px){.hands-cross-header{padding:0 10px 12px}.hands-cross-identity{padding:9px 11px;display:block;text-align:center}.hands-cross-desc{text-align:center}.hands-cross-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.hands-cross-nav a{font-size:13px;min-height:45px;padding:6px 3px}.hands-cross-related{justify-content:center}.hands-cross-title{font-size:clamp(15px,4.5vw,20px)}.hero .wrap{padding-top:34px;padding-bottom:38px}.hero h1{font-size:clamp(26px,6vw,38px)}.hands-cross-footer{width:calc(100% - 20px)}}
@media(max-width:380px){.hands-cross-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.hands-cross-nav a{font-size:13px}}
