@charset "UTF-8";

body.is-drawer-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}

/* drawer */
.drawer {
  opacity: 1;
  width: 36px;
  height: 36px;
  background-color: #d2464b;
  border: none;
  border-radius: 5px;
  position: fixed;
  right: 40px;
  top: 44.5px;
  z-index: 1010;
  display: block;
  transition: top 0.2s ease;
}
/* html.is-scrolled .drawer {
  top: 40px;
} */
.drawer-line {
  display: block;
  height: 2px;
  position: absolute;
  width: 100%;
  background: #fff;
  -webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.drawer-line-top {
  width: 18px;
  right: 9px;
  top: 14px;
}
.drawer-line-bottom {
  width: 18px;
  right: 9px;
  bottom: 13px;
}
.active .drawer-line-top {
  width: 50%;
  top: 0px;
  transform: rotate(45deg);
}
.active .drawer-line-bottom {
  bottom: 20px;
  transform: rotate(135deg);
}
.drawer-logo-color {
  color: #fff;
}

/* drawer-nav */
.drawer-nav-wrap {
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  background: #26303a;
  background-image: url(../img/drawer/drawer-bg.jpg);
  background-position: center;
  background-size: cover;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  display: none;
}
.drawer-nav-bg {
  width: 50%;
  height: 100vh;
  background: #26303a;
  position: absolute;
  top: 0;
  right: 0;
}
.drawer-logo {
  background: transparent;
  border-radius: 0 0 20px 0;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
}
.drawer-logo img { 
  width: 110px;
  height: auto;
}
.drawer-lang {
  font-size: 1.3em;
  position: absolute;
  top: 44.5px;
  right: 86px;
  z-index: 1001;
}
.drawer-lang a {
  font-weight: 500;
  line-height: 1;
  border-radius: 5px;
  padding: 0 15px;
  height: 36px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer-nav {
  width: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
}
.drawer-ul {
  box-sizing: border-box;
  width: calc(100% - 80px);
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.drawer-li {
  box-sizing: border-box;
  width: 100%;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid rgba(247, 246, 243, 0.14);
  border-left: none;
  margin: 0;
  position: relative;
}
.drawer-li a {
  font-size: 1.2em;
  box-sizing: border-box;
  color: rgba(247, 246, 243, 0.72);
  padding: 15px 10px;
  display: block;
}
.drawer-li a span {
  font-size: 1.8em;
  vertical-align: -1px;
  color: #f7f6f3;
}
.drawer-li a,
.drawer-li a span,
.drawer-sign {
  transition: all .3s ease;
}

.drawer-sign {
  color: #d7dbdd;
  width: 24px;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -12px;
}
.drawer-li:hover .drawer-sign {
  color: #d2464b;
  right: 0px;
}
.ds {
  opacity: 0;
  transform: translateY(-20px);
}

@media screen and (max-width: 1160px) {
  .drawer-nav-bg {
    width: 70%;
  }
  .drawer-nav {
    width: 70%;
    left: 30%;
  }
}

@media screen and (max-width: 767px) {
  /* drawer-nav */
  .drawer-nav-wrap {
    background-image: none;
  }
  .drawer-nav-bg {
    display: none;
  }
  .drawer-logo {
    background: transparent;
    border-radius: 0 0 10px 0;
    padding: 15px 20px;
  }
  .drawer-logo img { 
    width: 90px;
    height: auto;
  }
  .drawer {
    top: 32px;
    right: 5%;
  }
  /* html.is-scrolled .drawer {
    top: 20px;
  } */
  .drawer-lang {
    top: 32px;
    right: calc(50px + 5%);
  }
  /* html.is-scrolled .drawer-lang {
    top: 20px;
  } */
  .drawer-nav {
    width: 100%;
    margin: 0;
    position: static;
    top: auto;
    left: auto;
    transform: none;
  }
  .drawer-ul {
    width: 90%;
    margin: 110px auto 0 auto;
    padding-bottom: 50px;
  }
  .drawer-li a {
    font-size: 1em;
    padding: 15px 0 15px 5px;
  }
  .drawer-li a span {
    font-size: 1.7em;
    vertical-align: -1px;
  }
  .drawer-sign {
    width: 16px;
    right: 2px;
    margin-top: -8px;
  }
  .drawer-li::after {
    background: #fff;
    transform: none;
    transform-origin: left top;
    transition: none;
  }
  .drawer-li:hover::after {
    transform: none;
  }
  .drawer-li a,
  .drawer-li a span,
  .drawer-sign {
    transition: all .3s ease;
  }
}