Pension upon death

Out of curiosity, what would happen to whatever i contributed to the 'japan pension service' if I die before 65? I'm single, no dependents. All my family members live overseas. (If it's relevant, I've been a正社員 for more than a decade)

If I want the money to go to an overseas dependent how would I declare that? Or is that even possible?