/* ヘッダーのデザイン */
.header_my {
  background: transparent;
  height: 100px;
  display: flex;
  justify-content: space-between; /* 左右に広げる */
  align-items: center; /* 縦方向中央揃え */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
   
}
.header_my2 {
  background: #fff;
  height: 100px;
  display: flex;
  justify-content: space-between; /* 左右に広げる */
  align-items: center; /* 縦方向中央揃え */
  top: 0;
  left: 0;
  width: 100%;
   
  
}


.container_my {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* 左右に広げる */
  align-items: center; /* 縦方向中央揃え */
  position: relative;
}
/* ロゴのスタイル */
.logo_my img {
  height: 40px;
}
/* ナビゲーションメニュー */
.nav_my {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* ナビゲーション全体を右寄せ */
  flex-grow: 1;
  width: 100%;
}
.menu_my {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px; /* メニューアイテムの間隔を調整 */
  align-items: center;
}
.menu_my li {
  margin: 0; /* 個別のマージンをなくす */
}
.menu_my a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
}
.menu_my2 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px; /* メニューアイテムの間隔を調整 */
  align-items: center;
}
.menu_my2 li {
  margin: 0; /* 個別のマージンをなくす */
}
.menu_my2 a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.menu_my3 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px; /* メニューアイテムの間隔を調整 */
  align-items: center;
}
.menu_my3 li {
  margin: 0; /* 個別のマージンをなくす */
}
.menu_my3 a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
/* ログインボタン */
.login_btn_my {
  padding: 10px 15px;
  background: #222;
  color: #fff !important;
  text-decoration: none;
  border-radius: 90px;
  display: inline-block;
  font-size: 12px !important;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border 0.3s ease;
  border: 1px solid transparent;
  z-index: 1;
}

.login_btn_my::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: left 0.3s ease-in-out;
  z-index: -1;
}

.login_btn_my:hover::before {
  left: 0;
}

.login_btn_my:hover {
  color: #222 !important;
  border: 1px solid #333;
}


/* ハンバーガーメニュー */
.hamburger_my {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger_my span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
}
/* ハンバーガーメニュー2 */
.hamburger_my2 {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger_my2 span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
}
/* ハンバーガーメニュー3 */
.hamburger_my3 {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger_my3 span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
}
/* 1000px以下のレスポンシブ対応 */
@media (max-width: 1000px) {
  .nav_my {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100px;
    right: 0;
    background: #444;
    width: 100%;
    box-sizing: border-box;
  }
  .nav_my.active {
    display: flex;
  }
  .menu_my {
    display: block;
    text-align: left;
    width: 100%;
    padding-left: 20px; /* 左にパディング追加 */
    padding-right: 20px; /* 右にパディング追加 */
    box-sizing: border-box;
  }
  .menu_my li {
    margin: 20px 0;
  }
  .login_btn_my {
    padding: 10px 10px;
    background: #f5f5f5;
    color: #222 !important;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 0px;
    display: inline-block;
    align-self: center; /* 縦方向の中央に合わせる */
    width:100%;
    box-sizing: border-box;
  }
  .hamburger_my {
    display: flex;
  }
  .hamburger_my2 {
    display: flex;
  }
	.hamburger_my3 {
    display: flex;
  }
  .menu_my2 {
    display: block;
    text-align: left;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .menu_my2 li {
    margin: 20px 0;
  }
  .menu_my2 a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
  }
	.menu_my3 {
    display: block;
    text-align: left;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .menu_my3 li {
    margin: 20px 0;
  }
  .menu_my3 a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
  }
}







@media (min-width: 1001px) { /* 1000px以上の時のみ適用 */
  .menu_my li:nth-child(2) {
    position: relative;
    padding-right: 40px; /* ボーダーの右側に余白を追加 */
    margin-right: 20px; /* ボーダーの左側の余白を大きく */
  }

  .menu_my li:nth-child(2)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%; /* ボーダーを中央寄せ */
    transform: translateY(-50%); /* 完全に中央に配置 */
    width: 1px;
    height: 50%; /* 縦の長さを半分に */
    background-color: #fff; /* ボーダーの色 */
  }
}

@media (min-width: 1001px) { /* 1000px以上の時のみ適用 */
  .menu_my2 li:nth-child(2) {
    position: relative;
    padding-right: 40px; /* ボーダーの右側に余白を追加 */
    margin-right: 20px; /* ボーダーの左側の余白を大きく */
  }

  .menu_my2 li:nth-child(2)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%; /* ボーダーを中央寄せ */
    transform: translateY(-50%); /* 完全に中央に配置 */
    width: 1px;
    height: 50%; /* 縦の長さを半分に */
    background-color: #333; /* ボーダーの色 */
  }
}

@media (min-width: 1001px) { /* 1000px以上の時のみ適用 */
  .menu_my3 li:nth-child(3) {
    position: relative;
    padding-right: 40px; /* ボーダーの右側に余白を追加 */
    margin-right: 20px; /* ボーダーの左側の余白を大きく */
  }

  .menu_my3 li:nth-child(3)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%; /* ボーダーを中央寄せ */
    transform: translateY(-50%); /* 完全に中央に配置 */
    width: 1px;
    height: 50%; /* 縦の長さを半分に */
    background-color: #333; /* ボーダーの色 */
  }
}