.road {
  position: relative;
  block-size: 8rem;
  background: white;
  color: black;
  border: 1px solid #ddd;
}

.arrow {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  font-size: 1.25rem;
  line-height: 1;
  offset-path: path("M 24 110 C 80 10, 200 10, 260 110");
  offset-distance: 0%;
  offset-rotate: auto;
  animation: glide 3.5s linear infinite alternate;
}

@keyframes glide {
  to {
    offset-distance: 100%;
  }
}