An object of the present invention is to provide a novel method for producing a compound, a salt thereof, or a hydrate of the compound or the salt, which is an FXa inhibitor. The object can be attained by a production method in which a production method via a compound represented by formula (1-1), etc., from a compound represented by the following formula (1-x), etc., is used for a method for producing a compound represented by the following formula (X), etc. [wherein X represents a halogen atom or the like, and R1 represents an optionally substituted phenyl group].