@font-face {
  font-family: 'myFont';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/DidotLTStd-Bold.otf);
}

html,
body {
  background: #111;
  color: #fff;
  font-family:'myFont', sans-serif;
}

.logo .img {
  /* background: no-repeat center center / 100% 100%;
  display: block;
  margin: 0 auto;
  width: 191px;
  height: 191px;
  text-indent: -999999px; */
  cursor: pointer;
  width: 191px;
  height: 191px;
  display: block;
  margin: 0 auto;
  transition: all 0.5s;
  display: block !important;
}

.sub-logo-box {
  border: 1px solid #999;
  padding: 6px 10px;
  cursor: pointer;
}

.sub-logo {
    width: 164px;
  }

@media screen and (max-width: 1536px) {
  html {
    font-size: 14px;
  }

  .logo a {
    width: 150px;
    height: 150px;
  }

  .sub-logo {
      width: 124px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }

  .logo a {
    width: 100px;
    height: 100px;
  }

  .sub-logo {
    width: 100px;
  }
}

@media screen and (max-width: 640px) {
  html {
    font-size: 8px;
  }

  .logo a {
    width: 84px;
    height: 84px;
  }

  .sub-logo {
    width: 84px;
  }
}

.site-menu {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 10;
}

.site-menu button {
  position: relative;
  z-index: 4;
  width: 66px;
  height: 55px;
  padding: 10px;
  background-color: transparent;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 39px 15px 0 0;
  text-align: center;
}

.site-menu button span {
  display: block;
  width: 32px;
  height: 1px;
  margin: 14px auto;
  transition: all 0.5s;
  background-color: #a0a0a0;
  transform-origin: center center;
}

.site-menu button.open span {
  width: 42px;
}

.site-menu button.open span:nth-child(1) {
  transform: translateY(19px) rotate(45deg);
}

.site-menu button.open span:nth-child(2) {
  transform: translateY(4px) rotateY(90deg);
}

.site-menu button.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

#toTop {
  opacity: 0;
  transition: opacity 1s;
  position: fixed;
  bottom: 40px;
  right: 60px;
  color: #fff;
  padding: 5px;
  cursor: pointer;
  z-index: 90;
  color: #999;
  background: transparent;
  text-align: center;
}

#toTop.show {
  opacity: 1;
}

#menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 407px;
  box-shadow: 0px 0px 4px #f5f5f5;
  padding-top: 45px;
  background: #fff;
}

#menu .menu-list .menu-item a {
  display: block;
  padding: 10px 15px;
  text-align: left;
  font-size: 35px;
  text-transform: uppercase;
  line-height: 38px;
  color: #000;
}

#menu .menu-list .menu-item a:hover {
  background-color: #eee;
} 

.hidden {
  display: none;
}

@media screen and (max-width:640px) {
  #menu {
    width: 100vw;
  }
}

.footer {
  line-height: 16px !important;
}

.footer img {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  display: inline-block;
}

.isIcon {
  display: inline-block;
  text-indent: -4000px;
  vertical-align: middle;
  text-align: left;
}

.emailIcon {
  background: url(../images/eemail.png) 0 0 / cover;
  width: 16px;
  height: 16px;
  margin: 0 0.25em 0 1em;
}

@media screen and (max-width: 640px) {
  .emailIcon {
    background: url(../images/eemail.png) 0 0 / cover;
    width: 8px;
    height: 8px;
    margin: 0 0.25em 0 1em;
  }
}
