/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
}

/* 顏色區塊-背景 */
.main-bg-color {
  background: var(--main);
}
.second-bg-color {
  background: var(--second);
}
.third-bg-color {
  background: var(--third);
}

.bg-white {
  background-color: #fff;
}

/* 顏色區塊-文字 */
.main-text-color {
  color: var(--main);
}
.second-text-color {
  color: var(--accent-1);
}
.third-text-color {
  color: var(--accent-2);
}
.primary-text-color {
  color: var(--text-primary);
}
.secondary-text-color {
  color: var(--text-secondary);
}

/* --複用組件-- */
.left-sidebar {
  display: block;
  width: 100%;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 40px */
  color: var(--third);
  position: sticky;
  top: 5.3rem;
  left: 0;
  height: fit-content;
  z-index: 10;
  padding-top: 0.5rem; /* 8px */
  padding-bottom: 0.5rem; /* 8px */
  background-color: #fff;
}

.left-sidebar .sidebar-title {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--second);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
}

.left-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1.25rem; /* 20px */
}

.left-sidebar .link-active {
  display: block;
  padding: 0.875em 1.25rem; /*14px 20px */
  background: var(--third);
  color: #fff;
  border-radius: 0.5rem; /* 8px */
  transition: all 0.5s ease;
  text-wrap: nowrap;
}

.left-sidebar .link {
  display: block;
  padding: 0.875em 1.25rem; /*14px 20px */
  background-color: rgba(var(--second-rgb), 0.4);
  border-radius: 0.5rem; /* 8px */
  transition: all 0.5s ease;
  text-wrap: nowrap;
}

.left-sidebar .link:hover {
  background: var(--third);
  color: #fff;
}

/* ----複用---- */
.py-5 {
  padding: 1.25rem 0; /* 20px*/
}

.space-y-2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /*  8px */
}

.space-y-5 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px*/
}

.space-y-12 {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* 48px*/
}

.space-y-20 {
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 80px */
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

/* 字體大小 */
.text-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5rem;
}

