<div class="cp_arrows">
<div class="cp_arrow"></div>
</div>
.cp_arrows {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.cp_arrows .cp_arrow {/*矢印を配置するベースの設定*/
position: absolute;
width: 60px;
animation: arrow-move09 2s infinite ease-in-out;
}
.cp_arrows .cp_arrow::before,
.cp_arrows .cp_arrow::after {/*矢印全体の設定*/
position: absolute;
content: '';
width: 30px;
height: 3px;
background: #f4511e;
border-radius: 10px;
}
.cp_arrows .cp_arrow::before {/*矢印左の線の位置と傾斜*/
left: 3px;
transform: rotate(30deg);
}
.cp_arrows .cp_arrow::after {/*矢印左の線の位置と傾斜*/
right: 3px;
transform: rotate(-30deg);
}
@keyframes arrow-move09 {
0%, 20%, 50%, 80%, 100% { transform: translateY(0);}
48% {transform: translateY(-20px);}
60% {transform: translateY(-15px);}
}