The present invention relates to a compound represented by the following general formula (II), wherein, in the formula, R1a to R6a represent hydrogen atom, an alkyl group having 1 to 8 carbon atoms, and the like, Xa represents C or N, Ya represents N or C(=O), provided that when Xa is C, Ya represents N, and when Xa is N, Ya represents C(=O), the double line consisting of the solid line and the broken line represents a single bond or double bond, Aa represents benzene ring, pyridine ring, and the like, Da represents tetrazole ring, imidazole ring, and the like, Ea represents-(CR9a R10a)p -Ta -, and Ga represents benzene ring, pyridine ring, and the like, which has a P2X4 receptor antagonistic activity.