
/*========================================================*/
/*-------首頁內容--------*/
/*========================================================*/









/*/////////////////////////////////////////////////////////*/
/*-------共用區塊--------*/
/*/////////////////////////////////////////////////////////*/


/*首頁內容區塊*/	
.mainContent{
	padding:  clamp(1.6130rem, 2.6042vw, 3.1250rem) 0; /* 25.81px , 2.6042vw , 50.00px */
	padding: 0;
}


	/*----- 首頁標題1 -----*/
	.index_title {
		position: relative;
		/* font-size: 2.5625em; */
		font-weight: 700;
		color: var(--dark_color);
		letter-spacing: 0.0625em;
		/* z-index: 1; */
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		/* align-items: center; */
		/* margin: clamp(1.923rem, 0.001rem + 2.6vw, 3.125rem) 0; */
		gap: calc(0.625rem * 2);
		font-size: clamp(1.5625rem, -0.083rem + 2.15vw, 2.5rem);
	}	
		.index_title strong ,
		.index_title h2{
			font-size: inherit;
			line-height: inherit;
			padding: 0;
			margin: 0;
			display: inline-block;
			font-weight: inherit;
			position: relative;
		}	

		.index_title span{
			font-family: var(--foreign_font);
			font-weight: 700;
			color: var(--primary_color);
			font-size: 1.125em;
			z-index: 1;
		}	
		.index_title .decorative_text{
			margin: 0;
			padding: 0;
			list-style-type : none;
			display: block;

			position: absolute;
			top: 50%;
			left: 50%;
			-webkit-transform: translate(-50%, -50%);
			transform: translate(-50%, -50%);
			font-family: var(--foreign_font);
			font-size: 11.1875em;
			font-weight: 800;
			letter-spacing: .0625rem;
			z-index: 0;
			/* color: #e6f5fc; */
			color: #d7ecf7;
			mix-blend-mode: multiply;
			pointer-events: none;
			z-index: 0;
		}
		.index_title .sub{
			font-weight: 500;
			font-size: clamp(0.95rem, 0.72rem + 0.5vw, 1.375rem);
			letter-spacing: 0.02rem;
			line-height: 1.55;
			color: var(--dark_color);
			text-wrap: pretty;
		}

		/* .titleBox .line , */
		.index_title::after{
			content: "";
			width: 57px;
			height: 5px;
			background-color: var(--primary_color);
			margin: 0;
			z-index: 1;
			display: flex;
			margin: 0 auto;
		}





.index_button{
	display: flex;
	justify-content: center;
	margin: 10px auto 20px;
}

	.index_button a ,
	.index_button button ,
	.index_button input{
		border: none;
		font-size: clamp(1.125rem, 0.858rem + 0.43vw, 1.375rem);
		transition: var(--transition-data);
		text-transform: uppercase;
		font-weight: 600;
		color: var(--primary_color);
		background-color: #fff;
		position: relative;
		padding: clamp(0.677rem, 1.09vw, 1.313rem) 3.75rem;
		padding-left: calc(3.75rem * 0.5);
		border-radius: 3.75rem;
		text-decoration: none;
		position: relative;
		-webkit-box-shadow: 2px 0 27px rgba(227 6 19 / 30%), 2px 0 27px rgba(227 6 19 / 50%);
		box-shadow: 2px 0 27px rgba(227 6 19 / 30%) , 2px 0 27px rgba(227 6 19 / 50%);
	}


		.index_button a:before  ,
		.index_button button::before {
			position: absolute;
			/* top: 20px; */
			display: inline-block;
			font-family: bootstrap-icons;
			font-style: normal;
			color: var(--primary_color);
			margin: 0px;
			content: "\F285";
			top: 50%;
			right: 1.25rem;
			transform: translateY(-50%); 
		}






.index_button2{
	display: flex;
    align-items: center;
    gap: 1.125rem;
}

	.index_button2 a ,
	.index_button2 button ,
	.index_button2 input ,
	.index_button2 > div{
		background: transparent;
		padding: 0;
		margin: 0;
		cursor: pointer;
		border: none;
		position: relative;
		text-decoration: none;
		color: var(--primary_color);
		display: inline-block;
		letter-spacing: .0313rem;
		text-align: center;
		/* font-family: var(--foreign_font); */
		font-weight: 700;
		font-size: 1rem;
		text-transform: uppercase;
		display: flex;
		align-items: center;
		column-gap: clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem);
	}


	.index_button2 span{
		color: inherit;
		font-size: inherit;
		line-height: inherit;
		border-bottom: 1px solid var(--primary_color);
		padding: .3125rem;
	}


	/* 圓形箭頭按鈕 */
	.index_button2 .btn {
		width: clamp(2.258rem, 3.65vw, 4.375rem);
		height: auto;
		aspect-ratio: 1;
		border-radius: 50%;
		background: var(--primary_color);
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
	}
	
	.index_button2 .btn::after {
		content: "→";
		display: inline-flex;
		/* align-items: center; */
		/* justify-content: center; */
		color: #fff;
		font-size: 1.125em;
		transition: transform 0.3s ease, background 0.3s ease;
	}

	.index_button2 .btn::before {
		content: "";
		position: absolute;
		border-radius: 50%;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: -1;
		background-color: #cfe9f6;
		-webkit-animation: dotAni 1.2s infinite ease-out forwards;
				animation: dotAni 1.2s infinite ease-out forwards;
	}




	.index_button a:hover ,
	.index_button button:hover ,
	.index_button input:hover{
		transition: var(--transition-data);
		color: #fff;
		background-color: var(--primary_color);
	}
		.index_button a:hover:before  ,
		.index_button button:hover::before {
			color: #fff;
			transition: var(--transition-data);
		}


	
@media (max-width: 990px){
	
	.mainContent{	
		/* padding: 25px 0px;	 */
	}	



		/*----- 首頁標題1 -----*/
		.index_title{
			/* font-size: 1.5625rem; */
			/* line-height: 1.2; */
		}
		

}














/*=========================================================================*/
/*------------首頁_輪播區塊------------*/
/*=========================================================================*/



.index_banner {
    position: relative;
    width: 100%;
    /* max-width: 1920px; */
    margin: 0 auto;
}





		/* ---------- 右側圖片 (弧形左邊緣) ---------- */
		.index_banner  .banner_item .img {
			display: block;
			width: 100%;
		}


			.index_banner  .banner_item picture {
				position: relative;
				/* aspect-ratio: 1920 / 973; */
				/* aspect-ratio: 590 / 239; */
				aspect-ratio:  2.46 / 1;
				width: 100%;
				display: block;
				overflow: hidden;
			}


			.index_banner .banner_item .img img {
				width: 100%;
				height: 100%;
				object-fit: cover;
				position: absolute;
				top: 0;
				left: 0;
				bottom: 0;
				right: 0;
				float: none;
				width: 100% !important;
				height: 100% !important;
				object-fit: cover;
				transition: 0.3s ease all;
			}

			





@media (max-width: 990px) {

	.indexmain .index_banner .swiper-button-prev,
	.indexmain .index_banner .swiper-button-next {
		display: none;
	}

}


@media (max-width: 480px) {

	.index_banner  .banner_item picture {
		aspect-ratio: 25 / 24;
	}

}


















/*=========================================================================*/
/*------------首頁_頁籤共用樣式區塊------------*/
/*=========================================================================*/


.indexmain .text_bottom {
  width: 100%;
}

.indexmain .tabs_btn_now {
  display: none;
}

.indexmain .tab_area {
  /* margin-bottom: clamp(1.5rem, 3vw, 2.5rem); */
}

.indexmain .img-scroll {
  /* overflow-x: auto; */
  height: auto;
}

.indexmain .img-list {
  /* min-width: max-content; */
}

.indexmain .tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: .9375rem clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
}
.indexmain .text_bottom .tabs li{
	border: none;
}
.indexmain .tab_button {
  border: none;
  display: block;
  padding: 0 clamp(1.613rem, 2.6vw, 3.125rem);
  font-size: clamp(0.95rem, 0.7rem + 0.5vw, 1.25rem);
  line-height: clamp(2.194rem, 3.54vw, 4.25rem);
  /* line-height: 1; */
  color: #5e5e5e;
  background-color: #fff;
  letter-spacing: .125rem;
  text-align: center;
  border-radius: 100px;
  /* -webkit-box-shadow: 2px 0 27px rgba(227 6 19 / 30%); */
  /* box-shadow: 2px 0 27px rgba(227 6 19 / 30%); */
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.indexmain .tab_button[aria-selected="true"],
.indexmain .tab_button:hover {
  background-color: var(--primary_color) !important;
  color: #fff;
}

.indexmain .p_tab_text_area {
  width: 100%;
  padding: 0;
}

.indexmain .text_bottom .tabs li span::before, 
.indexmain .text_bottom .tabs li .tab_button::before {
	display: none;
}





@media (max-width: 760px){

	.indexmain  .tabs_btn_now {
		display: flex;
		align-items: center;
		border: none;
		color: #fff;
		font-weight: 400;
		cursor: pointer;
		font-size: 1.25rem;
		letter-spacing: .0625rem;
		line-height: 1.5;
		padding: 0.625rem;
		position: relative;
		background-color: #fff;
		color: #5e5e5e;
		-webkit-box-shadow: 2px 0 27px rgba(1, 129, 192, 0.3);
		box-shadow: 2px 0 27px rgba(1, 129, 192, 0.3);
	}

	.indexmain  .tabs_btn_now_arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		border: 0;
		background: transparent;
		color: inherit;
	}

	.indexmain  .tabs {
		gap: 0;
	}
	
		.indexmain .tab_button {
			text-align: center;
			border-radius: 0;
			-webkit-box-shadow: none;
			box-shadow: none;
			display: block;
			padding: 0.938rem;
			font-size: 1.125rem;
			line-height: 1;
			letter-spacing: .125rem;
			text-align: center;
			overflow: hidden;
		}


}









/*=========================================================================*/
/*------------首頁_案例區塊------------*/
/*=========================================================================*/


