The purpose of the present invention is to provide an aromatic ring compound exhibiting GPR40 agonist activity. The compound represented by formula (I) (refer to the description for information pertaining to each symbol in the formula) or a salt of said compound exhibits GPR40 agonist activity and is useful as an agent for the prevention or treatment of diabetes.Le but de la présente invention est de proposer un composé à noyaux aromatiques présentant une activité dagoniste de GPR40. Le composé représenté par la formule (I) (se référer à la description pour les informations concernant chaque symbole dans la formule) ou un sel dudit composé présente une activité dagoniste de GPR40 et est utile comme un agent pour la prévention ou le traitement du diabète.GPR40アゴニスト活性を有する芳香環化合物を提供すること。式(I): [式中の各記号は、明細書に記載の通りである。]で表される化合物またはその塩は、GPR40アゴニスト活性を有し、糖尿病などの予防・治療剤として有用である。