It makes sense, it seems that their lives are better, but we really don't know that for sure. Still, this could've ended way worse for them, yet the ending leaves a hopeful, but melancholic note. Shiori's pursuing her artistic passion, while Yamada finally had someone who understood him.
Hope the both of them are happy.