/* 報價表專用樣式；頁首、橫幅和頁尾仍使用原站 CSS。 */
.downbtnwrap button.j_download {
  display: inline-block;
  font-weight: 500;
  font-size: 18px;
  color: #0a2753;
  line-height: 42px;
  text-align: center;
  padding: 18px 96px;
  background: #fff;
  border: 1px solid #0b2854;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.downbtnwrap button.j_download:hover,
.downbtnwrap button.j_download:focus-visible {
  background: #0b2854;
  color: #fff;
}
.downbtnwrap button.j_download:disabled { opacity: .65; cursor: progress; }
#download-status { display: block; min-height: 22px; margin-top: 8px; color: #526274; font-size: 13px; }
.pricing-table-shell {
  max-width: 1566px;
  margin: 0 auto;
  padding: 34px 38px 70px;
  background: #f6f9fe;
  color: #3f464d;
}
.pricing-table-shell h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
}
.pricing-table-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.pricing-table-scroll:focus-visible { outline: 2px solid #198ce7; outline-offset: 2px; }
.pricing-table {
  border-collapse: separate;
  border-spacing: 7px 0;
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.55;
}
.pricing-table .col-item { width: 14%; }
.pricing-table .col-description { width: 24%; }
.pricing-table .col-plan { width: 15.5%; }
.pricing-table th, .pricing-table td { border: 0; vertical-align: middle; }
.pricing-table thead th {
  height: 245px;
  padding: 20px 15px;
  border-radius: 6px;
}
.pricing-table .intro-head {
  background: #fff;
  text-align: left;
  font-size: 22px;
  font-weight: 600;
  padding-left: 26px;
}
.pricing-table .plan-head { text-align: center; }
.pricing-table .plan-head > span { display: block; }
.pricing-table .plan-name { font-size: 23px; font-weight: 700; white-space: nowrap; }
.pricing-table .plan-head > .plan-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.pricing-table .plan-icon {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  height: auto;
}
.pricing-table .plan-intro { min-height: 76px; margin-top: 20px; font-size: 14px; line-height: 1.45; }
.pricing-table .plan-price { margin-top: 14px; font-size: 31px; line-height: 1.15; white-space: nowrap; }
.pricing-table .plan-price small { font-size: 15px; font-weight: 400; }
.pricing-table .plan-voyage-price { margin-top: 17px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.pricing-table .plan-basic { background: #d9ebff; color: #30475e; }
.pricing-table .plan-hope { background: #66a3e8; color: #1a3557; }
.pricing-table .plan-lighthouse { background: #3f77b3; color: #fff; }
.pricing-table .plan-voyage { background: #0e448d; color: #fff; }
.pricing-table .section-row th {
  padding: 38px 0 16px;
  background: #f6f9fe;
  text-align: left;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
}
.pricing-table tbody tr:not(.section-row) > th,
.pricing-table tbody tr:not(.section-row) > td {
  min-height: 90px;
  padding: 24px 17px;
  border-bottom: 1px solid #dbe1e9;
}
.pricing-table tbody tr:not(.section-row) > th,
.pricing-table tbody tr:not(.section-row) > td:nth-child(2) {
  background: #fff;
  text-align: left;
}
.pricing-table tbody tr:not(.section-row) > th { font-size: 15px; font-weight: 600; }
.pricing-table tbody tr:not(.section-row) > td:nth-child(2) { color: #5f6872; }
.pricing-table tbody tr:not(.section-row) > td.basic { background: #eff5ff; }
.pricing-table tbody tr:not(.section-row) > td.hope { background: #e0edff; }
.pricing-table tbody tr:not(.section-row) > td.lighthouse { background: #d1e1f7; }
.pricing-table tbody tr:not(.section-row) > td.voyage { background: #b8d1f3; }
.pricing-table tbody tr:not(.section-row) > td.shared { background: #edf4ff; }
.pricing-table tbody tr:not(.section-row) > td:not(:nth-child(2)) { text-align: center; }
.pricing-table .yes { color: #3695f1; font-size: 37px; font-weight: 400; line-height: 1.2; }
.pricing-table .no { color: #5d656d; font-size: 25px; font-weight: 400; line-height: 1.2; }
.pricing-table td.yes, .pricing-table td.no { font-size: 36px; }
.pricing-table td.no { font-size: 26px; }
.pricing-mobile-sticky, .pricing-mobile-first-heading { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .downbtnwrap button.j_download { padding: 8px 48px; }
  .pricing-table-shell { padding: 12px 10px 32px; }
  .pricing-table-shell h2 { font-size: 22px; margin: 5px 8px 12px; }
  .pricing-table-scroll {
    position: relative;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .pricing-table {
    min-width: 800px;
    border-spacing: 4px 0;
    font-size: 12px;
    line-height: 1.45;
  }
  .pricing-table .col-item { width: 13%; }
  .pricing-table .col-description { width: 23%; }
  .pricing-table .col-plan { width: 16%; }
  .pricing-table thead th {
    height: 170px;
    padding: 12px 7px;
    border-radius: 4px;
  }
  .pricing-table .intro-head { padding-left: 12px; font-size: 15px; }
  .pricing-table .plan-head > .plan-name { gap: 4px; }
  .pricing-table .plan-name { font-size: 16px; line-height: 1.25; }
  .pricing-table .plan-icon { max-width: 21px; max-height: 24px; }
  .pricing-table .plan-intro {
    min-height: 52px;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.35;
  }
  .pricing-table .plan-price { margin-top: 9px; font-size: 19px; line-height: 1.1; }
  .pricing-table .plan-price small { font-size: 10px; }
  .pricing-table .plan-voyage-price { margin-top: 10px; font-size: 11px; line-height: 1.35; }
  .pricing-table .section-row th {
    padding: 26px 0 11px;
    font-size: 17px;
  }
  .pricing-table .section-row-label {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
  }
  .pricing-table tbody tr:not(.section-row) > th,
  .pricing-table tbody tr:not(.section-row) > td {
    padding: 14px 8px;
  }
  .pricing-table tbody tr:not(.section-row) > th {
    position: sticky;
    left: 0;
    z-index: 3;
    font-size: 12px;
    box-shadow: 5px 0 9px -8px rgba(7, 39, 76, .75);
  }
  .pricing-table tbody tr:not(.section-row) > th::after {
    position: absolute;
    top: 0;
    right: -4px;
    bottom: 0;
    width: 4px;
    content: "";
    background: #f6f9fe;
  }
  .pricing-table .yes { font-size: 28px; }
  .pricing-table .no { font-size: 21px; }
  .pricing-table td.yes, .pricing-table td.no { font-size: 28px; }
  .pricing-table td.no { font-size: 21px; }
  .pricing-table-scroll::before {
    content: "左右滑動查看完整報價";
    display: block;
    width: max-content;
    margin: 0 8px 8px;
    color: #66788a;
    font-size: 12px;
  }
  .pricing-table thead .plan-head.is-covered-by-first-column {
    visibility: hidden;
  }
  .pricing-mobile-first-heading {
    position: absolute;
    z-index: 6;
    left: 0;
    display: flex;
    align-items: center;
    padding: 12px;
    color: #3f464d;
    background: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    pointer-events: none;
    will-change: width, transform;
  }

  /* 下滑時的精簡會員提示欄，由 pricing.js 建立並同步橫向位置。 */
  .pricing-mobile-sticky {
    position: fixed;
    z-index: 45;
    top: 60px;
    right: 10px;
    left: 10px;
    display: block;
    height: 76px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    box-shadow: 0 8px 18px rgba(7, 39, 76, .16);
  }
  .pricing-mobile-sticky.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .pricing-mobile-sticky__viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f6f9fe;
  }
  .pricing-mobile-sticky__first-column {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 108px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #3f464d;
    background: #fff;
    border-bottom: 1px solid #dbe1e9;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 5px 0 9px -8px rgba(7, 39, 76, .75);
  }
  .pricing-mobile-sticky .pricing-table--sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    min-width: 800px;
    margin: 0;
    transition: none;
    will-change: transform;
  }
  .pricing-mobile-sticky .pricing-table--sticky thead th {
    height: 76px;
    padding: 7px 5px;
    border-radius: 0;
  }
  .pricing-mobile-sticky .pricing-table--sticky .intro-head { visibility: hidden; }
  .pricing-mobile-sticky .pricing-table--sticky .plan-icon,
  .pricing-mobile-sticky .pricing-table--sticky .plan-intro { display: none; }
  .pricing-mobile-sticky .pricing-table--sticky .plan-name {
    font-size: 13px;
    line-height: 1.2;
  }
  .pricing-mobile-sticky .pricing-table--sticky .plan-price {
    margin-top: 5px;
    font-size: 15px;
  }
  .pricing-mobile-sticky .pricing-table--sticky .plan-price small { font-size: 8px; }
  .pricing-mobile-sticky .pricing-table--sticky .plan-voyage-price {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.2;
  }
}

@media print {
  .headerwrap, .pricingwrap, .downbtnwrap, .footerwrap, .pricing-mobile-sticky, .pricing-mobile-first-heading { display: none !important; }
  .jagewrap { padding: 0; }
  .pricing-table-shell { max-width: none; padding: 0; }
  .pricing-table-scroll { overflow: visible; }
  .pricing-table { min-width: 0; font-size: 9px; border-spacing: 3px 0; }
  .pricing-table thead th { height: auto; }
  .pricing-table .section-row { break-after: avoid; }
}
