Provided is a compound having a melanin-concentrating hormone receptor antagonistic action and is useful as an agent for the prophylaxis or treatment of obesity and the like. A compound represented by the formula (I):
wherein each symbol is as defined in the specification,
or a salt thereof.
                            提供了一种具有
黑色素浓聚激素受体拮抗作用的化合物,可用作预防或治疗肥胖等疾病的药物。该化合物由以下式子表示:(I)式中,每个符号如规范中所定义,或其盐。