/* ヘッダーの全体スタイル */
.orphe-header {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 15px;
  width: 100%;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ナビゲーションメニュー */
.nav-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

/* メニューリンクのスタイル */
.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s, border-bottom 0.3s;
  position: relative;
  padding: 5px 0;
}

/* メニュー選択時に中央から両側に広がる青い下線 */
.nav-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease-in-out;
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active-menu::after {
  width: 100%;
}

/* ホバー時の色変更 */
.nav-links a:hover {
  color: #007bff;
}

/* 言語切替ボタン */
.language-switch {
  display: flex;
  align-items: center; /* 縦方向のズレを修正 */
  gap: 5px;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 8px;
}

/* 言語ボタンのスタイル */
.lang-btn {
  background-color: transparent;
  border: none;
  color: #ccc;
  font-size: 10px;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
  padding: 3px 10px;
  border-radius: 5px;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

/* 選択中の言語をオレンジに（ボタン化） */
.lang-btn.active {
  color: #ff9500;
  border-bottom: none;
}

/* 言語ボタンのホバー時 */
.lang-btn:hover {
  color: #fff;
}

/* 言語ボタンのクリック時 */
.lang-btn:active {
  background-color: rgba(255, 255, 255, 0.2);
}
