The present invention provides a compound or a pharmaceutically acceptable salt thereof having an excellent hypoglycemic activity and a protective effect for β -cells or the pancreas, and a pharmaceutical composition having an excellent therapeutic and/or preventive effect for type 1 diabetes and type 2 diabetes, which cause a high blood-sugar level owing to blood-sugar metabolic abnormality.Provided is the compound represented by the following formula (I) or the pharmaceutically acceptable salt thereof:提供具有優異降血糖作用、β細胞或胰臟之保護作用的化合物或其藥學容許鹽,及對由於糖代謝異常而發生血糖上升之1型糖尿病、2型糖尿病等具有優異治療效果及/或預防效果之醫藥組成物。如通式(I)之化合物或其藥學容許鹽: