Provided are a novel imidazole compound which has a high stability of the compound itself; and a novel imidazole compound which is useful as a membrane-constituting lipid of liposomes. Disclosed are a compound represented by the following General Formula (1), and a liposome containing the same compound.In the formula, Z is an imidazolyl group which may be substituted, L1 is an alkylene group having 1 to 4 carbon atoms which may be substituted, X is an oxygen atom or a nitrogen-containing substituent, n is an integer of 2 to 4, m is an integer of 1 to 20, L2 is a divalent linking group having 1 to 6 carbon atoms, Y is a nitrogen-containing group, R1 and R2 are a hydrogen group or an alkyl group having 1 to 6 carbon atoms, R3 is a hydrogen atom or a substituent, and R4 and R5 are an alkyl group having 1 to 40 carbon atoms.