A compound represented by general formula [1] wherein X represents N or the like, Y represents CH or the like; R A represents a cycloalkyl group which may be substituted or the like, R 1 represents an alkyl group or the like, R 2 represents an alkyl group which may be substituted or the like, R 3 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.