A compound represented by formula (I) [wherein: A 1 represents a nitrogen atom or a CR 4 ; R 4 represents a hydrogen atom or the like; R 1 represents a C2-C10 chain hydrocarbon group having one or more halogen atoms or the like; R 2 represents a C1-C6 alkyl group optionally having one or more halogen atoms or the like; q represents 0, 1, 2, or 3; R 3 represents a C1-C6 chain hydrocarbon group optionally having one or more substituents selected from Group B or the like; p represents 0, 1, or 2; R 6 represents a C1-C6 alkyl group optionally having one or more halogen atoms or the like; and n represents 0, 1, or 2] or an N-oxide compound thereof has excellent control efficacies against harmful arthropods.