Specifically, FIG. 10 is a sectional view in the first direction of the area where the cell well line CPWELL is disposed on the bit line BLi on the cell unit CU. FIG. 11 is a sectional view in the first direction of the area where the cell well line CPWELL is disposed on the shunt area SH.