body {
  margin: 0;
  background-color: #ECECEC;
  color: #000000;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.17em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; 
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.hidden {
  overflow: hidden;
}
h1 span,
h2 span,
h3 span,
h4 span,
h5 span {
  display: inline-block;
}
    
/*-- header --*/
.header {
  width: 100%;
  height: 147px;
  padding-left: clamp(50px, 6.5vw, 89px);
  padding-bottom: 29px;
  padding-right: 46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.header-left.active {
  align-self: center;
}

.header-logo {
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 9999;
}
.header-menu {
  display: flex;
  flex-direction: column;
  row-gap: 13px;
}
.header-menu li {
  text-align: end;
}
.header-menu li a {
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.17em;
  text-align: end;
  text-transform: capitalize;
}
.header-menu li.active a {
  text-decoration: underline;
}

/*-- nav --*/
#g-nav {
  position:fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 67px);
  margin-top: 67px;
  background-color: #ECECEC;
  display: none;
}
#g-nav.panelactive {
  display: block;
}
#g-nav-list {
  width: 100%;
  height: 100vh;
  padding: 28px 14.6vw 0 0;
  margin-left: auto;
}
#g-nav li {
  text-align: end; 
  list-style: none;
}
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .1s;
  animation-fill-mode: forwards;
  opacity: 0;
  position: relative;
  margin-top: 28px;
  text-align: end;
  white-space: nowrap;
}
@keyframes gnaviAnime {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
#g-nav li a {
  display: block;
  font-size: 18px;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: capitalize;
}

.openbtn {
  position: relative;
  cursor: pointer;
  width: 67px;
  height: 67px;
  overflow: hidden;
  z-index: 9999;
  display: none;
}
.openbtn .openbtn-area {
  transition: all .4s;
}
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 18.5px;
  width: 30px;
  height: 1px;
  background: #000000;
  z-index: 99;
}
.openbtn span:nth-of-type(1) {
  top: 17.5px;	
}
.openbtn span:nth-of-type(2) {
  top: 25.5px;
  transform: scale(0.8) translateX(3px);
}
.header.active {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 67px;
  transition: all .4s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.header.active .header-left {
  width: calc(100% - 67px);
  transition: all .4s;

}
.openbtn.active .openbtn-area {
  transform: rotateX(360deg);
}
.openbtn.active span:nth-of-type(1) {
  top: 27px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  width: 50%;
}
.openbtn.active span:nth-of-type(2){
  top: 38.5px;
  left: 18px;
  transform: translateY(-6px) rotate(135deg) scale(1);
  width: 50%;
}



  /* -768px
  ------------------------------ */
  @media screen and (max-width:768px) {
    .header {
      display: flex;
      flex-direction: column-reverse;
      height: 82px;
      padding-left: 26px;
      padding-bottom: 0;
      padding-right: 0;    
    }
    .header-left {
      align-self: flex-start;
    }
    .header-logo {
      width: calc(100% - 20px);
    }    
    .header-menu {
      display: none;
    }
    .openbtn {
      display: block;
    }


  }