.text-xl {
  font-size: 1.25rem; /* 20px */
  line-height: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: none;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-white {
  color: #fff;
}
.text-black {
  color: #000;
}

/* ----複用組件---- */
/* header 底線-absolute */
.link-underline-active {
  position: absolute;
  left: 0;
  bottom: -0.25rem; /* 4px */
  height: 0.125rem; /* 2px */
  width: 100%;
}

.link-underline {
  position: absolute;
  left: 0;
  bottom: -0.25rem; /* 4px */
  height: 0.125rem; /* 2px */
  width: 100%;
  color: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.link:hover .link-underline {
  transform: scaleX(1);
  transform-origin: left;
}

/* checkbox */
.checkbox-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.checkbox-custom .checkbox-mark {
  width: 1.25rem; /* 20px */
  height: 1.25rem; /* 20px */
  border: 0.125rem solid var(--second); /* 2px */
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.5s ease;
}

.peer {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: none;
  white-space: nowrap;
}

/* Tab 聚焦時顯示 */
.peer:focus-visible + .checkbox-mark {
  box-shadow: 0 0 0 3px rgba(255, 97, 0, 0.35);
}

/* 勾選後樣式 */
.peer:checked + .checkbox-mark {
  border-color: #ff6100;
  background-color: #ff6100;
  color: #fff;
}

.right-sidebar {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

/* ---- header區塊 ----*/
header {
  position: sticky;
  top: 0;
  left: 0;
  background-color: var(--main);
  z-index: 40;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 99;
  width: 100%;
  padding-top: 1rem; /* 16px */
  padding-bottom: 1rem; /* 16px */
}

/* logo圖片 */
.header-container .logo-link {
  width: 100%;
  max-width: 5rem; /* 80px */
}

.logo-link img {
  aspect-ratio: auto;
  width: 100%;
  object-fit: contain;
}

.nav-desktop {
  display: none;
}

.nav-desktop > ul {
  display: flex;
  gap: 2.5rem; /* 40px */
  list-style: none;
}

/* header a 連結樣式 */
.header-a {
  display: inline-block;
  position: relative;
  transition: all 0.5s;
}

.header-a:hover {
  position: relative;
  transition: all 0.5s;
  color: var(--main);
}

.header-a-active {
  position: relative;
  color: var(--main);
}

/* header 漢堡 */
.hamburger {
  position: relative;
  width: 28px;
  height: 10px;
  cursor: pointer;
  z-index: 99;
}

/* 線條 */
.line {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.5s;
}

/* 預設位置 */
.line.top {
  position: absolute;
  left: 0;
  top: 0;
}
.line.bottom {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 展開狀態 */
.rotate-down {
  top: 50% !important;
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--main);
}

.rotate-up {
  bottom: 50% !important;
  transform: translateY(50%) rotate(-45deg);
  background-color: var(--main);
}

/* 手機板導航 */
.nav-mobile {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  justify-content: flex-end;
  z-index: 40;
}

.overlay-dark {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.nav-mobile ul {
  text-decoration: none;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
  padding-top: 10rem; /* 160px */
  padding-bottom: 10rem;
  width: 66.6667%; /* w-2/3 */
  background-color: #fff;
  height: 100%;
  z-index: 10;
}

/* ----footer---- */
.footer-a {
  display: inline-block;
  position: relative;
  transition: all 0.5s;
  color: #fff;
}

.footer-a:hover {
  position: relative;
  transition: all 0.5s;
  color: var(--main);
}

footer {
  padding: 0 1.25rem; /* 20px */
  background: var(--third);
  color: #fff;
  padding-left: 1.25rem; /* 20px */
  padding-right: 1.25rem;
}

.footer-container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  gap: 5rem; /*80px */
  max-width: 1280px;
  margin: 0 auto;
}

.footer-left-block {
  width: 100%;
  max-width: 32rem; /*512px*/
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

footer .logo {
  width: 100%;
  max-width: 20rem; /* 320px */
  padding-bottom: 1.25rem; /* 20px */
  border-bottom: 1px solid #ffffff;
}

footer .right-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  text-align: end;
  white-space: nowrap;
}

/* gototop按鈕 */
.gotop-btn {
  position: fixed;
  bottom: 6rem;
  right: 1.25rem;
  cursor: pointer;
  z-index: 10;
}

.gotop-btn button {
  width: 2.5rem; /* 40px */
  height: 2.5rem;
  background-color: var(--main);
  border-radius: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: all 0.5s ease;
  border: none;
  cursor: pointer;
}

.gotop-btn:hover button {
  background-color: #000;
}

/* ----首頁---- */
.home-page-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* 56px */
  padding-bottom: 10rem;
}

/* 首頁banner */
.home-banner-block {
  position: relative;
}

.home-banner-block img {
  align-self: 1920 / 600;
  width: 100%;
}

.home-form-area {
  padding: 0 1.25rem; /* 20px */
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.home-form-area .contact-info {
  display: flex;
  flex-direction: column;
  padding: 1.25rem; /* 20px */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem; /* 24px */
  gap: 3.5rem; /* 56px */
}

.home-form-area .contact-info .input-area {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
}

.home-form-area .contact-info .input-area label {
  display: flex;
  align-items: start;
  width: 100%;
  max-width: 12rem; /* 192px*/
}

.home-form-area .contact-info .input-area input {
  flex: 1;
  padding: 1.25rem; /* 20px */
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem; /* 12px */
  border: none;
}

.home-form-area .contact-info .input-area input {
  flex: 1;
  padding: 1.25rem; /* 20px */
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem; /* 12px */
  border: none;
}

.home-form-area .contact-info .input-area input::placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem; /* 4px */
}

.home-form-area .check-block {
  display: flex;
}

.home-form-area .btn {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
}

.home-form-area .left-bar {
  width: 100%;
  max-width: 12rem; /* 192px*/
  display: none;
}

.home-form-area .btn-block {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-form-area .btn-block button {
  display: block;
  background: var(--main);
  border: 1px solid transparent;
  padding: 0.75rem 6rem;
  border-radius: 9999px;
  cursor: pointer;

  font-size: 1.125rem; /* 18px */
  color: #fff;
  font-weight: 700;
  transition: all 0.5s ease;
}

.btn-block button:hover {
  background-color: #ffffff;
  border-color: var(--main);
  color: var(--main);
}

.home-facybox-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.75rem;
}

.home-facybox-container .fancybox {
  width: 100%;
  max-width: 32rem; /* 512px */
  height: 40vh;
  background-color: #fff;
  border-radius: 0.75rem; /* 12px */
  padding: 3.5rem; /* 56px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1.75rem; /*28px */
}

.home-facybox-container .fancybox .title {
  color: var(--main);
  font-size: 1.75rem;
  line-height: 1.75rem; /*28px */
}

.g-container {
  position: relative;
  width: calc(var(--radius) * 2 + var(--dot-size));
  height: calc(var(--radius) * 2 + var(--dot-size));
  margin: auto;
}

.g-animation {
  animation: rotate var(--spin-dur) linear infinite;
}

.g-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dot-size);
  height: var(--dot-size);
  margin-top: calc(var(--dot-size) / -2);
  margin-left: calc(var(--dot-size) / -2);
}

