/* part 品牌 */
.parttwobox{
    position: relative;
    height: 100vh; /* 全屏高度 */
    background: url('../images/company_img/compart2bg.png') no-repeat center center;
    background-size: cover; /* 自适应填充 */
    display: flex;
    align-items: center;
    color: white;
}
.ptinnerbox{
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    align-items: start;
    padding-left: 120px;
    padding-top: 120px;
}

.brand-tips{
    font-size: 0.9375vw;
    color: #343434;
    width: 29.0104vw;
    height: 3.8541vw;
}

.partcompanyShow{
    display: none;
}
.partcompanyShow.active {
    display: block;
}


.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
}

.hero-title {
    font-size:4.1666vw;
    display: inline-block;
    width: 16.6666vw;
    position: absolute;
    left: 41.6666vw;
    top: 18.6979vw;
}
.hero-title::after{
    content: '';
    position: absolute;
    bottom: -0.52vw;
    width: 6.40625vw;
    height: 3px;
    background: white;
    left: 31%;
}

nav {
    background: #ffffff;
    width: 100%;
}

.nav-container {
    display: flex;
    width: 54.1666vw;
    left: 22.9166vw;
    position: absolute;
    z-index: 9;
    bottom: 5.520vw;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: red;
    text-decoration: none;
    text-align: left;
}


.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
    width: 100%;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.25vw;
    transition: color 0.3s ease;
    position: relative;
}

/* 默认选中状态 */
.nav-links .active {
    color: white;
}

.nav-links .active::after,
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    bottom: -0.9895vw;
    left: 0;
    transition: width 0.3s ease;
}
.nav-links .active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

/*_++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



/*_++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* 品牌故事 */
.stroy-text-box{
    text-align: left;
    margin-right: 4.2708vw;
}
.stroy-text-box:nth-child(2){
    text-align: left;
    width: 33.3333vw;
    height: 21.1979vw;
    padding-top: 1.875vw;
    margin-left: 4.2708vw;
}
.story-big-img{
    width: 40.5208vw;
    height: 24.9479vw;
}
.story-small-img{
    width: 25.3125vw;
    height: 16.3541vw;
}
.textboxtext{
    font-size: 0.9735vw;
    line-height: 1.9791vw;
    text-indent: 2rem;
}
.storyboxone{
    display: flex;
    flex-direction: row;
}

.gradient-box {
    width: 5.8333vw;
    height: 3.28125vw;
    
    /* 渐变色背景：从左到右由红变白 */
    background: linear-gradient(90deg, rgba(201,6,44,1) 0%, rgba(255,255,255,0.1) 100%);
    
    /* 文字颜色根据背景自动调整 */
    color: rgba(0, 0, 0, 0.7);  /* 渐变中段颜色较浅使用深色文字 */
}

.textfont{
    font-size: 1.6666vw;
    color: white;
}
/* 核心响应式样式 */
.swiper-outer-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 calc(54px + 21px); /* 按钮宽度 + 间距 */
  }

  .swiper-main-container {
    width: 100%;
    overflow: hidden;
  }

  .swiper-container {
    margin-left: -15px;
    padding: 20px 0;
  }

  .swiper-slide {
    width: 359px !important;
    height: 458px;
    flex-shrink: 0; /* 禁止缩放 */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例 */
  }

  /* 响应式按钮 */
  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    width: 2.8125vw;
    height: 2.8125vw;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    margin: 0 -0.7812vw;
  }

  /* 按钮定位 */
  .swiper-button-prev-custom { left: 0; }
  .swiper-button-next-custom { right: 0; }

  /* 保持箭头样式 */
  .swiper-button-prev-custom::after,
  .swiper-button-next-custom::after {
    content: '';
    position: absolute;
    width:0.625vw;
    height: 0.625vw;
    border-left: 3px solid #666;
    border-bottom: 3px solid #666;
    top: 50%;
    left: 50%;
    transition: all 0.3s ease;
  }
  .swiper-button-next-custom:hover{background: #C9062C;}
  .swiper-button-prev-custom:hover{background: #C9062C;}
  .swiper-button-prev-custom::after { transform: translate(-30%, -50%) rotate(45deg); }
  .swiper-button-next-custom::after { transform: translate(-70%, -50%) rotate(-135deg); }
  .swiper-button-prev-custom:hover::after,
  .swiper-button-next-custom:hover::after { border-color: white; }

  /* 响应式关键调整 */
  @media (max-width: 1799px) {
    .swiper-outer-container {
      padding: 0 calc(54px + 21px - (1799px - 100vw) * 0.1);
    }
  }

@media  screen and (max-width:992px){
	.nav-container {
	
	    width: 100% !important;
	    left: 0 !important;
	    position: absolute;
	    z-index: 9;
	    bottom: 5.520vw;
	}
	.nav-links {
		padding: 0 24px !important;
	}
	.nav-links a {
	    font-size: 14px !important;
	}
	.text-center .paddLRBody{
			display: flex;
			flex-direction: column !important;
		}
		.text-center .paddLRBody img{
			width: 100% !important;
		}
		.stroy-text-box{
			width: 100% !important;
            margin: 2rem 0 0 0;
		}
		.textboxtext{
			font-size: 14px !important;
			line-height: 1.5 !important;
		}
		.textboxtext a{
			font-size: 14px !important;
			line-height: 1.5 !important;
		}
        .story-big-img{
            height: auto !important;
        }
}

