/* Header/footer copied from the current TOP, 2026-10-14. */
:root{--lhc-paper:#f7f8f9;--lhc-white:#fff;--lhc-ink:#0b1220;--lhc-text:#3a4046;--lhc-blue:#1b8fd6;--lhc-line:#dce0e4;--lhc-serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;--lhc-sans:"Hiragino Sans","Yu Gothic","Noto Sans CJK JP",Meiryo,sans-serif}
.lhc-header{position:absolute;top:25px;left:4%;right:4%;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:30px;background:#f7f8f9f5;padding:14px 25px;border:1px solid #ffffff90}
.lhc-logo{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-size:18px;font-weight:700;letter-spacing:.04em;color:var(--lhc-ink)}
.lhc-logo img{width:25px;height:34px;object-fit:contain}
.lhc-main-nav{display:flex;align-items:center;gap:25px;font-size:12px;font-weight:500}
.lhc-main-nav>a{position:relative}
.lhc-main-nav>a:not(.lhc-nav-contact):after{content:'';position:absolute;bottom:-4px;left:0;width:100%;height:1px;background:#1b8fd6;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.lhc-main-nav>a:hover:after{transform:scaleX(1)}
.lhc-nav-contact{padding:5px 18px;border:1px solid #7b8b9633}
.lhc-menu-toggle,.lhc-mobile-nav{display:none}
.lhc-footer{width:min(1060px,calc(100% - 200px));margin:auto;background:var(--lhc-paper);padding:58px 80px 35px;border-top:1px solid var(--lhc-line)}
.lhc-footer-top{display:flex;gap:30px;justify-content:space-between;align-items:center}
.lhc-footer-top>p{font-family:var(--lhc-serif);font-size:18px}
.lhc-footer-body{display:flex;justify-content:space-between;gap:50px;margin-top:35px}
.lhc-footer-body>div p{font-size:12px;line-height:1.9;margin-bottom:16px}
.lhc-footer-body nav{display:grid;grid-template-columns:1fr 1fr;gap:10px 35px;font-size:12px}
.lhc-footer-bottom{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:42px;padding-top:22px;border-top:1px solid var(--lhc-line);font-size:10px}
.lhc-footer-bottom small{font-size:10px}
@media(max-width:1100px){
.lhc-main-nav{gap:15px;font-size:11px}
.lhc-header{left:25px;right:25px;padding:12px 18px}
.lhc-logo{font-size:16px}
.lhc-footer{width:calc(100% - 130px);padding-left:50px;padding-right:50px}
}
@media(max-width:760px){
.lhc-header{left:18px;right:18px;top:18px;padding:10px 16px}
.lhc-main-nav{display:none}
.lhc-logo{font-size:16px;gap:9px}
.lhc-logo img{width:22px;height:29px}
.lhc-menu-toggle{display:flex;align-items:center;gap:14px;background:transparent;border:0;padding:4px 0;font-size:12px;color:#253d4e}
.lhc-menu-toggle span{font-size:21px;line-height:1}
.lhc-mobile-nav:not([hidden]){display:flex;flex-direction:column;position:fixed;inset:83px 18px auto;z-index:25;background:var(--lhc-paper);padding:14px 24px 20px;box-shadow:0 25px 50px #0a142026;max-height:calc(100svh - 110px);overflow:auto}
.lhc-mobile-nav a{display:flex;align-items:baseline;gap:20px;padding:12px 0;border-bottom:1px solid var(--lhc-line);font-size:15px}
.lhc-mobile-nav small{font-size:10px;width:48px;color:#657783}
.lhc-footer{width:calc(100% - 28px);margin-left:0;padding:65px 27px;scroll-margin-top:27svh}
.lhc-footer{padding:42px 27px 30px}
.lhc-footer-top,.lhc-footer-body{display:block}
.lhc-footer-top>p{font-size:16px;margin-top:17px}
.lhc-footer-body{margin-top:30px}
.lhc-footer-body nav{margin-top:28px;font-size:11px;gap:12px 20px}
.lhc-footer-bottom{display:grid;grid-template-columns:1fr auto;gap:20px;font-size:10px}
.lhc-footer-bottom>a{grid-column:1/-1}
}
@media(min-width:761px){
.lhc-footer{width:760px;max-width:760px;margin-left:auto;margin-right:auto;
    padding-left:64px;padding-right:64px}
}
@media(max-width:760px){
.lhc-footer{padding-bottom:90px}
}
@media(max-width:760px){
.lhc-footer{margin-left:auto;margin-right:auto}
}
.lhc-logo img{width:auto;height:38px;object-fit:contain}
.lhc-footer .lhc-logo img{height:40px}
.lhc-dx{display:block;width:150px;height:auto;margin-top:22px}
@media(max-width:760px){
.lhc-logo img{height:28px}
.lhc-footer .lhc-logo img{height:34px}
.lhc-dx{width:130px}
}
@media(min-width:761px){
.lhc-footer{margin-top:110px}
}
body[data-top-shell]>.lhc-header{background:transparent;border-color:transparent;top:35px;padding:14px 25px}
@media(max-width:760px){
body[data-top-shell]>.lhc-header{top:24px;padding:10px 16px}
}
:root{--lhs-paper:#f7f8f9;--lhs-ink:#0b1220;--lhs-text:#3a4046;--lhs-blue:#1b8fd6;--lhs-line:#dce0e4;--lhs-serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;--lhs-sans:"Hiragino Sans","Yu Gothic","Noto Sans CJK JP",Meiryo,sans-serif}
.lhs-header{position:absolute;top:25px;left:4%;right:4%;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:30px;background:#f7f8f9f5;padding:14px 25px;border:1px solid #ffffff90;font-family:var(--lhs-sans);color:var(--lhs-ink);box-sizing:border-box}
.lhs-header *{box-sizing:border-box}
.lhs-header a{color:inherit;text-decoration:none}
.lhs-header .lhc-logo{display:inline-flex;align-items:center;min-height:44px}
.lhs-header .lhc-logo img{width:auto;height:38px;display:block;object-fit:contain}
.lhs-header .lhc-main-nav{display:flex;align-items:center;gap:25px;font-size:12.5px;font-weight:500;letter-spacing:.04em}
.lhs-header .lhc-main-nav>a{position:relative;min-height:44px;display:inline-flex;align-items:center}
.lhs-header .lhc-main-nav>a:not(.lhc-nav-contact):after{content:'';position:absolute;bottom:8px;left:0;width:100%;height:1px;background:var(--lhs-blue);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.lhs-header .lhc-main-nav>a[aria-current="page"]:after{transform:scaleX(1)}
.lhs-header .lhc-nav-contact{padding:5px 18px;border:1px solid #7b8b9655;min-height:36px!important}
.lhs-header .lhc-menu-toggle{display:none;align-items:center;gap:14px;background:transparent;border:0;padding:4px 0;font:inherit;font-size:12px;color:#253d4e;cursor:pointer;min-height:44px}
.lhs-header .lhc-menu-toggle span{font-size:21px;line-height:1}
.lhs-header .lhc-mobile-nav{display:none}
@media(hover:hover) and (pointer:fine){
.lhs-header .lhc-main-nav>a:hover:after{transform:scaleX(1)}
.lhs-header .lhc-nav-contact:hover{background:#fff}
}
body:not([data-lh-scenic]) .lhs-header{position:sticky;top:14px;margin:14px 4% 0;left:auto;right:auto}
body[data-top-shell]>.lhs-header{background:transparent;border-color:transparent;top:35px}
@media(max-width:1100px){
.lhs-header .lhc-main-nav{gap:15px;font-size:11.5px}
.lhs-header{left:25px;right:25px;padding:12px 18px}
body:not([data-lh-scenic]) .lhs-header{margin:12px 16px 0}
}
@media(max-width:860px){
.lhs-header .lhc-main-nav{display:none}
.lhs-header .lhc-menu-toggle{display:flex}
.lhs-header{left:18px;right:18px;top:18px;padding:8px 16px}
.lhs-header .lhc-logo img{height:32px}
body[data-top-shell]>.lhs-header{top:20px}
.lhs-header .lhc-mobile-nav:not([hidden]){display:flex;flex-direction:column;position:fixed;inset:83px 18px auto;z-index:45;background:var(--lhs-paper);padding:14px 24px 20px;box-shadow:0 25px 50px #0a142026;max-height:calc(100svh - 110px);overflow:auto}
.lhs-header .lhc-mobile-nav a{display:flex;align-items:center;min-height:48px;padding:10px 0;border-bottom:1px solid var(--lhs-line);font-size:15px}
.lhs-header .lhc-mobile-nav a.is-current{color:var(--lhs-blue)}
}
.lhs-footer{position:relative;z-index:2;width:min(1060px,calc(100% - 200px));margin:120px auto 0;background:var(--lhs-paper);padding:58px 80px 35px;border-top:1px solid var(--lhs-line);font-family:var(--lhs-sans);color:var(--lhs-ink);box-sizing:border-box}
.lhs-footer a{color:inherit;text-decoration:none}
.lhs-footer .lhc-footer-top{display:flex;gap:30px;justify-content:space-between;align-items:center}
.lhs-footer .lhc-footer-top>p{margin:0;font-family:var(--lhs-serif);font-size:18px}
.lhs-footer .lhc-logo img{height:40px;width:auto;display:block}
.lhs-footer .lhc-footer-body{display:flex;justify-content:space-between;gap:40px;margin-top:35px}
.lhs-footer .lhc-footer-body>div p{margin:0 0 16px;font-size:12px;line-height:1.9}
.lhs-footer .lhc-dx{width:200px;height:auto;display:block}
.lhs-footer nav{display:grid;align-content:start;gap:0 30px;font-size:12px}
.lhs-footer nav[aria-label="フッターナビゲーション"]{grid-template-columns:1fr 1fr}
.lhs-footer nav a,.lhs-footer nav button{min-height:44px;display:inline-flex;align-items:center}
.lhs-footer nav button{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.lhs-footer .lhc-footer-bottom{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:30px;padding-top:18px;border-top:1px solid var(--lhs-line);font-size:10px}
.lhs-footer .lhc-footer-bottom a{min-height:44px;display:inline-flex;align-items:center}
@media(hover:hover) and (pointer:fine){
.lhs-footer nav a:hover,.lhs-footer nav button:hover{color:var(--lhs-blue)}
}
@media(min-width:861px){
body[data-lh-scenic] .lhs-footer{width:760px;padding-left:64px;padding-right:64px}
}
@media(max-width:1100px){
.lhs-footer{width:calc(100% - 130px);padding-left:50px;padding-right:50px}
}
@media(max-width:860px){
.lhs-footer{width:calc(100% - 28px);padding:42px 27px 30px;margin-top:80px}
.lhs-footer .lhc-footer-top,.lhs-footer .lhc-footer-body{display:block}
.lhs-footer .lhc-footer-top>p{font-size:16px;margin-top:17px}
.lhs-footer nav{margin-top:20px}
}
.lhs-header a:focus-visible,.lhs-header button:focus-visible,.lhs-footer a:focus-visible,.lhs-footer button:focus-visible{outline:3px solid #8cc8ee;outline-offset:3px}


/* Match TOP inheritance without changing the approved page body. */
.lhs-header,.lhs-footer{letter-spacing:.025em;line-height:2}
.lhs-header .lhc-menu-toggle{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
/* Reserve the original hero position beneath the absolute TOP header. */
#main{padding-top:136px}
@media(max-width:800px){#main{padding-top:118px}}

/* One shared width system for TOP and all approved lower pages.
   Override the legacy TOP footer's 760px width AND max-width together. */
:root{--lh-shell-width:min(1100px,calc(100% - 112px))}
body[data-top-shell]>.lhs-header{left:0;right:0;width:min(1440px,calc(100% - 112px));max-width:none;margin-inline:auto;padding:14px 0;gap:30px}
body[data-top-shell]>.lhs-footer{width:var(--lh-shell-width);max-width:none;margin-inline:auto;padding:58px 56px 35px}
body[data-top-shell]>.lhs-footer .lhc-footer-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(185px,.85fr) minmax(125px,.55fr);gap:36px}
body[data-top-shell]>.lhs-footer nav[aria-label="サポート"]{grid-template-columns:1fr}
@media(max-width:1100px){
:root{--lh-shell-width:calc(100% - 80px)}
body[data-top-shell]>.lhs-header{width:calc(100% - 80px);gap:25px}
body[data-top-shell]>.lhs-footer{padding-inline:40px}
body[data-top-shell]>.lhs-footer .lhc-footer-body{gap:24px;grid-template-columns:minmax(0,1.25fr) minmax(170px,.8fr) minmax(120px,.55fr)}
}
@media(max-width:860px){
:root{--lh-shell-width:calc(100% - 48px)}
body[data-top-shell]>.lhs-header{width:var(--lh-shell-width);top:20px;padding:8px 0}
body[data-top-shell]>.lhs-footer{padding:40px 28px 30px}
body[data-top-shell]>.lhs-footer .lhc-footer-body{display:block}
body[data-top-shell]>.lhs-footer .lhc-footer-top>p{margin-top:17px}
}
@media(max-width:520px){
:root{--lh-shell-width:calc(100% - 44px)}
body[data-top-shell]>.lhs-footer{padding-inline:24px}
body[data-top-shell]>.lhs-footer .lhc-footer-bottom{display:flex;flex-wrap:wrap;gap:5px 20px}
}
