:root {
    --bg: #0f172a;
    --card: #111827;
    --line: #334155;
    --text: #e5e7eb;
    --accent: #22d3ee;
    --muted: #94a3b8;
}

.timeline-wrap {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.timeline-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--text);
}

.timeline-subtitle {
    color: var(--muted);
    margin: 0 0 28px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 24px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.node {
    position: relative;
    padding: 14px 16px 14px 56px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(148, 163, 184, .15);
    border-radius: 12px;
    color: var(--text);
}

.node::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.node h3 {
    margin: 2px 0 6px;
    font-size: 18px;
}

.node p {
    margin: 0;
    color: #e8eef7cc;
}

.career-under {
    color: #e8eef7e3;
    font-size: 15px;
}

/* ===== スマホ対応レスポンシブ ===== */
@media (max-width: 768px) {
    .timeline {
        margin: 0 auto;
        max-width: 500px;
    }

    .timeline::before {
        left: 15px;
        transform: translateX(-50%);
    }

    .node {
        padding: 12px 14px;
        text-align: center;
    }

    .node::before {
        left: 15px;
        transform: translateX(-50%);
        top: 18px;
    }

    .node h3 {
        font-size: 16px;
    }

    .career-under {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .timeline {
        max-width: 100%;
    }

    .timeline::before {
        left: 15px;
        transform: translateX(-50%);
    }

    .node {
        padding: 10px 12px;
    }

    .node::before {
        left: 15px;
        transform: translateX(-50%);
        top: 18px;
    }

    .node h3 {
        font-size: 15px;
    }

    .career-under {
        font-size: 12px;
    }
}