Disclosed is a novel compound that acts as an antagonist for P2X3 and/or P2X2/3 receptors. Also disclosed is a pharmaceutical composition that exhibits analgesic activity or acts to ameliorate urinary problems, said composition containing: a compound represented by formula (I), a pharmacologically permitted salt thereof, or a solvate of either. In the formula, Rh and Rj together form a bond; Ra and Rb, and/or Rd and Re, together form an oxo or the like; Rc represents hydrogen, a substituted or unsubstituted alkyl, or the like; -Rf represents -(CR4aR4b)n-R2; R4a and R4b represent hydrogen, a substituted or unsubstituted alkyl, or the like; R2 represents a substituted or unsubstituted cycloalkyl or the like; n represents an integer from 1 to 4; -Rg represents -X-R3; -X- represents -O-, -S-, or the like; and R3 represents a substituted or unsubstituted cycloalkyl or the like.L'invention concerne un nouveau composé présentant une activité antagoniste de récepteur P2X3 et/ou P2X2/3. Plus précisément, l'invention concerne une composition pharmaceutique présentant une activité analgésique ou améliorant les troubles urinaires et comprenant un composé représenté par la formule (I), ou un sel pharmaceutiquement acceptable de celui-ci, ou un solvate de ceux-ci. (Dans la formule, Rh et Rj forment ensemble une liaison; Ra et Rb et/ou Rd et Re représentent ensemble un oxo, ou similaire; Rc représente un hydrogène, un alkyle substitué ou non substitué, ou similaire; -Rf représente -(CR4aR4b)n-R2; R4a et R4b représentent un hydrogène, un alkyle substitué ou non substitué, ou similaire; R2 représente un cycloalkyle substitué ou non substitué, ou similaire; n représente un entier de 1 à 4; -Rg représente -X-R3; -X- représente -O-, -S-, ou similaire; et R3 représente un cycloalkyle substitué ou non substitué, ou similaire)新規なP2X3および/またはP2X2/3受容体拮抗作用を有する化合物を提供する。 式(I): 化1 [式中、 RhおよびRjは、一緒になって結合を形成し;RaとRbおよび/またはRdとReは、一緒になって、オキソ等;Rcは、水素、置換もしくは非置換のアルキル等; 等;-Rfは、-(CR4aR4b)n-R2;R4aおよびR4bは、