A fused heterocyclic compound represented by formula (1) has an excellent pest control effect. (In the formula, R1 represents a C1-C6 chain hydrocarbon group which may have one or more atoms or groups that are selected from group X, or the like; R2, R3, R4 and R5 may be the same or different, and each represents a C1-C6 chain hydrocarbon group which may have one or more atoms or groups that are selected from group X, or the like; R6 represents a C1-C6 chain hydrocarbon group which may have one or more atoms or groups that are selected from group W, or the like; G1, G2, G3, G4 and G5 may be the same or different, and each represents a nitrogen atom or the like; Q represents an oxygen atom or a sulfur atom; and n represents 0, 1 or 2.)