The present invention provides an novel compound having P2X3 and/or P2X2/3 receptor antagonism, for example, the compound represented by the formula (I) or the pharmaceutically acceptable salts thereof.[wherein, all Ra and Rb and Rd and Re are hydrogen and the like; Rc is hydrogen and the like; R4a and R4b are hydrogen and the like; n is 1 and the like; R2 is cycloalkyl and the like; -X- and -L- are -O-, -S- and the like; D ring is a benzene ring and the like; carbon atoms a and b are carbon atom; B ring is an aromatic carbocycle and the like; s and s’ are 0 and the like; R9 and R9’ are halogen atom and the like].本發明係提供新穎之具有P2X3及/或P2X2/3受體拮抗作用的化合物,例如式(I)所示化合物或其製藥上可容許的鹽:[式中,Ra與Rb及Rd與Re皆為氫原子等;Rc為氫等;R4a及R4b為氫等;n為1等;R2為環烷基等;-X-及-L-為-O-、-S-等;環D為苯環等;碳原子a及b為碳原子;環B為芳香族碳環等;s及s’為0等;R9及R9’為鹵素等]。