PROBLEM TO BE SOLVED: To provide heteroarylpiperidine derivatives used as crop protective compositions, particularly fungicides.SOLUTION: The present invention provides a compound represented by formula (XXVII), formula (XXX) or formula (XIII) or a salt thereof (R: H, cyano, hydroxyl, C-C-alkyl or the like. R, R: H. X: carbon. p=0. G: 1,3-thiazole. Q: 1,2-oxazole. R: substituted phenyl. L: direct bond).SELECTED DRAWING: None【課題】作物保護組成物、特に、殺菌剤として、使用されるヘテロアリールピペリジン誘導体の提供。【解決手段】式(XXVII)、式(XXX)又は式(XIII)で表される化合物又はその塩。(RB1:H、シアノ、ヒドロキシル、C1-C3-アルキルなど。RB2、R2:H。X:炭素。p=0。G:1,3-チアゾール。Q:1,2-オキサゾール。R1:置換フェニル。L2:直接結合)【選択図】なし