@charset "utf-8";
.module_title{
  display: none;
}
@font-face {
  font-family: 'BLG';
  src: url(../font/bleage_font.ttf);
  font-weight: normal;
}

.blg_txt {
  font-family: 'BLG';
  src: url(../font/bleage_font.ttf);
  font-weight: normal;
}

img {
  vertical-align: bottom;
  width: 100%;
}

p,
span,
h1,
h2,
h3,
h4,
div,
nav {
  font-family: "ryo-gothic-plusn", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
}

@media (min-width: 700px) {

  p,
  span,
  h1,
  h2,
  h3,
  h4,
  div,
  nav {
    font-family: "ryo-gothic-plusn", sans-serif;
    font-weight: 500;
    font-size: 1.7rem;
  }
}

html {
  scroll-padding-top: 0px;
  /* 固定ヘッダの高さ分 */
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  line-height: 1.6875;
  background-color: #ffffff;
  overflow: hidden
}

/* ======================================== */
/* 共通CSS */
/* ======================================== */
.onlyPC {
  display: none;
}

@media (min-width: 700px) {
  .onlyPC {
    display: block;
  }
}

@media (min-width: 900px) {
  .onlyPC2 {
    display: none;
  }
}

@media (min-width: 700px) {
  .onlySP {
    display: none;
  }
}


.wht_txt {
  color: #ffffff;
}

.ttl {
  font-size: 5rem;
}

/* ======================================== */
/* 固定ボタン */
/* ======================================== */
.fixed_btn{
  position: fixed;
  z-index: 100;
  bottom: 0;
  width: 100%;
}
.fixed_btn:hover{
  opacity: 0.6;
}

.fixed_btn img{
    display: block;
    margin: 0 auto;
    width: calc(100% - 30px);
}
@media (min-width: 700px) {
  .fixed_btn img{
    width: calc(100% - 30px);
    max-width: 700px;
  }
}
/* ======================================== */
/* ヘッダー */
/* ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: white;
}

.header_logo {
  height: 25px;
  width: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.menu-btn {
  background: none;
  border: none;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.bar {
  display: block;
  height: 4px;
  background: #FFCF00;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.bar.bottom {
  background: #8BC1E9;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: #f9f7f2;
  padding: 24px;
  transition: right 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}
@media (min-width: 700px) {
  .drawer {
      width: 40%;
  }
}
.drawer.open {
  right: 0;
}

.drawer .close-btn {
  align-self: flex-end;
  background: #d4edf1;
  border: 2px solid #fbcf96;
  border-radius: 8px;
  padding: 4px 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 999px;
}

.drawer ul {
  list-style: none;
  padding: 0;
  margin: 50% 0;
}
@media (min-width: 700px) {
  .drawer ul {
      margin: 30% 0;
  }
}
.drawer li {
  margin-bottom: 16px;
}

.drawer a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.drawer a:hover{
  opacity: 0.5;
}


/* ======================================== */
/* 共通タイトル */
/* ======================================== */
.ttl_contents {
  margin-bottom: 3rem;
}

.ttl_ttl {
  font-weight: 900;
  font-size: 3rem;
  text-align: center;
  font-family: "proxima-nova", sans-serif;
}

@media (min-width: 700px) {
  .ttl_ttl {
    font-size: 6.5rem;
  }
}

