/* === 共通設定 === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  color: #000;
  font-family: sans-serif;
}

/* === 通貨バー === */
.currency-bar {
  background-color: #111;
  padding: 5px 20px;
  text-align: right;
  font-size: 14px;
}

.currency-wrapper select {
  background-color: #1c2128;
  color: white;
  border: 1px solid #444;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  appearance: none;
}

/* === ヘッダー === */
.site-header {
  background-color: #1c2128;
  color: white;
  padding-top: 10px;
  border: none;
}

/* === ヘッダー内部の配置 === */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 70px;
  position: relative;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
}

.header-left {
  text-align: left;
}

.header-center {
  text-align: center;
}

.header-right {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  position: relative;
}

/* === ロゴ === */
.site-logo {
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.site-logo img {
  height: 70px;
  width: auto;
  display: block;
}

/* === ユーザーアイコン === */
.user-icon {
  color: white;
  display: inline-block;
}

/* === メインナビゲーション === */
.main-nav {
  margin-top: 10px;
  text-align: center;
  border-top: none;
}

/* ナビゲーションラッパー */
.nav-menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 0 60px;
  border-top: none;
}
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* メインメニュー */
.nav-menu {
  display: inline-flex;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.nav-menu li {
  position: relative;
  display: inline-block;
}
.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition: border-bottom 0.2s ease;
}

.nav-menu li a:hover {
  border-bottom: 3px solid white;
}

/* === サブメニュー === */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1c2128;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  margin-top: 0 !important;
}

.nav-menu li:hover > .sub-menu {
  display: block;
}

.nav-menu .sub-menu li {
  display: block;
  text-align: left;
  border: none !important;
}

.nav-menu .sub-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  color: white;
  font-size: 16px;
  white-space: nowrap;
}

.nav-menu .sub-menu li a:hover {
  background-color: #333;
}

/* === 言語切替 === */
.language-dropdown {
  position: relative;
  margin-left: 15px;
}

.language-label {
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 4px 8px;
}

.language-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #222;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 4px;
  z-index: 1000;
  white-space: nowrap;
  text-align: left;
}

.language-dropdown:hover .language-options {
  display: block;
}

.language-options li {
  list-style: none;
  margin: 5px 0;
}

.language-options li a {
  color: white;
  text-decoration: none;
}

.language-options li a:hover {
  text-decoration: underline;
}

/* === 通貨セレクター調整 === */
.currency-selector select {
  background-color: #1c2128;
  color: white;
  border: 1px solid #444;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  appearance: none;
}