/*-------首頁_案例區塊--------*/
.index_caseBg {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.index_caseBg {
  padding-top: clamp(1.613rem, 2.6vw, 3.125rem);
  padding-bottom: calc(clamp(1.613rem, 2.6vw, 3.125rem) * 0.5);
  /* min-height: 100vh; */
}
.index_caseBg .wrap {
	max-width: 102.8125rem;
	/* width: 100%; */
	position: relative;
	z-index: 1;
	/* padding-inline: clamp(1.25rem, 0.1rem + 1.46vw, 3.75rem); */
}

	.index_caseBg::before {
	}
	

		.index_case_area {
			margin-top: clamp(1.5rem, 4vw, 3rem);
		}
		

		.indexmain .index_case_area .text_bottom .img-scroll .tabs {
			/* justify-content: center; */
		}

		.index_caseBg .index_case_area .p_tab_text_area {
			margin-top: 0;
		}


		.index_caseBg  .tab_area{

		}
			.index_caseBg  .tab_area button{
				display: flex;
				align-items: center;
				gap: clamp(0.484rem, 0.78vw, 0.938rem);
				position: relative;
			}
				.index_caseBg  .tab_area button img{
					width: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
					min-width: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
					height: auto;
				}

				.index_caseBg  .tab_area  button img.active{
					/* opacity: 1; */
				}
				.index_caseBg  .tab_area button img.noactive{
					position: absolute;
					left: clamp(1.613rem, 2.6vw, 3.125rem);
					top: 50%;
					transform: translateY(-50%);
				}


				.index_caseBg  .tab_area li.active button img.active{
					opacity: 1;
				}
				.index_caseBg  .tab_area li.active button img.noactive{
					opacity: 0;
				}

				.index_caseBg  .tab_area li:not(.active) button img.active{
					opacity: 0;
				}
				.index_caseBg  .tab_area li:not(.active) button img.noactive{
					opacity: 1;
				}

				.index_caseBg  .tab_area li:hover button img.active{
					opacity: 1;
				}
				.index_caseBg  .tab_area li:hover button img.noactive{
					opacity: 0;
				}

				.index_caseBg  .tab_area li:hover button img{
					transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
					transform: perspective(2500px) rotateY(0);
					transition-duration: 1s;
				}


				.index_caseBg  .tab_area button p{
					font-size: inherit;
					line-height: inherit;
					color: inherit;
				}


.index_case_area_inner {

}


	.index_caseBg .index_caseSwiper {
		/* margin-bottom: clamp(1.538rem, -0.001rem + 2.08vw, 2.5rem); */
	}




	.indexmain .index_caseBg .swiper-pagination {
		/* z-index: 5;
		height: 10px;
		opacity: 1; */
		/* bottom: clamp(4.229rem, 5.73vw, 6.875rem) !important; */
		bottom: clamp(5rem, 5.73vw, 6.875rem) !important;
	}


	.indexmain .index_caseBg .swiper-button-prev {
		/* background-image: url(../index/images/left_arrow2.svg); */
		left: calc(clamp(1.768rem, -0.001rem + 2.4vw, 2.875rem) * -1);
	}

	.indexmain .index_caseBg  .swiper-button-next {
		/* background-image: url(../index/images/right_arrow2.svg); */
		right: calc(clamp(1.768rem, -0.001rem + 2.4vw, 2.875rem) * -1);
	}

















/* ---------- list / card ---------- */
.index_case_list {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  /* box-sizing: border-box; */
  padding: clamp(0.484rem, 0.78vw, 0.938rem);
  padding-bottom: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
}
a.index_case_card {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* flex: 1 1 auto; */
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: clamp(0.875rem, 0.5rem + 0.78vw, 1.5rem);
  overflow: hidden;
  /* box-shadow:
    0 0.125rem 0.375rem rgba(28, 28, 32, 0.04),
    0 1.25rem 2.5rem rgba(28, 28, 32, 0.06); */
  transition: var(--transition-data);
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
  /* box-shadow: rgb(38, 57, 77) 0px 14px 28px -12px , rgb(38, 57, 77) 0px -7px 22px -12px; */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}



.index_case_in {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.index_case_content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 圖區 */
.index_case_content .img {
  position: relative;
  /* overflow: hidden; */
  /* aspect-ratio: 404 / 304; */
  /* aspect-ratio: 2.65 / 1; */
  aspect-ratio: 528/ 279;
  width: 100%;
  display: block;
}
.index_case_content .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	float: none;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition:var(--transition-data);
}

.index_case_list a.index_case_card:hover .img img { 
	transform: scale(1.04); 
	transition:var(--transition-data);
}


.index_case_content .img::before {
  transition: var(--transition-data);
  position: absolute;
  content: "";
  width: 110%;
  display: block;
  /* background-image: linear-gradient(to bottom, #ffffff00 0%, rgba(255 255 255 / 50%) 30%, #ffffff 80%, #ffffff 100%); */
  height: 60%;
  z-index: 3;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
}




	a.index_case_card:hover {
		transition: var(--transition-data);
		box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	}

	a.index_case_card:hover .img::before {
		transition: var(--transition-data);
		/* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
	}




/* 類別 */
.index_case_content .category {

margin: 0;

font-weight: 600;

font-size: clamp(1.045rem, 0.693rem + 0.57vw, 1.375rem);

line-height: 1.5;

color: #f5400b;
}

/* 文字區 */
.index_case_content .text {
  height: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: clamp(0.645rem, 1.04vw, 1.25rem) clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem) 0;
  padding-bottom: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
  gap: clamp(0.5rem, 0.3rem + 0.4vw, 0.75rem);
}
.index_case_content .title_tw {
  padding: 0;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.25rem, 0.85rem + 0.78vw, 1.875rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--dark_color);
  display: -webkit-box;
  -webkit-box-orient: vertical;	
  -webkit-line-clamp: 2;	
  overflow: hidden;

  min-height: calc(clamp(1.25rem, 0.85rem + 0.78vw, 1.875rem) * 1.25 * 2);
}
.index_case_content .sub {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 0.7rem + 0.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--dark_color);
  

  /* 行數樣式 modify by pekey 20260710 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  display: none;
}

/* 標籤膠囊 */
.index_case_content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 0.3rem + 0.4vw, 0.875rem);
  /* margin-top: clamp(0.75rem, 0.4rem + 0.7vw, 1.375rem); */
}
.index_case_content .tags .tag {
  display: inline-flex;
  align-items: center;
  padding: clamp(0.4rem, 0.25rem + 0.3vw, 0.625rem)
           clamp(0.75rem, 0.4rem + 0.7vw, 1.25rem);
  border-radius: 999px;
  background: #faf3f3;
  color: var(--primary_color);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.6rem + 0.4vw, 1.0625rem);
  line-height: 1.4;
  /* white-space: nowrap; */
  transition: var(--transition-data);
}





/* btn */
.index_case_content .btn {

}
	.index_case_content .btn_text {

	}


	/* 首頁查看更多案紐 樣式2		 */
	.index_case_content .btn{
		display: flex;
		align-items: baseline;
		justify-content: center;
		gap: 0.25rem;
		font-weight: 600;
		color: #f5400b;
		/* border: var(--dark_color_sec) 1px solid; */
		transition: var(--transition-data);
		text-decoration: none;
		padding: clamp(0.71rem, 0.001rem + 1.15vw, 1.375rem) clamp(1.032rem, 1.67vw, 2rem);
		border-radius: 5px;
		font-size: clamp(0.909rem, 0.546rem + 0.59vw, 1.25rem);
		width: max-content;
		padding-left: 0;
		margin-top: auto;


		padding: 0;
		padding-right:  clamp(1.032rem, 1.67vw, 2rem);
	}

		/* .more_link_btn2 a , .more_link_btn2 .more_btn{
			margin: 0;
			padding: 0;
			font-size: inherit;
			font-weight: inherit;
			line-height: inherit;
			color      : inherit;
			gap: inherit;
			display: flex;
			text-decoration: none !important;
		} */
			.index_case_content .btn .btn_text{
				margin: 0;
				padding: 0;
				font-size: inherit;
				font-weight: inherit;
				line-height: inherit;
				color      : inherit;
				display: flex;
				align-items: center;
				gap: inherit;
			}
			.index_case_content .btn .btn_text::after{
				content: '\F138';
				font-family: 'bootstrap-icons';
				font-weight: 900;
				font-size: calc(clamp(0.938rem, 0.871rem + 0.11vw, 1rem) * 1.25);
			}










.index_case_list a.index_case_card:hover .index_case_content .tags .tag {
  transition: var(--transition-data);
  background: var(--primary_color);
  color: #faf3f3;
}










