A beam shaping device included in a beam transport system is provided with: a pre-stage quadrupole electromagnet that reduces a distribution width of x-angle components that are inclinations in the x-direction of the charged particles in the beam with respect to the traveling direction a penumbra expander that moderates an end profile of a particle-number distribution of the x-angle components in the beam having passed through the pre-stage quadrupole electromagnet and a post-stage quadrupole electromagnet that adjusts a betatron phase in a phase-space distribution in the x-direction, of the beam having passed through the penumbra expander wherein the post-stage quadrupole electromagnet adjusts a phase advance angle of the betatron phase from the penumbra expander to the isocenter, to be in a range of an odd multiple of 90 degrees±45 degrees.