The present invention relates to: a compound which has URAT1 inhibitory activity; and a URAT1 inhibitor, a blood uric acid level reducing agent and a pharmaceutical composition, each of which contains the compound. The present invention more specifically relates to a compound represented by formula (I). (In the formula, R1 represents -Q1-A1 or the like; R2 represents a hydrogen atom, a halogen atom, a lower alkyl group or the like; each of W1, W2, W3 and W4 independently represents a nitrogen atom, an optionally substituted methine group or the like; each of X and Y represents a single bond, an oxygen atom or the like; and Z represents a hydroxyl group, COOR3 or the like.)