@media screen and (min-width: 1144.1px) {


	.index_caseBg  .index_title ,
	.indexmain .index_caseBg .tab_area {
	}

	.index_caseBg .wrap {
	}
	.index_caseBg  .index_case_area_inner{
		margin-left: auto;
		margin-right: auto;
		position: relative;
	}




	.index_caseBg .index_case_area_inner:is(.count_2) .swiper-slide-next  .index_case_content{
		/* border-right: 1px dashed rgba(0, 0, 0, 0); */
	}

	.index_caseBg .index_case_area_inner:is(.count_3) .swiper-slide-next ~ .swiper-slide  .index_case_content{
		/* border-right: 1px dashed rgba(0, 0, 0, 0); */
	}
	.index_caseBg .index_case_area_inner:is(.count_4 , .count_gt) .swiper-slide-next ~ .swiper-slide ~ .swiper-slide .index_case_content{
		/* border-right: 1px dashed rgba(0, 0, 0, 0); */
	}


	a.index_case_card:hover {
		transform: translateY(-0.5dvw);
		box-shadow: rgb(38, 57, 77) 0px 19px 28px -12px , rgb(38, 57, 77) 0px -7px 22px -12px;
	}

	a.index_case_card:hover .img::before {
		bottom: calc(-2px - 0.5dvw);
	}

}





/* 在螢幕寬度大於1024時，套用這裡的特定樣式 */ 
@media screen and (min-width: 1024.1px) {

    .index_caseBg .wrap  {
        /* max-width: 73.75rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%; */
    }

}



/* 在螢幕寬度大於990時，套用這裡的特定樣式 */
@media screen and (min-width: 990.1px) {




	.index_caseBg .swiper-slide{
		display: flex;
		flex-direction: column;
		flex-grow: 1;
		height: auto;
		/* min-height: 100% !important; */
		/* box-sizing: border-box; */
		/* background-color: #ddd; */
	}



	.index_caseBg .index_case_area_inner.count_1 {
	}
	.index_caseBg .index_case_area_inner.count_2 {
		
	}
	.index_caseBg .index_case_area_inner.count_3 {
	}
	.index_caseBg .index_case_area_inner.count_4 ,
	.index_caseBg .index_case_area_inner.count_gt {
		/* max-width: calc(100% - 10px); */
		/* margin-left: auto; */
		margin-top: clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem);
	}

	
	.index_caseBg .index_case_area_inner{
		margin: 0;
		margin-left: auto;
		margin-right: auto;
	}

	a.index_case_card:hover {
		/* transition: var(--transition-data); */
		/* transform: translateY(-0.5dvw); */
		/* box-shadow:
			0 0.25rem 0.5rem rgba(28, 28, 32, 0.06),
			0 1.875rem 3.25rem rgba(28, 28, 32, 0.12); */
		/* box-shadow: rgb(38, 57, 77) 0px 19px 28px -12px , rgb(38, 57, 77) 0px -7px 22px -12px; */
	}

	a.index_case_card:hover .img::before {
		/* bottom: calc(-2px - 0.5dvw); */
		/* background-image: linear-gradient(to bottom, #ffffff00 0%, rgba(255 255 255 / 50%) 30%, #ffffff 50%, #ffffff 100%); */
		/* height: 83%; */
		/* transition: var(--transition-data); */
	}


	.zoom-150 a.index_case_card ,
	.zoom-150 a.index_case_card:hover {
		box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	}



}





@media (max-width: 990px) {

	.indexmain .index_caseBg .swiper-button-prev ,
	.indexmain .index_caseBg .swiper-button-next {
		display: none;
	}
	
}


/* @media screen and (min-width: 760.1px) {

	.index_caseBg .index_case_area_inner {
	}

	
	.index_caseBg .index_case_area_inner{
		margin: 0;
		margin-left: calc(clamp(0.484rem, 0.78vw, 0.938rem) * -1);
		margin-right: calc(clamp(0.484rem, 0.78vw, 0.938rem) * -1);
		margin-top: clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem) !important;
	}

} */


@media (max-width: 760px) {

	.index_caseBg .tab_area button img.noactive {
		left: 0.938rem;
	}
	.index_caseBg .index_case_area_inner {
		margin-top: .9375rem;
	}

}

@media (max-width: 640px) {

	.index_case_more {
		margin-top: 1.875rem;
	}

}

/* @media (max-width: 425px) {

	.index_case_content {
		border-left: 1px dashed #dadada;
		border: 1px dashed #dadada;
	}
	
} */
































/*=========================================================================*/
/*------------首頁_展望區塊------------*/
/*=========================================================================*/




/* ---------- 區塊容器（背景圖 demo 佔位） ---------- */
.index_featureBg {
	position: relative;
	padding: clamp(2.258rem, 3.65vw, 4.375rem) 0;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
  /* padding-block: clamp(2rem, 0.9rem + 2.3vw, 3.875rem); */ /* ~62px @1920 */
  /* 灰色 demo 背景：實際為深色電路圖，請替換 background-image */
  /* background-color: #2b2f37; */
  /* background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.035) 0 16px,
      rgba(255, 255, 255, 0) 16px 32px); */
  overflow: hidden;
}
/* demo 標籤：提示此處放置背景圖 */
.index_featureBg::before {
  content: "BACKGROUND IMAGE（demo）";
  position: absolute;
  top: 0.75rem;
  left: clamp(1.25rem, 0.1rem + 1.46vw, 3.75rem);
  font-family: var(--foreign_font);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  content: "";
}

.index_featureBg .wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  /* padding-inline: clamp(1.25rem, 0.1rem + 1.46vw, 3.75rem); */ /* 60px @1920 */
}

/* ---------- area：四欄網格 ---------- */
.index_feature_area {
	margin: 0;
	padding: 0;
	list-style-type : none;
	/* display: block; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* column-gap: clamp(1rem, -1rem + 4vw, 4.5rem); */
  row-gap: clamp(2.5rem, 1rem + 4vw, 4rem);
}

/* ---------- list：單筆容器 + 欄間分隔線 ---------- */
.index_feature_list {
	margin: 0;
	padding: 0;
	list-style-type : none;
	/* display: block; */
  position: relative;
  display: flex;
}
/* 淡藍短垂直分隔線（第 2、3、4 欄左側、置於欄間距正中） */
.index_feature_list:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(1rem, -1rem + 4vw, 4.5rem) / -2);
  transform: translate(-50%, -50%);
  width: 1px;
  height: 58%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(120, 175, 255, 0.34) 22%,
    rgba(120, 175, 255, 0.34) 78%,
    transparent 100%);
}

