A heterocyclic compound or a salt thereof represented by the formula (1):where R2 represents a hydrogen atom or a lower alkyl group; A represents alower alkylene group or lower alkenylene group; and R1 represents an aromaticgroup or a heterocyclic group. The compound of the present invention has awide treatment spectrum for mental disorders including central nervous systemdisorders, no side effects and high safety.