A fluorine-containing compound represented by the following general formula or the following general formula: Rf 1 -(CR 1 =CR 2 -X-Rf 2) n -Y-Z Rf 1 -(X-CR 1 =CR 2 -Rf 2) n -Y-Z wherein in the formula or in the formula, Rf 1 represents a perfluoroalkyl group having 1 to 6 carbon atoms, with a CF 3 terminal, Rf 2 represents a perfluoroalkylene group having 1 to 6 carbon atoms, R 1 and R 2 each independently represent a hydrogen atom or a fluorine atom, n represents an integer of 1 to 5, X is absent in the formula or in the formula, or represents CH 2, Y is represented by the following general formula: (CH 2) l -Q-(CH 2) m wherein in the formula, the sum of 1 and m is an integer of 2 to 6, when 1 and/or m represents 2 or more, a -CH=CH-structure is optionally included instead of -CH 2 CH 2 -; and Q is absent in the formula, or represents -OCONH-, -CONH-, -O-, -NH-, -CO-O-, -O-CO-, -NHCONH- or -C 6 H 4 -, and Z represents any structure of the following (i) to (iii): (i) a structure represented by the following general formula or the following general formula: -P(=O)(OM 1)(OM 2) -O-P(=O)(OM 1)(OM 2) wherein in the formula or in the formula, M 1 and M 2 each independently represent a hydrogen atom, an ammonium salt, an organic amine salt, or an alkyl group having 1 to 4 carbon atoms; (ii) a polymerizable group, wherein the polymerizable group is a vinyl group, an allyl group, a styryl group, a methacryloyl group or an acryloyl group; or (iii) SiL k L' (3-k) wherein L represents Cl or OR 5 wherein R 5 represents an alkyl group having 1 to 4 carbon atoms or a hydroxyl group, L' represents a hydrocarbon group having 1 to 6 carbon atoms, k represents an integer of 1 to 3, and, when a plurality of L and L' groups are present, the L and L' groups may be different from or the same as each other. Rf 1 represents a perfluoroalkyl group having 1 to 6 carbon atoms, with a CF 3 terminal, Rf 2 represents a perfluoroalkylene group having 1 to 6 carbon atoms, R 1 and R 2 each independently represent a hydrogen atom or a fluorine atom, n represents an integer of 1 to 5, X is absent in the formula or in the formula, or represents CH 2, Y is represented by the following general formula: (CH 2) l -Q-(CH 2) m wherein in the formula, the sum of 1 and m is an integer of 2 to 6, when 1 and/or m represents 2 or more, a -CH=CH-structure is optionally included instead of -CH 2 CH 2 -; and Q is absent in the formula, or represents -OCONH-, -CONH-, -O-, -NH-, -CO-O-, -O-CO-, -NHCONH- or -C 6 H 4 -, and Z represents any structure of the following (i) to (iii): (i) a structure represented by the following general formula or the following general formula: -P(=O)(OM 1)(OM 2) -O-P(=O)(OM 1)(OM 2) wherein in the formula or in the formula, M 1 and M 2 each independently represent a hydrogen atom, an ammonium salt, an organic amine salt, or an alkyl group having 1 to 4 carbon atoms; (ii) a polymerizable group, wherein the polymerizable group is a vinyl group, an allyl group, a styryl group, a methacryloyl group or an acryloyl group; or (iii) SiL k L' (3-k) wherein L represents Cl or OR 5 wherein R 5 represents an alkyl group having 1 to 4 carbon atoms or a hydroxyl group, L' represents a hydrocarbon group having 1 to 6 carbon atoms, k represents an integer of 1 to 3, and, when a plurality of L and L' groups are present, the L and L' groups may be different from or the same as each other. wherein in the formula, the sum of 1 and m is an integer of 2 to 6, when 1 and/or m represents 2 or more, a -CH=CH-structure is optionally included instead of -CH 2 CH 2 -; and Q is absent in the formula, or represents -OCONH-, -CONH-, -O-, -NH-, -CO-O-, -O-CO-, -NHCONH- or -C 6 H 4 -, and Z represents any structure of the following (i) to (iii): (i) a structure represented by the following general formula or the following general formula: -P(=O)(OM 1)(OM 2) -O-P(=O)(OM 1)(OM 2) wherein in the formula or in the formula, M 1 and M 2 each independently represent a hydrogen atom, an ammonium salt, an organic amine salt, or an alkyl group having 1 to 4 carbon atoms; (ii) a polymerizable group, wherein the polymerizable group is a vinyl group, an allyl group, a styryl group, a methacryloyl group or an acryloyl group; or (iii) SiL k L' (3-k) wherein L represents Cl or OR 5 wherein R 5 represents an alkyl group having 1 to 4 carbon atoms or a hydroxyl group, L' represents a hydrocarbon group having 1 to 6 carbon atoms, k represents an integer of 1 to 3, and, when a plurality of L and L' groups are present, the L and L' groups may be different from or the same as each other. (i) a structure represented by the following general formula or the following general formula: -P(=O)(OM 1)(OM 2) -O-P(=O)(OM 1)(OM 2) wherein in the formula or in the formula, M 1 and M 2 each independently represent a hydrogen atom, an ammonium salt, an organic amine salt, or an alkyl group having 1 to 4 carbon atoms; wherein in the formula or in the formula, M 1 and M 2 each independently represent a hydrogen atom, an ammonium salt, an organic amine salt, or an alkyl group having 1 to 4 carbon atoms; (ii) a polymerizable group, wherein the polymerizable group is a vinyl group, an allyl group, a styryl group, a methacryloyl group or an acryloyl group; or (iii) SiL k L' (3-k) wherein L represents Cl or OR 5 wherein R 5 represents an alkyl group having 1 to 4 carbon atoms or a hydroxyl group, L' represents a hydrocarbon group having 1 to 6 carbon atoms, k represents an integer of 1 to 3, and, when a plurality of L and L' groups are present, the L and L' groups may be different from or the same as each other.