@charset "utf-8";
/* -------------------------------------------------- */
.pc{
  display: block;
}
.sp{
  display: none;
}
@media screen and (max-width: 750px) {
  .pc{
      display: none;
  }
  .sp{
      display: block;
  }
}


#N_header {
  background-color: #fff;
  width: 100%;
  padding: 0 20px;
  border-bottom: 1px solid #E3E3E3;
}
#N_header img {
  border: 0;
  width: 100%;
  height: auto;
  vertical-align: top;
}

#N_header nav {
  margin: 0 auto;
  max-width: 980px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#N_header nav a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

#N_header .nav__left,
#N_header .nav__right {
  display: flex;
  align-items: center;
}

#N_header .nav__left {
  width: 44%;
}

#N_header .nav__right {
  width: 56%;
}

#N_header .nav__menu-left,
#N_header .nav__menu-right {
  display: flex;
  gap: 0 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#N_header .nav__menu-left {
  gap: 0 12%;
  width: calc(100% - 10% - 40px);
}

#N_header .nav__menu-right {
  gap: 0 18px;
}

#N_header .nav__logo{
  width: 40px;
  height: auto;
  margin-right: 10%;
}

#N_header .nav__icon{
  width: 22px;
  height: auto;
  margin-right: 17px;
}

#N_header li .sp {
  display: none;
}

#N_header_button {
/*  display: none;*/
}


@media screen and (max-width: 767px) {

/* -------------------------------------------------- */

  #N_header {
    /* margin-top: 58px; */
    /* height: calc(100% - 58px); */
    height: 100vh;
    height: 100dvh;
    padding: 0;
    /* left: 0; */
    opacity: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    z-index: 8;
    width: 100%;
    display: flex;
    align-items: center;
    justify-self:center;
  }

  #N_header.open {
    opacity: 1;
    visibility: visible;
    z-index: 99;
  }

  #N_header nav {
    /* left: 50%; */
    /* position: absolute; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */
    width: 180px;
    margin-top: 58px;
    display: block;
    height: auto;
    transition: all .3s;
  }

  #N_header.scrolled nav {
    margin-top: 0;
  } 

  #N_header.s nav {
    margin-top: 25px;
  }

  #N_header .nav__left,
  #N_header .nav__right {
    display: block;
    width: 100%;
  }

  #N_header .nav__menu-left,
  #N_header .nav__menu-right {
    display: block;
    width: 100%;
  }

  #N_header .nav__menu-left li {
    margin-bottom: 10px;
  }

  #N_header .nav__menu-right li {
    margin-bottom: 5px;
  }

  #N_header .nav__logo {
    width: 100%;
    height: auto;
    margin: 0 0 60px 0;
  }

  #N_header .nav__icon {
    width: 100%;
    height: auto;
    margin: 60px 0 5px 0;
  }

  #N_header li .pc {
    display: none;
  }

  #N_header li .sp {
    display: block;
  }

  #N_header li img {
    width: 100%;
  }

  #N_header_button {
    display: block;
    height: 58px;
    left: 0;
    position: absolute;
    top: 0;
    width: 62px;
    z-index: 10;
    mix-blend-mode: difference;
  }

  #N_header_button.fixed {
    position: fixed;
  }

  #N_header_button.x_icon{
    z-index: 100;
  }

  #N_header_button ol {
    list-style: none;
  }

  #N_header_button li {
    background: #fff;
    height: 1px;
    left: 15px;
    overflow: hidden;
    position: absolute;
    top: 20px;
    transition: background-color .3s, opacity .3s, top .3s, transform .3s, width .3s;
    width: 32px;
  }

  #N_header_button.x_icon li,
  #N_header_button.fixed li {
    background: #fff;
  }

  #N_header_button li:nth-child(2) {
    top: 29px;
    width: 24px;
  }

  #N_header_button li:nth-child(3) {
    top: 38px;
    width: 16px;
  }

  #N_header_button.x_icon li:first-child {
    top: 29px;
    transform: rotate(45deg);
  }

  #N_header_button.x_icon li:nth-child(2) {
    opacity: 0;
  }

  #N_header_button.x_icon li:nth-child(3) {
    top: 29px;
    transform: rotate(-45deg);
    width: 32px;
  }
}