@charset "utf-8";

/* ==========================================
 HEADER STYLES (深色選單)
========================================== */

.on-privacy header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.on-privacy header .container {
  width: 90%;
  margin: 0 auto;
}

.on-privacy nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 90%;
  margin: 0 auto;
}

.on-privacy .logo {
  width: 53px;
  height: 44px;
  flex-shrink: 0;
  z-index: 1001;
}

.on-privacy .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==Logo SVG 變色效果 == */
/* 藍色背景:Logo 純白 #fff */
.on-privacy header.on-blue #logo-svg {
  filter: brightness(0) invert(1);
}

/* ==========================================
   選單填滿背景色-桌面-FOR privacy
   ========================================== */

/* 電腦基本樣式 */
.on-privacy .nav-menu a {
  position: relative;
  color: #000;
  transition: color 0.3s ease;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  padding: 5px 15px 5px 25px; /* 留位置給左側星星 */
  overflow: hidden; /* 隱藏下方冒出的字母 */
}

/* 字母容器 */
.on-privacy .nav-menu a .char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  will-change: transform;
}

.on-privacy .nav-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  z-index: -1;
  transition: width 0.3s ease;
}

.on-privacy .nav-menu a::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #c1dd18;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s ease;
  pointer-events: none;
  /* --- 星星圖案 (::after) --- */
  position: absolute;
  top: 50%;
  left: 5px;
  /* SVG Mask */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M20,37l-2.86-7.72c-1.1-2.97-3.44-5.31-6.41-6.41l-7.72-2.86,7.72-2.86c2.97-1.1,5.31-3.44,6.41-6.41l2.86-7.72,2.86,7.72c1.1,2.97,3.44,5.31,6.41,6.41l7.72,2.86-7.72,2.86c-2.97,1.1-5.31,3.44-6.41,6.41l-2.86,7.72Z"/></svg>')
    center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M20,37l-2.86-7.72c-1.1-2.97-3.44-5.31-6.41-6.41l-7.72-2.86,7.72-2.86c2.97-1.1,5.31-3.44,6.41-6.41l2.86-7.72,2.86,7.72c1.1,2.97,3.44,5.31,6.41,6.41l7.72,2.86-7.72,2.86c-2.97,1.1-5.31,3.44-6.41,6.41l-2.86,7.72Z"/></svg>')
    center/contain no-repeat;
}

/* Hover 效果：顯示星星 */
.on-privacy .nav-menu a:hover::after,
.on-privacy .nav-menu a.active::after {
  transform: translateY(-50%) scale(1);
}

.on-privacy .nav-menu a:hover::before {
  width: 100%;
}

.on-privacy .nav-menu a:hover {
  color: #c1dd18;
}

.on-privacy .nav-menu a.active:hover::after {
  background-color: #c1dd18;
}

/* ==========================================
   選單填滿背景色-手機版-FOR privacy
   ========================================== */

/* 手機基本樣式 */
.on-privacy .mobile-menu a {
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  padding: 10px 20px 10px 35px; /* 留位置給左側星星 */
  overflow: hidden; /* 隱藏下方冒出的字母 */
}

/* 字母容器 */
.on-privacy .mobile-menu a .char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  will-change: transform;
}

.on-privacy .mobile-menu a:hover {
  color: #2206fb; /* 檸檬黃 */
}

.on-privacy .mobile-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #fff;
  z-index: -1;
  transition: width 0.3s ease;
}

/* 手機選單 - 星星圖案基本設定 */
.on-privacy .mobile-menu a::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #2206fb;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s ease;
  pointer-events: none;

  position: absolute;
  top: 50%;
  left: 10px;
  /* SVG Mask */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M20,37l-2.86-7.72c-1.1-2.97-3.44-5.31-6.41-6.41l-7.72-2.86,7.72-2.86c2.97-1.1,5.31-3.44,6.41-6.41l2.86-7.72,2.86,7.72c1.1,2.97,3.44,5.31,6.41,6.41l7.72,2.86-7.72,2.86c-2.97,1.1-5.31,3.44-6.41,6.41l-2.86,7.72Z"/></svg>')
    center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="M20,37l-2.86-7.72c-1.1-2.97-3.44-5.31-6.41-6.41l-7.72-2.86,7.72-2.86c2.97-1.1,5.31-3.44,6.41-6.41l2.86-7.72,2.86,7.72c1.1,2.97,3.44,5.31,6.41,6.41l7.72,2.86-7.72,2.86c-2.97,1.1-5.31,3.44-6.41,6.41l-2.86,7.72Z"/></svg>')
    center/contain no-repeat;
}

.on-privacy .mobile-menu a:hover::after,
.on-privacy .mobile-menu a.active::after {
  transform: translateY(-50%) scale(1);
}

.on-privacy .mobile-menu a:hover::before {
  width: 100%;
}

