A pharmaceutical composition comprising as an active ingredient, an aromatic heterocyclic compound represented by the formula (I):[wherein Q1 represents CR2 (wherein R2 represents a hydrogen atom or the like) or the like; Q2 represents CR3 (wherein R3 represents a hydrogen atom or the like) or the like; Q3 represents a nitrogen atom or the like; R1 represents -C(=O)OR16 (wherein R16 represents a hydrogen atom or the like) or the like; R5 represents a hydrogen atom or the like; R6 represents optionally substituted cycloalkyl or the like; X and Y may be the same or different and each represent CH in which H may be substituted with a substituent or the like; and Z represents a nitrogen atom or the like] or the like is provided.