/* --------------------- humberger--------------------- */




@media(max-width:1160px) {
  .header_container {
    justify-content: space-between;
  }

  .header_container-navLlogo {
    margin-left: 0;
  }

  #header_nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    transition: all 0.9s;
  }

  #header_nav.panelactive {
    top: 0;
  }

  #header_nav.panelactive {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*----------ナビゲーション----------*/
  #header_nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    display: flex;
    flex-flow: column;
    margin: 0 auto;
    transform: translate(-50%, -50%);
  }

  #header_nav li {
    font-size: 1.2rem;
    list-style: none;
    text-align: center;
    letter-spacing: 0rem;
  }

  #header_nav li a {
    display: block;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
  }

  #header_nav ul li span {
    font-size: 1.6rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.1rem;
  }

  /*---------- ボタンのためのCSS----------*/
  .header_openbtn {
    position: absolute;
    z-index: 9999;
    top: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    cursor: pointer;
  }

  .header_openbtn span {
    position: absolute;
    left: 14px;
    height: 3px;
    display: inline-block;
    width: 60%;
    background-color: #666;
    border-radius: 2px;
    transition: all .9s;
  }

  .header_openbtn span:nth-of-type(1) {
    top: 10px;
  }
  
  .header_openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .header_openbtn span:nth-of-type(3) {
    top: 36px;
  }

  .header_openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    width: 50%;
    transform: translateY(6px) rotate(-45deg);
  }

  .header_openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .header_openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    width: 50%;
    transform: translateY(-6px) rotate(45deg);
  }
}
  
@media(max-width:670px) {

  #header_nav ul {
    position: absolute;
    z-index: 999;
    top: 43%;
    left: 50%;
    display: flex;
    flex-flow: column;
    margin: 0 auto;
    transform: translate(-50%, -50%);
  }

  #header_nav li {
    font-size: 1.2rem;
    list-style: none;
    letter-spacing: 0rem;
    text-align: center;
    line-height: 2rem;
  }

  #header_nav li a {
    display: block;
    margin-bottom: 30px;
    color: #3c3c3c;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
  }

  .header_openbtn {
    position: absolute;
    z-index: 9999;
    top: 11px;
    right: 7px;
    width: 80px;
    height: 80px;
    cursor: pointer;
  }
}


/* ---------------------INDEX.CSS----------------------- */



#page_top {
  z-index: 99;
}

/*.logo_fadein {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background: #FFF;
}

.logo_fadein-animation {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  display: none;
  width: 280px;

  transform: translate(-50%, -50%);
}*/

header {
  width: 100%;
  height: 120px;
  padding: 30px 45px;
  background-color: black;
}

.header_container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1160px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.header_container-navLogo {
  max-width: 160px;
  width: 100%;
  height: auto;
  margin-left: 20px;
}

#header_nav {
  display: flex;
}

#header_nav ul {
  display: flex;
  margin: 0 auto;
}

#header_nav ul li {
  margin: 0 15px;

  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0rem;
}

#header_nav ul li a {
  display: block;
  width: 100%;

  color: #fff;
  text-decoration: none;
}

#header_nav ul li span {
  font-size: 1.6rem;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.1rem;
}

.header_navContact {
  position: relative;
  display: block;
  width: 235px;
  height: 50px;
  margin: 0 auto;
  margin-left: 0px;
  padding: 14.5px 0 16px 0;

  background: linear-gradient(135deg, #603813, #c13b27);
  /* border: solid 2px #FFF; */
  border-radius: 30px;
  color: #fff;

  
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05rem;
  text-align: center;
  line-height: 1;
  text-decoration: none;

  transition: all .5s;
}

.header_navContact:hover {
  background: #fff;
  border: solid 2px #603813;

  color: #3c3c3c;
  font-weight: 600;
}

@media(max-width:670px) {
  header {
    width: 100%;
    height: 70px;
    padding: 14px 25px;
  }

  .header_container {
    justify-content: flex-start;
  }

  .header_container-navLogo {
    max-width: 140px;
    width: 100%;
    height: auto;
    margin-left: 0;
  }
}