/* ---------- card / in ---------- */
.index_feature_card {
  display: flex;
  flex: 1 1 auto;
}
.index_feature_in {
  display: flex;
  width: 100%;
}

/* ---------- content：垂直置中堆疊 ---------- */
.index_feature_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: clamp(0.4rem, 0.2rem + 0.4vw, 0.625rem);
}

/* 圖示（灰色 demo 佔位，請替換為霓虹 icon） */
.index_feature_content .img {
  position: relative;
  width: clamp(5.161rem, 8.33vw, 10rem);   /* ~118px @1920 */
  max-width: 50%;
  aspect-ratio: 1;
  /* margin-bottom: clamp(0.75rem, 0.3rem + 0.9vw, 1.5rem); */
  /* border-radius: 12%; */
  /* background-color: rgba(255, 255, 255, 0.07); */
  /* background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.10) 0 8px,
      rgba(255, 255, 255, 0) 8px 16px); */
  /* border: 1px dashed rgba(255, 255, 255, 0.22); */
}
.index_feature_content .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: var(--transition-data);
}
.index_feature_content .img::after {
  /* content: "icon"; */
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--foreign_font);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}


.feature-card-info{
	display: flex;
	flex-direction: column;
	/* align-items: center; */
	/* text-align: center; */
	/* width: 100%; */
	gap: clamp(0.4rem, 0.2rem + 0.4vw, 0.625rem);
}

/* 大標容器：固定高度→數字欄與文字欄基線對齊 */
.index_feature_content .feature_head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  /* min-height: clamp(2.75rem, 1rem + 3.6vw, 5rem); */ /* ~80px @1920 */
  margin: 0;
  line-height: 1;
  gap: 10px;
}

/* 大標數字 / 中文詞（青藍漸層霓虹） */
.index_feature_content .feature_head .num,
.index_feature_content .feature_head .word {
  font-weight: 400;
  background: linear-gradient(180deg, #c4ecff 0%, #2f9bf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(70, 170, 255, 0.72));
}


.index_feature_content .feature_head .num.en{
	font-family: var(--foreign_font);
}
.index_feature_content .feature_head .num.en strong{
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
}


/* 數字（1.24+ / 999+）— 較大 */
.index_feature_content .feature_head .num {
  font-size: clamp(2.5rem, 0.9rem + 3.7vw, 4.5rem); /* ~72px @1920 */
  letter-spacing: -0.01em;
}
.index_feature_content .feature_head .num .plus {
  font-size: 0.62em;
  vertical-align: 0.12em;
  margin-left: 0.02em;
}
/* 中文大標（專業服務 / 永續經營）— 用中文字型、略小 */
.index_feature_content .feature_head .word {
  /* font-family: var(--mandarin_font); */
  font-size: clamp(1.875rem, 0.7rem + 2.7vw, 3.25rem); /* ~52px @1920 */
  letter-spacing: 0.04em;
}
/* 單位小字（年以上 / 案以上）右上 */
.index_feature_content .feature_head .unit {
  align-items: flex-end;
  /* margin-left: 0.35em; */
  /* margin-bottom: 0.12em; */
  margin: 0;
  font-family: var(--mandarin_font);
  font-weight: 600;
  font-size: clamp(0.85rem, 0.4rem + 0.95vw, 1.375rem); /* ~22px @1920 */
  letter-spacing: 0.04em;
  color: #2f9bf0;
  white-space: nowrap;
}

/* 中段粗體白字（服務經驗 / 設計‧開發‧維護…） */
.index_feature_content .title_tw {
  /* margin: clamp(0.25rem, 0.1rem + 0.3vw, 0.5rem) 0 0; */
  font-weight: 700;
  font-size: clamp(1.25rem, 0.65rem + 1.15vw, 2.125rem); /* ~34px @1920 */
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: #eef6ff;
}

/* 下方說明（淺藍白） */
.index_feature_content .desc {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 0.6rem + 0.7vw, 1.5rem); /* ~24px @1920 */
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #aac4e4;
}

/* =========================================================
   RWD：4 欄 → 2 欄 → 1 欄（沿用案例區斷點）
   ========================================================= */
@media (max-width: 1180px) {
	.index_feature_area {
		grid-template-columns: repeat(2, 1fr);
	}

	.index_feature_list:not(:first-child)::before {
		display: none;
	}
}
@media (max-width: 640px) {
  .index_feature_area { 
		grid-template-columns: 1fr; 
		gap: 1.5625rem;
	}
}





























/*=========================================================================*/
/*------------首頁_諮詢區塊------------*/
/*=========================================================================*/

.index_itemBg {
  width: 100%;
}
.index_consultBg {
  position: relative;
  /* max-width: 1920px; */
  margin: 0 auto;
  /* background:
    radial-gradient(120% 160% at 0% 0%, #fdeef0 0%, rgba(253,238,240,0) 42%),
    radial-gradient(120% 160% at 100% 100%, #fdeef0 0%, rgba(253,238,240,0) 42%),
    linear-gradient(180deg, #fdf5f6 0%, #fbeef0 100%); */
  /* border-radius: 28px; */
  overflow: hidden;
  /* background-color: #fff;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  padding: clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem) 0 0; */
}
	
	.index_consultBg .index_consult_link{
		display: block;
		width: 100%;
	}
		.index_consultBg .index_consult_link img{
			width: 100%;
			height: auto;
		}



/* 背景多邊形裝飾 */
/* .index_consult_deco {
  position: absolute;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}
.index_consult_deco_left {
  top: 0;
  left: 0;
  width: 360px;
  height: 100%;
}
.index_consult_deco_right {
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
} */




.index_consult_area {
  display: flex;
  align-items: stretch;
  color: var(--dark_color);
  display: grid;
  grid-template-columns: clamp(11.613rem, 18.75vw, 22.5rem) auto clamp(16.646rem, 26.88vw, 32.25rem);
  grid-template-columns: 1.2fr 1.7fr 1.2fr;
}

/* ---------- 左欄：人物 ---------- */
.index_consult_area_left {
  position: relative;
  /* flex: 0 0 360px; */
  /* width: 360px; */
}
.index_consult_person {
}
.index_consult_person .img {
  aspect-ratio: 814 / 961;
  aspect-ratio: 814 / 787;
  position: relative;
  overflow: hidden;
  display: block;
}
.index_consult_person .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    float: none;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: var(--transition-data);
}








