A compound represented by Formula (I), or a salt or N-oxide compound thereof is provided. In Formula (I), A 1 to A 4 each independently represents a carbon atom or nitrogen atom, X 1 represents a C1-6 alkyl group or the like, n represents the number of X 1 groups, R 1 represents a C1-6 alkylthio group or the like, and D is a group represented by Formula (D-1) or (D-2), and in Formula (D-1) and (D-2), * represents a binding position, Q represents a C1-6 alkyl group or the like, B 1 and B 2 each independently represents a nitrogen atom or the like, R 2 represents a C1-6 alkyl group or the like that is bound to one of the nitrogen atoms in Formula (D-1), B 3 and B 4 each independently represents a nitrogen atom or carbon atom, R 4 represents a C1-6 alkyl group or the like, and m represents the number of R 4 groups.