Provided is a compound which has a selective inhibitory activity on PDE2A and is useful as a prophylactic/therapeutic agent for schizophrenia, Alzheimer’s disease or the like. A compound represented by formula (1) [wherein each symbol is as defined in the description] or a salt thereof.