Provided is an ORL-1 receptor agonist having improved bioavailability based on superior metabolic stability and strong and high selectivity, as compared to conventional compounds. A compound represented by the formula (I)wherein each symbol is as defined in the claims.