/* site-header.css - サイトヘッダー用スタイル */

.site-header {
  z-index: 100;
  position: absolute;
  top: 0;
  width: 100%;
}

/* ヘッダー全体を100%幅に */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 120px;
  padding: 0px;
}

/* ロゴは左寄せ */
.site-logo {
  width: 214px;
  height: 70px;
  background-color: #fff;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo a {
  display: block;
  font-size: 0;
  overflow: hidden;
  background: url('../img/rogo.webp') no-repeat center;
  background-size: contain;
  min-width: 155px;
  min-height: 50px;
  max-width: 200px;
  height: auto;
}

/* ナビ・SNSナビを右寄せでまとめるラッパー */
.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  position: relative;
}

.global-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.global-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #222;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .global-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .global-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .global-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 音声トグルボタン */
.audio-toggle-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
}

.audio-toggle-nav button {
  font-size: 0;
  width: 30px;
  height: 30px;
  background: url('../img/volume-on.svg') no-repeat center;
  background-size: contain;
  cursor: pointer;
}

.audio-toggle-nav button.is-audio-off {
  background-image: url('../img/volume-off.svg');
  opacity: 0.5;
}

.audio-toggle-nav button.is-audio-on {
  background-image: url('../img/volume-on.svg');
}
.sns-nav {
  margin-right: 30px;
}
.sns-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  width: 50px;
  height: 50px;
}

.sns-nav ul li a {
  font-size: 0;
  width: 28px;
  height: 28px;
  background: url('../img/volume-on.svg') no-repeat center;
  background-size: contain;
  cursor: pointer;
}
.sns-nav ul li a.icon_x {
  background-image: url('../img/logo-x.webp');
}
.sns-nav ul li a.icon_iriam {
  background-image: url('../img/logo-iriam.webp');
}
.sns-nav ul li a.icon_youtube {
  background-image: url('../img/logo-youtube.webp');
}
.sns-nav a:hover {
  color: #1da1f2;
}

@media (max-width: 768px) {
  .header-container {
    align-items: center;
    padding:5px 5px 0px 0px;
    width: 100%;
    height: 40px;
  }

  .site-logo {
    margin-bottom: 0;
    width: 95px;
    height: 30px;
  }

.site-logo a {
  min-width: 85px;
  min-height: 25px;
}




  .header-right {
    width: auto;
    justify-content: flex-start;
    margin-left: 0;
    gap: 10px;
  }

  .global-nav-toggle {
    display: inline-flex;
  }

  .audio-toggle-nav {
    display: none;
  }

  .sns-nav {
    display: none;
  }

  .sns-nav ul {
    gap: 10px;
  }
}