

.edon-container {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 0;
    box-sizing: border-box;
}



.edon-hidden-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

h2,
.edon-title,
.edon-news-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
}

h2 { /* H2標題統一 */
    color: #333333 !important;
}

/* 區塊間距 */
.edon-section {
    margin-top: 50px;
}

/* 主要服務項目標題 */
.edon-title {
    font-weight: 700;
    margin: 0 0 20px;
    color: #333333; /* 深灰 */
    padding-left: 0;
}

/* === 手機版主要服務項目標題 */
@media (max-width: 768px) {
    .edon-title {
        color: #333333 !important;
    }
}



.edon-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 36px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    box-sizing: border-box;
}


.edon-service-img {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
}

.edon-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.edon-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}


.tm-gallery,
.tm-gallery-item {
    all: unset !important;
}



.edon-diy-card {
    margin: 40px 0;
}



.tm-accordion .tm-accordion-item {
    padding: 10px 16px !important;
    margin-bottom: 10px !important;
}

.tm-accordion .tm-accordion-item h3 {
    padding-left: 0 !important; 
    font-size: 1rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.tm-accordion .tm-accordion-item p {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}



@media (max-width: 768px) {
    .edon-service-grid {
        grid-template-columns: 1fr;
         padding-left: 20px;
        padding-right: 20px;
    }
}

.tm-accordion .tm-accordion-item {
    background: #fff; 
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
}


.edon-service-img {
    height: 200px; 
}


/* === 服務項目 H3 標題 === */
.edon-service-card h3 {
    color: #333333 !important;
    font-weight: 700;
}

.edon-section .edon-title {
    text-align: center;
}
.edon-hidden-h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.edon-about-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}


.edon-about-left {
    flex: 0 0 45%;  
}

.edon-about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover; 
}

.edon-about-right {
    flex: 1;
    min-width: 0; 
}

.edon-about-right h2 {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 700;
}

.edon-about-right p {
    line-height: 1.7;
    margin-bottom: 10px;
}

.edon-about-sub {
    font-weight: 600;
    color: #555;
 align-self: flex-start;

}


@media (max-width: 768px) {
    .edon-about-row {
        flex-direction: column;
        gap: 16px;
    }
    .edon-about-left,
    .edon-about-right {
        flex: none;
        width: 100%;
    }
}


@media (max-width: 768px) {

    
    .edon-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }

    
    .edon-service-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .tm-accordion .tm-accordion-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    
    .edon-about-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .edon-diy-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .news-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    
    .edon-service-img img,
    .edon-about-img {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {

   
    .edon-diy-card {
        padding: 36px 30px !important;
        box-sizing: border-box;
    }

    
    .edon-diy-card .edon-service-img img {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {

   
    #faq-container .faq-item {
        padding-top: 4px !important;     
        padding-bottom: 4px !important;  
        margin-bottom: 2px !important;   
        border: none !important;
        background: transparent !important;
    }

    
    #faq-container .faq-question {
        position: relative;
        padding-right: 28px;
        cursor: pointer;
        color: #555 !important; 
    }

    
    #faq-container .faq-question::after {
        content: "＋";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
    }

    
    #faq-container .faq-item.open .faq-question::after {
        content: "－";
    }
}

.tm-repair-flow-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  margin-top: 20px;
}

.tm-repair-flow-card .flow-step {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.tm-repair-flow-card .flow-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
}

.tm-repair-flow-card .flow-text {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tm-repair-flow-card {
    padding: 18px 15px;
  }
  .tm-repair-flow-card .flow-text {
    font-size: 15px;
  }
}


.repair-flow-icon {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}


.repair-flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media (max-width: 768px) {
    .repair-flow-icon {
        width: 160px;
        height: 160px;
        margin-top: 10px;
    }
}
.flow-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
}

