The present invention provides a nitrogen-containing heterocyclic compound represented by formula (I):
wherein W represents a nitrogen atom or -CH-;
X represents -C(=O)- or -CHR4- (wherein R4 represents a hydrogen atom, or the like);
R1 represents a group represented by the following formula:
[wherein Q1 represents a nitrogen atom or -CR8- (wherein R8 represents a hydrogen atom, substituted or unsubstituted lower alkyl, or the like), Q2 represents -NR15- (wherein R15 represents a hydrogen atom, or the like) and R5 and R6 may be the same or different and each represents a hydrogen atom, substituted or unsubstituted lower alkyl, or the like]; and
R2 and R3 may be the same or different and each represents a hydrogen atom, halogen, substituted or unsubstituted lower alkyl, or the like } or a pharmaceutically acceptable salt thereof, and the like.