The present invention provides a heterocyclic compound represented by the general formula (1): The compound of the present invention has a wide treatment spectrum for mental disorders including central nervous system disorders, no side effects and high safety.