.flow-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007bff; /* 主色 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}
.repair-flow-icon {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-flow-icon img {
    width: 132%;
    height: 132%;
    object-fit: cover; 
    border-radius: 50%;

    
    background: radial-gradient(circle at 30% 30%, #f8fbff 0%, #e8f1ff 100%);
}


@media (max-width: 768px) {
    .repair-flow-icon {
        width: 160px;
        height: 160px;
        margin: 0 auto; 
    }
}





.flow-item p {
    margin: 0 0 6px 0 !important;   
    line-height: 1.35 !important;   
}


.flow-item {
    margin-bottom: 10px !important; 
}

/* 桌機版 FAQ 題目右側的 + / - */
#faq-container .faq-question {
    position: relative;
    color: #555 !important; 
}

#faq-container .faq-question::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #555;
}

#faq-container .faq-item.open .faq-question::after {
    content: "-";
}

@media (max-width: 600px) {

  
  #faq-card-wrapper.edon-card {
      padding: 0 !important; 
      background: #ffffff !important;
  }

  /* FAQ 每一項目：白底列表 */
  #faq-container .faq-item {
      background: #fff !important;
      border-bottom:0px solid #e5e5ea !important;
      margin: 1!important;
      padding: 0 !important;
  }

  /* FAQ 題目 */
  #faq-container .faq-question {
      padding: 12px 10px !important;  /* ⭐ 左右貼邊 */
      font-size: 16px !important;
      line-height: 1.35 !important;
      background: #fff !important;
      color: #555 !important;
  }

  /* FAQ 答案 */
  #faq-container .faq-answer {
      padding: 12px 10px !important;
      background: #f7f7f9 !important;
      border-left: 4px solid #007aff !important; /* iOS 藍 */
      color: #6e6e73 !important;
      line-height: 1.55 !important;
  }
}
/* ============================
  FAQ Style
   ============================ */

/* FAQ 外層 */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

/* 每一題 */
.faq-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E5EA;
  transition: all .25s ease;
}

/* 問題列 */
.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: #FFFFFF;
  border: none;
  font-size: 16px;
  color: #555;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 右側箭頭 */
.faq-question::after {
  content: "›";
  font-size: 20px;
  color: #555;
  transition: transform .25s ease;
}

/* 展開時箭頭旋轉 */
.faq-item.open .faq-question::after {
  transform: rotate(90deg);
}

/* 答案區塊（預設收合） */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #F2F2F7;
  color: #3A3A3C;
  font-size: 15px;
  line-height: 1.6;
  transition: max-height .3s ease, padding .3s ease;
}

/* 展開*/
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 16px 18px;
}

/* ============================
   手機版微調
   ============================ */
@media (max-width: 768px) {
  .faq-item {
    border-radius: 10px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
    color: #555 !important;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 16px;
  }

  .faq-item.open .faq-answer {
    padding: 14px 16px;
  }
}

/* === 門市公告標題（桌機） === */
.edon-card.edon-news-card .edon-news-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-bottom: 14px !important;
    
}

/* === 單則公告 === */
.edon-card.edon-news-card .edon-news-list .news-item-wrapper {
    padding: 10px 0 12px 0 !important; /* 回到安全值 */
    border-bottom: 1px solid #e5e5e5 !important;
}

/* === 日期 === */
.edon-card.edon-news-card .edon-news-list .news-date {
    color: #6d8bbf !important;
    font-size: 14px !important;
    margin-right: 6px !important;
}

/* === 題目 === */
.edon-card.edon-news-card .edon-news-list .news-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #555 !important;
}

/* === 內容 === */
.edon-card.edon-news-card .edon-news-list .news-answer {
    display: none;
    margin-top: 8px !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.55 !important; /* 不會擠到跑版 */
}
.edon-card.edon-news-card .edon-news-list .news-answer.open {
    display: block !important;
}

