@charset 'utf-8';

:root {
    --bg: #050509;
    --bg-alt: #0b0b12;
    --accent: #ff6bcb;
    --accent-soft: rgba(255, 107, 203, 0.18);
    --text: #f5f5f7;
    --muted: #9a9aa5;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.6);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.displayNone {
    position: absolute;
    color: #050509;
}

html {
    background: radial-gradient(circle at top left, #151520 0, #050509 55%);
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top left, #151520 0, #050509 55%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

body::before {
    content: "";
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #14141f;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    bottom: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050509;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(18px);
}

.logo-mark {
    width: 18px;
    height: 18px;
    border-radius: 8px;
    background: conic-gradient(from 180deg,
            #ff6bcb,
            #ffd66b,
            #6b9bff,
            #ff6bcb);
    box-shadow: 0 0 18px rgba(255, 107, 203, 0.7);
}

.logo-text {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

nav {
    display: flex;
    gap: 18px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

nav a {
    position: relative;
    padding-bottom: 4px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff6bcb, #ffd66b);
    transition: width 0.25s ease;
}

nav a:hover::after {
    width: 100%;
}

/*name*/

.name {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}

.hero-name {
    width: calc(100% - 381px);
    text-align: center;
    font-size: clamp(90px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-block: 100px;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.hero-photo-chip {
    width: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 9, 0.85);
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 20px rgba(255, 107, 203, 0.4),
        0 12px 40px rgba(0, 0, 0, 0.6);
}

.hero-photo-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .name {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .hero-photo-chip {
        width: 95vw;
        border-radius: 14px;
    }

    .hero-name {
        position: absolute;
        width: 100%;
        height: 100%;
        font-size: clamp(73px, 10vw, 48px);
        text-align: center;
        z-index: 999;
        writing-mode: vertical-lr;
        background: linear-gradient(#ff6bcb, #ffd66b);
        -webkit-background-clip: text;
        color: transparent;
        padding-left: 5px;
    }
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(10, 10, 18, 0.9);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.9);
}

.hero-title {
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: 0.02em;
}

.hero-title span {
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--muted);
    font-size: 14px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    color: #050509;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(10, 10, 18, 0.9);
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text);
}

.btn-ghost span {
    font-size: 16px;
}

.hero-meta {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-meta-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 10px;
    color: #6b6b76;
}

.hero-meta-value {
    font-size: 12px;
}

/* Hero visual */

.hero-visual {
    position: relative;
    height: 260px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top, #1a1a26 0, #050509 60%);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.hero-orbit {
    position: absolute;
    inset: 18px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: radial-gradient(circle at top left, #1f1f2b 0, #050509 70%);
    overflow: hidden;
}

.hero-orbit::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    top: -40px;
    right: -40px;
    filter: blur(2px);
}

.hero-orbit-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px);
    background-size: 26px 26px;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.hero-pill {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 9, 0.9);
    color: var(--muted);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
}

.hero-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    box-shadow: 0 0 12px rgba(255, 107, 203, 0.8);
}

.hero-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 190px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 5, 9, 0.92);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
}

.hero-card-title {
    font-size: 12px;
    color: var(--text);
}

.hero-card-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero-card-bar-fill {
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff6bcb, #ffd66b);
}

.hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.hero-card-tag {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 10px;
}

.hero-orbit-ring {
    position: absolute;
    inset: 40px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    opacity: 0.7;
    animation: orbit 18s linear infinite;
}

.hero-orbit-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    box-shadow: 0 0 16px rgba(255, 107, 203, 0.9);
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Sections */

section {
    margin-bottom: 56px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title {
    font-size: 16px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-sub {
    font-size: 12px;
    color: #6b6b76;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.02),
            rgba(5, 5, 9, 0.96));
    padding: 16px 16px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.card-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.card-title {
    font-size: 14px;
}

.card-body {
    font-size: 12px;
    color: var(--muted);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: var(--muted);
    background: rgba(10, 10, 18, 0.9);
}

/* Works */

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.work-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: #101018;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
}

.work-thumb {
    height: 140px;
    background: radial-gradient(circle at top left, #ff6bcb 0, #050509 60%);
    position: relative;
    overflow: hidden;
}

.work-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px);
    background-size: 22px 22px;
    mix-blend-mode: soft-light;
    opacity: 0.7;
}

.work-meta {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.work-title {
    font-size: 13px;
}

.work-tag {
    font-size: 11px;
    color: var(--muted);
}

/* Career Timeline */

.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 40px;
    gap: 80px;
    /* ← 余白を広く */
}

.timeline-line {
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(255, 107, 203, 0.6),
            rgba(107, 155, 255, 0.4),
            rgba(255, 214, 107, 0.6));
    opacity: 0.5;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    box-shadow: 0 0 18px rgba(255, 107, 203, 0.8);
}

.timeline-card {
    margin-left: 30px;
    padding: 14px 18px;
    margin-block: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 9, 0.85);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-year {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.timeline-title {
    font-size: 16px;
    color: var(--text);
}

.timeline-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 640px) {
    .timeline {
        padding-left: 28px;
        gap: 60px;
    }

    .timeline-card {
        margin-left: 32px;
        padding: 20px 22px;
    }
}

/* Qualifications */

.qual-card {
    padding: 32px 36px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 9, 0.85);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.qual-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.qual-item {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.qual-item:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

/* Responsive */
@media (max-width: 640px) {
    .qual-card {
        padding: 24px 26px;
    }
}

/* Contact */

.contact-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top left, #1a1a26 0, #050509 70%);
    padding: 18px 18px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.contact-text {
    max-width: 420px;
    font-size: 13px;
    color: var(--muted);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-link {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 5, 9, 0.9);
    transition: background 0.18s ease, color 0.18s ease,
        border-color 0.18s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

footer {
    margin-top: 40px;
    font-size: 11px;
    color: #6b6b76;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 840px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    nav {
        font-size: 11px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-row,
    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual {
        order: 2;
    }

    .hero-copy {
        order: 1;
    }
}

@media (max-width: 640px) {
    main {
        padding-inline: 16px;
    }

    .card-row,
    .works-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-meta {
        flex-direction: column;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}