A method for producing a compound represented by formula (C), the method comprising a step for converting a compound represented by formula (B) (wherein R1 represents an amino group protected by a protecting group) by intramolecular cyclization into a compound represented by formula (C) (wherein R1 is defined as above).