/* v0.4.22: subpage footer matches the existing TOP design; scope all styles. */
.tdb-global-footer,.tdb-preview-bottomnav{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;box-sizing:border-box}
.tdb-global-footer *,.tdb-preview-bottomnav *{box-sizing:border-box}
.tdb-global-footer{margin-top:65px;background:#0e3047;color:#b8ced9;padding:46px 0 28px;font-size:12px;line-height:1.8}
.tdb-footer-container{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.tdb-footer-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:42px;padding-bottom:32px}
.tdb-footer-brand strong{display:block;color:#fff;font-size:24px;line-height:1.3;font-weight:900}
.tdb-footer-brand p{font-size:12px;line-height:1.9;max-width:320px;margin:11px 0 0;color:#bad0db}
.tdb-footer-nav-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.tdb-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.tdb-footer-nav h3{margin:0 0 5px;font-size:14px;font-weight:800;color:#fff;line-height:1.5}
.tdb-global-footer .tdb-footer-nav a{font-size:12px;line-height:1.5;color:#d0e1e9;text-decoration:none;overflow-wrap:anywhere}
.tdb-global-footer .tdb-footer-nav a:hover{color:#fff;text-decoration:underline}
.tdb-global-footer a:focus-visible,.tdb-preview-bottomnav a:focus-visible{outline:3px solid #7fdbe7;outline-offset:3px}
.tdb-footer-bottom{border-top:1px solid #ffffff27;padding-top:22px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;line-height:1.8}
.tdb-footer-bottom span:last-child{max-width:490px;text-align:right}
.tdb-preview-bottomnav{display:none}
@media(max-width:760px){
 .tdb-footer-container{width:calc(100% - 36px)}
 .tdb-global-footer{margin-top:50px;padding:34px 0 calc(97px + env(safe-area-inset-bottom,0px))}
 .tdb-footer-top{display:block;padding-bottom:25px}
 .tdb-footer-brand{margin-bottom:28px}
 .tdb-footer-brand strong{font-size:22px}
 .tdb-footer-nav-groups{gap:14px}
 .tdb-footer-nav{gap:12px}
 .tdb-footer-nav h3{font-size:13px}
 .tdb-global-footer .tdb-footer-nav a{font-size:12px}
 .tdb-footer-bottom{display:block;line-height:2}
 .tdb-footer-bottom span{display:block}
 .tdb-footer-bottom span:last-child{max-width:none;text-align:left;margin-top:9px}
 .tdb-preview-bottomnav{display:flex;align-items:center;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;background:#fff;min-height:66px;padding-bottom:env(safe-area-inset-bottom,0px);border-top:1px solid #dce9ed;z-index:40;box-shadow:0 -4px 18px #1b52611a}
 .tdb-preview-bottomnav a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#6f8794;font-size:10px;font-weight:800;text-decoration:none;line-height:1.5}
 .tdb-preview-bottomnav b{font-size:21px;font-weight:400}
 .tdb-preview-bottomnav a:first-child{color:#087f9a}
}
@media(max-width:359px){.tdb-footer-nav-groups{grid-template-columns:1fr;gap:26px}}
