To provide a pyrazole derivative having a superior fluorinated substituent, which is useful for pharmaceutical products or agricultural chemicals having pharmacological activities, and a method for its production. A compound represented by the following formula (A), wherein Rf is a C2-19 perfluoroalkyl group having ethereal oxygen atom(s) inserted between carbon-carbon atoms of the group, and the total number of carbon atoms and oxygen atoms in Rf being from 3 to 20, one of Q1 and Q2 is a hydrogen atom, and the other is a phenyl group, or a phenyl group in which at least one hydrogen atom in the phenyl group is each independently substituted by a halogen atom, and one of A1 and A2 is a nitrogen atom, and the other is a nitrogen atom to which R1 is bonded.