The present invention provides a heterocyclic compound representedby the general formula (1):(see formula 1)The compound of the present invention has a wide treatment spectrum for mentaldisorders including central nervous system disorders, no side effects and highsafety.