.g-box::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--dot-color);
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}

.g-container .g-box:nth-child(1)::before {
  animation-delay: 0s;
}
.g-container .g-box:nth-child(2)::before {
  animation-delay: 0.1s;
}
.g-container .g-box:nth-child(3)::before {
  animation-delay: 0.2s;
}
.g-container .g-box:nth-child(4)::before {
  animation-delay: 0.3s;
}
.g-container .g-box:nth-child(5)::before {
  animation-delay: 0.4s;
}
.g-container .g-box:nth-child(6)::before {
  animation-delay: 0.5s;
}

/* 6 個定位（每 60°） */
.g-box:nth-child(1) {
  transform: rotate(60deg) translate(0, var(--radius));
}
.g-box:nth-child(2) {
  transform: rotate(120deg) translate(0, var(--radius));
}
.g-box:nth-child(3) {
  transform: rotate(180deg) translate(0, var(--radius));
}
.g-box:nth-child(4) {
  transform: rotate(240deg) translate(0, var(--radius));
}
.g-box:nth-child(5) {
  transform: rotate(300deg) translate(0, var(--radius));
}
.g-box:nth-child(6) {
  transform: rotate(360deg) translate(0, var(--radius));
}

/* 旋轉動畫 */
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 縮放動畫*/
@keyframes pulse {
  0%,
  100% {
    transform: scale(0.6);
  }
  50% {
    transform: scale(1);
  }
}

/* ----最新消息 news---- */
.news-page-main,
.knowledge-page-main,
.knowledge-page-main-page,
.about-page-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 3.5rem; /* 56px */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  /* background-color: #fff; */
}

.news-page-main .title,
.news-page-main-page .title,
.knowledge-page-main .title,
.knowledge-page-main-page .title,
.about-page-main .title {
  margin-left: 1.25rem; /* 20px */
  position: relative;
}

.news-page-main .title::before,
.news-page-main-page .title::before,
.knowledge-page-main .title::before,
.knowledge-page-main-page .title::before,
.about-page-main .title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -1.25rem; /* 20px */
  border-radius: 9999px;
  width: 0.875rem; /* 14px */
  height: 0.875rem;
  background-color: var(--main);
}

.news-page-main h1,
.news-page-main-page h1,
.knowledge-page-main h1,
.knowledge-page-main-page h1,
.about-page-main h1 {
  color: var(--main);
  font-size: 1.875rem; /* 30px */
  line-height: 1.75rem; /*28px */
  font-weight: 700;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
  padding: 2rem 2.5rem 2rem 2rem; /* 32px */
  border-radius: 0.5rem; /* 8px */
  background-color: rgba(var(--third-rgb), 0.2);
  position: relative;
  top: 0;
  transition: all 0.5s ease;
}

.news-card:hover {
  background-color: var(--third);
  color: #fff;
  top: -0.5rem; /*-8px */
}

.news-dot,
.knowledge-main-container .link-card .dot {
  position: absolute;
  right: 1rem; /* 16px */
  top: 1rem; /* 16px */
  border-radius: 100%;
  width: 0.625rem; /* 10px */
  height: 0.625rem;
  background-color: var(--main);
  transition: all 0.5s ease;
}

