To provide a fused heterocyclic compound represented by the following formula (1) having an excellent control effect on pests, wherein A 1 represents NR 5 or the like, A 2 and A 3 represent an nitrogen atom or the like, R 1 represents a C1 to C6 chain hydrocarbon group or the like, R 2 represents a C1 to C6 chain hydrocarbon group or the like, R 3 and R 4 are the same or different and represent a C1 to C6 chain hydrocarbon group or the like, n represents 0, 1 or 2, and G represents any of the following formulae, wherein Q represents an oxygen atom or the like, p represents 0 or 1, and R 10 to R 24 are the same or different and represent a C1 to C6 chain hydrocarbon group or the like.