/* ==========================================================================
   Section Top (Hero Section - 日文原版)
   ========================================================================== */

.section-top-hero {
    background-color: #062356;
    /* 深藍色背景 */
    color: #ffffff;
}

/* 青綠色膠囊標籤 */
.hero-badge {
    display: inline-block;
    background-color: #0096a4;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 5px 18px;
    border-radius: 50px;
}

/* 品牌 Logo 框 */
.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.hero-brand-logo {
    /* width: 90px;
  height: 52px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.04);
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 標題與內文 */
.hero-product-name {
    font-size: 46px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.85);
}

.hero-description {
    font-size: 15px;
    line-height: 1.7;
}

/* 規格區域 */
.border-white-30 {
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.hero-specs-row {
    gap: 24px;
}

.spec-item {
    min-width: 90px;
}

.spec-value {
    color: #ffffff;
    line-height: 1.2;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.fs-7 {
    font-size: 12px;
}

/* 青綠色按鈕 */
.btn-hero-teal {
    background-color: #0096a4;
    color: #ffffff !important;
    border: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-hero-teal:hover {
    background-color: #007a86;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 164, 0.35);
}

.py-2-5 {
    padding-top: 10px;
    padding-bottom: 10px;
}

#mail_text {
    font-size: 18px;
}

#down_text {
    font-size: 18px;
}

/* 右側大圖容器 */
.hero-image-container {
    max-height: 480px;
    aspect-ratio: 4 / 3;
    background-color: #000000;
}

/* --------------------------------------------------------------------------
   響應式微調 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-product-name {
        font-size: 34px;
    }

    .hero-image-container {
        max-height: 360px;
    }

    .hero-specs-row {
        gap: 16px;
        flex-wrap: wrap;
    }

    .btn-hero-teal {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Section productdetails 1 (主要特徴・仕様・製品写真)
   ========================================================================== */

.text-navy {
    color: #0c1c38 !important;
}

 span.square-icon {
    padding-bottom: 12px;
}

/* 橘紅色標籤 (特徵標題) */
.badge-orange {
    display: inline-block;
    background-color: #f06253;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 50px;
}

/* 特徵圖片容器 */
.feature-img-box {
    /* height: 120px; */
    background-color: #f8fafc;
}

/* 表格樣式優化 */
.custom-spec-table {
    border-color: #e2e8f0;
    font-size: 14px;
}

.custom-spec-table th,
.custom-spec-table td {
    padding: 12px 16px;
    color: #334155;
}

/* 表格欄位淺藍/灰底色 */
.bg-table-header {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 600;
}

/* 產品相冊畫廊容器比例 */
.gallery-img-box {
    min-height: 200px;
    background-color: #000000;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .feature-img-box {
        height: 180px;
    }

    .gallery-img-box {
        height: 220px;
    }
}

/* ==========================================================================
   Section Product Details 2 (LOCATIONS & USES - 主要設置場所・用途)
   ========================================================================== */

.section-product-details2 {
  background-color: #062356; /* 主視覺深藍色 */
}

/* 青綠色膠囊標籤 */
.badge-use-cases {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 50px;
}

/* 標題與內文文字透明度控制 */
.section-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  max-width: 640px;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.85);
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

/* 情境卡片圖片容器 */
.use-case-img-box {
  height: 200px;
  background-color: #000000;
}

.use-case-title {
  color: #ffffff;
  letter-spacing: -0.2px;
}

.use-case-desc {
  font-size: 14px;
  line-height: 1.5;
}

/* 底部白色 CTA 按鈕 */
.btn-white-action {
  background-color: #ffffff;
  color: #061838 !important;
  transition: all 0.2s ease;
  border: none;
}

.btn-white-action:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.py-2-5 {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 按鈕內青綠色圓形箭頭 */
.btn-arrow-icon {
  width: 22px;
  height: 22px;
  background-color: #0096a4;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 22px;
  }

  .use-case-img-box {
    height: 180px;
  }
}

/* ==========================================================================
   Section Product Details 3 (RELATED PRODUCTS - 関連製品)
   ========================================================================== */

.section-product-details4 {
    /* 1. 設定照片路徑 */
  background-image: url('../img/productdetails/productdetails4/productdetails4.png');
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat; 
  background-color: #f1f5f9;
}

/* 文字顏色設定 */
.text-dark-navy {
  color: #061838 !important;
}

/* 膠囊標籤 */
.badge-related {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 20px;
  border-radius: 50px;
}

.section-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  max-width: 600px;
}

