nav {
  position: fixed;
  top: 0;
  z-index: 10;
}

nav .pc_header .wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100px;
}

nav .pc_header .wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(241, 234, 228, 1) 0%, rgba(241, 234, 228, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

nav.scrolled .pc_header .wrap::before {
  opacity: 1;
}

nav .pc_header .logo {
  position: absolute;
  top: 16px;
  left: 110px;
  height: 66px;
  transition: height 0.3s;
}

nav .pc_header .logo-link {
  position: static;
  display: block;
}

nav.scrolled .pc_header .logo {
  height: 55px;
}

nav .pc_header .btnWrap {
  position: absolute;
  top: 15px;
  right: 95px;
  user-select: none;
}

nav .pc_header .btnWrap li {
  display: inline-block;
  height: 45px;
  margin-right: -5px;
  padding-right: 15px;
  padding-left: 15px;
  color: #272828;
  font-size: 16px;
  line-height: 45px;
  letter-spacing: 1px;
  vertical-align: middle;
  cursor: pointer;
}

nav .pc_header .btnWrap li.btn {
  padding-right: 25px;
  padding-left: 25px;
  color: #fff;
  background-color: #666;
  border-radius: 50px;
}

.nav_login_wrap .loginer_photo {
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  background-color: #fff;
  background-position: center;
  background-size: cover;
  border-radius: 50px;
  box-shadow: 0 0 7px #70707057;
}

.nav_login_wrap .loginer_name {
  display: inline-block;
  margin-left: 1px;
  color: #7d7d7d;
  font-size: 15px;
  vertical-align: middle;
}

nav .m_header {
  display: none;
}

.chat_bubble {
  position: fixed;
  right: 19px;
  bottom: 21px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 100px;
  box-shadow: 0 0 20px #0000001a;
  cursor: pointer;
}

.chat_bubble span::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 17px;
  width: 26px;
  height: 19px;
  border: 2px solid #91846f;
  border-radius: 12px;
}

.chat_bubble span::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 28px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #91846f;
  border-bottom: 2px solid #91846f;
  transform: rotate(35deg);
}

footer {
  padding: 50px;
  background-color: #585858;
}

footer .copyright {
  color: #fff;
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  nav .pc_header {
    display: none;
  }

  nav .m_header {
    display: block;
  }

  nav .m_header .wrap {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 65px;
  }

  nav .m_header .logo {
    position: absolute;
    top: 13px;
    left: 13px;
    height: 40px;
  }

  nav .m_header .menuBtn {
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 12;
    width: 60px;
    height: 60px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
  }

  nav .m_header .menuBtn .in {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 40px;
    height: 21px;
  }

  nav .m_header .menuBtn span[nth] {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #585858;
    transition: all 0.3s;
  }

  nav .m_header .menuBtn span[nth="1"] {
    top: 0;
  }

  nav .m_header .menuBtn span[nth="2"] {
    top: 50%;
    right: 0;
    width: 50%;
    margin-top: -1.5px;
  }

  nav .m_header .menuBtn span[nth="3"] {
    bottom: 0;
  }

  nav .m_header .btnWrap {
    position: fixed;
    right: -80%;
    z-index: 10;
    width: 55%;
    height: 100vh;
    background-color: #b6ac82;
    transition: right 0.3s;
  }

  nav .m_header .btnWrap .in {
    padding: 70px 0 30px;
  }

  nav .m_header .btnWrap li {
    padding: 8px 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
  }

  nav .m_header .btnWrap-cancel {
    display: none;
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
  }

  nav .m_header.active .btnWrap {
    right: 0;
  }

  nav .m_header.active .btnWrap-cancel {
    display: block;
  }

  nav .m_header.active .menuBtn span[nth] {
    height: 2px;
    background-color: #fff;
  }

  nav .m_header.active .menuBtn span[nth="1"] {
    transform: rotate(45deg) translateY(-6px);
    transform-origin: left bottom;
  }

  nav .m_header.active .menuBtn span[nth="2"] {
    width: 0;
  }

  nav .m_header.active .menuBtn span[nth="3"] {
    transform: rotate(-45deg) translateY(6px);
    transform-origin: left bottom;
  }
}
