Provided is a compound that is useful for the prevention of and as a remedy for diseases attributable to abnormal plasma uric acid levels. The invention pertains to a fused-ring derivative represented by formula (I), and to prodrugs or salts thereof, which has xanthine oxidase inhibitory activity and is thus useful for the prevention of and as a remedy for diseases attributable to abnormal plasma uric acid levels. In formula (I), X