A capacitor has a capacitor element, a packaging material, and a sealing
material. The capacitor element has an anode foil coupled to an anode
terminal, a cathode foil coupled to a cathode terminal, a separator, and
an electrolyte layer. The anode foil, the cathode foil and the separator
are rolled together. The separator is between the anode foil and the
cathode foil. The electrolyte layer is formed between the anode foil and
the cathode foil. The packaging material has an opening and packages the
capacitor element. The sealing material has a through hole where the
anode terminal and the cathode terminal pass through and seals the
opening of the packaging material. A given space is provided between the
sealing material and the capacitor element. A stopper for securing the
space is provided on at least one of the anode terminal and the cathode
terminal.