Production method for pyrazole-amide compound