The present invention provides: a compound represented by formula (I), which is highly effective in controlling harmful arthropods; an intermediate of the compound; and a production method for the compound. [In formula (I), A1 represents CH or a nitrogen atom; R1 represents a C1-C6 alkyl group optionally having one or more halogen atoms; R5 represents CF3, C2F5, or S(O)mCF3; Q represents NR2C(O)OR3 or N=CR4R6; R2 represents a hydrogen atom or the like; R3 represents a C1-C6 alkyl group optionally having one or more halogen atoms or the like; R4 represents a hydrogen atom or the like; R6 represents a phenyl group optionally having one or more substituents selected from group D, or the like; and n and m each independently are 0, 1, or 2. Group D: a group consisting of C1-C6 alkyl groups optionally having one or more halogen atoms and C1-C6 alkoxy groups optionally having one or more halogen atoms or the like]