:root{--color-bg: #05070d;--color-fg: #f3f5f9;--color-fg-dim: #aab2c5;--color-accent: #7fb2ff;--color-accent-warm: #ffbf80;--font-family: "游ゴシック体", "Yu Gothic", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;color-scheme:dark}*{margin:0;padding:0;box-sizing:border-box}html{background:var(--color-bg)}body{font-family:var(--font-family);color:var(--color-fg);background:var(--color-bg);overflow-x:hidden;min-height:100%}#webgl{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;display:block;z-index:0}#loading-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding-bottom:12vh;background:transparent;pointer-events:none;transition:opacity 1.2s ease}#loading-label{font-size:.75rem;letter-spacing:.25em;color:var(--color-fg-dim);font-variant-numeric:tabular-nums}#loading-screen.is-hidden{opacity:0;pointer-events:none}#static-fallback[hidden]{display:none}#static-fallback{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;background:radial-gradient(ellipse at 50% 20%,#1b2a4a,#05070d 55%,#000),linear-gradient(180deg,#05070d,#0a0f1e);display:flex;align-items:center;justify-content:center;text-align:center}.static-fallback__inner{padding:2rem}.static-fallback__eyebrow{letter-spacing:.3em;font-size:.75rem;color:var(--color-fg-dim);margin-bottom:1rem}.static-fallback__title{font-size:clamp(2.5rem,8vw,5rem);font-weight:700;margin-bottom:1rem;background:linear-gradient(120deg,#fff,#7fb2ff 60%,#ffbf80);-webkit-background-clip:text;background-clip:text;color:transparent}.static-fallback__lead{color:var(--color-fg-dim);font-size:1.1rem}#main{position:relative;z-index:1;height:500vh}.section{position:relative;display:flex;align-items:center;padding:8vh 6vw}#hero{height:20%}#about,#works{height:30%}#contact{height:20%}.eyebrow{letter-spacing:.35em;font-size:.7rem;color:var(--color-fg-dim);margin-bottom:1.2rem;text-transform:uppercase}.section-title{font-size:clamp(1.6rem,4vw,2.6rem);font-weight:700;line-height:1.5;letter-spacing:.02em;margin-bottom:1.5rem}[data-fade]{opacity:1}#hero{justify-content:flex-start}.hero__content{max-width:42rem}.hero__title{font-size:clamp(3rem,10vw,7rem);font-weight:700;letter-spacing:.04em;line-height:1.05;margin-bottom:1.2rem}.hero__subtitle{font-size:clamp(1rem,2vw,1.35rem);color:var(--color-fg-dim);margin-bottom:3rem}.hero__scroll-hint{font-size:.8rem;letter-spacing:.15em;color:var(--color-fg-dim);animation:hero-bounce 2.4s ease-in-out infinite}@keyframes hero-bounce{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(6px);opacity:1}}.about__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:4rem;max-width:72rem;width:100%}.about__text{color:var(--color-fg-dim);font-size:1.05rem;line-height:2;max-width:34rem}.skills{list-style:none;display:flex;flex-direction:column;gap:1.1rem}.skills__item{display:grid;grid-template-columns:6.5rem 1fr;align-items:center;gap:1rem}.skills__name{font-size:.9rem;color:var(--color-fg);letter-spacing:.03em}.skills__bar{position:relative;display:block;height:4px;border-radius:2px;background:#ffffff1f;overflow:hidden}.skills__bar i{position:absolute;top:0;right:0;bottom:0;left:0;width:var(--w, 0%);transform:scaleX(0);transform-origin:left center;border-radius:2px;background:linear-gradient(90deg,var(--color-accent),var(--color-accent-warm))}@media (max-width: 860px){.about__grid{grid-template-columns:1fr;gap:3rem}}#works{flex-direction:column;align-items:stretch;justify-content:flex-end;padding-bottom:8vh;gap:3rem}.works__head{max-width:40rem}.works__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(16rem,100%),1fr));gap:1.6rem;max-width:96rem}.work-card{display:block;color:inherit;text-decoration:none;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:.75rem;padding:1.4rem;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transform:translateY(28px);transition:border-color .3s ease,background .3s ease}.work-card:hover{border-color:#7fb2ff80;background:#7fb2ff0f}.work-card__role{font-size:.7rem;letter-spacing:.12em;color:var(--color-accent);margin-bottom:.5rem}.work-card__cta{display:inline-block;margin-top:1rem;font-size:.8rem;letter-spacing:.04em;color:var(--color-fg-dim);transition:color .3s ease}.work-card:hover .work-card__cta{color:var(--color-accent)}.work-card__media{display:block;position:relative;height:11rem;margin-bottom:1rem;border-radius:.5rem;overflow:hidden;background:#0a0f1e;border:1px solid rgba(255,255,255,.06)}.work-card__thumb{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:filter .5s ease,transform .5s ease}.work-card.is-locked .work-card__thumb{filter:blur(18px) saturate(.7) brightness(.6);transform:scale(1.15)}.work-card__lock{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:1.6rem;opacity:.85;pointer-events:none}.work-card:not(.is-locked) .work-card__lock{display:none}.work-card__title{font-size:1.1rem;font-weight:700;margin-bottom:.6rem}.work-card__desc{font-size:.85rem;line-height:1.75;color:var(--color-fg-dim)}.contact__content{max-width:34rem}.contact__text{color:var(--color-fg-dim);margin-bottom:1.2rem;line-height:1.8}.contact__mail{display:inline-block;color:var(--color-accent);font-size:1.05rem;text-decoration:none;border-bottom:1px solid rgba(127,178,255,.4);margin-bottom:1.6rem;padding-bottom:.2rem}.contact__mail:hover{border-color:var(--color-accent)}.contact__form{display:flex;flex-direction:column;gap:.8rem;margin-bottom:1.4rem}.contact__field{display:flex;flex-direction:column;gap:.4rem}.contact__field label{font-size:.75rem;letter-spacing:.1em;color:var(--color-fg-dim)}.contact__field input,.contact__field textarea{background:#ffffff0a;border:1px solid rgba(255,255,255,.14);border-radius:.4rem;padding:.55rem .9rem;color:var(--color-fg);font-family:inherit;font-size:.9rem;resize:vertical}.contact__field input:focus,.contact__field textarea:focus{outline:none;border-color:var(--color-accent)}.contact__submit{align-self:flex-start;padding:.75rem 2rem;border-radius:999px;border:1px solid var(--color-accent);background:transparent;color:var(--color-fg);font-family:inherit;font-size:.9rem;letter-spacing:.05em;cursor:pointer;transition:background .3s ease,color .3s ease}.contact__submit:hover{background:var(--color-accent);color:#06101f}.footer-note{font-size:.75rem;color:var(--color-fg-dim);opacity:.6}@media (max-width: 700px){#main{height:auto}.section,#hero,#about,#works,#contact{height:auto;min-height:100vh}}@media (prefers-reduced-motion: reduce){.hero__scroll-hint{animation:none}}body.reduced-motion #main{height:auto}body.reduced-motion .section,body.reduced-motion #hero,body.reduced-motion #about,body.reduced-motion #works,body.reduced-motion #contact{height:auto;min-height:auto;padding:10vh 6vw}body.reduced-motion [data-fade]{opacity:1!important;transform:none!important}body.reduced-motion .work-card{opacity:1;transform:none}body.reduced-motion .skills__bar i{transform:scaleX(1)}@media (max-width: 600px){.section{padding:6vh 6vw}}.gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:6vw}.gate[hidden]{display:none}.gate__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#03050cb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.gate__panel{position:relative;width:min(30rem,100%);padding:2.4rem 2.2rem;border-radius:1rem;background:linear-gradient(180deg,#0c1424,#070b16);border:1px solid rgba(127,178,255,.18);box-shadow:0 24px 60px #00000080;animation:gate-in .32s cubic-bezier(.16,1,.3,1)}@keyframes gate-in{0%{opacity:0;transform:translateY(16px) scale(.98)}}.gate__panel.is-shake{animation:gate-shake .4s ease}@keyframes gate-shake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(3px)}}.gate__eyebrow{letter-spacing:.3em;font-size:.7rem;color:var(--color-accent);margin-bottom:.9rem}.gate__title{font-size:1.3rem;font-weight:700;margin-bottom:.7rem}.gate__desc{font-size:.9rem;line-height:1.7;color:var(--color-fg-dim);margin-bottom:1.6rem}.gate__input{width:100%;padding:.85rem 1rem;font-size:1rem;font-family:inherit;color:var(--color-fg);background:#ffffff0a;border:1px solid rgba(255,255,255,.14);border-radius:.55rem;outline:none;transition:border-color .25s ease}.gate__input:focus{border-color:var(--color-accent)}.gate__error{margin-top:.7rem;font-size:.82rem;color:#ff9a9a}.gate__error[hidden]{display:none}.gate__actions{display:flex;justify-content:flex-end;gap:.8rem;margin-top:1.6rem}.gate__cancel,.gate__submit{padding:.6rem 1.4rem;font-size:.9rem;font-family:inherit;border-radius:999px;cursor:pointer;transition:background .25s ease,border-color .25s ease,color .25s ease}.gate__cancel{color:var(--color-fg-dim);background:transparent;border:1px solid rgba(255,255,255,.16)}.gate__cancel:hover{color:var(--color-fg);border-color:#ffffff52}.gate__submit{color:#061020;background:var(--color-accent);border:1px solid var(--color-accent);font-weight:700}.gate__submit:hover{background:#a6c9ff}body.gate-open{overflow:hidden}@media (prefers-reduced-motion: reduce){.gate__panel,.gate__panel.is-shake{animation:none}}