.news-card:hover .news-dot,
.knowledge-main-container .link-card:hover .dot {
  scale: 1.5;
  background-color: var(--accent-1);
}

.news-card .card-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  letter-spacing: 0.05rem;
  padding-bottom: 1.25rem; /* 20px */
  border-bottom: 1px solid var(--second);
}

.news-card .description {
  padding: 0.5rem 1rem; /* 8px 16px*/
  line-height: 2;
  letter-spacing: 0.1rem;
}

.news-card .btn-block {
  display: flex;
  justify-content: end;
}

.news-card .btn-block button {
  border: 1px solid var(--main);
  padding: 0.5rem 2.5rem; /*8px 40px */
  color: var(--main);
  background-color: transparent;
  border-radius: 0.5rem; /* 8px */
  transition: all 0.5s ease;
}
.news-card:hover .btn-block button {
  padding: 1rem 4rem; /*16px 64px */
  border-color: #fff;
  background-color: #fff;
}

/* ----最新消息內頁---- */
.news-page-main-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.news-page-main-page .title-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  letter-spacing: 0.05em;
  gap: 1.25rem; /* 20px */
}

.news-page-main-page .right-sidebar .description {
  padding: 0 1rem; /* 16px */
  line-height: 2;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.news-page-main-page .back-btn,
.knowledge-page-main-page .back-btn {
  display: block;
  width: fit-content;
  padding: 4px 24px;
  border-radius: 0.5rem;
  background-color: var(--second);
  transition: all 0.5s ease;
}

.news-page-main-page .back-btn:hover,
.knowledge-page-main-page .back-btn:hover {
  background-color: var(--main);
  color: #fff;
}

/* ----知識及方法論---- */
.knowledge-main-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.knowledge-main-container .link-card {
  display: block;
  padding: 2rem 2.5rem 2rem 2rem; /* 32px 40px */
  border-radius: 0.5rem; /*8px */
  background-color: var(--second);
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* 20px */
  position: relative;
  top: 0;
  transition: all 0.5s ease;
}

.knowledge-main-container .link-card:hover {
  background-color: var(--third);
  top: -0.5rem; /* 8px */
  color: #fff;
}

/* ----知識及方法論-內頁---- */
.divide-y > * + * {
  border-top: 1px solid #e5e7eb; /* 這是 Tailwind 的 gray-200 */
}

.knowledge-page-main-page .right-sidebar ul {
  list-style-position: inside;
}

.knowledge-page-main-page .decirption-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main);
}

/* ----關於我們---- */
.about-body {
  background-color: rgba(var(--second-rgb), 0.5);
}

.about-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-block h2 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.about-logo > img {
  max-width: 180px;
  height: auto;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.about-card-block .container01 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 20px auto;
  width: 100%;
}

.about-card-block .container01 .circle-block {
  width: 160px;
  height: 160px;
  /*padding: 60px;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--main);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}

.about-card-block .des {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-third);
}

.about-card-block .des .small-title {
  font-size: 1.5rem;
  color: #000;
  font-weight: 500;
}

.about-page-main .info-block {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: none;
  background-color: #fff;
}

.about-page-main .info-block iframe {
  width: 100%;
}

.about-page-main .info-block .info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  color: var(--third);
}

/* ----線上檢測結果---- */
.check-website-process-main {
  min-height: 100vh;
  min-height: 100svh;
}

.check-website-process-main .result-area {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  background-color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
  padding: 3rem 0.85rem;
}

.check-website-process-main .wesite-name {
  width: 100%;
  padding: 1rem;
  background-color: var(--main);
  position: relative;
  left: -1rem;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
  border-radius: 5px 50px 50px 5px;
}

.check-website-process-main .block {
  display: block;
  padding: 1rem;
  border-radius: 0.5rem; /*8px */
  background-color: rgba(var(--second-rgb), 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* 20px */
  position: relative;
  top: 0;
}

.check-website-process-main .block .title-block {
  position: relative;
  top: -4rem;
  left: -1.5rem;
  background-color: var(--third);
  margin-bottom: -2rem;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  font-size: 1.2rem;
}

.check-website-process-main .result-section-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.check-website-process-main .result-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /*background-color: var(--second);*/
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
}

.check-website-process-main .result-section-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  gap: 0.125rem;
}

