When performing a spatial join using the contain function (1:N), the target features is polygon layers (corridor) and Join Features is a polyline layers (trail).
It only joins one segment of the trail, where there are obviously two trail segments inside the corridor segment.
Note that visually at least two trail lines are completely inside the corridor polygon.
The resulted polygon layer table only have one line joined to each polygon.
image not shown