@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  position: relative;
  word-wrap: break-word;
}

img {
  width: 100%;
}

/* レイアウト設定 */
.flow-wrap {
  max-width: 640px;
  margin: 80px auto;
  position: relative;
  background-color: #ffb400;
  padding: 80px 0;
  overflow: hidden;
}

.text-wrapper {
  position: absolute;
  width: 100%;
  height: 320px;
  font-size: 16px;
  white-space: nowrap;
  top: 50%;
  translate: 0 -50%;
}

.char {
  position: absolute;
  font-size: 20px;
  animation: moveAlongPath 10s linear infinite;
}

@keyframes moveAlongPath {
  from {
    offset-distance: 0%;
  }

  to {
    offset-distance: 100%;
  }
}

svg {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
}
