/* headerとfooter */
/* header */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 999;
  margin: 20px 0 0 0;
}
@media (width >= 769px) {
  .header {
    /* margin: 90px 0 0 0; */
    margin: 0 0 0 0;
  }
}
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* MD: 769px */
@media (width >= 769px) {
  .header_inner {
    padding: 0 5%;
  }
}
.logo {
  width: 100%;
}
/* MD: 769px */
@media (width >= 769px) {
  .logo {
    width: 20%;
  }
}
.nav_item {
  width: 14%;
  & img {
    object-fit: contain;
    /* width: 50%; */
  }
  /* &:nth-of-type(1) {
    width: 8%;
  } */
  @media (width >= 769px) {
    &:nth-of-type(1) {
      position: relative;
      right: -13px;
    } 
  }
  /* &:nth-of-type(2),
  &:nth-of-type(5){
    width: 12%;
  } */
}

.nav-wrap {
  position: relative;
}
.scroll-nav {
  width: 100%;
  /* overflow-x: auto; */
}
.scroll-nav ul {
  align-items: center;
  /* max-width: 1060px;
  min-width: 770px; */
  margin: 0 auto;
  padding: 0 10px 0 10px;
}
/* .scroll-nav ul li {
  float: left;
  width: 110px;
  text-align: center;
} */

@media (width >= 769px) {
  .nav {
    width: 60%;
  }
}


.footer{
  .footer_inner{
    .logo{
      max-width: 100px;
      margin: 30px auto;
    }
    @media (width >= 769px) {
      .logo{
        max-width: 350px;
        margin: 60px auto 80px;
      }
    }
    .footer_sitemap{
      background: #C6A464;
      margin: 15px auto 0;
      /* padding: 15px 15% 5px; */
      padding: 15px 15% 15px;
      align-items: center;
      .nav_item{
        width: 14%;
        &:nth-of-type(1) {
          width: 6%;
        }
        &:nth-of-type(2),
        &:nth-of-type(5){
          width: 12%;
        }
        img{
          object-fit:unset;
        }
        a{
          position: relative;
        }
        a:before {
          background: #fff;
          content: '';
          width: 100%;
          height: 2px;
          position: absolute;
          left: 0;
          bottom: 0;
          margin: auto;
          transform-origin: right top;
          transform: scale(0, 1);
          transition: transform .3s;
        }
        a:hover:before{
          transform-origin: left top;
          transform: scale(1, 1);
        }
      }
      @media (width >= 769px) {}
    }
    @media (width >= 769px) {
      .footer_sitemap{
        padding: 40px 24% 40px;
      }
    }
  }
}

.footer_ocher{
  .footer_sitemap{
    background:#fff !important;
  }
  @media (width >= 769px) {
    .footer_sitemap{
      padding: 0px 24% 40px !important;
    }
    a{
      position: relative;
    }
    a:before {
      background: #c6a464 !important;
      content: '';
      width: 100%;
      height: 2px;
      position: absolute;
      left: 0;
      bottom: 0;
      margin: auto;
      transform-origin: right top;
      transform: scale(0, 1);
      transition: transform .3s;
    }
    a:hover:before{
      transform-origin: left top;
      transform: scale(1, 1);
    }
  }
}


.footer_gray{
  .footer_sitemap{
    background: unset !important;
  }
}