/*
 * honne-data.css
 * 「ホンネのデータ」専用スタイル
 * プレフィクス: .hd-
 * 依存: app5.css（--bg, --bg2, --bg3, --border, --text, --sub, --accent, --radius, --shadow）
 */

/* ============================================================
   共通パーツ
============================================================ */

/* ============================================================
   ヘッダーパーツ（一覧ページ・記事ページ共通）
============================================================ */

/* ロゴとHOMEアイコンの間のセパレーター */
.hd-header-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

/* HOMEアイコンボタン */
.hd-home-btn {
  width: 34px;
  height: 34px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--sub);
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}
.hd-home-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 第N回バッジ */
.hd-num {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: .05em;
  flex-shrink: 0;
  line-height: 1.6;
  white-space: nowrap;
}

/* ============================================================
   ① サイドバーカード内
   .sidebar-card の中に入る要素
============================================================ */

.hd-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: color .15s;
}
.hd-sidebar-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.hd-sidebar-item:hover .hd-sidebar-title {
  color: var(--accent);
}
.hd-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .15s;
  flex: 1;
}
.hd-sidebar-more {
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  text-decoration: none;
}
.hd-sidebar-more:hover {
  text-decoration: underline;
}

/* ============================================================
   ② 一覧末尾（もっと見るボタンの下）
============================================================ */

.hd-listend {
  margin: 8px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.hd-listend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hd-listend-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: .08em;
}
.hd-listend-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.hd-listend-more:hover {
  text-decoration: underline;
}
.hd-listend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.hd-listend-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.hd-listend-item:hover .hd-listend-title {
  color: var(--accent);
}
.hd-listend-title {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .15s;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-listend-arr {
  color: var(--sub);
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================================
   一覧ページ (honne-data.html)
============================================================ */

/* ============================================================
   フォント定義
   Zen Maru Gothic : ナビ・バッジ・UIパーツ（サイト本体と統一）
   Shippori Mincho : ページタイトル・記事タイトル・説明文
============================================================ */
.hd-serif {
  font-family: 'Shippori Mincho', serif;
}

/* ページヘッダー */
.hd-page-header {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  border-bottom: 1px solid var(--border);
}
.hd-page-header-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.hd-page-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: .02em;
  font-family: 'Shippori Mincho', serif;
}
.hd-page-title span {
  color: var(--accent);
}
.hd-page-desc {
  font-size: 13px;
  color: var(--sub);
  margin-top: 8px;
  line-height: 1.8;
  font-family: 'Shippori Mincho', serif;
}

/* 記事リスト */
.hd-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.hd-article-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.hd-article-item:first-child {
  padding-top: 0;
}
.hd-article-item:last-of-type {
  border-bottom: none;
}
.hd-article-item:hover .hd-article-title {
  color: var(--accent);
}
.hd-article-num-col {
  width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
}
/* 一覧用は少し大きめに */
.hd-article-item .hd-num {
  font-size: 13px;
  padding: 2px 8px;
}
.hd-article-body {
  flex: 1;
  min-width: 0;
}
.hd-article-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 6px;
  transition: color .15s;
  font-family: 'Shippori Mincho', serif;
}
.hd-article-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.75;
  font-family: 'Shippori Mincho', serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hd-article-arr {
  color: var(--sub);
  font-size: 20px;
  flex-shrink: 0;
  padding-top: 2px;
}

/* 記事ゼロ時 */
.hd-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--sub);
  font-size: 14px;
  line-height: 2;
}

/* もっと見るボタン（一覧ページ用） */
.hd-more-btn {
  display: block;
  margin: 8px auto 0;
  padding: 11px 40px;
  background: none;
  border: 2px solid var(--accent);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.hd-more-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   レスポンシブ（app5.css と同じブレークポイントに合わせる）
============================================================ */

@media (max-width: 899px) {
  .hd-page-header {
    padding: 28px 16px 24px;
  }
  .hd-list {
    padding: 24px 16px 40px;
  }
  .hd-article-title {
    font-size: 15px;
  }
}
@media (max-width: 500px) {
  .hd-article-item {
    gap: 20px;
  }
  .hd-article-num-col {
    width: 40px;
  }
  .hd-article-desc {
    display: none; /* SP では説明文を省略してタイトルだけ */
  }
}

/* ============================================================
   ② index.php 一覧末尾（もっと見るボタンの横・下）
============================================================ */

/* もっと見る＋ホンネのデータ 横並びラッパー */
.hd-loadmore-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.hd-loadmore-row .load-more-btn {
  margin: 0;
}

/* 「ホンネのデータ」テキストリンク */
.hd-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.hd-inline-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 全件表示後（もっと見るが消えた状態）の単独表示 */
.hd-inline-link-solo {
  display: block;
  text-align: center;
  margin: 8px auto 32px;
}

/* ============================================================
   ヘッダー スマホ対応
   app5.css の .logo / .header-left をホンネのデータページ専用で上書き
============================================================ */

@media (max-width: 500px) {
  .hd-page .logo {
    font-size: 18px;
  }
  .hd-page .header-left {
    gap: 8px;
  }
  .hd-page .hd-header-sep {
    display: none;
  }
  .hd-page .hd-home-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
}

/* ============================================================
   記事ページ（hd-art- プレフィクス）
============================================================ */

.hd-article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ヒーロー */
.hd-art-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.hd-art-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.hd-art-kicker-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: .1em;
}
.hd-art-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hd-art-lead {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  line-height: 2;
  color: var(--sub);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

/* チャプター */
.hd-art-chapter { margin-bottom: 4rem; }
.hd-art-chapter-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.hd-art-ch-num {
  font-family: 'Shippori Mincho', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
}
.hd-art-ch-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
}
.hd-art-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* 本文中リンク */
.hd-intext-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,54,74,0.3);
  transition: border-color .15s;
}
.hd-intext-link:hover { border-bottom-color: var(--accent); }

/* 引用ブロック */
.hd-art-quote {
  border-left: 3px solid var(--accent);
  background: var(--bg2);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hd-art-quote p {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}
.hd-art-quote-final { border-left-color: var(--sub); }

/* ひとこと */
.hd-art-memo {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  position: relative;
}
.hd-art-memo::before {
  content: 'ひとこと';
  position: absolute;
  top: -9px; left: 1.25rem;
  background: var(--bg3);
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sub);
  border: 1px solid var(--border);
  border-radius: 3px;
}
.hd-art-memo p {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  line-height: 2;
  color: var(--sub);
  margin: 0;
}

/* グラフブロック */
.hd-chart-block { margin: 2rem 0; }
.hd-chart-qtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}
.hd-chart-gender-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.female-badge {
  background: rgba(240,96,122,0.12);
  color: var(--female);
  border: 1px solid rgba(240,96,122,0.3);
}
.male-badge {
  background: rgba(74,127,224,0.12);
  color: var(--male);
  border: 1px solid rgba(74,127,224,0.3);
}
.hd-chart-link {
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  text-decoration: none;
}
.hd-chart-link:hover { text-decoration: underline; }

/* CTA */
.hd-art-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: opacity .15s;
}
.hd-art-cta:hover { opacity: .85; }

/* アウトロ・注釈 */
.hd-art-outro {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hd-art-footnote {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* レスポンシブ */
@media (max-width: 500px) {
  .hd-art-chapter-head { gap: .75rem; }
  .hd-art-ch-num { font-size: 1.6rem; }
  .result-filter-row { flex-wrap: wrap; gap: 8px; }
}
