A connector including a soft spring portion. A connector that electrically connects a first printed circuit board and a second printed circuit board includes a contact portion that can be brought into contact with the first printed circuit board, a connection portion that can be connected to the second printed circuit board, and an elastic spring portion that connects the contact portion and the connection portion. The elastic spring portion includes a first spring portion and a second spring portion that are connected via an open loop-shaped integral connection portion.