@charset "utf-8";

    
 .test01{
  position: relative;
  float: right;
  width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;   
}

 .test02{
 position: relative;
  float: right;
  width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;
}

 .test03{
 position: relative;
  float: right;
 width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;
}

 .test04{
 position: relative;
  float: right;
  width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;
}

 .test05{
 position: relative;
  float: right;
  width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;
}

 .test06{
 position: relative;
  float: right;
  width: 11%;
  border-right: 0px solid #eee;
  font: 16px Arial; 
  color: black;
  cursor: pointer;
  text-align: center;
  height: 86px;
  line-height: 86px;
}

.nav01{
  display: none;
  position: absolute;
  /* 关键：相对于.test01定位 */
  right: 0px;         /* 与.test01左侧对齐 */
  top: 100%;       /* 位于.test01底部正下方 */
  width: 100%;     /* 宽度与.test01保持一致（可选） */
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; /* 确保padding不会增加总宽度 */
   overflow-y: auto; /* 内容超出时显示纵向滚动条 */
  z-index: 20;
}

.nav02{
  display: none;
  position: absolute;
  right: 0px;        
  top: 100%;       
  width: 100%;     
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; 
   overflow-y: auto;
  z-index: 20; 
}

.nav03{
  display: none;
  position: absolute;
  right: 0px;        
  top: 100%;       
  width: 100%;     
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; 
   overflow-y: auto;
  z-index: 20; 
}

.nav04{
  display: none;
  position: absolute;
  right: 0px;        
  top: 100%;       
  width: 100%;     
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; 
    overflow-y: auto;
  z-index: 20; 
}

.nav05{
  display: none;
  position: absolute;
  right: 0px;        
  top: 100%;       
  width: 100%;     
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; 
  overflow-y: auto;
  z-index: 20; 
}

.nav06{
  display: none;
  position: absolute;
  right: 0px;        
  top: 100%;       
  width: 100%;     
  padding: 3% 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box; 
    overflow-y: auto;
  z-index: 20; 
}

nav div a{
      display: inline-block;
  width: 100%;
  font-size: 14px;
  line-height: 30px;
  color: #666;
  text-align: center;
  -webkit-transition: all 0.5s;
          transition: all 0.5s;
}



.pc-only {
  display: block; /* 无 !important，优先级交给 @media 控制 */
}
.mobile-only {
  display: none; /* 无 !important，优先级交给 @media 控制 */
}

/* 移动端响应式（屏幕 ≤768px） */
@media (max-width: 1024px) {
  .pc-only {
    display: none; /* 隐藏 PC 端 Header */
  }
  .mobile-only {
    display: flex; /* 显示移动端 Header，用 flex 布局 */
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 元素两端分布 */
    padding: 0 0px; /* 增加内边距，避免贴边 */
  }
  /* 移动端其他适配（如缩小 logo、调整搜索框） */
  .logo {
    height: 40px;
  }
  .searchbtn {
   
    width: 15%;
    right: 0%;
  }

  .menubtn{
    position: absolute;
    right: 50px;
}
}

/* CMS managed desktop navigation polish */
.header-pc [data-cms-menu-slug] > p > a.cms-menu-parent {
  position: relative;
  color: inherit;
  transition: color 180ms ease;
}

.header-pc [data-cms-menu-slug] > p > a.cms-menu-parent::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #3479bd;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.header-pc [data-cms-menu-slug]:hover > p > a.cms-menu-parent,
.header-pc [data-cms-menu-slug].cur > p > a.cms-menu-parent,
.header-pc [data-cms-menu-slug]:focus-within > p > a.cms-menu-parent {
  color: #3479bd;
}

.header-pc [data-cms-menu-slug]:hover > p > a.cms-menu-parent::after,
.header-pc [data-cms-menu-slug].cur > p > a.cms-menu-parent::after,
.header-pc [data-cms-menu-slug]:focus-within > p > a.cms-menu-parent::after {
  width: 30px;
}

.header-pc [data-cms-menu-slug] > p > a.cms-menu-parent:focus-visible {
  outline: 2px solid rgba(52, 121, 189, 0.55);
  outline-offset: -6px;
}

.header-pc [data-cms-menu-slug][data-cms-has-children="false"] > nav {
  display: none !important;
}

.header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav {
  padding: 8px 0;
  border: 1px solid rgba(52, 121, 189, 0.14);
  border-top: 2px solid #3479bd;
  border-radius: 0 0 5px 5px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(27, 55, 84, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav.cms-menu-open {
  pointer-events: auto;
  transform: translateY(0);
}

.header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div > a {
  box-sizing: border-box;
  color: #555;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div > a:hover,
.header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div > a:focus-visible {
  color: #3479bd;
  background: #eef6ff;
  box-shadow: inset 3px 0 0 #3479bd;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .header-pc [data-cms-menu-slug] > p > a.cms-menu-parent,
  .header-pc [data-cms-menu-slug] > p > a.cms-menu-parent::after,
  .header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav,
  .header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div > a {
    transition: none;
  }
}

/* CMS managed desktop submenu hit area */
@media (min-width: 1025px) {
  .header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div {
    line-height: 0;
  }

  .header-pc [data-cms-menu-slug][data-cms-has-children="true"] > nav > div > a {
    display: flex;
    width: 100%;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
  }
}
