PROBLEM TO BE SOLVED: To provide a pharmaceutical composition having a P2X7 receptor inhibitory action and useful for the treatment of a pain or the like.SOLUTION: The present invention provides a pharmaceutical composition containing a compound represented by formula (I) (Z1 is C(R4) or the like; R4 is H or the like; Z2 is C(R5a)(R5a') or the like; a dashed line is the existence or absence of a bond; if the dashed line denotes the existence of a bond, R5a' is absent; R5a and R5a' independently represent H or the like; ring Q is a substitutable, 5-membered, non-heteroaromatic ring or the like; Y1 is O or the like; R2a is formula:-(C(R2a')(R2b'))n-R1; R2b is H or the like; R2a' and R2b' independently represent H or the like; R1 is a substitutable, aromatic carbocyclic group or the like; X is N(R7a) or the like; R7a is H or the like; R3 is a substitutable, aromatic carbocyclic group or the like; n is an integer of 0-4; m is an integer of 0-4).SELECTED DRAWING: NoneCOPYRIGHT: (C)2020,JPO&INPIT【課題】P2X7受容体阻害作用を有し、疼痛等の治療に有用な医薬組成物の提供。【解決手段】式(I)で表される化合物を含有する医薬組成物。(Z1はC(R4)等;R4はH等;Z2はC(R5a)(R5a’)等;破線は、結合の存在又は不存在を示し;破線が結合の存在を表すとき、R5a’は存在せず;R5a及びR5a’は各々独立にH等;環Qは置換可5員非芳香族複素環等;Y1はO等;R2aは式:-(C(R2a’)(R2b’))n-R1;R2bはH等;R2a’及びR2b’は各々独立にH等;R1は置換可芳香族炭素環式基等;XはN(R7a)等;R7aはH等;R3は置換可芳香族炭素環式基等;nは0~4の整数;mは0~4の整数。)【選択図】なし