It is aimed to provide a connector which can be thinned. A connector is connected to a mating connector in a height direction and includes a wire insertion portion open in a direction orthogonal to the height direction, a wire member being partially inserted into the wire insertion portion, a connector opening open in the height direction, a terminal member of the mating connector being insertable into the connector opening to be electrically connectable to the wire member, and a connector fitting portion to be fit to the mating connector. A range H