/* ---------- 中欄：文案 ---------- */
.index_consult_area_mid {
  /* padding-right: clamp(1.774rem, 2.86vw, 3.438rem); */
  /* flex: 1 1 auto; */
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  /* gap: 44px; */
  /* padding: 40px 56px; */
  transform: translateX(calc(clamp(1.774rem, 2.86vw, 3.438rem) * -1));
  padding-top: 4dvw;
}
.index_consult_text {
  display: flex;
  flex-direction: column;
  gap: calc(clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem) * 0.8);
}
.index_consult_text .title_tw {
	padding: 0;
	margin: 0;
  font-size: calc(clamp(2.188rem, 0.787rem + 2.26vw, 3.5rem) * 0.8);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .01em;
  color: inherit;
  /* text-wrap: balance; */
  font-style: italic;
}
.index_consult_text .title_sub {
  font-size: calc(clamp(1.172rem, 0.422rem + 1.21vw, 1.875rem) * 0.8);
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}

/* ---------- 中欄：特色 area ---------- */
.index_consult_feat_area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  /* column-gap: clamp(1.484rem, 2.4vw, 2.875rem); */
  row-gap: clamp(0.581rem, 0.94vw, 1.125rem);
  margin-top: calc(clamp(0.968rem, -0.001rem + 1.56vw, 1.875rem) * 2 * 0.8);
}
/* list（單筆容器）→ card → in → content */
.index_consult_feat_list {
  display: flex;
}
.index_consult_feat_card {
  display: flex;
}
.index_consult_feat_in {
  display: flex;
}
.index_consult_feat_content {
  display: flex;
  align-items: center;
  /* gap: 0.625rem; */
}
.index_consult_feat_content .icon {
  flex: 0 0 auto;
  width: clamp(1.613rem, 2.6vw, 3.125rem);
  height: auto;
  aspect-ratio: 1;
  /* border-radius: 8px; */
}
.index_consult_feat_content .icon img{
  width: 100%;
  height: auto;
}
.index_consult_feat_content .title_tw {
  font-size: clamp(0.977rem, 0.352rem + 1.01vw, 1.563rem);
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
}

