In WHERE HAVE ALL THE PEOPLE GONE? (1974), a father takes his family to explore a cave. Meanwhile, outside, a strange solar flare makes everybody exposed violently ill before evaporating.
Now they must contend with a world without people, making a trek to find the children’s mother.
QuietEarth.us has a good review here with a link to the film in its entirety on YouTube.