FIG. 29 is a cross-sectional view of a semiconductor device 430. The semiconductor device 430 includes the transistor 100, the transistor 200, the transistor 281, and a capacitor 240. In the semiconductor device 430, an insulating layer 431, an insulating layer 432, an insulating layer 433, an insulating layer 434, an insulating layer 435, and an insulating layer 436 are provided over the insulating layer 405 covering the transistor 281. Furthermore, in the semiconductor device 430, an electrode 422 and an electrode 424 are provided over the insulating layer 405.
The electrode 422 is provided to be embedded in the insulating layers 431 and 432 and is electrically connected to the transistor 281 through an electrode 421 provided in the insulating layers 403 to 405.
The electrode 424 is provided to be embedded in the insulating layer 435 and is electrically connected to the electrode 422 through an electrode 423 provided in the insulating layers 433 and 434.