A compound represented by formula (1) and an N-oxide thereof have excellent pest control effect. (In the formula, Het to which R 1 -S(O) n is bonded represents a five-membered aromatic heterocyclic ring represented by formula H1, H2, H3 or H4 (wherein Y 1 represents an oxygen atom or the like; Y 2 represents an oxygen atom or the like; G 1 , G 2 and G 3 may be the same or different and each represents a nitrogen atom or the like; R 1 represents a C 1 -C 6 alkyl group which may have one or more atoms or groups selected from the group X, or the like; and n represents 0, 1 or 2); A 1 represents an oxygen atom or the like; A 2 represents a nitrogen atom or the like; A 3 represents a nitrogen atom or the like; and R 2 and R 3 may be the same or different and each represents a C 1 -C 6 chain hydrocarbon group which may have one or more atoms or groups selected from the group X, or the like.)