For example, the acid positioned on the end of the polyamide resin (A) may be capped as an amide using an amine derivative containing an aliphatic group or a cycliccompound group having at least one alkenyl group or alkynyl group.The photosensitive compound (B) included in the positive-type photosensitive resin composition according to the present invention is a compound having a 1,2-benzoquinoned