PROBLEM TO BE SOLVED: To provide a novel nitrogen-containing heterocyclic compound and an agricultural and horticultural bactericidal agent having the compound.SOLUTION: A nitrogen-containing heterocyclic compound represented by the formula (III) or a salt thereof is provided. [R is an aryl group, R4 is an alkyl group or the like, R5 is an alkyl group or the like, m1 is the number of R4 and an integer of 0 to 6, B is C or N, X is O, S, unsubstituted or substituted C, or unsubstituted or substituted N, B is C or N, and n1 is the number of R5 and an integer of 0 to 4.]COPYRIGHT: (C)2014,JPO&INPIT【課題】新規な含窒素ヘテロ環化合物、及び該化合物を含有する農園芸用殺菌剤の提供。【解決手段】式(III)などで表される含窒素ヘテロ環化合物又はその塩。〔Rはアリール基、R4はアルキル基等、R5はアルキル基など、m1はR4の個数で、0~6の整数、BはC又はN、XはO、S、無置換の若しくは置換基を有するC、または無置換の若しくは置換基を有するN、B’はC又はN、n1はR5の個数で、0~4の整数〕【選択図】なし