Disclosed is a compound represented by formula (1): wherein A1 represents N(O)p or CH; A2 represents N(O)q; R1 represents a trifluoromethyl group, a halogen atom or a hydrogen atom; R2 represents a C1-C3 perfluoroalkyl group, p represents 0 or 1; q represents 0 or 1; n represents 0, 1 or 2; and m represents 0, 1 or 2, having an excellent controlling effect on pests.