A compound represented by the formula (I) wherein R1 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom; R2 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom; R3 is an electron-withdrawing group; R4 is a hydrogen atom, a halogen at0m, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom; R5 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom; R6 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom; R7 is an alkyl group optionally having substituent(s) or an aralkyl group optionally having substituent(s); R8 is a hydrogen atom, an alkyl group optionally having substituent(s), an alkenyl group optionally having substituent(s) or a cycloalkyl group optionally having substituent(s); R9 is a group via an oxygen atom; and Ring A is a 5- or 6-membered ring optionally further having substituent(s) (in this case, Ring A may be a 5- or 6-membered ring forming a spiro bond with C3-6 cycloalkane), or a salt thereof has a superior androgen receptor modulating action.