/**
 * DENBA Health FAQ — 對齊日本官網 /faq/health 版型
 * https://www.denba.co.jp/faq/health
 */

.dp-faq-health-page {
  background: #fff;
  color: #333;
  padding-bottom: clamp(60px, 8vw, 120px);
}

.dp-faq-health-page .layout-fix {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

/* 標題列 + 產品 pill（台灣僅 Health） */
.dp-faq-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 48px);
  border-bottom: 1px solid #e8e8e8;
}

.dp-faq-page-title h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Noto Serif TC", "Noto Serif", serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #004097;
  letter-spacing: 0.02em;
}

.dp-faq-page-title-sub {
  margin: 0.35em 0 0;
  font-family: "Noto Sans JP", "Noto Sans TC", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  color: #004097;
}

.dp-faq-select-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.dp-faq-select-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: #d9d9d9;
  color: #fff;
  font-family: "Noto Sans JP", "Noto Sans TC", sans-serif;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.3;
  cursor: default;
  white-space: nowrap;
}

.dp-faq-select-select-btn.dh-fs-btn-active {
  background: #000;
  color: #fff;
}

.dp-faq-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9e9e9e;
  flex-shrink: 0;
}

.dp-faq-select-select-btn.dh-fs-btn-active .dp-faq-pill-dot {
  background: #e60012;
}

/* FAQ 列表 */
.dp-faq-ara {
  padding-top: clamp(32px, 4vw, 56px);
}

.faq-item-area {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 48px);
}

.faq-item.d-sans {
  font-family: "Noto Sans JP", "Noto Sans TC", sans-serif;
}

.faq-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 700;
  line-height: 1.6;
  color: #004097;
}

.faq-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.faq-mark--q {
  border: 2px solid #004097;
  color: #004097;
  background: #fff;
}

.faq-mark--a {
  border: 2px solid #e60012;
  color: #e60012;
  background: #fff;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-left: 0;
}

.faq-answer-body {
  flex: 1;
  font-size: clamp(0.9375rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.85;
  color: #333;
}

.faq-answer-body p {
  margin: 0 0 0.85em;
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

.faq-answer-body ul {
  margin: 0.5em 0 0.85em;
  padding-left: 1.25em;
}

.faq-answer-body strong {
  font-weight: 700;
  color: #111;
}

.faq-answer-body video {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 1rem 0;
  border-radius: 4px;
  background: #000;
}

.faq-answer-body a {
  color: #004097;
  text-decoration: underline;
}

.faq-answer-body a:hover {
  opacity: 0.85;
}

/* 頁尾引導 */
.dp-faq-contact-note {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #333;
}

.dp-faq-contact-note a {
  color: #004097;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .dp-faq-page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-faq-select-area {
    justify-content: flex-start;
    width: 100%;
  }
}
