The provision of a compound having a melanin-concentrating hormone receptor antagonistic activity and useful as a preventive / therapeutic agent for obesity and the like. A compound represented by the formula (I): [wherein each symbol is as defined in the specification] or a salt thereof. [Selection figure] Noneメラニン凝集ホルモン受容体拮抗作用を有し、肥満症等の予防・治療剤として有用な化合物の提供。式(I):[式中、各記号は明細書中と同義である]で表される化合物またはその塩。【選択図】なし