/* Hover 效果：文字變色 */
.on-privacy .mobile-menu a:hover {
  color: #2206fb; /* 文字變檸檬黃 */
}

/* Active 狀態 Hover 時星星保持檸檬黃 */
.on-privacy .mobile-menu a.active:hover::after {
  background-color: #2206fb; /* 檸檬黃 */
}

/* ==========================================
   PRIVACY PAGE 
========================================== */

.privacy-page {
  background: #e3e3e3;
  min-height: 100vh;
  padding-bottom: 40px;
}

.privacy-section .container {
  width: 70%;
  margin: 0 auto;
  padding-top: 0.625rem;
}

/* Page Title */
.privacy-title {
  font-family: "Azonix-1VB0", sans-serif;
  font-size: clamp(1.5rem, 0.4258rem + 4.6452vw, 6rem);
  font-weight: normal;
  letter-spacing: 1px;
  color: #2206fb;
  text-align: left;
}

/* ==========================================
   隱私權專用 麵包屑導航
========================================== */
.privacy_bread .breadcrumb-section {
  display: flex;
  width: 70%;
  margin: 0 auto;
  padding-top: 4.5rem;
}
.privacy_bread .breadcrumb-section nav {
  max-width: 100%;
}

.privacy_bread .breadcrumb {
  font-family: "MiSans-Medium";
  font-size: 14px;
  color: #828282;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.privacy_bread .breadcrumb a {
  color: #828282;
  opacity: 0.4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy_bread .breadcrumb a:hover {
  color: #828282;
  opacity: 0.7;
}

.privacy_bread .breadcrumb .separator {
  color: #828282;
  opacity: 0.4;
}

.privacy_bread .breadcrumb .current {
  color: #828282;
  opacity: 0.4;
}

/* ==========================================
   PRIVACY CONTENT STYLES
========================================== */

.privacy-content {
  color: #323232;
  width: 70%;
  margin: 0 auto;
  padding: 5rem 0;
  font-family: "MiSans-Medium";
}

.privacy-content .container {
  width: 100%;
  padding: 0;
}

.privacy-text .intro-text {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 1px;
  font-weight: bold;
}

.privacy-text > p {
  font-size: 20px;
  line-height: 1.8;
}

/* ==========================================
   大標題列表 (數字編號 1, 2, 3...)
========================================== */
.privacy-list {
  list-style: none;
  counter-reset: main-counter;
  padding-left: 0;
  margin: 0;
}

.privacy-list > li {
  counter-increment: main-counter;
}

/* 大標題 h3 */
.privacy-list > li > h3 {
  font-size: 20px;
  line-height: 1.8;
  font-weight: normal;
  padding: 0;
  display: flex;
  align-items: flex-start;
}

/* 數字編號 */
.privacy-list > li > h3::before {
  content: counter(main-counter) ".";
  flex-shrink: 0;
  width: 1em;
  margin-right: 0.5em;
}

.privacy-list > li > p {
  line-height: 1.8;
  font-size: clamp(1rem, 0.9403rem + 0.2581vw, 1.25rem);
  margin: 0.5rem 0 1rem 2.5em; /* 左側對齊文字內容 */
}

/* ==========================================
   子列表 (字母編號 a, b, c...)
========================================== */
.privacy-sublist {
  list-style: none;
  counter-reset: sub-counter;
  padding-left: 0;
  margin-left: 2em;
}

.privacy-sublist li {
  counter-increment: sub-counter;
  font-size: 20px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
}

/* 字母編號*/
.privacy-sublist li::before {
  content: counter(sub-counter, lower-alpha) ".";
  flex-shrink: 0;
  width: 1em;
}

@media screen and (max-width: 1440px) {
  .privacy_bread .breadcrumb-section {
    width: 90%;
  }
}

/* 平板 (1024px 以下) */
@media screen and (max-width: 1024px) {
  .on-privacy .nav-menu {
    display: none;
  }

  .on-privacy .mobile-menu-btn {
    display: block;
    color: #333;
  }

  .privacy-section .container {
    width: 90%;
  }

  .privacy-content {
    width: 90%;
  }
}

/* 平板 (990px 以下) */
@media screen and (max-width: 990px) {
  .privacy-content {
    padding-top: 3rem;
  }
}

/* 平板 (768px 以下) */

@media screen and (max-width: 768px) {
  .privacy-content {
    padding-top: 2rem;
  }
}

/* 手機 (576px 以下) */
@media screen and (max-width: 576px) {
  .on-privacy .logo {
    width: 40px;
    height: 33px;
  }

  .privacy-content {
    width: 90%;
    padding: 1.5rem 0;
  }

  .privacy-text .intro-text {
    font-size: 18px;
  }

  .privacy-text > p {
    font-size: 18px;
  }
  .privacy-list > li > h3 {
    font-size: 18px;
  }

  .privacy-sublist li {
    font-size: 18px;
  }
}
