An ink-jet printer includes: a tank including an ink storage chamber and an inlet; a cap which is detachably attachable to the inlet; a cover configured to move between a first position and a second position farther from the inlet than the first position; and an arm configured to locate the cap at an inlet closing position and an inlet opening position. Under a condition that the cap is in the inlet opening position and the cover is in the second position, the arm holds the cap in a state that the cap does not contact with the cover. Under a condition that the cap is in the inlet opening position, a part of at least one of the cap and the arm is in the moving locus of the cover between the first position and the second position.