PROBLEM TO BE SOLVED: To provide a GPR40 activator comprising a compound having a novel GPR40 agonistic action or a salt thereof or a solvate thereof as an active ingredient, particularly an insulin secretagogue, diabetes, obesity, etc. . In the formula, f is 0 to 2; g is 1 to 4; j is 0 to 3; k is 0 to 2; n is 0 to 2; 4; h is 0-3; q1 is 0-3; q2 is 0 or 1; r1 is 0-2 (where q1 + q2 + r1 is 0-5); J1a is -CR11a-, a nitrogen atom; J2 is -CR12aR12b- -NR12c-; T is -CH2-, an oxygen atom, -S (O) i- (i is an integer of 0 to 2) or -NR7-; X is an oxygen atom, sulfur atom, -NR7-; Ring A '' 'Is a benzene ring, a pyridine ring; ring B' is a benzene ring, a pyridine ring, a pyrimidine ring; R1 to R14 represent specific groups), or a salt thereof or a solvate thereof. [Selection figure] None【課題】新規なGPR40アゴニスト作用を有する化合物またはその塩またはそれらの溶媒和物等を有効成分とするGPR40活性化剤、とりわけインスリン分泌促進剤、糖尿病、肥満等の予防及び/または治療剤の提供。【解決手段】式(III)【化1】(式中、fは0~2;gは1~4;jは0~3;kは0~2;nは0~2;pは0~4;hは0~3;q1は0~3;q2は0または1;r1は0~2(但し、q1+q2+r1は0~5);J1aは-CR11a-、窒素原子;J2は-CR12aR12b-、-NR12c-;Tは-CH2-、酸素原子、-S(O)i-(iは0~2の整数)または―NR7―;Xは酸素原子、硫黄原子、-NR7-;環A'''はベンゼン環、ピリジン環;環B’は、ベンゼン環、ピリジン環、ピリミジン環;R1~R14は特定の基を示す)で表される化合物、またはその塩またはそれらの溶媒和物。【選択図】なし