/* JACKSOFT 成功案例的全站樣式 */
@charset "UTF-8";
body { font-family: "Noto Sans TC", sans-serif; margin: 0; padding: 0; background: #fff; color: #333; }

header {
  background: url('../images/case_header_green.png') no-repeat center center / cover;
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px;
}

.left-image {
  flex-shrink: 0;
  width: 320px;
}

.left-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.label-box {
  display: inline-block;
  border: 2px solid #0e5d49;
  padding: 6px 16px;
  border-radius: 25px;
  background-color: #e8f5f1;
  color: #0e5d49;
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: 1.9em;
  color: #004b3f;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 1.5em;
  line-height: 1.6;
  margin-bottom: 40px;
}
h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 1.8em;
  color: #002b2e;
}

p,
ul {
  margin-bottom: 32px;

}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

.download-btn {
  background-color: #005440;
  color: white;
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.download-btn,
.download-btn:link,
.download-btn:visited,
.download-btn:hover,
.download-btn:active {
  color: white;
  text-decoration: none;
}

.testimonial {
  background-color: #f9fafd;
  border-left: 4px solid #007a5e;
  padding: 16px 24px;
  margin: 32px 0; /* ← 關鍵間距調整 */
  border-radius: 8px;
  font-style: italic;
  font-size: 1.05em;
  color: #333;
  font-weight: bold;
}

.testimonial span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: bold;
  color: #333;
}
.testimonial footer {
  text-align: right;
  font-style: normal;
  font-weight: normal;
  margin-top: 12px;
  color: #333;
}
.images { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0; }
.images img { width: 100%; max-width: 300px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.image-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap; /* 加這行可讓圖片在小螢幕自動換行 */
}

.image-row img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.image-row img:hover {
  transform: scale(1.03);
}

.info-links {
  margin-left: 2.5rem;  /* 可根據字型大小微調 */
  line-height: 1.8;
}


@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .left-image img {
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
  }

  header {
    padding: 48px 16px;
    text-align: center;
  }

  .label-box {
    font-size: 0.95em;
    padding: 4px 12px;
  }

  .hero-text h1 {
    font-size: 1.5em;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 1.1em;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 1.4em;
    margin-top: 36px;
    margin-bottom: 12px;
  }

  .testimonial {
    padding: 12px 16px;
    font-size: 0.95em;
  }

  .image-row img {
    width: 90%;
    max-width: 320px;
  }

  .info-links {
    margin-left: 0;
    padding-left: 12px;
  }

  .button-row {
    justify-content: center;
  }
}