/* 產品卡片 hover 效果 */
.related-product-card {
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* 圖片容器 */
.product-img-box {
  height: 200px;
  background-color: #000000;
  overflow: hidden;
}

.product-img-box img {
  transition: transform 0.3s ease;
}

.related-product-card:hover .product-img-box img {
  transform: scale(1.03);
}

/* 描述文字與規格標籤 */
.product-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

.product-spec-tag {
  display: inline-block;
  border: 1px solid #e0f2fe;
  background-color: #f0f9ff;
  color: #0284c7;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 50px;
}

/* 右下角淺藍色圓形箭頭 */
.card-arrow-icon {
  width: 32px;
  height: 32px;
  background-color: #e0f2fe;
  color: #0096a4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-product-card:hover .card-arrow-icon {
  background-color: #0096a4;
}

.related-product-card:hover .card-arrow-icon .fourShirushi {
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 22px;
  }

  .product-img-box {
    height: 180px;
  }
}

/* ==========================================================================
   Section Product Details 4 (Manufacturer Section)
   ========================================================================== */

.section-product-details3 {

}

/* 深藍色文字標題類別 */
.text-dark-navy {
  color: #061838 !important;
}

/* 外框白卡 */
.manufacturer-card {
  border: 1px solid #e2e8f0;
}

/* 左側深藍色品牌卡片 */
.brand-logo-card {
  
}

.brand-logo-img {

}

/* 青綠色製造商標籤 */
.badge-manufacturer {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 18px;
  border-radius: 50px;
}

/* 標題與內文 */
.manufacturer-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.manufacturer-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* 打勾圖示與清單 */
.check-icon {
  color: #0096a4; /* 青綠色 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.manufacturer-feature-list li span {
  font-size: 15px;
  letter-spacing: -0.2px;
}

/* 青綠色 CTA 按鈕 */
.btn-teal-action {
  background-color: #0096a4;
  color: #ffffff !important;
  transition: all 0.2s ease;
  border: none;
}

.btn-teal-action:hover {
  background-color: #007a86;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 150, 164, 0.3);
}

/* 按鈕內圓形箭頭 */
.btn-arrow-icon {
  width: 22px;
  height: 22px;
  background-color: #ffffff;
  color: #0096a4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   響應式微調 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .manufacturer-title {
    font-size: 22px;
  }
  
  .brand-logo-card {
    
  }
}

/* ==========================================================================
   Section Product Details 5 (Network Flow Section)
   ========================================================================== */

.section-network-flow {
  background-color: #ffffff;
}

/* 顏色變數類別 */
.text-dark-navy {
  color: #061838 !important;
}

.text-teal {
  color: #0096a4 !important;
}

/* 頂部標籤 */
.network-badge {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 18px;
  border-radius: 50px;
}

/* 頂部標題與說明 */
.network-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.network-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* 圖片與數字標籤容器 */
.flow-img-wrapper {
  width: 100%;
  max-width: 210px;
  padding-top: 10px; /* 給數字凸出留空間 */
}

/* 左上角青綠色圓形數字 */
.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background-color: #0096a4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 150, 164, 0.3);
}

/* 膠囊/橢圓形圖片框 */
.flow-img-box {
  width: 100%;
  height: 130px;
  border-radius: 100px !important; /* 製作橫向橢圓形/膠囊形 */
  background-color: #f1f5f9;
}

/* 內文文字區域 */
.flow-cat {
  font-size: 12px;
  letter-spacing: 1px;
}

.flow-title {
  font-size: 16px;
}

.flow-desc {
  color: #64748b;
  line-height: 1.5;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .network-title {
    font-size: 22px;
  }
  
  .flow-img-wrapper {
    max-width: 240px;
  }

  .flow-img-box {
    height: 140px;
  }
}

/* ==========================================================================
   Section Product Details 6 (FAQ Section)
   ========================================================================== */

.section-faq {
  background-color: #ffffff;
}

/* FAQ 膠囊標籤 */
.faq-badge {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 18px;
  border-radius: 50px;
}

/* FAQ 主標題 */
.faq-title {
  color: #081d3c;
  font-size: 32px;
  line-height: 1.3;
  margin-top: 10px;
}

/* Bootstrap Accordion 重置與樣式 */
.faq-accordion {
  border-top: 1px solid #e2e8f0;
}

.faq-accordion .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 !important;
}

