header {
  top: 0;
  z-index: 999;
  /* position: fixed; */
  position: absolute;
  width: 100%;
  max-width: 750px;
}

.logo {
  padding: 1rem 0 1rem 0.8rem;
}

.logo img {
  width: auto;
  height: 70%;
  /* 防止图片溢出容器 */
  max-width: 100%;
  /* 修复Safari下图片基线对齐导致的底部间隙 */
  display: block;
  /* 可选：如果需要固定容器尺寸，同时让图片自适应填充 */
  object-fit: cover; /* Safari 10.3+支持，低版本需降级 */
  -webkit-object-fit: cover; /* Safari前缀，必加 */
  /* 可选：解决低版本Safari object-fit兼容问题的降级方案 */
}

.mobile-inner-header-icon {
  background-color: #f2f2f2;
  margin-left: auto;
}

.mobile-inner-header {
  /* background-color: #fff; */
  width: 100%;
  height: 5rem;
  position: absolute;
  top: 15px;
  /* left: 0px; */
  /* max-width: 750px; */
  display: flex;
  /* box-shadow: 0 0 5px #999; */
}

.mobile-inner-header-icon {
  color: #222;
  height: 3rem;
  line-height: 3rem;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 5px;
  width: 10rem;
  margin-top: 0.5rem;
  margin-right: 0.8rem;
  position: relative;
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -o-transition: background 0.5s;
  transition: background 0.5s;
}

/* .mobile-inner-header-icon:hover {
  cursor: pointer;
}

.mobile-inner-header-icon span {
  position: absolute;
  left: calc((100% - 2.5rem) / 2);
  top: calc((100% - 1px) / 2);
  width: 2.5rem;
  height: 1px;
  background-color: rgba(255, 255, 255, 1);
}

.mobile-inner-header-icon span:nth-child(1) {
  transform: translateY(4px) rotate(0deg);
}

.mobile-inner-header-icon span:nth-child(2) {
  transform: translateY(-4px) rotate(0deg);
}

.mobile-inner-header-icon-click span:nth-child(1) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clickfirst;
}

.mobile-inner-header-icon-click span:nth-child(2) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clicksecond;
}

.mobile-inner-header-icon-click span:nth-child(3) {
  display: none;
}

@keyframes clickfirst {
  0% {
    transform: translateY(4px) rotate(0deg);
  }
  100% {
    transform: translateY(0) rotate(45deg);
  }
}

@keyframes clicksecond {
  0% {
    transform: translateY(-4px) rotate(0deg);
  }
  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

.mobile-inner-header-icon-out span:nth-child(1) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outfirst;
}

.mobile-inner-header-icon-out span:nth-child(2) {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outsecond;
}

@keyframes outfirst {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  100% {
    transform: translateY(-7px) rotate(0deg);
  }
}

@keyframes outsecond {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  100% {
    transform: translateY(7px) rotate(0deg);
  }
} */

.mobile-inner-nav {
  background-color: rgba(0, 84, 163, 0.5);
  width: 100%;
  position: absolute;
  top: 6rem;
  left: 0px;
  padding-top: 30px;
  padding-bottom: 30px;
  display: none;
}

.mobile-inner-nav a {
  display: inline-block;
  line-height: 5rem;
  text-decoration: none;
  width: 80%;
  margin-left: 10%;
  color: #ffffff;
  border-bottom: solid 1px rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  font-weight: 300;
  font-size: 1.6rem;
}

.mobile-inner-nav a:hover {
  color: rgba(255, 255, 255, 0.4);
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}
