whimsically

/ˈwɪmzɪkli/
adverb
  1. In a playful, fanciful, or capricious manner.
    • The author wrote whimsically about a world where clouds were made of cotton candy.
    • He whimsically decided to take the train instead of the bus, just for the view.
    • She smiled whimsically and said she wanted to live in a treehouse.