1.jQueryで下スクロールなのか上スクロールなのか判別してクラスを付与、削除する 最初にHTMLです。 <header class="site-header flex flex--bet"> <h1 class="site-logo"> <img class="site-logo__img" src="images/logo.png" alt="logo"> </h1> <nav class="gnav"> <ul class="gnav__menu flex flex--bet"> <li class="gnav__menu__item"> <a class="gnav__menu__item__link" href="#sec1">SECTION1</a> </li> <li class="gnav__menu__item"> <a class="gnav__menu__item_