  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2); /* 透明度を指定 */
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  header.scrolled {
    background-color: rgba(255, 255, 255, 0.2); /* スクロール時の透明度を指定 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .hamburger-menu {
    cursor: pointer;
    font-size: 28px;
    position: absolute;
    top: 50px;
    right: 40px;
    color: #ff6600;
    transition: opacity 8s ease;
  }

/*  .hamburger-menu:not(.active):hover {
    opacity: 0;
  }
*/
  .hamburger-menu.active {
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  .expanded-menu {
    position: absolute;
    top: 100%; /* 上から下方向に配置 */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* 透明度を指定 */
    overflow: hidden;
    transition: max-height 2s ease; /* アニメーション効果を追加 */
    max-height: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .expanded-menu.active {
    max-height: 50px; /* 適切な高さに設定 */
    padding-bottom: 10px;
  }

  .expanded-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row; /* 上から下方向に配置 */
    justify-content: right; /* 右寄せに配置 */
    margin-left: auto; /* 右側に寄せる */
    transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション効果を追加 */
    text-align: right;
    margin-right: 30px;
  }

  .expanded-menu.active ul {
    opacity: 1; /* アクティブ時に表示 */
    transform: translateY(0); /* 移動しない位置に戻す */
  }

  .expanded-menu li {
    z-index: 100;
    padding: 8px;
  }

.link-nav-a img {
  justify-content: left; /* 右寄せに配置 */
  margin: 0 0 0 25px;
}

.img-logo_2 {
    width: 40%;
}

.menu_a {
  width: 100%;
}
.menu_c {
  margin: 5px 10px;
}
.menu_c a {
  font-size: 18px;
  font-weight: bold;
}

.link-nav-a i {
  color: #042f04;
}

.menu_b a {
  text-decoration: none;
}

