1. A solid-state image-capturing device, comprising: a pixel array unit having a plurality of pixels arranged in a two-dimensional array, the plurality of pixels including a phase difference pixel and an image-capturing pixel; and a layer between a light shielding layer and a micro lens formed in the image-capturing pixel, wherein the layer between the light shielding layer and the micro lens formed in the image-capturing pixel has a higher refraction index than a refraction index of a layer formed in the phase difference pixel.