The invention relates to compounds of formula (I) wherein A, R 1 and R 2 are as defined in the specification and claims. The compound of the formula (I) can be used as a medicament as an agonist of cannabinoid receptor 2.本発明は、式(I)(式中、A、R1及びR2は、本明細書及び特許請求の範囲に定義されるとおりである)の化合物に関する。式(I)の化合物は、カンナビノイド受容体2のアゴニストとしての医薬として使用することができる。