A film-forming composition comprising (a) a block copolymer that
comprises: at least a polymer block [A] containing a specific
fluorine-containing alicyclic structure; at least a polymer block [B]
containing a specific siloxane structure; and a repeating unit (H) having
at least one reactive group capable of being involved in crosslinking
reaction, the repeating unit (H) being in at least one of the polymer
block [A] and the polymer block [B], and (b) at least one of a curing
agent and a curing accelerator.