/*TOP*/
:root {
            --bg: #ffffff;
            --text: #0a0a0a;
            --accent: #00d2ff;
            --side-padding: 10vw;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none;
        }

#works {
    overflow: hidden;
}

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
            overflow-x: hidden;
            line-height: 1.5;
        }

        #webgl-canvas {
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
        }

        #cursor {
            position: fixed;
            width: 8px;
            height: 8px;
            background: #000;
            border-radius: 50%;
            pointer-events: none;
            z-index: 10000;
            transform: translate(-50%, -50%);
        }

        #cursor-follower {
            position: fixed;
            width: 40px;
            height: 40px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
        }

        nav {
            position: fixed;
            top: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 30px var(--side-padding);
            z-index: 1000;
        }

        .logo {
            font-weight: 900;
            font-size: 1.2rem;
            letter-spacing: -0.05em;
        }

        .dock-content {
            display: flex;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 50px;
            padding: 10px 30px;
            gap: 30px;
        }

        .dock-btn {
            text-decoration: none;
            color: #000;
            font-size: 0.8rem;
            font-weight: 900;
            transition: color 0.3s ease;
        }

        #hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 var(--side-padding);
        }

        .hero-title {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .line-top {
            font-size: clamp(0.8rem, 1.5vw, 1.2rem);
            font-weight: 500;
            letter-spacing: 0.6em;
            color: var(--accent);
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }

        .line-main {
            font-size: clamp(3.5rem, 10vw, 9rem);
            font-weight: 900;
            line-height: 0.85;
            margin-bottom: 0.2em;
        }

        .text-zenpan {
            background: #000;
            color: #fff;
            padding: 0 0.2em;
        }

        #profile {
            position: relative;
            padding: 20vh var(--side-padding);
        }

        .profile-bg-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 22vw;
            font-weight: 900;
            color: rgba(0, 210, 255, 0.05);
            z-index: -1;
            white-space: nowrap;
            pointer-events: none;
        }

        .profile-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 8vw;
            align-items: center;
        }

        .profile-visual-wrapper {
            position: relative;
            width: 100%;
            height: 80vh;
            overflow: hidden;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
            background: #f7f7f7;
        }

        .profile-image-container {
            width: 100%;
            height: 150%;
            position: absolute;
            top: 0;
            left: 0;
            will-change: transform;
        }

        .parallax-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(1) contrast(1.1);
            transition: filter 1.2s ease;
        }

        .profile-visual-wrapper:hover .parallax-img {
            filter: grayscale(0);
        }

        .experience-badge {
            position: absolute;
            bottom: 50px;
            right: -20px;
            background: var(--accent);
            color: white;
            padding: 20px;
            font-weight: 900;
            transform: rotate(-90deg);
            z-index: 10;
        }

        .profile-name {
            margin-bottom: 2rem;
        }

        .name-row {
            display: block;
            font-size: clamp(3rem, 7vw, 6rem);
            font-weight: 900;
            line-height: 0.9;
        }

        .profile-bio {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 3rem;
        }

        .career-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .career-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            text-decoration: none;
            color: inherit;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            transition: padding-left 0.4s ease;
        }

        .career-item:hover {
            padding-left: 15px;
            color: var(--accent);
        }

        .career-year {
            opacity: 0.4;
            font-size: 0.9rem;
            font-weight: 700;
        }

        .career-role {
            font-weight: 900;
            font-size: 1.2rem;
        }

        #works {
            padding: 0;
        }

        .horizontal-wrapper {
            display: flex;
            align-items: center;
            height: 100vh;
            width: fit-content;
            padding-left: var(--side-padding);
        }

        .work-item {
            position: relative;
            width: 70vw;
            height: 60vh;
            margin-right: 15vw;
            background: #f0f0f0;
            overflow: hidden;
        }

        .work-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(1);
            transition: 1.2s ease;
        }

        .work-item:hover img {
            filter: grayscale(0);
            transform: scale(1.05);
        }

        .work-info {
            position: absolute;
            bottom: -10px;
            left: 0;
            font-size: 6vw;
            font-weight: 900;
            -webkit-text-stroke: 1px #000;
            color: transparent;
        }

        #contact {
            background: #fafafa;
            padding: 15vh var(--side-padding) 5vh;
            position: relative;
        }

        .contact-link {
            font-size: clamp(2rem, 8vw, 6rem);
            font-weight: 900;
            text-decoration: none;
            color: #000;
            transition: color 0.3s;
        }

        .contact-link:hover {
            color: var(--accent);
        }

        @media (max-width: 968px) {
            .profile-grid {
                grid-template-columns: 1fr;
            }

            .profile-visual-wrapper {
                height: 50vh;
            }

            .dock-content {
                position: fixed;
                bottom: 20px;
                left: 50%;
                transform: translateX(-50%);
                width: 90%;
                justify-content: space-around;
            }
        }

        #loader {
            position: fixed;
            inset: 0;
            background: #fff;
            z-index: 20000;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 900;
            font-size: 1.5rem;
        }