A semiconductor device, includes a semiconductor substrate having a main
surface where a light receiving element area is formed; a projection part
provided in the periphery of the light receiving element area on the main
surface of the semiconductor substrate; an adhesive material layer
provided in the external periphery of the projection part on the main
surface of the semiconductor substrate; and a transparent plate supported
by the projection part and fixed above the light receiving element area
by the adhesive material layer.