A capacitor cell has a gate poly (6) for storing capacitance extending to the position where the power supply line is provided in a cell frame (2) and to the position where the ground line is provided. The gate poly (6) can be extended not only to both the power supply line position and the ground line position in the cell frame (2) but also to either of them. With this, the area (XxY) of the superposition region where the diffusion layer (3) and the gate poly (6) relating mainly to the amount of charge of the capacitor of the capacitor cell is increased.