<p>To provide an aromatic ring compound which has glucagon antagonist activity and is useful for the prophylaxis or treatment of diabetes and the like. A compound represented by formula (I) (wherein the symbols are as defined in the description) or a salt thereof has excellent glucagon antagonist activity and is useful as a glucagon antagonist, a sugar production inhibitor or a prophylactic/therapeutic agent for diabetes and the like.</p>