5. An electronic apparatus, comprising:a connector that has a protrusion on an outer surface;
a case that has top, bottom and side walls that extend in a longitudinal direction of the case, the case further having an opening at a front side of the case, the case housing the connector within the case;
a lid for the opening that is attached to the front side of the case such that at least part of the connector including the protrusion is seen from an outside of the case, the lid including a back wall that extends in a direction that crosses the longitudinal direction of the case, the back wall of the lid further including a gap through which the protrusion of the connector passes when the lid is attached to the case, the back wall being arranged on the lid so that after the lid is attached to the front side of the case, the protrusion is not located within the gap; and
a storage that is formed in the case rearward of the back wall of the lid and adjacent to a position of the gap in the state in which the lid is attached to the case, the storage being configured to hold a foreign object that has entered the case through the gap of the lid.