A compound represented by general formula [1] wherein X represents N or the like, Y represents CH or the like; RA represents a cycloalkyl group which may be substituted or the like, R1 represents an alkyl group or the like, R2 represents an alkyl group which may be substituted or the like, R3 represents a hydrogen atom or an alkyl group, or a pharmaceutically acceptable salt thereof has an inhibitory activity on aldosterone synthetase, and is useful as a prophylactic and/or therapeutic agent for various diseases or symptoms associated with aldosterone.