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, L 1 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, L 2 is a divalent linking group having 1 to 6 carbon atoms, Y is a nitrogen-containing group, R 1 and R 2 are a hydrogen group or an alkyl group having 1 to 6 carbon atoms, R 3 is a hydrogen atom or a substituent, and R 4 and R 5 are an alkyl group having 1 to 40 carbon atoms.