The idea of the first embodiment is to reduce the distance between two electric circuits 20 to which pixel circuits 10 of neighboring columns (such as the e1-th column and the f1-th column) are connected. In other words, each of close pixel circuits 10 is connected to close electric circuits 20. More specifically, this will be described with focus on pixel circuits 10 of 4 columns (such as the e1-th to h1-th columns) of an identical row (such as -the a-th) and electric circuits 20 four rows (such as the p-th to s-th) of an identical column (such as a v column) connected to the pixel circuits 10 of four columns. The pixel circuits 10 of middle columns (the f1-th column, the g1-th column) of pixel circuits 10 of 4 columns are close to the pixel circuits 10 (column (the e1-th column, the h1-th column) at both ends than the pixel circuits 10 of the column (the e1-th column, the h1-th column) of the pixel circuits 10 for 4 columns. The electric circuits 20 of the middle rows (the q-th, the r-th) of the electric circuits 20 for 4 rows are closer to the electric circuits 20 of the rows on the both ends (the p-th, the s-th) than the electric circuits 20 of the rows (the p-th, the s-th) of the electric circuits 20 four 4 rows. Then pixel circuits 10 of the middle columns (the f1-th column, the g1-th column) of the pixel circuits 10 for 4 columns are connected to electric circuits 20 of the middle column (the q-th column, the r-th column) of the electric circuits 20 for 4 rows. Thus, the order of the pixel circuits 10 for 4 columns and the order of the electric circuits 20 for 4 rows connected to the pixel circuits 10 for 4 columns are similar or are matched. This can result in a smaller influence on a difference in property of signal processing performed by the electric circuits 20. With respect to electric circuits 20 for four rows, a property difference between an electric circuit 20 of middle rows and an electric circuit 20 of one end row and a property difference between electric circuits 20 of the middle rows and the electric circuit 20 of the other end are called a first property difference. A property difference between the electric circuit 20 of the one end row and the electric circuit 20 of the other end row is called a second property difference. The property differences may be caused by a wiring length, and the two property differences of the electric circuits 20 are proportional to the distances. Therefore, the first property difference is smaller than the second property difference. With respect to pixel circuits 10 for 4 columns, an output difference between the pixel circuits 10 of the middle columns and the pixel circuit 10 of one end column and an output difference between the pixel circuits 10 of the middle columns and the pixel circuit 10 of the other end column corresponds to the first property difference. Therefore, in order to reduce the signal output difference corresponding to tow pixel circuits 10, as the distance between two pixel circuits 10 decreases, the distance between the corresponding two electric circuits 20 may be reduced. As a result, a high quality image with smaller shading can be acquired.