/* 折疊按鈕 */
.faq-accordion .accordion-button {
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 24px 0 16px 0;
  color: #081d3c;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 自訂展開/收合開關圖示 (一字線 / 橫槓) */
/* .faq-accordion .accordion-button::after {
  background-image: none !important;
  content: "—";
  font-size: 18px;
  font-weight: 300;
  color: #081d3c;
  transform: none !important;
  margin-left: auto;
} */

/* Q 圓形圖示 */
.faq-icon-q {
  width: 36px;
  height: 36px;
  background-color: #0096a4;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* A 圓形圖示 */
.faq-icon-a {
  width: 36px;
  height: 36px;
  background-color: #e6f5f7;
  color: #0096a4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* 問題與回答內文 */
.faq-question-text {
  font-size: 16px;
  color: #081d3c;
}

.faq-accordion .accordion-body {
  padding: 0 0 24px 0;
}

.faq-answer-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  padding-top: 6px;
}

/* 響應式調整 */
@media (max-width: 991.98px) {
  .faq-title {
    font-size: 24px;
  }
  .faq-accordion .accordion-button {
    padding: 18px 0 12px 0;
    font-size: 15px;
  }
}




/* ==========================================================================
   Section Product Details 7 (Back to List Button - 一覧へ戻る)
   ========================================================================== */

.section-product-details7 {
  background-color: #f2f5fa; /* 淡藍灰色背景 */
}

/* 青綠色返回按鈕 */
.btn-back-to-list {
  background-color: #0096a4;
  color: #ffffff !important;
  min-width: 220px;
  transition: all 0.25s ease;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 150, 164, 0.15);
}

.btn-back-to-list:hover {
  background-color: #007a86;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 150, 164, 0.3);
}

/* 左側圓形白色底箭頭 */
.btn-back-arrow-icon {
  width: 22px;
  height: 22px;
  background-color: #ffffff;
  color: #0096a4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .btn-back-to-list {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   製造商詳細頁手機版：圖片不裁切、文字對整、鎖定畫面不晃動 (767.98px 以下)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* 1. 防止詳細頁各區塊超出螢幕寬度 */
  .section-top-hero,
  .section-product-details2,
  .section-product-details3,
  .section-product-details4,
  .section-network-flow,
  .section-faq,
  .section-product-details7 {
    max-width: 100%;
    overflow-x: clip;
  }

  /* 2. 所有圖片區塊改為依原圖比例完整顯示，不裁切 */
  .hero-image-container,
  .feature-img-box,
  .gallery-img-box,
  .use-case-img-box,
  .product-img-box,
  .brand-logo-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background-color: transparent;
  }

  .hero-image-container img,
  .feature-img-box img,
  .gallery-img-box img,
  .use-case-img-box img,
  .product-img-box img,
  .brand-logo-card img,
  .hero-brand-logo img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* 品牌 Logo 框留白適中，維持比例完整 */
  .hero-brand-logo {
    max-width: 160px;
    padding: 8px 12px;
  }

  .brand-logo-card {
    padding: 16px;
  }

  .brand-logo-card img {
    max-height: 160px;
    margin: 0 auto;
  }

  /* Network Flow (section 5)：取消 100px 橢圓高度裁切，改為圓角完整顯示 */
  .section-network-flow .flow-img-wrapper {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-network-flow .flow-img-box {
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden;
    background-color: #f1f5f9;
  }

  .section-network-flow .flow-img-box img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* 3. 文字對齊整理 */
  /* Hero 區統一靠左對齊，規格列整齊排列 */
  .section-top-hero {
    text-align: left;
  }

  .hero-product-name {
    font-size: 28px;
    line-height: 1.25;
    word-break: break-word;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-specs-row {
    gap: 12px 20px;
    justify-content: flex-start;
  }

  .spec-item {
   
  }

  /* 規格表格防止撐破寬度並對齊 */
  .custom-spec-table {
    font-size: 13px;
    width: 100%;
    table-layout: fixed;
  }

  .custom-spec-table th,
  .custom-spec-table td {
    padding: 10px 12px;
    word-break: break-word;
    vertical-align: top;
    text-align: left;
  }

  /* 製造商介紹區 (section 3)：文字靠左對齊、清單與打勾頂部對齊 */
  .section-product-details3 .manufacturer-card {
    text-align: left;
  }

  .manufacturer-title {
    font-size: 22px;
    line-height: 1.35;
  }

  .manufacturer-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .manufacturer-feature-list li {
    align-items: flex-start !important;
  }

  .manufacturer-feature-list li span {
    font-size: 14px;
    line-height: 1.5;
  }

  .section-product-details3 .btn-teal-action {
    width: 100%;
    justify-content: center;
  }

  /* 流程區塊 (section 5)：標題與步驟文字統一置中 */
  .section-network-flow .network-title,
  .section-network-flow .network-desc,
  .section-network-flow .flow-cat,
  .section-network-flow .flow-title,
  .section-network-flow .flow-desc {
    text-align: center;
  }

  .section-network-flow .flow-desc {
    line-height: 1.65;
  }

  /* FAQ 區塊 (section 6)：標題置中、問答統一靠左 */
  .section-faq .faq-badge {
    display: inline-block;
  }

  .section-faq .faq-title {
    font-size: 24px;
    text-align: center;
  }

  .faq-accordion .accordion-button {
    text-align: left;
    align-items: flex-start;
    gap: 12px;
  }

  .faq-question-text,
  .faq-answer-text {
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
    word-break: break-word;
  }
}