A compound represented by formula (1) and an N-oxide thereof have excellent pest control effect. (In the formula, Het to which R1-S(O)n is bonded represents a five-membered aromatic heterocyclic ring represented by formula H1, H2, H3 or H4 (wherein Y1 represents an oxygen atom or the like Y2 represents an oxygen atom or the like G1, G2 and G3 may be the same or different and each represents a nitrogen atom or the like R1 represents a C1-C6 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) A1 represents an oxygen atom or the like A2 represents a nitrogen atom or the like A3 represents a nitrogen atom or the like and R2 and R3 may be the same or different and each represents a C1-C6 chain hydrocarbon group which may have one or more atoms or groups selected from the group X, or the like.)