@import "https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap";:root{--bg:#fff;--text:#111;--muted:#707070;--line:#0000007a;--max-width:1100px}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg)}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Zen Maru Gothic,Hiragino Kaku Gothic ProN,Yu Gothic,YuGothic,system-ui,sans-serif;font-size:17px;line-height:1.75}a{color:inherit;text-underline-offset:.16em;text-decoration:underline;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}.page-shell{width:90%;max-width:var(--max-width);margin:0 auto}.site-header{align-items:center;gap:2rem;min-height:112px;padding:10px 0;display:flex}.brand{white-space:nowrap;align-items:center;gap:.65rem;margin-right:auto;font-size:1.55rem;font-weight:700;text-decoration:none;display:inline-flex}.brand-icon{object-fit:cover;border-radius:50%;flex:none;width:64px;height:64px;display:block}.brand:hover .brand-icon{transition:transform 1.5s;transform:rotate(360deg)}.primary-nav,.language-nav{align-items:center;display:flex}.primary-nav{gap:1.15rem}.language-nav{gap:.35rem}.primary-nav a,.language-nav a{font-size:1.05rem;text-decoration:none}.primary-nav a:hover,.language-nav a:hover,.language-nav a[aria-current=page]{text-underline-offset:.22em;text-decoration:underline}main{padding:3.5rem 0 2rem}.hero{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(3rem,8vw,7rem);margin:1rem 0 7rem;display:grid}.profile-photo{aspect-ratio:4/5;justify-self:end;width:min(100%,420px)}.profile-photo picture,.profile-photo img{width:100%;height:100%;display:block}.profile-photo img{object-fit:cover;border-radius:20px}.hero-profile{max-width:470px}.hero h1,.lab-intro h1{letter-spacing:-.02em;margin:0 0 1rem;font-size:clamp(2.4rem,5vw,3.45rem);font-weight:500;line-height:1.14}.hero-copy{max-width:38rem;margin:0;font-size:1.25rem;line-height:1.8}.hero-links{flex-wrap:wrap;align-items:center;gap:.65rem;margin-top:1.4rem;display:flex}.hero-links a{border-radius:6px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;text-decoration:none;display:inline-flex}.hero-links a:hover{opacity:.65}.hero-links a:focus-visible{outline-offset:2px;outline:2px solid}.hero-links img{width:24px;height:24px;display:block}.hero-links a[href*=linkedin\.com] img{object-fit:contain}.hero-links .atcoder-link img{object-fit:contain;width:32px;height:32px}.content{max-width:880px}.content h2{border-bottom:2px solid var(--line);width:min(240px,100%);margin:5.5rem 0 2rem;padding-bottom:.15rem;font-size:1.65rem;font-weight:500;line-height:1.25}.content h3{margin:2.3rem 0 .4rem;font-size:1.2rem;font-weight:500}.project-list{gap:1.25rem;width:min(100%,780px);display:grid}.project-card{border:2px solid var(--text);background:var(--bg);border-radius:10px;padding:1.2rem 1.5rem}.project-card h3{margin:0 0 .65rem;line-height:1.5}.project-card p{margin:.45rem 0 0;line-height:1.65}.project-card .project-tech{color:var(--muted);margin-top:1rem;font-size:.95rem}.project-card .project-links{margin-top:.7rem;line-height:1.35}.content p{max-width:46rem;margin:.45rem 0 1rem}.content h3+p{margin-top:.25rem}.content code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}#background~h3{margin-left:1rem;padding-left:2.1rem;position:relative}#background~h3:before{content:"";border:2px solid var(--text);background:var(--bg);z-index:1;border-radius:50%;width:11px;height:11px;position:absolute;top:.65rem;left:.05rem}#background~h3:after{content:"";border-left:2px solid var(--text);height:5.5rem;position:absolute;top:1.35rem;left:.39rem}#background~h3:last-of-type:after{display:none}#background~h3+p{margin-left:3.1rem}.lab-intro{max-width:42rem;min-height:55vh}.eyebrow{color:var(--muted);margin-bottom:1rem;font-size:.95rem}.site-footer{color:var(--muted);justify-content:space-between;gap:1rem;padding:5rem 0 2.5rem;display:flex}@media (width<=760px){.page-shell{width:calc(100% - 2rem)}.site-header{flex-wrap:wrap;align-items:flex-start;gap:.6rem 1rem;min-height:auto;padding:14px 0 20px}.brand{width:100%;font-size:1.35rem}.brand-icon{width:50px;height:50px}.primary-nav{flex-wrap:wrap;gap:.55rem 1rem}.language-nav{margin-left:auto}.primary-nav a,.language-nav a{font-size:.95rem}main{padding-top:1.25rem}.hero{grid-template-columns:1fr;gap:1.75rem;margin-top:0;margin-bottom:4.5rem}.profile-photo{aspect-ratio:16/10;justify-self:stretch;width:100%;max-width:none}.profile-photo img{object-position:center 58%;border-radius:16px}.hero h1,.lab-intro h1{font-size:2.2rem}.hero-copy{font-size:1.08rem}.content h2{margin-top:4.25rem}.project-list{gap:1rem}.project-card{padding:1rem 1.15rem}#background~h3{margin-left:0}#background~h3+p{margin-left:2.1rem}.site-footer{padding-top:4rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.brand:hover .brand-icon{transition:none;transform:none}}
