A connector (10) can be fit into a case-side opening (161) of a shield case (160) so that female terminals (52) in the connector (10) can be connected to male terminals (172) in a device-side connector (170) mounted in a back of the case-side opening (161). The connector (10) includes a housing (20) with a fitting (21) at one end that can fit into the case-side opening (161). Stretchable conductors (51) and wires (71) connected to the female terminals (52) are pulled out from the opposite end of the housing (20). A terminal accommodating portion (30) is formed separately from the fitting (21) and accommodates the female terminals (52) inside. The terminal accommodating portion (30) is mounted into the housing (20) loosely movably in a direction intersecting a fitting direction of the fitting (21) into the case-side opening (161) when connecting the male terminals (172) and the female terminals (52).