A compound represented by the formula (I)wherein ring A is a 5- to 8-membered ring optionally having further substituent(s) other than R6, R7 and R8,R1 is an electron-withdrawing group,R2, R3, R4 and R5 are each independently a hydrogen atom, a halogen atom, a group bonded via a carbon atom, a group bonded via a nitrogen atom, a group bonded via an oxygen atom or a group bonded via a sulfur atom,R6 is a halogen atom, a group bonded via a carbon atom, a group bonded via a nitrogen atom, a group bonded via an oxygen atom or a group bonded via a sulfur atom,R7 is a cyano group, a nitro group, an acyl group optionally having substituent(s), an optionally esterified or amidated carboxyl group or a hydrocarbon group optionally having substituent(s), or R6 and R7 optionally form, together with the carbon atom bonded thereto, a ring optionally having substituent(s), andR8 is a hydrogen atom, a halogen atom, a group bonded via a carbon atom, a group bonded via a nitrogen atom, a group bonded via an oxygen atom or a group bonded via a sulfur atom, or a salt thereof has a superior action as an androgen receptor modulator, and is useful for the prophylaxis or treatment of hypogonadism, male climacteric disorder, frailty, cachexia, osteoporosis and the like.