/* ===================================================
   faq.css - よくあるご質問ページ専用スタイル
   CENTURY21ココカラ
   =================================================== */

/* ===== FAQ List Item ===== */
.faq-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e6e1;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}
.faq-list-item:hover {
  background: rgba(199, 186, 140, 0.06);
  opacity: 1;
}

/* ===== FAQ Area Badge ===== */
.faq-list-area {
  display: inline-block;
  flex-shrink: 0;
  width: 80px;
  box-sizing: border-box;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: #fff;
  background: var(--accent);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ===== FAQ Category Badge ===== */
.faq-list-category {
  display: inline-block;
  flex-shrink: 0;
  width: 80px;
  box-sizing: border-box;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ===== FAQ Type Badge ===== */
.faq-list-type {
  display: inline-block;
  flex-shrink: 0;
  width: 104px;
  box-sizing: border-box;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid #ccc;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ===== FAQ Title ===== */
.faq-list-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.faq-list-item:hover .faq-list-title {
  color: var(--accent);
}

/* ===== FAQ List Border Top ===== */
.faq-list {
  border-top: 1px solid #e8e6e1;
  margin-bottom: 60px;
}

/* ===== FAQ Page Header Badges ===== */
.faq-header-area {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: #fff;
  background: var(--accent);
  letter-spacing: 0.05em;
}
.faq-header-category {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  letter-spacing: 0.05em;
}
.faq-header-type {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* ===== Responsive: TB ===== */
@media (max-width: 1024px) {
  .faq-list-item {
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .faq-list-title {
    width: 100%;
    white-space: normal;
  }
}

/* ===== Responsive: SP ===== */
@media (max-width: 768px) {
  .faq-list-item {
    padding: 16px 0;
  }
  .faq-list-title {
    font-size: 14px;
  }
  .faq-list-area {
    width: 72px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .faq-list-category {
    width: 60px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .faq-list-type {
    width: 88px;
    font-size: 10px;
    padding: 3px 8px;
  }
}
