/* 數位服務頁專用樣式 */

/* products／services 語系字型（與首頁略有不同，沿用既有設定） */
html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html[lang="ja"] body {
  font-family: "MS PGothic", "Osaka", "Hiragino Kaku Gothic Pro", -apple-system, sans-serif;
}
html[lang="ko"] body {
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", -apple-system, sans-serif;
}

/* 數位服務部門標註橫幅 */
.partner_banner {
  background: #FCFCEC;
  border: 1px solid #C0A860;
  padding: 12px 16px;
  line-height: 1.8;
  margin-bottom: 1.5em;
}
.partner_banner strong {
  color: #8B4513;
}
.partner_tag {
  display: inline-block;
  background: #2D5A27;
  color: #fff;
  font-size: 0.8rem;
  padding: 1px 7px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}

/* 服務項目卡片 */
.service_card {
  border: 1px solid #aaa;
  background: #fff;
  margin-top: 1.5em;
  margin-bottom: 2em;
}
.service_title {
  background: #FCFCEC;
  border-bottom: 1px solid #aaa;
  padding: 10px 14px;
  font-weight: bold;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.service_badge {
  display: inline-block;
  background: #1A5276;
  color: #fff;
  font-size: 0.8rem;
  font-weight: normal;
  padding: 2px 8px;
  border-radius: 2px;
}
.service_body {
  display: flex;
  flex-direction: row;
  padding: 16px;
  gap: 20px;
}
.service_img_area {
  flex: 0 0 260px;
  max-width: 260px;
  text-align: center;
}
.service_img_box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f4f4f4;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.service_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service_info_area {
  flex: 1;
  min-width: 0;
}
.responsible_by {
  background: #F4F7F6;
  border-left: 3px solid #2D5A27;
  padding: 6px 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #2E4053;
}
.responsible_by a {
  font-weight: bold;
}
.price_highlight {
  color: #C00000;
  font-weight: bold;
  font-size: 1.15rem;
  margin-left: 6px;
}
.price_note {
  color: #006600;
  font-size: 0.9rem;
  margin-top: 3px;
}
.spec_table th,
.spec_table td {
  padding: 5px 8px;
}
.spec_table th {
  width: 26%;
}
.order_action {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dotted #ccc;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .service_img_area { flex: 0 0 220px; max-width: 220px; }
}

@media (max-width: 767px) {
  .service_body {
    flex-direction: column;
    padding: 12px;
    gap: 14px;
  }
  .service_img_area {
    flex: auto;
    max-width: 100%;
  }
  .service_img_box {
    max-width: 320px;
    margin: 0 auto;
  }
  .spec_table th {
    width: 32%;
  }
}
