11 42a5a3a645a612a2b2c2d7a7a39a10aProvided is the compound represented by formula (I) (in the formula Y is O or the like; Zis C(R) or N; Z is C(R) or the like; Z is C(R) or the like; R R and R are each independently hydrogen atoms or the like; R is a substituted or unsubstituted aromatic carbocyclic group or the like; R R R and R are each independently hydrogen atoms or the like; X is N(R) or the like; R is a hydrogen atom or the like; R is chemical formula 3 or the like; ring B is a 6 membered aromatic carbocycle or the like; R and R are each independently a halogen or the like; n is an integer from 1 to 5; m is an integer from 0 to 4; and p1 is an integer from 0 to 3) or a pharmaceutically acceptable salt thereof.