A method of producing a compound shown by formula or formula, or a salt thereof: (wherein R x is carbocyclyl optionally substituted by substituent E, heterocyclyl optionally substituted by substituent E, carbocyclyl lower alkyl optionally substituted by substituent E, or heterocyclyl lower alkyl optionally substituted by subtituent E, and substituent E is as defined below; Substituent E: halogen, cyano, hydroxyl, carboxy, formyl, amino, oxo, nitro, lower alkyl, halogeno lower alkyl, lower alkyloxy, carbocyclyl optionally substituted by substituent F, heterocyclyl optionally substituted by substituent F, carbocyclyl lower alkyloxy optionally substituted by substituent F, heterocyclyl lower alkyloxy optionally substituted by substituent F, carbocyclyl lower alkylthio optionally substituted by substituent F, heterocyclyl lower alkylthio substituted by substituent F, carbocyclyl lower alkylamino optionally substituted by substituent F, heterocyclyl lower alkylamino optionally substituted by substituent F, carbocyclyloxy optionally substituted by substituent F, heterocyclyloxy optionally substituted by substituent F, carbocyclylcarbonyl optionally substituted by substituent F, heterocyclylcarbonyl optionally substituted by substituent F, carbocyclylaminocarbonyl optionally substituted by substituent F, heterocyclylaminocarbonyl optionally substituted by substituent F, halogeno lower alkyloxy, lower alkyloxy lower alkyl, lower alkyloxy lower alkyloxy, lower alkylcarbonyl, lower alkyloxycarbonyl, lower alkyloxy carbonylamino, lower alkylamino, lower alkylcarbonylamino, lower alkylaminocarbonyl, lower alkylsulfonyl, and lower alkylsulfornylamino; Substituent F: halogeno, hydroxyl, carboxy, amino, oxo, nitro, lower alkyl, halogeno lower alkyl, lower alkyloxy, and amino protecting group) comprising steps of: (Step C") reacting a compound shown by formula: with a compound shown by formula, or a salt thereof: H 2 N-R 6d (wherein R 6d is lower alkyl optionally substituted by substituent E, or lower alkenyl optionally substituted by substituent E, and substituent E is as defined above) to obtain a compound shown by formula, or a salt thereof: (wherein R 6d is as defined above), and (Step D") reacting a compound shown by formula with -3-amino-burane-1-ol or -2-amino-propan-1-ol to obtain a compound shown by formula or formula, or a salt thereof:, and (Step F) reacting a compound shown by formula or formula with a halogenating agent to obtain a compound shown by formula or formula, or a salt thereof: wherein Hal is a halogen atom. (Step C") reacting a compound shown by formula: with a compound shown by formula, or a salt thereof: H 2 N-R 6d (wherein R 6d is lower alkyl optionally substituted by substituent E, or lower alkenyl optionally substituted by substituent E, and substituent E is as defined above) to obtain a compound shown by formula, or a salt thereof: (wherein R 6d is as defined above), and (Step D") reacting a compound shown by formula with -3-amino-burane-1-ol or -2-amino-propan-1-ol to obtain a compound shown by formula or formula, or a salt thereof:, and (Step F) reacting a compound shown by formula or formula with a halogenating agent to obtain a compound shown by formula or formula, or a salt thereof: wherein Hal is a halogen atom.