/* ===== Voices Page CSS ===== */
/* blog.css をベースとして追加読み込みする */

/* --- サマリーカード --- */
.voices-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.voices-summary__card {
  flex: 1;
  min-width: 120px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.voices-summary__number {
  font-size: 2rem;
  font-weight: 700;
  color: #283e66;
  line-height: 1.2;
}
.voices-summary__label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}
.voices-summary__sub {
  font-size: 0.8rem;
  color: #888;
  margin-top: 8px;
  text-align: center;
}

/* --- 公正表記 --- */
.voices-fairness {
  background: #f0f7ff;
  border: 1px solid #c2ddf7;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #1a5276;
  margin-bottom: 24px;
}

/* --- 2カラムレイアウト --- */
.voices-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.voices-main {
  flex: 1;
  min-width: 0;
}
.voices-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

/* モバイル */
@media (max-width: 960px) {
  .voices-layout {
    flex-direction: column;
  }
  .voices-sidebar {
    width: 100%;
    position: static;
  }
  .voices-sidebar-collapse {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .voices-sidebar-collapse__toggle {
    width: 100%;
    padding: 12px 16px;
    background: #fafafa;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
  }
  .voices-sidebar-collapse__body {
    padding: 0 16px 16px;
  }
  .voices-sidebar-collapse__body[hidden] {
    display: none;
  }
}
@media (min-width: 961px) {
  .voices-sidebar-collapse__toggle {
    display: none;
  }
  .voices-sidebar-collapse__body {
    display: block !important;
  }
}

/* --- サイドバーフィルタ --- */
.voices-filter-section {
  margin-bottom: 20px;
}
.voices-filter-section__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}
.voices-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.voices-filter-list__item {
  margin: 0;
}
.voices-filter-list__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.voices-filter-list__link:hover {
  background: #f5f5f5;
}
.voices-filter-list__link.is-active {
  background: #e8f0fe;
  color: #1a5276;
  font-weight: 600;
}
.voices-filter-list__badge {
  font-size: 0.75rem;
  color: #888;
  background: #f0f0f0;
  padding: 1px 6px;
  border-radius: 10px;
}

/* --- ボイスカード --- */
.voices-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.voices-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.voices-card__top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.voices-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.voices-card__quote-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}
.voices-card__quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}
.voices-card__quote::before {
  content: "\201C";
  font-size: 1.6rem;
  color: #ccc;
  margin-right: 4px;
}

/* ぼかし（未ログイン時） */
.voices-blur .voices-card__quote-hidden {
  filter: blur(4px);
  user-select: none;
  -webkit-user-select: none;
}
.voices-blur .voices-card__login-prompt {
  display: block;
}
.voices-card__login-prompt {
  display: none;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #1a5276;
}
.voices-card__login-prompt a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}
.voices-card__login-prompt a:hover {
  text-decoration: underline;
}

/* カードメタ */
.voices-card__meta {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.voices-card__label {
  font-weight: 600;
  color: #555;
}
.voices-card__date {
  color: #999;
}
.voices-card__era {
  font-size: 0.72rem;
  color: #b87333;
  background: #fef6ed;
  border: 1px solid #f0d8b5;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ステータスバッジ */
.voices-card__status--resolved {
  font-size: 0.72rem;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 1px 6px;
  border-radius: 4px;
}
.voices-card__status--in_progress {
  font-size: 0.72rem;
  color: #e65100;
  background: #fff3e0;
  border: 1px solid #ffe0b2;
  padding: 1px 6px;
  border-radius: 4px;
}

/* タグチップ */
.voices-card__tags {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.voices-card__tag {
  font-size: 0.72rem;
  color: #555;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 2px 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.voices-card__tag:hover {
  background: #e8f0fe;
  color: #1a5276;
}

/* サポートコメント */
.voices-card__support {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.voices-card__support-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #283e66;
  margin-bottom: 4px;
}
.voices-card__support-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
.voices-card__improvement {
  font-size: 0.82rem;
  color: #2e7d32;
  margin-top: 6px;
  padding: 6px 10px;
  background: #f1f8e9;
  border-radius: 4px;
}

/* --- CTA（ログインウォール） --- */
.voices-login-wall {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, transparent 0%, #f8f9fa 20%);
  border-radius: 12px;
  margin: 24px 0;
}
.voices-login-wall__text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 16px;
}
.voices-login-wall__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.voices-login-wall__btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}
.voices-login-wall__btn:hover {
  opacity: 0.85;
}
.voices-login-wall__btn--login {
  background: #fff;
  color: #283e66;
  border: 2px solid #283e66;
}
.voices-login-wall__btn--signup {
  background: #00bcd4;
  color: #fff;
}

/* --- 件数表示 --- */
.voices-count {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 16px;
}

/* --- ページヘッダー --- */
.voices-header {
  margin-bottom: 24px;
}
.voices-header__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #283e66;
  margin: 0 0 12px 0;
}
.voices-header__filter-label {
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
}