.chevron-rotate-180 {
  transform: rotate(180deg);
}

.check-website-process-main .result-section-title .name {
  flex: 1;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-left: 40px;
  position: relative;
  font-size: 1rem;
  line-height: 1.75em;
}

.check-website-process-main .result-section-title .name.level-a::before {
  content: url(../img/test-result-icon-a.svg);
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  left: 0;
  aspect-ratio: auto;
  width: 30px;
}

.check-website-process-main .result-section-title .name.level-b::before {
  content: url(../img/test-result-icon-b.svg);
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  left: 0;
  aspect-ratio: auto;
  width: 30px;
}

.check-website-process-main .result-section-title .name.level-c::before {
  content: url(../img/test-result-icon-c.svg);
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  left: 0;
  aspect-ratio: auto;
  width: 30px;
}

.check-website-process-main .result-section-title .name > p {
  font-size: 1.65rem;
  color: var(--main);
}

.check-website-process-main .result-section-title .img {
  width: 100%;
  max-width: 30px;
  transition: all 0.5s ease;
  order: -1;
  align-self: end;
}
.check-website-process-main .result-section-title .img > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.check-website-process-main .result-section-des-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

.check-website-process-main .result-section-des-block .des {
  line-height: 1.75rem;
  white-space: 0.1em;
}

.result-section-herf-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.result-section-herf-block > a {
  display: block;
  background: var(--main);
  border: 1px solid transparent;
  padding: 0.75rem 6rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1.125rem; /* 18px */
  color: #fff;
  font-weight: 700;
  transition: all 0.5s ease;
}

.result-section-herf-block > a:hover {
  background-color: #fff;
  border-color: var(--main);
  color: var(--main);
}

.table-wrap {
  --header: #ff6a00; /* 表頭橘色 */
  --row-a: #fff6ef; /* 斑馬線 A */
  --row-b: #fff0e4; /* 斑馬線 B（略淺） */
  overflow-x: auto;
}

.dns-table {
  width: 100%;
  min-width: 720px; /* 避免欄位被擠爆，手機可滑動 */
  border-collapse: separate; /* 相鄰的單元格共用同一條邊框 */
  border-spacing: 0;
  font-size: 14px;
  color: var(--text-primary);
}

.dns-table th,
.dns-table td {
  padding: 12px 16px;
  border: 1px solid rgba(var(--main-rgb), 0.1);
  vertical-align: top;
  text-align: left;
}

/* 表頭 */
.dns-table thead th {
  background: rgba(var(--main-rgb), 0.6);
  color: #fff;
  font-weight: 700;
}

/* 表頭圓角 */
.dns-table thead th:first-child {
  border-top-left-radius: 6px;
}
.dns-table thead th:last-child {
  border-top-right-radius: 6px;
}

/* 區隔線 */
.dns-table tbody tr:nth-child(odd) {
  background: rgba(var(--main-rgb), 0.1);
}
.dns-table tbody tr:nth-child(even) {
  background: rgba(var(--main-rgb), 0.01);
}

/* 最下緣圓角 */
.dns-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.dns-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}

