We consider a binary fluid mixture, which lies in the one-phase region near the demixing critical point, and study its transport through a capillary tube linking two large reservoirs. We assume that short-range interactions cause preferential adsorption of one component onto the tube's wall. The adsorption layer can become much thicker than the molecular size, which enables us to apply hydrodynamics based on a coarse-grained free-energy functional. For transport processes induced by gradients of the pressure, composition, and temperature along a cylindrical tube, we obtain the formulas of the Onsager coefficients to extend our previous results on isothermal transport, assuming the critical composition in the middle of each reservoir in the reference equilibrium state. Among the processes, we focus on thermo-osmosis-mass flow due to a temperature gradient. We explicitly derive a formula for the thermal force density, which is nonvanishing in the adsorption layer and causes thermo-osmosis. This formula for a near-critical binary fluid mixture is an extension of the conventional formula for a one-component fluid, expressed in terms of local excess enthalpy. We predict that the direction of thermo-osmotic flow of a mixture near the upper (lower) consolute point is the same as (opposite to) that of the temperature gradient, irrespective of which component is adsorbed on the wall. Our procedure would also be applied to dynamics of a soft material, whose mesoscopic inhomogeneity can be described by a coarse-grained free-energy functional.