/* =========================================
   Base
========================================= */

:root {
    --bg: #0b0c0e;
    --surface: #111317;
    --surface-light: #181b20;

    --text: #f2f2f2;
    --text-secondary: #92969f;
    --text-muted: #555a63;

    --border: #272b31;

    --accent: #ffffff;

    --max-width: 1280px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        "Noto Sans JP",
        sans-serif;

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


.site {
    width: min(100%, var(--max-width));

    min-height: 100vh;

    margin: 0 auto;

    padding:
        0 48px;
}


/* =========================================
   Header
========================================= */

.header {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.logo-icon {
    width: 30px;
    height: 30px;

    object-fit: cover;

    display: block;

    border: 1px solid var(--text);
}


.logo-mark {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1px solid var(--text);

    font-size: 12px;
}


.social-links {
    display: flex;
    gap: 28px;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.social-links a {
    transition:
        color 0.2s ease;
}


.social-links a:hover {
    color: var(--text);
}


/* =========================================
   Hero
========================================= */

.hero {
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 64px 0;

    border-bottom: 1px solid var(--border);
}


.hero-text {
    max-width: 800px;
}


.eyebrow {
    margin: 0 0 24px;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.2em;
}


.hero h1 {
    margin: 0;

    font-size: clamp(48px, 7vw, 88px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.05em;
}


.hero-description {
    margin: 32px 0 0;

    color: var(--text-secondary);

    font-size: 14px;
}


.hero-decoration {
    width: 120px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    color: var(--text-muted);

    font-size: 10px;
    letter-spacing: 0.15em;

    text-align: right;
}


/* =========================================
   Content Navigation
========================================= */

.content-nav {
    display: flex;

    border-bottom: 1px solid var(--border);
}


.nav-button {
    position: relative;

    padding: 22px 30px;

    border: none;
    border-right: 1px solid var(--border);

    background: transparent;

    color: var(--text-muted);

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.nav-button:first-child {
    border-left: 1px solid var(--border);
}


.nav-button span {
    margin-right: 10px;

    color: var(--text-muted);

    font-size: 9px;
}


.nav-button:hover {
    color: var(--text);
    background: var(--surface);
}


.nav-button.active {
    color: var(--text);

    background: var(--surface);
}


.nav-button.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: var(--text);
}


/* =========================================
   Content
========================================= */

.content {
    min-height: 500px;
}


.content-panel {
    display: none;

    padding: 56px 0 72px;
}


.content-panel.active {
    display: block;
}


/* =========================================
   Section Heading
========================================= */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 36px;
}


.section-number {
    margin: 0 0 8px;

    color: var(--text-muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.section-heading h2 {
    margin: 0;

    font-size: 32px;

    line-height: 1;

    letter-spacing: -0.03em;
}


.section-description {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;
}


/* =========================================
   Works Grid
========================================= */

.works-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.work-card {
    min-width: 0;
}


.work-image {
    position: relative;

    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border: 1px solid var(--border);

    background: var(--surface);

    transition:
        border-color 0.2s ease;
}


.work-image:hover {
    border-color: #555a63;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.image-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: var(--text-muted);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.work-number {
    position: absolute;

    top: 14px;
    right: 14px;

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 0.12em;
}


.work-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding-top: 18px;
}


.work-info h3 {
    margin: 0 0 8px;

    font-size: 15px;
    font-weight: 600;
}


.work-info p {
    max-width: 220px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 11px;
}


.work-link {
    flex-shrink: 0;

    align-self: flex-end;

    color: var(--text-secondary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.1em;

    transition:
        color 0.2s ease;
}


.work-link:hover {
    color: var(--text);
}


/* =========================================
   About
========================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    gap: 80px;

    padding: 20px 0 70px;
}


.about-text {
    max-width: 620px;
}


.about-lead {
    margin: 0 0 28px;

    font-size: 28px;
    font-weight: 500;

    line-height: 1.3;

    letter-spacing: -0.02em;
}


.about-text > p:not(.about-lead) {
    margin: 0 0 18px;

    color: var(--text-secondary);

    font-size: 13px;
}


.about-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 40px;
}


.detail-block h3 {
    margin: 0 0 18px;

    color: var(--text-muted);

    font-size: 10px;

    letter-spacing: 0.16em;
}


.detail-block ul {
    padding: 0;
    margin: 0;

    list-style: none;
}


.detail-block li {
    padding: 7px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 12px;
}


.link-list li a {
    transition:
        color 0.2s ease;
}


.link-list li a:hover {
    color: var(--text);
}


/* =========================================
   Contact
========================================= */

.contact {
    padding: 50px 0;

    border-top: 1px solid var(--border);
}


.contact h2 {
    margin: 0 0 18px;

    font-size: clamp(32px, 5vw, 56px);

    line-height: 1;

    letter-spacing: -0.04em;
}


.contact-link {
    color: var(--text-secondary);

    font-size: 13px;

    border-bottom: 1px solid var(--text-muted);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


.contact-link:hover {
    color: var(--text);
    border-color: var(--text);
}


/* =========================================
   Footer
========================================= */

.footer {
    display: flex;
    justify-content: space-between;

    padding: 24px 0;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 0.12em;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {

    .site {
        padding: 0 28px;
    }


    .hero {
        min-height: 280px;

        padding: 50px 0;
    }


    .hero-decoration {
        display: none;
    }


    .works-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 600px) {

    .site {
        padding: 0 20px;
    }


    .header {
        height: 72px;
    }


    .logo-name {
        display: none;
    }


    .social-links {
        gap: 16px;

        font-size: 9px;
    }


    .hero {
        min-height: auto;

        padding: 60px 0;
    }


    .hero h1 {
        font-size: 48px;
    }


    .hero-description {
        font-size: 12px;
    }


    .content-nav {
        width: 100%;
    }


    .nav-button {
        flex: 1;

        padding:
            18px 8px;

        font-size: 9px;
    }


    .nav-button span {
        display: none;
    }


    .content-panel {
        padding:
            40px 0 50px;
    }


    .section-heading {
        display: block;

        margin-bottom: 28px;
    }


    .section-description {
        margin-top: 12px;
    }


    .works-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .work-info {
        display: block;
    }


    .work-link {
        display: inline-block;

        margin-top: 14px;
    }


    .about-details {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .about-lead {
        font-size: 24px;
    }


    .footer {
        display: block;

        line-height: 2;
    }

    

}