The semiconductor device according to claim 1, wherein projections and depressions are provided at the peripheral portions of said base material, which are exposed from said solder resist film, and said sealing body is formed in areas including the projection and depressions.