Another

Another is a Japanese horror novel that received an anime adaptation which aired in 2012.

Set in the year 1998, a boy named Koichi Sakakibara transfers into Class 3-3 of Yomiyama Middle School and soon after discovers that a mysterious and gloomy mood seems to hang over all the students. He also finds himself drawn to the mysterious, eyepatch-wearing student Mei Misaki; however, the rest of the class and the teachers seem to treat her like she doesn't exist. Ignoring the warnings from everyone including Mei herself, Koichi begins to get closer not only to her, but also to the truth behind the gruesome phenomenon plaguing their class, that is resulting in his classmates and people related to them facing gruesome and senseless deaths.

Episode 8
Koichi and Mei visit the beach with a few other classmates.