.ttl_txt {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

@media (min-width: 700px) {
  .ttl_txt {
    font-size: 3rem;
  }
}

.com_txt {
  text-align: center;
  margin: 5rem 0;
}

@media (min-width: 700px) {
  .com_txt {
    font-size: 1.8rem;
  }
}

/* ======================================== */
/*KV*/
/* ======================================== */
.kv_contents{
  position: relative;
  margin-top: 5.7rem;
}

.kv_logo{
  width: 235px;
  position: absolute;
  top: 30%;
  right: 0;
  left: 0;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .kv_logo{
  width: 570px;
    top: 16%;
  right: 0;
  left: 0;
  /* margin: auto; */
  }
}
.kv_bg_dark_pc{
  position: absolute;
}
.kv_bg_dark_sp{
    position: absolute;
}




.bounce-in {
  opacity: 0;
  transform: scale(0.8);
  animation: bounceIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; /* ←これが大事！ */
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.delay-1 {
  animation-delay: 0.3s !important;
}
.delay-2 {
  animation-delay: 0.8s !important;
}
/* ======================================== */
/* news*/
/* ======================================== */
.news_contents {
  padding: 3rem 0;
}

.news_item {
  border-bottom: 1px solid #ededed;
  font-size: 1.3rem;
  padding: 1rem 0;
}

@media (min-width: 700px) {
  .news_item {
    display: flex;
    gap: 3rem;
    font-size: 1.3rem;
  }
}

.news_wrap {
  width: calc(100% - 60px);
  margin: 0 auto;
}

.news_item p {
  font-weight: 500;
}

.new {
  background-color: #FFD900;
  color: white;
  padding: 0 10px;
  border-radius: 999px;
  margin-left: 1rem;
}

.news_date {
  font-weight: 700;
  font-family: "proxima-nova", sans-serif;
}

@media (min-width: 700px) {
  .news_date {}
}

@media (min-width: 700px) {
  .news_wrapper {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 5rem;
  }
}

/* ======================================== */
/* about */
/* ======================================== */
.about_wrap {
  position: relative;
}

.about_star_left {
  position: absolute;
  width: 30%;
  max-width: 400px;
  left: 0;
  bottom: 10%;
}

.about_star_right {
  position: absolute;
  width: 35%;
  max-width: 400px;
  right: 0;
  top: -40%;
}

.about_wrap {
  position: relative;
}

.about_txt {
  text-align: center;
  font-weight: 800;
}

@media (min-width: 700px) {
  .about_txt {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
}
@media (min-width: 700px) {
.about_wrap_pc{
  position: relative;
}
}
.logo {
  width: 200px;
  display: block;
  margin: 0rem auto;
  padding-bottom: 5rem;
}

@media (min-width: 700px) {
  .logo {
    width: 315px;
  }
}

.logo2 {
  width: 200px;
  display: block;
  margin: 3rem auto 1rem;
}

@media (min-width: 700px) {
  .logo2 {
    width: 315px;
    margin: 5rem auto 1.5rem;
  }
}

.about_bg {
  background-color: #F7F5F1;
}
@media (min-width: 700px) {
.about_pc1{
width: 260px;
position: absolute;
right: -30px;
top: -80%;
}
}
@media (min-width: 800px) {
.about_pc1{
width: 300px;
position: absolute;
right: -30px;
top: -80%;
}
}
@media (min-width: 1000px) {
  .about_pc1{
    width: 450px;
    right: -30px;
  top: -90%;
  }
}
@media (min-width: 1200px) {
  .about_pc1{
    width: 520px;
    right: -30px;
  top: -110%;
  }
}

@media (min-width: 700px) {
.about_pc2{
width: 300px;
position: absolute;
left: -120px;
top: -30%;
}
}
@media (min-width: 800px) {
.about_pc2{
width: 350px;
position: absolute;
left: -120px;
top: -30%;
}
}
@media (min-width: 1000px) {
.about_pc2{
width: 520px;
position: absolute;
left: -120px;
top: -30%;
}
}

@media (min-width: 700px) {
.about_pc3{
width: 250px;
position: absolute;
right: -50px;
top: -10%;
}
}
@media (min-width: 800px) {
.about_pc3{
width: 300px;
position: absolute;
right: -50px;
top: -10%;
}
}
@media (min-width: 1000px) {
.about_pc3{
width: 400px;
position: absolute;
right: -30px;
top: 30%;
}
}

@media (min-width: 700px) {
.about_pc4{
width: 230px;
position: absolute;
left: -50px;
bottom: -40%;
}
}
@media (min-width: 800px) {
.about_pc4{
width: 290px;
position: absolute;
left: -50px;
bottom: -40%;
}
}
@media (min-width: 1000px) {
.about_pc4{
width: 380px;
position: absolute;
left: -50px;
bottom: -30%;
}
}

/* スライダー */

.about_slider-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 5rem auto 0;
  padding-bottom: 8rem;
}

.about_swiper {
  padding: 20px;
}

.about_swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


@media (max-width: 700px) {
  .about_swiper-slide {
    gap: 24px;
  }
}

.about_sp_area {
  position: relative;
}


.about_illust1 {
  width: 54.1px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 2;
}

.about_illust2 {
  width: 145.7px;
  position: absolute;
  z-index: 2;
  bottom: 50%;
}

.about_illust3 {
  width: 42px;
  position: absolute;
  z-index: 2;
  left: 12%;
}

.about_illust4 {
  width: 26px;
  position: absolute;
  right: 3%;
  bottom: 28%;
  z-index: 2;
}

.about_illust5 {
  width: 42.5px;
  position: absolute;
  right: 5%;
  top: 30%;
  z-index: 2;
}

.about_illust6 {
  width: 57px;
  position: absolute;
  right: 43%;
  top: -5%;
}

/* ======================================== */
/* Youtube */
/* ======================================== */
.youtube_bg1 {
  position: relative;
}

.youtube_illust1 {
  position: absolute;
  width: 26%;
  right: 3%;
  transform: rotate(5deg);
  animation: swing-anime 3s infinite;
}

.youtube_bg1_pc {
  position: relative;
}

@media (min-width: 700px) {
  .youtube_illust1 {
    position: absolute;
    top: 0;
    width: 180px;
    right: 20%;
  }
}

.youtube_illust3 {
  position: absolute;
  width: 15%;
  left: 16%;
}

.youtube_bg2 {
  position: relative;
}

.youtube_illust2 {
  position: absolute;
  width: 26%;
  left: 3%;
  padding-top: 2rem;
  transform: rotate(-10deg);
  animation: swing-anime 3s infinite;
}

@media (min-width: 700px) {
  .youtube_illust2 {
    max-width: 190px;
    left: 20%;
  }
}

.youtube_top {
  background-color: #F7F5F1;
}

/* Youtubeスライダー */
.video_slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.video_slide {
  width: 300px;
  padding: 10px;
}

@media (min-width: 700px) {
  .video_slide {
    width: 700px;
  }
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(0.8);
  transition: transform 0.3s;
  border-radius: 8px;
}

.slide.slick-center .video-wrapper iframe {
  transform: scale(1);
}

.video_slick-prev {
  left: 3%;
  background-color: blue;
}

.video_slick-next {
  right: 3%;
  background-color: blue;
}

@media (min-width: 700px) {
  .slick-prev {
    left: 15%;
  }

  .slick-next {
    right: 15%;
  }
}

.slick-arrow {
  z-index: 1;
}

.slick-dotted.slick-slider {
  margin: 0 auto !important;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px !important;
  height: 40px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  cursor: pointer;
}

.slick-prev {
  background-image: url("../img/arrow_L.svg") !important;
  left: 10% !important;
  background-size: 100% !important;
  background-repeat: no-repeat !important;
}
.slick-next {
  background-image: url("../img/arrow_R.svg") !important;
  right: 10% !important;
  background-size: 100% !important;
  background-repeat: no-repeat !important;
}

.slick-prev:before,
.slick-next:before {
  content: none !important; /* ←これが重要 */
  display: none !important;
}

.youtube_bg {
  background-color: #FFD900;
}

.youtube_btn {
  color: white;
  display: flex;
  align-items: center;
  background-color: #E1414D;
  width: calc(100% - 80px);
  margin: 5rem auto 0;
  border-radius: 9999px;
  padding: 15px 15px;
  justify-content: space-evenly;
  text-decoration: none;
}

@media (min-width: 700px) {
  .youtube_btn {
    max-width: 400px;
  }
}

.youtube_btn img {
  width: 20px;
}

.youtube_btn:hover{
  background-color: #8BC1E9;
}

/* ======================================== */
/* 時間割テーブル表 */
/* ======================================== */
.schedule_contents {
  margin: 8rem 0;
}

table.schedule {
  border-collapse: collapse;
  width: calc(100% - 30px);
  margin: 0 auto;
  font-size: 1.2rem;
}

@media (min-width: 700px) {
  table.schedule {
    font-size: 1.7rem;
    margin-top: 5rem;
  }
}

@media (min-width: 700px) {
  .schedule {
    max-width: 800px;
  }
}

.schedule th,
.schedule td {
  padding: 12px 10px;
  text-align: center;
}

.schedule th {
  background-color: #FCE2B2;
}

/* 曜日別色 */
.mon {
  background-color: #C8D65D;
}

.tue {
  background-color: #c4e1a4;
}

.wed {
  background-color: #DAE8FA;
}

.thu {
  background-color: #FBD8D6;
}

.fri {
  background-color: #EF9A97;
}

.line-bottom {
  border-bottom: 1.5px solid rgb(255, 255, 255);
}

.line-right {
  border-right: 1.5px solid rgb(255, 255, 255);
}

.note {
  font-size: 1.2rem;
  margin-top: 10px;
  text-align: center;
}
@media (min-width: 700px) {
  .note {
      font-size: 1.6rem;
  }
}
.round_TL {
  border-radius: 20px 0 0 0;
}

.round_TR {
  border-radius: 0 20px 0 0;
}

.round_BL {
  border-radius: 0px 0 0 20px;
}

.round_BR {
  border-radius: 0px 0 20px 0px;
}

/* ======================================== */
/* プロジェクト */
/* ======================================== */
@media (min-width: 700px) {
  .project_wrap {
    display: flex;
    gap: 8rem;
    max-width: 900px;
    margin: 0 auto;
  }
}

.project_ttl {
  text-align: center;
  font-family: "ryo-gothic-plusn", sans-serif !important;
  font-weight: 900;
  font-size: 2rem;
  padding: 3rem 0;
}
@media (min-width: 700px) {
  .project_ttl {
      padding: 3rem 0 5rem;
  }
}
@media (min-width: 700px) {
  .project_ttl {
    font-size: 3rem;
  }
}

.project_ttl1 {
  padding-top: 8rem;
}

.project_item {
  width: calc(100% - 30px);
  margin: 0 auto 2rem;
}

.project_item p {
  padding-top: 1rem;
}

.project_item img {
  border-radius: 20px;
}

.project_bg {
  background-color: #F7F5EF;
  padding-bottom: 5rem;
}

.project_item a {
  text-decoration: none;
  color: #000;
}

.project_item a p:hover{
  opacity: 0.6;
}

.project_wrapper {
  position: relative;
}

.project_illust1 {
  width: 230px;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: -30px;
}

@media (min-width: 700px) {
  .project_illust2 {
    width: 230px;
    position: absolute;
    right: 0;
    left: 5%;
    top: -30px;
  }
}

@media (min-width: 700px) {
  .project_illust3 {
    width: 230px;
    position: absolute;
    right: 5%;
    top: -30px;
  }
}

.project_item {
  overflow: hidden; 
}

.project_item a img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.project_item a:hover img {
  transform: scale(1.05); 
}

/* ライン */
.diagonal-line {
  width: 100%;
  height: 30px;
  background-image: repeating-linear-gradient(-45deg,
      /* 斜め角度 */
      #fce04d,
      /* 黄色 */
      #fce04d 4px,
      transparent 4px,
      transparent 8px);
}

@media (min-width: 700px) {
  .diagonal-line {
    height: 66px;
  }
}

/* ======================================== */
/* グッズ*/
/* ======================================== */
.goods_item{
  max-width: 900px;
  display: block;
  margin: 0 auto;
  width: calc(100% - 30px);
}
@media (min-width: 700px) {
  .goods_item{
      width: calc(100% - 0px);
  }
}
.goods_btn {
  color: white;
  display: flex;
  align-items: center;
  background-color: #FDA500;
  width: calc(100% - 80px);
  margin: 5rem auto 8rem;
  border-radius: 9999px;
  padding: 15px 15px;
  justify-content: space-evenly;
  text-decoration: none;
}

@media (min-width: 700px) {
  .goods_btn {
    max-width: 400px;
  }
}

.goods_btn img {
  width: 20px;
}

.goods_btn:hover{
  background-color: #8BC1E9;
}
/* ======================================== */
/* キャラクターのスライダー*/
/* ======================================== */
.swiper-button-next:after,
.swiper-button-prev:after {
  content: none !important;
  display: none !important;
}

@media (min-width: 700px) {
  .swiper-button-next{
    right: 20% !important;
  }
}
@media (min-width: 700px) {
  .swiper-button-prev{
    left: 20% !important;
  }
}
.swiper-button-prev {
  background-image: url('../img/arrow_L.svg');
  /* 左矢印の画像 */
  left: 30px;
  background-size: 26px;
}

.swiper-button-next {
  background-image: url('../img/arrow_R.svg');
  /* 右矢印の画像 */
  right: 30px;
  background-size: 26px;
}

.swiper_ttl p {
  background-color: #000;
  color: #fff;
  border-radius: 9999px;
  display: block;
  text-align: center;
}

.swiper_item {
  display: grid;
  grid-template-columns: 20% 70%;
  gap: 3rem;
  border-bottom: 1px solid #E5E5E5;
  padding: 1rem 0;
}
@media (min-width: 700px) {
  .swiper_item {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0;
  }
}

.character_txt{
  text-align: center;
  margin-bottom: 3rem;
}
.character_contents {
  padding: 8rem 0;
  background-color: #F7F5F1;
}
.swiper-slide {
  opacity: 0.2;
  transition: opacity 0.3s ease;
  transform: scale(0.55);
}
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.chara_name{
  width: 100px;
  display: block;
  margin: 0 auto 3rem;
}
/* ======================================== */
/* CTA*/
/* ======================================== */
@media (min-width: 700px) {
  .cta_wrap {
    display: grid;
    grid-template-columns: 40% 60%;
    max-width: 900px;
    gap: 5rem;
    margin: 0 auto;
  }
}

.cta_contents {
  background-color: #F7F5F1;
}

.cta_contents {
  padding: 0rem 0 8rem;
}

.cta_item {
  position: relative;
  width: calc(100% - 60px);
  margin: 0 auto 6rem;
}

.cta_chara {
  width: 110px;
  position: absolute;
  bottom: -30px;
  right: 0;
}

.cta_list {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 30px);
  margin: 0 auto;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #E5E5E5;
  padding: 25px 0;
}
.cta_list:hover{
  opacity: 0.5;
}

@media (min-width: 700px) {
  .cta_list {
    width: calc(100% - 0px);
  }
}

.cta_list img {
  width: 16px;
}

.dot {
  width: 6px !important;
  display: block;
  margin-right: 7px;
}

.dot_txt {
  display: flex;
  align-items: center;
}


/* ======================================== */
/* 動き*/
/* ======================================== */

.fade-in {
  opacity: 0;
  transform: scale(0.8); /* 少し小さくしておいてから大きく */
}

.fade-in.active {
  animation: fadeInPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeInPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05); /* 一瞬オーバーに */
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* 右からヒュンと出したい */
.img-slide-in {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ページ読み込み後 or スクロールで表示させたい場合 */
.img-slide-in.active {
  opacity: 1;
  transform: translateX(0);
}

/* 左からヒュンと出したい */
.img-slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-slide-in-left.active {
  opacity: 1;
  transform: translateX(0); 
}

.project_illust1{
  animation: swing-anime 3s infinite;
}
.project_illust3 {
    animation: swing-anime 3s infinite;
}

@keyframes swing-anime{
0%, 100% {
    transform: rotate(0deg);
}
25% {
    transform: rotate(5deg);
}
50% {
    transform: rotate(0deg);
}
75% {
    transform: rotate(-5deg);
}
}

.project_illust2 {
    animation: swing-anime 5s infinite;
}

@keyframes swing-anime{
0%, 100% {
    transform: rotate(0deg);
}
25% {
    transform: rotate(-5deg);
}
50% {
    transform: rotate(0deg);
}
75% {
    transform: rotate(5deg);
}
}


/* スライダーのダムダム */
.damudamu {
  animation: damudamu 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes damudamu {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px); /* 高く跳ねる */
  }
  60% {
    transform: translateY(-15px); /* 軽く跳ね返る */
  }
}



/* スライダーのドキドキ */
.dokidoki {
  animation: dokidoki 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: center center;
}

@keyframes dokidoki {
   0%, 100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.1); 
  }
  20% {
    transform: scale(1);  
  }
}

/* うきうき */
.ukiuki {
  animation: ukiuki 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: bottom center;
}

@keyframes ukiuki {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-10px) rotate(-3deg);
  }
  40% {
    transform: translateY(5px) rotate(3deg);
  }
  60% {
    transform: translateY(-5px) rotate(-2deg);
  }
  80% {
    transform: translateY(3px) rotate(2deg);
  }
}

/* わくわく */
.wakuwaku {
  animation: wakuwaku 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: center bottom;
}

@keyframes wakuwaku {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  10% {
    transform: translateY(-5px) rotate(2deg);
  }
  20% {
    transform: translateY(3px) rotate(-2deg);
  }
  30% {
    transform: translateY(-4px) rotate(1.5deg);
  }
  40% {
    transform: translateY(2px) rotate(-1.5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
}

.anchor-target {
  scroll-margin-top: 70px; 
}