You may take the Sanyo Shinkansen from Shin-Osaka Station to Shin-Kobe Station. This trip lasts approximately 15 minutes. Alternatively, you may take a JR Special Rapid Train from Osaka Station to the Kobe Sannomiya Station, with a trip duration of around 20 minutes.