By providing a pixel electrode layer in a center of a liquid crystal layer sandwiched between a first common electrode layer and a second common electrode layer, a structure in which the following two optical elements are stacked can be obtained: a first liquid crystal element including the first common electrode layer, the liquid crystal layer, and the pixel electrode layer; and a second liquid crystal element including the pixel electrode layer, the liquid crystal layer, and the second common electrode layer.