Provided are a compound represented by formula (I) or (II), a salt thereof, or solvates of the compound and salt, having an analgesic effect and high metabolic stability. Further provided are the following: an analgesic obtained from the compound, a salt thereof, or solvates of the compound and salt a pharmaceutical composition containing the compound, a salt thereof, or solvates of the compound and salt an analgesic treatment method using the compound, a salt thereof, or solvates of the compound and salt and a use of the compound, a salt thereof, or solvates of the compound and salt, in the production of an analgesic composition.