/* Shared header and footer for the homepage and works pages. */
.site-unified .topnav, .site-unified .topnav.fixed {
 position:fixed!important; top:0; left:0; display:flex; align-items:center;
 box-sizing:border-box; width:100%; min-height:78px; padding:0 clamp(20px,5vw,80px);
 background:rgba(14,27,39,.94); border-bottom:1px solid #ffffff18; backdrop-filter:blur(16px);
 font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.85;
}
.site-unified .topnav a { box-sizing:border-box; float:none; padding:26px 18px; color:#dfe8ed; font-size:13px; letter-spacing:.08em; font-weight:500; transition:color .2s; }
.site-unified .topnav .home { margin-right:auto; padding:20px 18px 20px 0; color:white; background:transparent; font-size:23px; letter-spacing:.13em; font-weight:800; }
.site-unified .topnav .site-brand .brand-name { display:inline; }
.site-unified .topnav a:hover { color:#67d8d5; background:transparent; }
.site-unified .topnav a:focus-visible { outline:2px solid #67d8d5; outline-offset:3px; }
.site-unified .topnav .contact { padding:8px 22px; margin-left:12px; border:1px solid #ffffff45; }
.site-unified .topnav .icon { display:none; }
.site-unified #wrap { position:relative; height:auto; }
.site-unified:not(.homepage) #Work { margin-top:108px; }
.site-unified #wrapper { padding-bottom:calc(76px + env(safe-area-inset-bottom, 0px)); }
.site-unified footer {
 position:fixed; top:auto; right:0; bottom:0; left:0; z-index:100;
 box-sizing:border-box; height:calc(52px + env(safe-area-inset-bottom, 0px));
 padding:16px 12px calc(16px + env(safe-area-inset-bottom, 0px));
 background:#263540; color:#f2f2f2; text-align:center;
 font-family:Arial,"Yu Gothic",Meiryo,sans-serif; font-size:11px; font-weight:400; line-height:20px; letter-spacing:0;
}
.site-unified #page_top { bottom:calc(64px + env(safe-area-inset-bottom, 0px)); }
@media(max-width:900px) {
 .site-unified .topnav { padding:0 24px; }
 .site-unified .topnav a { padding:25px 11px; font-size:12px; }
}
@media(max-width:760px) {
 .site-unified .topnav, .site-unified .topnav.fixed { display:block; min-height:64px; padding:0 20px; }
 .site-unified .topnav .home { display:inline-block; padding:12px 0; font-size:22px; }
 .site-unified .topnav a.icon { display:flex; align-items:center; justify-content:center; position:absolute; top:8px; right:12px; width:48px; height:48px; padding:0; font-size:22px; line-height:1; }
 .site-unified .topnav a:not(:first-child):not(.icon) { display:none; }
 .site-unified .topnav.responsive a:not(:first-child):not(.icon) { display:block; padding:14px 0; border:0; border-top:1px solid #ffffff20; margin:0; }
 .site-unified:not(.homepage) #Work { margin-top:88px; }
}
@media(prefers-reduced-motion:reduce) { .site-unified .topnav a { transition:none; } }

/* Recruitment pages share the same fixed header and footer. */
.site-unified.recruit-page #recruit-header { margin-top:108px; }
@media(max-width:760px) { .site-unified.recruit-page #recruit-header { margin-top:88px; } }