/* ----/* 螢幕尺寸 ≥ 768px(tailwind md)  */
@media (min-width: 768px) {
  /* --複用組件-- */
  .left-sidebar {
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* 40px */
    color: var(--third);
    top: 8rem;
  }

  .left-sidebar .sidebar-title {
    padding-bottom: 1.25rem; /* 20px */
    border-bottom: 1px solid var(--second);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .left-sidebar ul {
    height: fit-content;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* 20px */
    font-size: 1rem;
  }

  .right-sidebar {
    border-left: 1px solid var(--second);
    padding: 0 2.5rem; /* 40px */
    gap: 5rem; /* 80px */
  }

  /* ---- header區塊 ----*/
  /* ----footer---- */
  footer {
    padding: 0 1.25rem; /* 20px */
    background: var(--third);
    color: #fff;
  }

  .footer-container {
    flex-direction: row;
  }

  .gotop-btn {
    bottom: 8.25rem;
    transform: translateY(0);
    right: 1.25rem;
    cursor: pointer;
    z-index: 10;
  }

  /* ----首頁---- */

  /* ----最新消息---- */
  .news-card .card-title {
    flex-direction: row;
  }

  .news-card .description {
    padding: 1.75rem 3.5rem; /* 28px 56px*/
  }

  /* ----最新消息內頁---- */
  .news-page-main-page {
    display: flex;
    flex-direction: row;
    gap: 5rem; /* 80px */
  }

  .news-page-main-page .right-sidebar .description {
    padding: 0 3.5rem; /* 56px */
  }

  .check-website-process-main {
    padding: 2.5rem 1rem;
  }

  /* ----線上檢測結果---- */
  .check-website-process-main .result-area {
    border-radius: 1rem; /*16px */
    background-color: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    padding: 3rem 1.25rem; /* 48px 20px */
  }

  .check-website-process-main .wesite-name {
    width: 75%;
    left: -3rem;
    padding: 1.75rem 2rem;
  }

  .check-website-process-main .result-section-title {
    display: flex;
    flex-direction: row;
  }

  .check-website-process-main .result-section-title .img {
    order: 1;
    align-self: center;
  }

  .knowledge-main-container {
    display: flex;
    flex-direction: row;
    gap: 5rem; /* 80px */
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* ----關於我們---- */
  .about-card-block .container01 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 20px auto;
    width: 100%;
  }

  .about-card-block .container01 .circle-block {
    width: 180px;
    height: 180px;
    font-size: 22px;
  }
}

/* ----/* 螢幕尺寸 ≥ 1024px(tailwind lg)  */
@media (min-width: 1024px) {
  /* ---- header區塊 ----*/
  .nav-desktop {
    display: block;
  }

  /* header 漢堡 */
  .hamburger {
    display: none;
  }

  .header-a:hover {
    position: relative;
    transition: all 0.5s;
    color: #fff;
  }

  .header-a-active {
    position: relative;
    color: #fff;
  }

  /* ----footer---- */
  footer {
    padding: 0 1.25rem; /* 20px */
    background: var(--third);
    color: #fff;
  }

  /* ----首頁---- */
  .home-page-main {
    gap: 2.5rem; /* 40px */
  }

  .home-form-area {
    padding: 0 2.5rem; /* 40px */
  }

  .home-form-area .contact-info {
    padding: 2.25rem; /* 36px */
  }

  .home-form-area .contact-info .input-area {
    flex-direction: row;
    align-items: center;
  }

  .home-form-area .check-block > div {
    display: block;
  }

  .home-form-area .left-bar {
    display: block;
  }

  /* ----最新消息---- */
  .news-page-main {
    padding-top: 2.5rem; /* 40px */
    padding-bottom: 2.5rem; /* 40px */
  }

  /* ----知識及方法論---- */

  .knowledge-page-main-page .back-btn {
    display: none;
  }

  /* ----關於我們---- */
  .home-form-area {
    padding: 0 2.5rem; /* 40px */
  }

  .about-card-block .container01 {
    gap: 60px;
    margin: 40px auto;
  }

  .about-page-main .info-block {
    flex-direction: row;
    align-items: center;
    background: var(--main);
    overflow: none;
    gap: 0px;
  }

  .about-card-block .container01 .circle-block {
    width: 200px;
    height: 200px;
    font-size: 24px;
  }

  .about-page-main .info-block .iframe-block {
    max-width: 500px;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .iframe-mask {
    position: absolute;
    top: 0;
    right: -1px;
    width: 100px;
    height: 100%;
    background: var(--main);
    /* 把左邊切成斜角 */
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
  }

  .about-page-main .info-block .block {
    display: flex;
    gap: 0.01rem;
  }

  /* ----線上檢測結果---- */
  .check-website-process-main {
    padding: 2.5rem;
  }

  .check-website-process-main .result-section {
    padding: 1rem 2rem;
  }

  .check-website-process-main .block .title-block {
    font-size: 1.75rem;
    left: -2rem;
  }
}

/* ----/* 螢幕尺寸 ≥ 1536px(tailwind 2xl)  */
@media (min-width: 1536px) {
  /* ----複用組件---- */
  .right-sidebar {
    padding: 0 5rem; /* 80px */
  }
}
