@charset "UTF-8";
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  align-items: center;
  background: #000;
}
.header__logo {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 8px;
  padding-left: 15px;
  z-index: 10;
}
.header__logo img {
  width: 59px;
  height: auto;
}


.header h1 a {
  display: block;
}



.header__nav--container nav {
  font-size: 1.8rem;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  transform: translateX(100vw);
  transition: all .3s linear;
  z-index: 500;
  text-align: center;
}

.header__nav--menu li {
  line-height: 58px;
  /*アニメーションの速度設定*/
  transition: all 0.3s ease-out;
  text-transform: uppercase;
}
.header__nav--icon li {
  transition: all 0.3s ease-out;

}
.header nav li:hover {
  transform: scale(1.2);
}

.header__nav--menu li:first-child {
  margin-top: 15vh;
}

.header__nav--menu li a {
  color: var(--color-header-);
  width: 100%;
  display: block;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
.header__nav--icon{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.header__nav--icon li{
  width: 60px;
  padding: 10px;
}
#hamburger {
  position: absolute;
  right: 4%;
  top: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 999;
}

#hamburger span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-primary);
  left: 0;
  transition: .35s ease-in-out;
  position: absolute;
}

#hamburger span:nth-child(1) {
  top: 7px;
}

#hamburger span:nth-child(2) {
  top: 16px;
}

#hamburger span:nth-child(3) {
  top: 25px;
}

/* アニメーション */
.js-open #hamburger span:nth-child(1) {
  top: 25px;
  transform: rotate(45deg);
  background: var(--color-headerText);
}

.js-open #hamburger span:nth-child(2) {
  width: 0;
  left: 50%;
  background: var(--color-headerText);
}

.js-open #hamburger span:nth-child(3) {
  top: 25px;
  transform: rotate(-45deg);
  background: var(--color-headerText);
}

/* ナビゲーション　アニメーション */
.js-open .header__nav--container nav {
  transform: translateX(-50vw);
}

.js-open .header__nav--menu li a{
  color: var(--color-headerText);
}

@media (min-width: 1200px) {
.header{
  background-color:transparent;
  transition: background-color 0.3s ease; 
}
  .header_contents {
    right: 0;
    height: auto;
    background: none;
    justify-content: flex-end;
    padding-right: 4vw;
    position: static;
  }

  .header.flexC div:nth-of-type(1) {
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
.header nav{
  display: flex;
  align-items: center;
}
.header nav .header__nav--menu{
  display: flex;
}
.header nav .header__nav--icon{
  display: flex;
  margin-top: 0;
}
.header__nav--menu li {
  margin-right: 30px;
}



.header__nav--menu li a {
  width: 100%;
  white-space: nowrap;
  mix-blend-mode:difference;
}


  .header__nav--icon li {
    width: 50px;
}

  #hamburger {
    display: none;
  }

  .header ul {
    display: block;
  }

  .header nav li:first-child {
    margin-top: 0;
  }
  .header__nav--container{
    display: inline-block;
  }
  .header__nav--container nav {
    position: static;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transform: translateX(0);
    text-align: start;
  }
  .header__logo{
    position: static;
    padding-top: 0;
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  .header__logo img{
    width: 90px;
  }
}