/* Shared homepage footer. Rules stay scoped to preserve each page's content. */
.site-footer {
  box-sizing:border-box; width:100%; margin:0; padding:80px 40px 40px;
  background:#1d1b1a; color:#fff8ee; font-family:'Zen Kaku Gothic New','Zen Maru Gothic',system-ui,sans-serif;
  font-size:14px; font-weight:500; line-height:1.8; text-align:left;
}
.site-footer *, .site-footer *::before, .site-footer *::after {box-sizing:border-box}
.site-footer .footer-grid {max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:50px;padding:0 0 50px;border-bottom:1px solid #fff8ee2e}
.site-footer .footer-grid > div {min-width:0}
.site-footer .footer-brand {display:block;margin:0 0 20px;width:fit-content}
.site-footer .footer-brand img {display:block;width:auto;height:64px;max-width:100%;filter:invert(1) brightness(1.05)}
.site-footer .footer-meta {margin:0;max-width:420px;font-size:14px;line-height:1.8;color:#d9d0c8}
.site-footer .footer-col h3 {margin:0 0 16px;padding:0;border:0;font-family:'Zen Maru Gothic','Zen Kaku Gothic New',sans-serif;font-size:20px;font-weight:900;line-height:1.6;color:#ffc93c}
.site-footer .footer-col h4 {margin:26px 0 12px;padding:0;border:0;font-family:'Zen Maru Gothic','Zen Kaku Gothic New',sans-serif;font-size:15px;font-weight:700;line-height:1.6;color:#ffc93c}
.site-footer .footer-col ul {margin:0;padding:0;list-style:none}
.site-footer .footer-col li {margin:0 0 10px;padding:0;font-size:14px;line-height:1.8}
.site-footer .footer-col li::before {content:none}
.site-footer a {color:#fff8ee;text-decoration:none;text-underline-offset:4px;overflow-wrap:anywhere}
.site-footer a:hover {color:#ffc93c;text-decoration:underline}
.site-footer a:focus-visible,.site-footer button:focus-visible {outline:3px solid #ffc93c;outline-offset:4px}
.site-footer .footer-nav-kind {display:block;margin:2px 0 8px;color:#d9d0c8;font-size:11px;opacity:1}
.site-footer .footer-bottom {max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:20px 0 0;font-size:13px;color:#c4bcb5}
.site-footer .site-sns-share {color:#fff8ee;margin-top:18px}
.dark-language-backdrop .language-switch,.dark-language-backdrop .language-switch a {color:#fff8ee}
.dark-language-backdrop .language-switch a[aria-current] {color:#d9d0c8}
body[data-site-page="projects"] .project-list h2,body[data-site-page="projects"] main > section > h2 {font-family:var(--font-jp-round);font-weight:900;line-height:1.5}
body[data-site-page="projects"] .project-list p {font-size:15.5px}
@media(max-width:1100px) {.site-footer .footer-grid {gap:30px}}
@media(max-width:900px) {.site-footer .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-bottom {flex-direction:column;align-items:flex-start;gap:16px}}

/* Keep the compact footer aligned after removing in-page links. */
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:1fr 1fr}.site-footer .footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:640px){.site-footer .footer-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.site-footer{padding:56px 24px 32px}.site-footer .footer-grid{grid-template-columns:1fr;gap:32px;padding-bottom:32px}.site-footer .footer-brand img{height:56px}}
