A drug is provided that is useful as a preventive ortherapeutic for cancer as a result of having superior PI3Kinhibitory effects as well as superior stability in thebody and water-solubility.A compound, or pharmaceutically acceptable saltthereof, represented by formula (I):<;Se formula I>;[wherein, X represents a single bond, etc.; Y represents asingle bond, etc. (provided that X and Y are notsimultaneously single bonds); Z represents a hydrogen atom,etc.; m represents an integer of 1 or 2; and R1 representsa cyclic substituent].