CSSでページ内アニメーションスクロール
code:css
html {
scroll-behavior: smooth;
}
https://caniuse.com/#search=scroll-behavior
chrome firefox operaで使える