/* --- グローバルナビゲーション --- */
.global-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 60px;
  border-bottom: 1px solid #ccc;
  background: #fff;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  box-sizing: border-box;
  margin: 0;
}

.logo-section a {
  display: flex;
  align-items: center;
}

.logo-section img {
  height: 32px;
  display: block;
}

/* --- PC用ナビ --- */
@media (min-width: 769px) {
  .global-nav {
    padding: 0 calc((100% - 1200px) / 2);
  }
}

@media (min-width: 769px) and (max-width: 1232px) {
  .global-nav {
    padding: 0 16px;
  }
}

/* --- ロゴセクション --- */
.logo-section {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo-section img {
  height: 32px;
  margin-right: 8px;
}

/* --- SEO・アクセシビリティ用：ホテル名の隠し処理 --- */
.hotel-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  text-indent: 100%;
}

/* --- メニュー（PC） --- */
ul.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

ul.menu li {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-left: 1px solid #ccc;
  white-space: nowrap;
}

ul.menu li:first-child {
  border-left: none;
}

ul.menu li a {
  color: #333;
  text-decoration: none;
  padding: 8px 0;
  display: block;
}

ul.menu li a:hover {
  text-decoration: underline;
}

/* --- ハンバーガーメニュー用ボタン（SP表示） --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

/* --- レスポンシブ（SP） --- */
@media (max-width: 768px) {
  ul.menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-left: none;
    border-bottom: 1px solid #ccc;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    display: block;
    z-index: 999;
  }

  ul.menu li {
    border-left: none;
    border-top: 1px solid #ccc;
    padding: 14px 20px;
  }

  ul.menu li:first-child {
    border-top: none;
  }

  ul.menu li a {
    text-align: center;
    width: 100%;
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  /* 展開時 */
  .global-nav.active ul.menu {
    max-height: 1000px;
    opacity: 1;
  }

  /* ハンバーガーアニメーション */
  .global-nav.active .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .global-nav.active .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .global-nav.active .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}