@charset "UTF-8";

/*************共通項目など*************/
/* Windows 用 Medium 指定の游ゴシック */
/* font-weight: bold の時は通常どおり Bold 書体を使わせる */


.f_font {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

@media screen and (max-width: 1920px) {
  .hamburger {
    display: none;
  }
}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 768px) {

  .logo img {
    width: 174px;
    height: 43px;
  }

}

@media screen and (max-width: 425px) {}



/*************ヘッダー*************/




/* スマホ向け（768px以下）でメニューは非表示＆右スライドで表示 */
@media screen and (max-width: 1024px) {


  
.menu {
  margin-left: auto;
  margin-right: 30px;
  color: #0096F1;
  font-size: 14px;

  ul {
    list-style-type: none;
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 0;
    gap: 30px
  }

  li {
    display: flex;
    cursor: pointer;
  }

  a {
    display: inline-block;
    color: #0096F1;

  }

}



.equalizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-right: 0.5em;
  height: 20px;
  vertical-align: sub;
  padding-top: 2px;
}

.bar {
  width: 3px;
  height: 13px;
  background: #00aaff;
  transform-origin: center center;
  animation: pulse 1s infinite ease-in-out;
}

.bar:nth-child(1) {
  animation-delay: 0.1s;
  animation-duration: 0.8s;
}

.bar:nth-child(2) {
  animation-delay: 0.5s;
  animation-duration: 0.8s;
}

.bar:nth-child(3) {
  animation-delay: 0.2s;
  animation-duration: 0.8s;
}

.bar:nth-child(4) {
  animation-delay: 0.1s;
  animation-duration: 0.8s;
}

.bar:nth-child(5) {
  animation-delay: 0.3s;
  animation-duration: 0.8s;
}


  .hamburger {
    width: 30px;
    height: 25px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #0096F1;
    border-radius: 3px;
    transition: 0.4s;
  }





  #menu {
    display: block;
    width: 100%;
    height: 10%;
    position: fixed;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 最初は画面外に隠す */
    width: 30%;
    height: 100%;
    background-color: #fff;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 60px 40px;
    margin-right: 0;

    ul {
      list-style-type: none;
      display: block;
      align-items: center;
    }

    a {
      display: inline-block;
      color: #0096F1;

    }
  }

  .menu.active {
    right: 0;
    /* スライドイン */
  }

  .overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
  }

  .overlay.active {
    display: block;
  }

  .menu ul {
    list-style: none;
    padding: 0;
  }

  .menu li {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .menu {
    width: 70%;
  }
}




/*************アニメーション*************/




/* ハンバーガー → ✖ のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}