




/*=========================================================================*/
/*------------諮詢區塊(版腳上方)------------*/
/*=========================================================================*/

.inquiryBg {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
	
	.inquiryBg .inquiry_link{
		display: block;
		width: 100%;
	}
		.inquiryBg .inquiry_link picture{
			width: 100%;
			display: block;
		}
		.inquiryBg .inquiry_link img{
			width: 100%;
			height: auto;
      display: block;
		}
    


/* =========================================================
   footerbg
   ========================================================= */
.footer {
  position: relative;
  width: 100%;
}
.footerbg {
  color: #ffffff;
  background:
    linear-gradient(100deg, #080b15 0%, #0a0e1b 50%, #0c1424 100%);
  overflow: hidden;
}
/* 右側電路板紋理（demo 裝飾，可換成實際背景圖） */
.footerbg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(108,150,222,.22) 1.4px, transparent 1.7px),
    repeating-linear-gradient(0deg, rgba(96,140,214,.06) 0 1px, transparent 1px 47px),
    repeating-linear-gradient(90deg, rgba(96,140,214,.06) 0 1px, transparent 1px 47px);
  background-size: 47px 47px, 47px 47px, 47px 47px;
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 80%);
          mask-image: linear-gradient(90deg, transparent 38%, #000 80%);
}










/* =========================================================
   footer_area
   ========================================================= */
.footer_area {
	position: relative;
	z-index: 1;
}

/* ---------- 上方內容區 ---------- */
.footer_top_area .wrap {
  display: flex;
  align-items: center;
  padding: clamp(1.613rem, 2.6vw, 3.125rem) 0;
}

.foote_list {
	display: flex;
}

.footer_in {
	display: flex;
	width: 100%;
}

.footer_content {
	display: flex;
	width: 100%;
}

/* --- 品牌資訊 --- */
.footer_info .footer_content {
	flex-direction: column;
}

.footer_logo {
	width: 12.25rem;
}

.footer_logo img {
	width: 100%;
	height: auto;
}

.footer_company {
	margin-top: clamp(0.774rem, 1.25vw, 1.5rem);
	font-size: clamp(1rem, 0.467rem + 0.86vw, 1.5rem);
	font-weight: 700;
	letter-spacing: .02em;
	color: #ffffff;
}
.footer_contact {
	margin: 0;
	padding: 0;
	list-style-type : none;
	display: block;
	margin-top: clamp(0.581rem, 0.94vw, 1.125rem);
	display: flex;
	flex-direction: column;
	gap: clamp(0.419rem, 0.68vw, 0.813rem);
}
.footer_contact li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	/* display: block; */
	display: flex;
}
.footer_contact a {
  display: inline-flex;
  align-items: center;
  gap: .6875rem;
  font-size: clamp(1rem, 0.8rem + 0.32vw, 1.188rem);
  font-weight: 400;
  color: #dfe2ea;
  transition: color .18s ease;
  text-decoration: none;
}
.footer_contact a:hover { opacity: 0.5; }
.footer_contact .ic {
  flex: 0 0 auto;
  width: clamp(1rem, 0.8rem + 0.32vw, 1.188rem);
  height: auto;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary_color);
}
.footer_contact .ic svg { width: 100%; height: 100%; }

/* --- 導覽選單 --- */
.footer_menu { margin-left: 132px; }
.footer_menu .footer_content { flex-direction: column; }
.footer_nav {
  display: flex;
  flex-direction: column;
  gap: clamp(0.516rem, 0.83vw, 1rem);
}
.footer_nav_list a {
  font-size: clamp(1rem, 0.733rem + 0.43vw, 1.25rem);
  font-weight: 400;
  color: #aeb4c2;
  transition: color .18s ease;
  text-decoration: none;
}
.footer_nav_list a:hover { color: #ffffff; }
.footer_nav_list .is-active a {
  color: #ffffff;
  font-weight: 700;
}

/* --- 社群 --- */
.footer_sns {
  margin-left: auto;
  align-self: center;

  display: none;
}
.footer_sns .footer_content {
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.806rem, 1.3vw, 1.563rem);
}
.sns_link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, filter .18s ease;
  border-radius: 50%;
  background-color: #ddd;
  padding: clamp(0.387rem, 0.63vw, 0.75rem);
  aspect-ratio: 1;
  width: clamp(2.5rem, 3.12vw, 3.75rem);
}


