We study the shape resonance effect associated with the confined transverse superconducting modes of a cylindrical nanowire in the clean limit. Results of numerical investigations of the Bogoliubov-de Gennes equations show significant deviations of the energy gap parameter from its bulk value with a profound effect on the transition temperature. The most striking is that the size of the resonances is found to be by about order of magnitude larger than in ultrathin metallic films with the same width.PACS numbers: PACS number(s): 74.78.Na Modern rapid miniaturization of electronic circuits requires good understanding of basic mechanisms responsible for the electronic properties of nanoscale structures. The most important point about these structures is that the quantum-confinement effects play the corner-stone role in this case. One can even say in general that recent success in nanofabrication technique has resulted in great interest in various artificial physical systems with unusual phenomena driven by the quantum confinement (quantum dots, nanoscale semiconductors, nanosuperconductors, etc.). The quantum-confined superconductivity is here of special interest due to the macroscopic quantum character: any effect on electron wave functions manifests itself directly in the superconducting order parameter.An obvious consequence of the confinement in a nanoscale superconducting structure is nonuniform spatial distribution of the superconducting condensate because, as it is known since the classical papers by Gor'kov [1] and Bogoliubov [2], the superconducting order parameter can be interpreted as the wave function of the center-of-mass motion of a Cooper pair. It is also known that the Cooper-pair wave function involves important in-medium terms [3]. In the presence of the electron confinement these terms can result in shape resonances in the energy gap parameter, another confinement effect first found and investigated in the paper by Blatt and Thompson [4] for ultrathin metallic films. A shape resonance in the dependence of the energy-gap parameter on the specimen dimensions can occur any time when an electron subband appearing due to the size quantization passes through the Fermi surface [4]. Strong indications for such behaviour are found not only in ultrathin films but also in nanoparticles (see, for example, Refs.[5] and [6]) and superfluid nuclei [7,8] (as it had been predicted by Blatt and Thompson). Recently a new technique of electrodeposition into extended nanopores has been developed [9], which makes it possible to produce single-crystal nanowires of high quality. Thus, the shape resonances in the nanowire superconducting order parameter can be investigated in the clean limit, with a direct link to the microscopic (BSC) theory. In particular, it is of importance to explore the situation where the QPS (quantum phase slips) regime [9,10,11,12]) is expected to generate a new low-temperature metallic phase with proliferating quantum phase slips of the superconducting order parameter (for radii less than 5...