/* The lower-page header intentionally mirrors the front-page header. */
.tp-header-shell{--u:min(.1453488372vw,2px);--blue:#205797;--yellow:#ffdc2d;--ink:#111;--paper:#fafaf8;max-width:1376px;margin-inline:auto;overflow:visible;position:relative;color:var(--ink);font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif}
.tp-header-shell *{box-sizing:border-box}
.tp-header-shell a{color:inherit;text-decoration:none}
.tp-header-shell button{font:inherit;color:inherit;cursor:pointer}
.tp-header-shell>.tp-global-header{height:calc(47 * var(--u));margin:0 calc(12 * var(--u));padding:0 calc(16 * var(--u));display:flex;align-items:center;justify-content:flex-start;gap:calc(10 * var(--u));border-bottom:calc(1.1 * var(--u)) dotted #777;background-color:var(--paper);position:sticky;top:0;z-index:100}
.admin-bar .tp-header-shell>.tp-global-header{top:32px}
.tp-header-shell .brand{display:block;flex:0 0 auto;width:calc(166 * var(--u));line-height:1}
.tp-header-shell .brand-logo{display:block;height:calc(39 * var(--u));max-height:78px;width:auto;max-width:100%;object-fit:contain;object-position:left center;transform:none!important}
.tp-header-shell .header-nav{position:static;display:flex;margin-left:auto;padding:0;border:0;background:transparent;box-shadow:none;align-items:center;font-size:calc(7.1 * var(--u));font-weight:700;white-space:nowrap}
.tp-header-shell .header-nav>.tp-menu{display:flex;align-items:center;gap:calc(14 * var(--u));margin:0;padding:0;list-style:none}
.tp-header-shell .header-nav>.tp-menu li{position:relative;margin:0;padding:0;list-style:none}
.tp-header-shell .header-nav>.tp-menu a{display:block;padding:0}
.tp-header-shell .header-nav a:hover{color:var(--blue)}
.tp-header-shell .pill{border:calc(1 * var(--u)) solid #151515;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:calc(15 * var(--u));padding:0;font-weight:800;line-height:1;white-space:nowrap;transition:background .2s,transform .2s}
.tp-header-shell .yellow{background:var(--yellow);border-width:calc(1.4 * var(--u))}
.tp-header-shell .header-contact{font-size:calc(7.5 * var(--u));width:calc(76 * var(--u));height:calc(22 * var(--u));margin-left:calc(7 * var(--u));box-shadow:calc(1 * var(--u)) calc(1 * var(--u)) 0 #222}
.tp-header-shell .pill:hover{background:#ffe763;transform:translateY(-2px);box-shadow:2px 3px 0 #111}
.tp-header-shell .menu-toggle{display:none;background:#111;color:#fff;border:0;border-radius:999px;height:calc(24 * var(--u));width:calc(57 * var(--u));padding:0;justify-content:center;align-items:center;gap:calc(6 * var(--u));font-size:calc(7 * var(--u));font-weight:600}
.tp-header-shell .menu-lines{display:block;width:calc(9 * var(--u));height:calc(8 * var(--u));border-block:1px solid currentColor;position:relative}
.tp-header-shell .menu-lines:after{content:'';height:1px;width:100%;position:absolute;left:0;top:50%;background:currentColor}
.tp-header-shell .mega-menu{display:none!important}

@media(min-width:601px){
 body .site-shell>.tp-global-header>.menu-toggle{display:none!important}
 body .site-shell>.mega-menu{display:none!important}
}

@media(max-width:600px){
 body.tp-is-lower{--font:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif!important;font-family:var(--font)!important}
 body.tp-is-lower button,body.tp-is-lower input,body.tp-is-lower textarea,body.tp-is-lower select{font-family:inherit}
 .site-shell>.tp-global-header .brand{width:155px}
 .tp-header-shell{--u:1px;width:100%}
 .tp-header-shell>.tp-global-header{height:65px;margin:0 14px;padding:0;gap:10px;position:relative;top:auto}
 .admin-bar .tp-header-shell>.tp-global-header{top:auto}
 .tp-header-shell .brand{width:155px}
 .tp-header-shell .brand-logo{width:100%;height:auto;max-height:none}
 .tp-header-shell .header-nav{display:none}
 .tp-header-shell .header-contact{margin-left:auto;width:83px;height:28px;font-size:9px}
 .tp-header-shell .menu-toggle{display:flex;width:55px;height:28px;font-size:8px;flex:0 0 auto}
 .tp-header-shell .menu-lines{width:10px;height:9px}
 .tp-header-shell .mega-menu{position:absolute;z-index:99;top:65px;left:14px;right:14px;padding:22px;display:block!important;background:var(--yellow);border:1.2px solid #111;border-radius:0 0 20px 20px;box-shadow:0 12px 20px #0002;opacity:0;visibility:hidden;transform:translateY(-10px) scale(.92);transform-origin:top center;clip-path:inset(0 0 100% 0 round 0 0 20px 20px);transition:opacity .28s ease,transform .38s cubic-bezier(.2,.9,.2,1.15),clip-path .38s ease,visibility 0s linear .38s}
 .tp-header-shell .mega-menu[hidden]{display:none!important}
 .tp-header-shell .mega-menu.is-open{opacity:1;visibility:visible;transform:translateY(0) scale(1);clip-path:inset(0 0 0 0 round 0 0 20px 20px);transition-delay:0s}
 .tp-header-shell .mega-menu nav{display:flex;position:static;flex-direction:column;align-items:stretch;gap:0;padding:0;background:transparent;border:0;box-shadow:none}
 .tp-header-shell .mega-menu .tp-mobile-menu{display:contents;list-style:none;margin:0;padding:0}
 .tp-header-shell .mega-menu .tp-mobile-menu li{list-style:none;margin:0;padding:0}
 .tp-header-shell .mega-menu nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 0;border-bottom:1px solid #1115;font-size:15px;font-weight:800;text-align:left}
}

@media(max-width:380px){.tp-header-shell>.tp-global-header{margin-inline:10px;gap:7px}.tp-header-shell .brand{width:155px}.tp-header-shell .header-contact{width:78px}.tp-header-shell .menu-toggle{width:52px}}