/* === 展開箭頭 === */
.edon-card.edon-news-card .edon-news-list .news-question {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.edon-card.edon-news-card .edon-news-list .news-question::after {
    content: "›" !important;
    margin-left: auto !important;
    font-size: 18px !important;
    color: #7aa8ff !important;
    transition: transform 0.2s ease !important;
}
.edon-card.edon-news-card .edon-news-list .news-question.active::after {
    transform: rotate(90deg) !important;
}

/* 門市公告區塊 */
.edon-card.edon-news-card {
    margin-top: 48px !important;  
    margin-bottom: 48px !important;
}

@media (max-width: 768px) {
    .edon-card.edon-news-card {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
    }
}

/* 門市公告標題 */
.edon-card.edon-news-card .edon-news-title {
    text-align: center !important;
    width: 100% !important;
}

.parallax-window { min-height:300px; overflow:hidden; }
.edon-news-list { min-height:120px; }
.parallax-window {
    background-color: #000;
}

/* H1 外框 */
.edon-h1-wrap {
    max-width: 900px; 
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e6eef9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18) !important;

}

/* H1 主標題 */
.edon-h1-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* H1 底線 */
.edon-h1-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #1e90ff;
    border-radius: 2px;
}

/* 副標（SEO 強化） */
.edon-h1-sub {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

/* 容器：左右排列 */
.edon-main-service-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 28px 0 36px;
    flex-wrap: wrap;
}

/* 按鈕基本樣式 */
.edon-main-btn {
    padding: 14px 32px;
    background: #ffffff;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px;
    text-decoration: none;
    color: #333333; /*按鈕內字體顏色*/
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.28s cubic-bezier(.25,.8,.25,1);

    /* 初始動畫狀態 */
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    animation: edonFadeSlide 0.7s cubic-bezier(.22,.61,.36,1) forwards;
}

@media (max-width: 768px) {
    .edon-main-btn {
        font-weight: 600 !important; /* 手機版強制變粗 */
    }
}


/* 三個按鈕依序滑入 */
.edon-main-btn:nth-child(1) { animation-delay: 0.05s; }
.edon-main-btn:nth-child(2) { animation-delay: 0.15s; }
.edon-main-btn:nth-child(3) { animation-delay: 0.25s; }

/* 進場動畫：滑入 + 放大 + 淡入 */
@keyframes edonFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 滑過微動態：浮起 + 放大 + 陰影加強 */
.edon-main-btn:hover {
    background: #f5f7fa;
    border-color: #e2e6eb;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .edon-card {
        margin-bottom: 32px; 
    }
}



@media (max-width: 768px) {
    #laptop-service-card {
        margin-left: 16px;
        margin-right: 16px;
    }
}

.banner-wrapper { /* 主圖連結 */
    position: relative;
}

.hero-nav-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 16px;
    z-index: 9999; /* 保證永遠在最上層 */
}

.hero-nav-bottom-right a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    transition: 0.2s;
}

.hero-nav-bottom-right a:hover {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 768px) {

    /* 手機版：導覽列回到主圖下方 */
    .hero-nav-bottom-right {
        position: static;
        margin-top: 10px;
        display: block;
        text-align: right;
        padding-right: 12px;
    }

    
    .hero-nav-bottom-right a {
        display: none;
    }

    /* 手機版按鈕（選單） */
    .hero-nav-bottom-right::before {
        content: "☰ 選單";
        font-size: 18px;
        font-weight: 600; 
        color: #333; 
        background: #ffffff;
        padding: 6px 10px;
        border-radius: 6px;
        display: inline-block;
        cursor: pointer;
    }

    
    .mobile-menu-open .hero-nav-bottom-right a {
        display: block;
        background: #ffffff; 
        color: #333; 
        padding: 8px 12px;
        margin-top: 6px;
        border-radius: 6px; 
        font-size: 18px;
        font-weight: 600;
        text-align: right;
        border: 1px solid #ffffff; 
        box-shadow: none;
        transition: 0.2s ease;
    }

    
    .mobile-menu-open .hero-nav-bottom-right a:hover {
        color: #d60000; /* ⭐ 跟首頁紅色一致 */
        border-color: #d60000;
        background: #fff;
    }
}

.edon-card ul li {
    color: #555 !important; 
}

.edon-section .edon-card {
    color: #555 !important; 
}