.sns_link.fb {
  background-color: #1974ec;
}
.sns_link.line {
  background-color: #00c001;
}
.sns_link.yt {
  background-color: #fb031d;
}

.sns_link:hover {
	transform: translateY(-3px);
	filter: brightness(1.06);
}
.sns_icon {
  display: flex;
  /* width: 2.375rem; */
  width: 75%;
  height: auto;
  /* border-radius: 50%; */
}
.sns_icon img{
  display: block;
  width:100%;
  height: auto;
}
/* ---------- 下方版權列 ---------- */
.footer_Bottom_area {
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer_Bottom_area .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* :::（無障礙跳躍錨點，視覺隱藏） */
.copyright > a {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.copyright ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .25rem 1rem;
}
.copyright li {
  font-size: .9375rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: #7f8696;
}

	.copyright li a{
		font-size: inherit;
		font-weight: inherit;
		letter-spacing: inherit;
		color: inherit;
		text-decoration: none;
	}


/* =========================================================
   fiexdRight（右側浮動按鈕群）
   ========================================================= */
.fiexdRight {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fiexdRight a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}



@media (max-width: 768px) {

  .fiexdRight a {
    width: 3rem;
  }

}













/* =========================================================
   topBtn（回頂部）
   ========================================================= */
.topBtn {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 40;
  opacity: 1;
  z-index: 90;
  /* visibility: hidden; */
  /* transform: translateY(12px); */
  /* transition: opacity .25s ease, transform .25s ease, visibility .25s; */
}
.topBtn.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.topBtn a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	/* gap: .125rem; */
	width: 3.625rem;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--primary_color) 0%, var(--primary_color) 100%);
	box-shadow: 0 12px 26px -10px rgba(214, 0, 18, .55);
	transition: transform .18s ease, filter .18s ease;
}

.topBtn a:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.topBtn img {
	width: 1.5rem;
	height: auto;
}

.topBtn i {
	font-size: 1.5rem;
	line-height: 1;
	color: #fff;
}

.topBtn span {
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .08em;
	color: #ffffff;
  transform:  translateY(-0.25rem);
}


@media (max-width: 768px) {

  /* .fiexdRight a {
    width: 3rem;
  } */

  .topBtn {
    right: 5px;
  }
    .topBtn a {
      width: 3.125rem;
      width: 2.5rem;
    }
      .topBtn i {
          font-size: 1.25rem;
      }

}











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

/* 大型筆電：等比縮小 */
@media (max-width: 1480px) {

	/* .wrap { padding: 0 48px; } */
	.footer_top_area .wrap {
		padding: 2.5rem 0;
	}

	.footer_logo {
		/* width: 172px;
		height: 50px; */
	}

	.footer_company {
		font-size: 1.375rem;
		margin-top: 1.25rem;
	}

	.footer_contact {
		margin-top: 1rem;
		gap: .75rem;
	}

	.footer_contact a {
		font-size: 1.125rem;
	}

	.footer_menu {
		margin-left: 5.625rem;
	}

	.footer_nav {
		gap: .875rem;
	}

	.footer_nav_list a {
		font-size: 1.1875rem;
	}

	.sns_icon {}
}

/* 平板：選單與資訊並排、社群換到右側維持 */
@media (max-width: 1100px) {
  /* .footer_top_area .wrap {
    flex-wrap: wrap;
    gap: 30px 70px;
    padding-top: 40px;
    padding-bottom: 36px;
  }
  .footer_menu { margin-left: 0; }
  .footer_sns {
    margin-left: auto;
    align-self: flex-start;
  } */
}

/* 手機：完全垂直堆疊、置中 */
@media (max-width: 768px) {
  /* .wrap { padding: 0 24px; } */
  .footer_top_area .wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  .footer_info .footer_content { align-items: center; }
  .footer_contact a { font-size: 17px; }
  .footer_menu { margin-left: 0; }
  .footer_nav_list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem calc(1.375rem * 2);
  }
  .footer_nav_list a { font-size: 1.0625rem; }
  .footer_sns {
    margin-left: 0;
    align-self: center;
  }
  .footer_sns .footer_content { justify-content: center; }
  .copyright li { font-size: .8125rem; }
  .footerbg::before {
    -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  }

}

