Provided are novel compounds that bind to FKBP12 or pharmaceuticallyacceptablesalts thereof, as well as new therapeutics useful in the prevention ortreatment of alopeciawhich comprise those compounds or pharmaceutically acceptable salts thereofSpecifically,compounds represented by formula (1)(see formula 1)[where R1 represents either the following formula (2) or (3)](see formula 2) or (see formula 3)or pharmaceutically acceptable salts thereof are provided.