@charset "utf-8";

/* header */
.header {
  background-color: transparent;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
}
.header-content {
  display: flex;
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  padding: var(--header-content-padding);
  box-sizing: border-box;
}
.header-logo {
  width: var(--header-logo-width);
}
.header-logo-link {
  display: block;
}
.header-links {
  display: flex;
  align-items: center;
  gap: var(--header-links-gap);
  /* 20px; */
  margin-left: auto;
}
.header-link {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: var(--header-links-width-and-height);
  height: var(--header-links-width-and-height); */
  width: var(--header-links-width-and-height);
  height: var(--header-links-width-and-height);
  transition: background-image 0.25s;
}
.header-facebook-link {
  background-image: url(../images/header-link-facebook.png);

}
.header-facebook-link:hover {
  background-image: url(../images/header-link-facebook-active.png);
}
.header-youtube-link {
  background-image: url(../images/header-link-youtube.png);
}
.header-youtube-link:hover {
  background-image: url(../images/header-link-youtube-active.png);
}
.header-bahamut-link {
  background-image: url(../images/header-link-bahamut.png);
}
.header-bahamut-link:hover {
  background-image: url(../images/header-link-bahamut-active.png);
}
.header-background-music {
  display: flex;
  align-items: center;
}
.button-bgm {
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  width: var(--header-button-bgm-width);
  height: var(--header-button-bgm-height);
}
.button-ready-bgm {
  background-image: url(../images/bgm-ready.png);
}
.button-pause-bgm {
  display: none;
  background-image: url(../images/bgm-pause.png);
}
.button-play-bgm {
  display: none;
  background-image: url(../images/bgm-play.png);
}
.header.game-introduce .button-ready-bgm {
  background-image: url(../images/bgm-ready-dark.png);
}
.header.game-introduce .button-pause-bgm {
  display: none;
  background-image: url(../images/bgm-pause-dark.png);
}
.header.game-introduce .button-play-bgm {
  display: none;
  background-image: url(../images/bgm-play-dark.png);
}
.header-background-music.playing .button-ready-bgm,
.header-background-music.playing .button-pause-bgm {
  display: none;
}
.header-background-music.playing .button-play-bgm {
  display: block;
}
.header-background-music.pause .button-ready-bgm,
.header-background-music.pause .button-ready-bgm {
  display: none;
}
.header-background-music.pause .button-pause-bgm {
  display: block;
}