.lang {
  display: flex;
  align-items: center;
  padding: 0;
  font-size: 13px;
}


/* ラッパー要素（プルダウンの基準位置） */
.header-lang-switch {
  position: relative;
  display: inline-block;
}

/* 表示ボタン */
.header-lang-switch .lang-current-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
}

/* 矢印アイコン（CSSで作成） */
.header-lang-switch .lang-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #303030;
  border-bottom: 1.5px solid #303030;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

/* ドロップダウンリスト（初期状態は非表示） */
.header-lang-switch .lang-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  min-width: 60px;
  z-index: 100;
}

.header-lang-switch .lang-dropdown-list li a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #303030;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
}

.header-lang-switch .lang-dropdown-list li a:hover {
  background-color: #f5f5f5;
}

.header-lang-switch .lang-dropdown-list li.is-active a {
  opacity: 0.5;
}

/* 開いた状態（クリック制御時） */
.header-lang-switch.is-open .lang-dropdown-list {
  display: block;
}

.header-lang-switch.is-open .lang-arrow {
  transform: rotate(-135deg);
  margin-top: 1px;
}

/* ホバーでも開閉させたい場合はコメントアウトを解除 */
/*
.header-lang-switch:hover .lang-dropdown-list {
  display: block;
}
*/