The compound represented by the formula (I) or a pharmaceutically acceptable salt thereof has an inhibitory action on CRTH2, and is useful as a preventive or therapeutic agent for allergic diseases such as asthma, atopic dermatitis and allergic rhinitis. It is.式(I)で表される化合物又はその医薬上許容される塩は、CRTH2の阻害作用を有し、喘息、アトピー性皮膚炎、アレルギー性鼻炎等のアレルギー性疾患の予防剤又は治療剤として有用である。