/* ---------- 右欄：卡片 ---------- */
.index_consult_area_right {
  /* flex: 0 0 516px; */
  /* width: 516px; */
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.index_consult_box {
  /* width: 516px; */
  background: #ffffff;
  border-radius: clamp(0.903rem, 1.46vw, 1.75rem);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  /* box-shadow: 0 24px 60px -20px rgba(120, 30, 40, .22); */
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
}
.index_consult_box_in {
  display: flex;
  flex-direction: column;
  gap: clamp(0.806rem, 1.3vw, 1.563rem);
  padding: clamp(1.291rem, 0.001rem + 2.08vw, 2.5rem);
}
.index_consult_box_head {
  display: flex;
  align-items: center;
  gap: clamp(0.71rem, 0.001rem + 1.15vw, 1.375rem);
}
.index_consult_box_head .icon {
  /* flex: 0 0 auto; */
  width: clamp(3.388rem, 0.001rem + 5.47vw, 6.563rem);
  min-width: clamp(3.388rem, 0.001rem + 5.47vw, 6.563rem);
  height: auto;
  aspect-ratio: 1;
  /* border-radius: 14px; */
}
.index_consult_box_head .icon img{
  width: 100%;
  height: auto;
}


.index_consult_box_txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.index_consult_box_txt .title_tw {
  font-size: clamp(1.328rem, 0.478rem + 1.37vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}
.index_consult_box_txt .title_sub {
  font-size: clamp(1.055rem, 0.38rem + 1.09vw, 1.688rem);
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

/* 紅色膠囊按鈕 */
.index_consult_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.581rem, 0.94vw, 1.125rem);
  height: clamp(2.968rem, 0.001rem + 4.79vw, 5.75rem);
  border-radius: 999px;
  background: linear-gradient(180deg, #ee1d29 0%, #d4000f 100%);
  box-shadow: 0 14px 26px -10px rgba(214, 0, 18, .55);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.index_consult_btn .txt {
  font-size: clamp(1.563rem, 0.696rem + 1.4vw, 2.375rem);
  font-weight: 900;
  letter-spacing: .12em;
  color: #ffffff;
}
.index_consult_btn .arrow {
  font-size: clamp(1.641rem, 0.591rem + 1.7vw, 2.625rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  transform: translateY(-2px);
}
.index_consult_btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 32px -10px rgba(214, 0, 18, .6);
  text-decoration: none;
}
.index_consult_btn:active {
  transform: translateY(0);
}

/* =========================================================
   響應式
   ========================================================= */

/* 大型筆電：等比縮小字級與欄寬 */
@media (max-width: 1480px) {
  .wrap {/* padding: 0 48px; */}
  /* .index_consult_area_left { flex-basis: 300px; width: 300px; }
  .index_consult_person { width: 300px; height: 360px; } */
  .index_consult_area_mid {/* padding: 36px 40px; *//* gap: 34px; */}
  .index_consult_text .title_tw {/* font-size: 46px; */}
  .index_consult_text .title_sub {/* font-size: 26px; */}
  /* .index_consult_feat_content .title_tw { font-size: 22px; }
  .index_consult_feat_content .icon { width: 32px; height: 32px; }
  .index_consult_feat_area {gap: 16px 32px;margin-top: 0;}
  .index_consult_area_right { flex-basis: 430px; width: 430px; }
  .index_consult_box { width: 430px; }
  .index_consult_box_in {padding: 32px 34px;}
  .index_consult_box_head .icon { width: 64px; height: 64px; }
  .index_consult_box_txt .title_tw { font-size: 28px; }
  .index_consult_box_txt .title_sub { font-size: 22px; }
  .index_consult_btn { height: 78px; }
  .index_consult_btn .txt { font-size: 32px; }
  .index_consult_btn .arrow { font-size: 36px; } */
}

/* 平板：卡片移到文案下方，人物縮小 */
@media (max-width: 990px) {
  .index_consult_area {
    flex-wrap: wrap;
    /* min-height: 0; */
    padding: 32px 0;
    display: flex;
    grid-template-columns: unset;
  }
  .index_consult_area_left {
    /* flex: 0 0 240px; */
    /* width: 240px; */
    max-width: 15rem;
    align-self: flex-end;
  }
  .index_consult_person {
    position: relative;
    width: 240px;
    /* height: 300px; */
  }
  .index_consult_area_mid {
    /* flex: 1 1 320px; */
    /* padding: 0 0 0 32px; */
    justify-content: center;
    flex: 1 1 20px;
    padding: 0;
    padding-left: 20px;
    transform: none;
  }
  .index_consult_area_right {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  /* .index_consult_box {width: 100%;}
  .index_consult_deco_left,
  .index_consult_deco_right { width: 200px; opacity: .35; } */
}

/* 手機：完全垂直堆疊 */
@media (max-width: 768px) {
 
	
  .index_consultBg {
	 /* padding: 2.5rem 0 2.5rem; */
	}

	
  .index_consult_area {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 1.625rem;
  }
  .index_consult_area_left {
    flex: 0 0 auto;
    /* width: 11.25rem; */
    align-self: center;
  }
  .index_consult_person {
    /* width: 180px; */
    /* height: 220px; */
  }
  .index_consult_person .img {/* border-radius: 16px; */}
  .index_consult_area_mid {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    align-items: center;
    gap: 1.625rem;
  }
  .index_consult_text {
    align-items: center;
    gap: .875rem;
  }
  .index_consult_text .title_tw {
  	font-size: 2rem;
  }

  .index_consult_text .title_sub {
  	font-size: 1.1875rem;
  }

  .index_consult_feat_area {
  	justify-content: center;
  	gap: 1.625rem;
  	margin: 0;
  }
  .index_consult_feat_content .title_tw {
  	font-size: 1.125rem;
  }

  .index_consult_feat_content .icon {
  	width: 1.75rem;
  }

  .index_consult_area_right {
  	margin-top: 0;
  }

  .index_consult_box_in {
  	padding: 1.625rem 1.5rem;
  	gap: 1.25rem;
  }

  .index_consult_box_head {
  	justify-content: center;
  	flex-direction: column;
  }

  .index_consult_box_head .icon {
  	width: 3.5rem;
  }

  .index_consult_box_txt {
  	align-items: flex-start;
  	text-align: left;
  }

  .index_consult_box_txt .title_tw {
  	font-size: 1.5rem;
  }

  .index_consult_box_txt .title_sub {
  	font-size: 1.125rem;
  }

  .index_consult_btn {
  	height: 4.125rem;
  }

  .index_consult_btn .txt {
  	/* font-size: 27px; */
  }

  .index_consult_btn .arrow {
  	/* font-size: 30px; */
  }

  /* .index_consult_deco_left,
  .index_consult_deco_right {
  	display: none;
  } */
}













/*=========================================================================*/
/*------------首頁_代表性客戶區塊------------*/
/*=========================================================================*/

.index_clientBg{
	padding: clamp(2.5rem, 2.167rem + 0.54vw, 2.813rem) 0;

}
	.index_clientBg .wrap{

	}
	.index_clientBg .index_title{
		margin-bottom: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem);
	}

	.index_clientBg .index_client_area{
		/* position: relative; */
		/* margin-top: clamp(1.129rem, 0.001rem + 1.82vw, 2.188rem); */
	}

		.index_client_area_inner {
			position: relative;
		}


		.indexmain .index_clientBg .swiper-button-prev {
			/* background-image: url(../index/images/left_arrow2.svg); */
			left: calc(clamp(1.768rem, -0.001rem + 2.4vw, 2.875rem) * -1);
			transform: translateY(-36%) translateX(0%);
			top: 60%;
			/* position: absolute; */
		}

		.indexmain .index_clientBg  .swiper-button-next {
			/* background-image: url(../index/images/right_arrow2.svg); */
			right: calc(clamp(1.768rem, -0.001rem + 2.4vw, 2.875rem) * -1);
			transform: translateY(-36%) translateX(0%);
			top: 60%;
		}



		.index_clientBg .swiper-wrapper {
			-webkit-transition-timing-function: linear !important; /*之前是ease-out*/
			-moz-transition-timing-function: linear !important;
			-ms-transition-timing-function: linear !important;
			-o-transition-timing-function: linear !important;
			transition-timing-function: linear !important;
			margin: 0 auto;
		}







			.index_client_list{
				width: 100%;
				/* border: 1px #000 solid; */
			}
				.index_client_card{
					display: block;
					width: 100%;
				}

					.index_client_card .img{
						position: relative;
						aspect-ratio: 23 / 9;
					}

						.index_client_card .img img{
							width: 100%;
							height: 100%;
							object-fit: cover;
							position: absolute;
							top: 0;
							left: 0;
							bottom: 0;
							right: 0;
							float: none;
							width: 100% !important;
							height: 100% !important;
							object-fit: cover;
							transition: 0.3s ease all;
						}






@media (max-width: 990px) {

	.indexmain .index_clientBg .swiper-button-prev {
		display: none;
	}

	.indexmain .index_clientBg  .swiper-button-next {
		display: none;
	}
	
}






















/* 初始狀態：先隱藏 */
.observer-item {
  opacity: 0;
  transition: opacity 1.3s ease, clip-path 1s ease;
}

/*右至左--------*/
[data-direction="right"] {
   /*clip-path: inset(0 100% 0 0);*/ /* 從右往左裁切 */

	animation-fill-mode:forwards;  /*動畫播放結束後，停留在最後一個影格*/	
	clip-path: inset(0 0 0 100%);
	/* -webkit-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-khtml-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-moz-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-ms-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-o-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1); */
	transition: 1.3s cubic-bezier(0.63, 0.25, 0.25, 1);
}

/*左至右--------*/
[data-direction="left"] {
   /*clip-path: inset(0 0 0 100%);*/ /* 從左往右裁切 */

	opacity: 0;
	animation-fill-mode:forwards;  /*動畫播放結束後，停留在最後一個影格*/	
	clip-path: inset(0 100% 0 0);
	/* -webkit-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-khtml-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-moz-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-ms-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-o-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1); */
	transition: 1.3s cubic-bezier(0.63, 0.25, 0.25, 1);
}


/*上至下--------*/
[data-direction="top"] {
   /*clip-path: inset(0 0 0 100%);*/ /* 從左往右裁切 */

	opacity: 0;
	animation-fill-mode:forwards;  /*動畫播放結束後，停留在最後一個影格*/	
	clip-path: inset(0 0 100% 0);
	/* -webkit-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-khtml-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-moz-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-ms-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1);
	-o-transition: 0.6s cubic-bezier(0.63, 0.25, 0.25, 1); */
	transition: 1.3s cubic-bezier(0.63, 0.25, 0.25, 1);
}

/* ✅ 進入畫面後要加的 class */
.observer-item.in-view {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition-delay: inherit; /* 若要承接 JS 設定的 delay */
}

/* .observer-item {
  transition-property: clip-path, opacity;
  transition-duration: 1s;
  opacity: 0;
} */




 

 /*往下滾動animation*/
.animat_down{
	/* animation-name: history_down;
	animation-duration: 0.8s; */
}

/*往上滾動animation*/
.animat_up{
	transform: translateY(0%);
	animation-name: history_up; 
	animation-duration: 0.8s;
	/*animation-direction:reverse; 相反方向播放，從100% 到 0%*/
	/*animation: history_up 0.8s ease-out forwards;*/ /* 進場動畫 */
	animation: floatUpDown 1.5s ease-in-out infinite;
}


/*往下滾動animation*/		
/* @keyframes history_down {
	0% {
		transform: translateY(0%);
	}
	100% {	
		transform: translateY(-20%);
	}
} */


/* 上下微微擺動 */
@keyframes floatUpDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15%); }
  100% { transform: translateY(0); }
}



















/*=========================================================================*/
/*------------首頁_為什麼選擇 DOWEB 區塊------------*/
/*=========================================================================*/




/* ---------- 區塊容器：暖白底 ---------- */
.index_case_whyBg {
  background:
    radial-gradient(120% 90% at 50% -10%, #ffffff 0%, transparent 60%),
    #f7f4f2;
  border-radius: clamp(1.25rem, 0.6rem + 1.4vw, 2.5rem);
  padding-block: clamp(2.5rem, 1.2rem + 3.4vw, 5.25rem);
  padding-inline: clamp(1.5rem, 0.4rem + 3vw, 4.5rem);
  overflow: hidden;
  padding: clamp(1.302rem, 6.51vw, 3.125rem) 0;
}

/* ---------- inner：標題上、卡片下，整體置中 ---------- */
.case_why_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 100%;
  max-width: 1280px; */
  /* margin: 0 auto; */
}

/* ---------- header（置中標題區） ---------- */
.case_why_header {
  text-align: center;
  /* margin-bottom: clamp(2rem, 1rem + 2.4vw, 3.75rem); */
  margin-bottom: calc(0.625rem * 3);
}

.case_why_header::after{
	display:none;
}


.case_why_title {
  display: block;
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.75rem, 1rem + 2vw, 3rem); /* ~48px @1920 */
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--third_color);
  text-wrap: balance;
}
.case_why_title .brand {
  color: var(--primary_dark);
  font-family: var(--foreign_font, "Helvetica Neue", Arial, sans-serif);
  letter-spacing: 0.01em;
  padding-inline: 0.12em;
}
.case_why_sub {
  /* margin: clamp(0.75rem, 0.5rem + 0.6vw, 1.25rem) auto 0; */
  /* max-width: 46em; */
  font-weight: 500;
  font-size: clamp(0.95rem, 0.72rem + 0.5vw, 1.375rem); /* ~22px @1920 */
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--dark_color);
  text-wrap: pretty;
}

/* ---------- area：三欄兩列卡片群 ---------- */
.case_why_area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.875rem, 0.3rem + 1.4vw, 1.75rem);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- list：單筆容器（每個 list 對應一個 card） ---------- */
.case_why_list {
  display: flex;
}

/* ---------- card：白卡，垂直置中堆疊，hover 浮起 ---------- */
.case_why_card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.625rem, 0.4rem + 0.5vw, 1rem);
  padding: clamp(1.75rem, 1rem + 1.8vw, 3rem) clamp(1.25rem, 0.6rem + 1.4vw, 2.25rem);
  border-radius: clamp(0.875rem, 0.5rem + 0.8vw, 1.375rem);
  background: #ffffff;
  border: 1px solid #efe9e6;
  box-shadow: 0 0.0625rem 0.125rem rgba(28, 28, 32, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.case_why_card:hover {
  transform: translateY(-0.5rem);
  border-color: transparent;
  box-shadow:
    0 0.125rem 0.375rem rgba(245, 64, 11, 0.08),
    0 1.5rem 2.75rem rgba(28, 28, 32, 0.12);
}

/* ---------- icon：橘紅漸層圓形 + 白色字符圖示 ---------- */
.case_why_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4rem, 2.6rem + 2.6vw, 6rem);   /* ~96px @1920 */
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(158deg, #ffa12c 0%, #f5400b 100%);
  box-shadow: 0 0.5rem 1.125rem rgba(245, 64, 11, 0.30);
  margin-bottom: clamp(0.25rem, 0.1rem + 0.3vw, 0.5rem);
  transition: transform 0.3s ease;
}
.case_why_card:hover .case_why_icon {
  transform: scale(1.06);
}
.case_why_icon i {
  font-size: clamp(1.75rem, 1.1rem + 1.2vw, 2.75rem); /* ~44px @1920 */
  line-height: 1;
  color: #ffffff;
}

/* ---------- name（粗體深黑） ---------- */
.case_why_name {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.125rem, 0.82rem + 0.65vw, 1.625rem); /* ~26px @1920 */
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--third_color);
}

/* ---------- desc（多行灰字說明） ---------- */
.case_why_desc {
  margin: 0;
  max-width: 18em;
  font-weight: 400;
  font-size: clamp(0.9rem, 0.7rem + 0.42vw, 1.1875rem); /* ~19px @1920 */
  letter-spacing: 0.01em;
  line-height: 1.65;
  color: #6f6f78;
  text-wrap: pretty;
}

/* =========================================================
   RWD：3 欄 → 2 欄 → 1 欄
   ========================================================= */
@media (max-width: 1180px) {
  .case_why_area { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .case_why_area { grid-template-columns: 1fr; }
  .case_why_desc { max-width: 24em; }
}

@media (prefers-reduced-motion: reduce) {
  .case_why_card,
  .case_why_icon {
    transition: none;
  }
}






















