/* yawarev-search style - yawareview ダークテーマ統一 + 完全レスポンシブ */

:root {
  --bg-page: #1a1a1a;
  --bg-header: #0a0a0a;
  --bg-card: #2a2a2a;
  --bg-card-hover: #333;
  --bg-input: #1f1f1f;
  --border: #3a3a3a;
  --text-main: #e0e0e0;
  --text-sub: #bbb;
  --text-muted: #888;
  --accent: #e74c3c;
  --accent-blue: #3498db;
  --accent-green: #27ae60;
  --accent-yellow: #f1c40f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-page);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #5dade2;
}

/* ─────────────── ヘッダー ─────────────── */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-title {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.site-title a {
  color: #fff;
}
.site-title a:hover {
  text-decoration: none;
  color: var(--accent);
}
.global-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}
.global-nav a {
  color: var(--text-main);
}
.global-nav a:hover {
  color: var(--accent);
}

/* ─────────────── メイン ─────────────── */
.site-main {
  padding: 24px 0 48px;
  min-height: 70vh;
}
.hero {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
  border-left: 4px solid var(--accent);
  color: var(--text-main);
}
.hero .lead {
  margin: 0;
  font-size: 15px;
}
.hero strong {
  color: #fff;
}

h2 {
  font-size: 22px;
  margin: 24px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  color: #fff;
}
h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #fff;
}

/* ─────────────── 検索フォーム ─────────────── */
.search-form {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.form-section {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: var(--bg-input);
}
.form-section legend {
  font-weight: bold;
  padding: 0 8px;
  font-size: 15px;
  color: #fff;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.form-label {
  min-width: 100px;
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="number"],
.form-row select {
  flex: 1;
  min-width: 200px;
}

input[type="text"],
input[type="number"],
select {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  background: #111;
  color: var(--text-main);
}
input[type="text"]::placeholder,
input[type="number"]::placeholder {
  color: var(--text-muted);
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-main);
}
.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.number-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-main);
}
.number-grid input[type="number"],
.number-grid select {
  flex: 1;
  min-width: 80px;
}
.unit {
  color: var(--text-muted);
  font-size: 13px;
}

.form-submit {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ─────────────── ボタン ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  font-family: inherit;
  color: #fff;
}
.btn:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  font-size: 16px;
  padding: 12px 28px;
}
.btn-secondary {
  background: #555;
}
.btn-fanza {
  background: var(--accent);
}
.btn-mgs {
  background: var(--accent-blue);
}
.btn-yawareview {
  background: var(--accent-green);
}

/* ─────────────── 結果表示 ─────────────── */
.result-header {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.result-header h2 {
  margin-top: 0;
}
.result-meta {
  margin: 8px 0;
  color: var(--text-sub);
}
.result-meta strong {
  color: #fff;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.result-card {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 16px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.result-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(231, 76, 60, 0.15);
}
.card-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.card-body {
  min-width: 0;
}
.card-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}
.card-meta {
  margin: 6px 0;
  font-size: 13px;
  color: var(--text-sub);
}
.card-stats {
  margin: 6px 0;
  font-size: 14px;
  color: var(--text-main);
}
.card-stats small {
  color: var(--text-muted);
}
.card-price {
  margin: 6px 0;
  font-size: 15px;
  font-weight: bold;
  color: var(--accent-yellow);
}
.sale-rate {
  color: var(--accent);
}
.badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  background: var(--accent-yellow);
  color: #000;
  border-radius: 3px;
  margin-left: 4px;
}
.card-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.card-buttons .btn {
  padding: 8px 14px;
  font-size: 13px;
}

/* ランキング順位バッジ */
.result-card.ranking-item {
  grid-template-columns: 60px 140px 1fr;
}
.rank-badge {
  font-size: 28px;
  text-align: center;
  font-weight: bold;
  color: var(--accent);
  align-self: start;
  padding-top: 8px;
}

/* ─────────────── ページング ─────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.page-info {
  font-weight: bold;
  color: var(--text-main);
}

/* ─────────────── ランキングトップ ─────────────── */
.ranking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.ranking-card-link {
  text-decoration: none;
  color: inherit;
}
.ranking-card {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 20px;
  border-top: 4px solid var(--accent);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ranking-card-link:hover .ranking-card {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
  text-decoration: none;
}
.ranking-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.ranking-card p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--text-sub);
}
.ranking-card small {
  color: var(--text-muted);
  font-size: 11px;
}

.ranking-header {
  margin-bottom: 16px;
}
.breadcrumb {
  font-size: 13px;
  margin: 8px 0;
  color: var(--text-sub);
}

.ranking-quick-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.ranking-quick-links a {
  display: block;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-main);
}
.ranking-quick-links a:hover {
  background: var(--bg-card-hover);
  text-decoration: none;
}

/* ─────────────── アーカイブ ─────────────── */
.archive-list {
  list-style: none;
  padding: 0;
}
.archive-list li {
  margin: 4px 0;
}
.archive-list.archive-daily {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
}
.archive-list.archive-daily a {
  display: block;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-main);
}
.archive-list.archive-daily a:hover {
  background: var(--bg-card-hover);
  text-decoration: none;
}

/* ─────────────── インフォボックス ─────────────── */
.info-box {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 20px;
  margin: 24px 0;
  border-left: 4px solid var(--accent-blue);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.info-box h2 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
}

.no-result {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  color: var(--text-sub);
  border: 1px solid var(--border);
}

/* ─────────────── 管理画面 ─────────────── */
.admin-table {
  width: 100%;
  background: var(--bg-card);
  border-collapse: collapse;
  margin: 14px 0;
  border: 1px solid var(--border);
}
.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}
.admin-table th {
  background: var(--bg-header);
  font-weight: bold;
  color: #fff;
}
.admin-table tr:hover {
  background: var(--bg-card-hover);
}
pre {
  background: #111;
  color: var(--text-main);
  padding: 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow-x: auto;
  font-size: 12px;
}

/* ─────────────── フッター ─────────────── */
.site-footer {
  background: var(--bg-header);
  color: var(--text-sub);
  padding: 24px 0;
  margin-top: 48px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.site-footer a {
  color: var(--text-main);
}
.site-footer .small {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─────────────── モバイル対応 ─────────────── */
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .container {
    padding: 0 12px;
  }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .site-title {
    font-size: 18px;
  }
  .global-nav {
    width: 100%;
    justify-content: space-around;
    font-size: 13px;
  }
  h2 {
    font-size: 18px;
  }
  /* 検索結果カードを縦並びに */
  .result-card {
    grid-template-columns: 1fr;
  }
  .card-image {
    text-align: center;
  }
  .card-image img {
    max-width: 240px;
    margin: 0 auto;
  }
  .result-card.ranking-item {
    grid-template-columns: 60px 1fr;
  }
  .result-card.ranking-item .card-image {
    grid-column: 1 / -1;
  }
  /* フォーム要素のレイアウト調整 */
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-label {
    min-width: auto;
  }
  .form-row input[type="text"],
  .form-row input[type="number"],
  .form-row select {
    width: 100%;
    min-width: auto;
  }
  .number-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-buttons {
    flex-direction: column;
  }
  .card-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   Phase A/B/C 追加スタイル (LP・ランキング記事化・トップ入口整理)
================================================================ */

/* トップの「まずはここから」セクション */
.quick-access {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0 32px;
}
.quick-h2 {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  margin: 0 0 16px;
  font-size: 20px;
}
.quick-h3 {
  color: var(--text-main);
  margin: 20px 0 12px;
  font-size: 16px;
  border-left: 3px solid var(--accent-blue);
  padding-left: 10px;
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s;
}
.chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}
.actress-chip {
  border-color: var(--accent-blue);
}
.actress-chip:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.usecases {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.usecases li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-sub);
  font-size: 14px;
}
.usecases li:last-child { border-bottom: none; }
.usecases li a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: bold;
}
.usecases li a:hover { text-decoration: underline; }
.quick-cta-note {
  margin: 16px 0 0;
  padding: 12px;
  background: var(--bg-page);
  border-left: 3px solid var(--accent-yellow);
  color: var(--text-sub);
  font-size: 13px;
  border-radius: 4px;
}

/* LP共通 (Phase A) */
.lp-header {
  margin: 24px 0 24px;
}
.lp-h1 {
  color: var(--accent);
  font-size: 26px;
  margin: 0 0 16px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  line-height: 1.4;
}
.lp-lead {
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 15px;
}
.lp-lead p { margin: 0 0 12px; }
.lp-lead a { color: var(--accent-blue); }
.lp-search-cta {
  padding: 12px 16px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
  margin: 16px 0 24px;
  color: var(--text-sub);
  font-size: 14px;
}
.lp-result-header {
  margin: 24px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.lp-result-header h2 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 18px;
}
.lp-related {
  margin: 40px 0 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 8px;
}
.lp-related h2 {
  color: var(--accent);
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 18px;
}
.lp-related-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-related-links li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.lp-related-links li:last-child { border-bottom: none; }
.lp-related-links li a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: bold;
}
.lp-related-links li a:hover { text-decoration: underline; }
.lp-footer-cta {
  padding: 12px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 20px 0;
  color: var(--text-sub);
  font-size: 14px;
}
.lp-footer-cta a { color: var(--accent-blue); }
.no-result {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 8px;
  color: var(--text-sub);
}

/* ランキング記事化 (Phase B) */
.ranking-h1 {
  color: var(--accent);
  font-size: 24px;
  margin: 0 0 12px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}
.ranking-intro {
  margin: 12px 0 24px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}
.ranking-intro p { margin: 0; }
.ranking-guide {
  margin: 16px 0 24px;
}
.ranking-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
.ranking-compare thead th {
  background: var(--bg-card);
  color: var(--accent);
  padding: 10px;
  border: 1px solid var(--border);
  text-align: left;
}
.ranking-compare tbody td {
  padding: 10px;
  border: 1px solid var(--border);
  color: var(--text-sub);
  vertical-align: top;
}
.ranking-compare tbody tr:hover { background: var(--bg-card-hover); }

/* モバイル: ranking-compare をカードスタック化 */
@media (max-width: 640px) {
  .chip-grid { gap: 6px; }
  .chip { font-size: 13px; padding: 6px 12px; }
  .lp-h1, .ranking-h1 { font-size: 20px; }
  .ranking-compare thead { display: none; }
  .ranking-compare, .ranking-compare tbody,
  .ranking-compare tr, .ranking-compare td {
    display: block;
    width: 100%;
    border: none;
  }
  .ranking-compare tr {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-page);
  }
  .ranking-compare td { padding: 4px 0; border: none; }
  .ranking-compare td:first-child {
    font-weight: bold;
    color: var(--accent);
    font-size: 16px;
  }
}

/* ================================================================
   フィードバック対応 (UX改善5点)
================================================================ */

/* トップ chip 整理: カテゴリごとに間隔を空ける */
.quick-group {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
}
.quick-group-h3 {
  color: var(--text-main);
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  padding: 0;
}
/* chipをよりボタン風に */
.chip {
  padding: 10px 18px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.chip-review {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  border-color: #2980b9;
}
.chip-review:hover {
  background: linear-gradient(135deg, #4aa9e8 0%, #3498db 100%);
  border-color: var(--accent);
}

/* 簡易検索フォーム */
.simple-search {
  background: rgba(52,152,219,0.06);
  border: 1px solid rgba(52,152,219,0.3);
}
.simple-search legend {
  color: var(--accent-blue);
  font-weight: bold;
}
.quick-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
  padding: 8px;
}
.quick-flags label {
  cursor: pointer;
  padding: 6px 10px;
  background: var(--bg-page);
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.quick-flags label:hover {
  border-color: var(--accent);
}
.simple-search-submit {
  text-align: center;
  padding: 12px 0 6px;
}
.simple-search-submit .btn-primary {
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
}

/* 詳細検索の折りたたみ */
.advanced-search {
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
}
.advanced-search-summary {
  cursor: pointer;
  padding: 12px 16px;
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 14px;
  user-select: none;
  list-style: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.advanced-search-summary:hover {
  background: var(--bg-card-hover);
}
.advanced-search[open] .advanced-search-summary {
  border-bottom: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
}
.advanced-search[open] .advanced-search-summary::before {
  content: "▼ さらに詳しく絞り込む (評価・レビュー数・価格・ジャンル・尺 など)";
}
.advanced-search-summary::before {
  content: "";
}
.advanced-search .form-section {
  margin: 12px;
}

/* 検索結果H1 (条件連動) */
.result-h1 {
  color: var(--accent);
  font-size: 22px;
  margin: 0 0 10px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  line-height: 1.4;
}

/* yawareview レビュー連携バッジ */
.yawareview-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ランキングカードの アクション追記 */
.ranking-card-action {
  display: block;
  margin-top: 6px;
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 12px;
}

/* モバイル調整 */
@media (max-width: 640px) {
  .result-h1 { font-size: 18px; }
  .quick-flags { gap: 8px; }
  .quick-flags label { font-size: 13px; padding: 5px 8px; }
  .simple-search-submit .btn-primary { padding: 10px 30px; font-size: 15px; }
}

/* ================================================================
   ページ主題 H1 (TOP / ガイドLP 共通)
   base.html の .site-title は p タグに降格したので、content 内の
   .page-h1 が各ページの意味的な H1 になる。
   ================================================================ */
.page-h1 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 12px;
  padding: 0;
  border: none;
}
@media (max-width: 640px) {
  .page-h1 { font-size: 20px; }
}

/* ================================================================
   TOP: 4軸導線 (女優/VR/高評価/シリーズ)
   ================================================================ */
.axis-nav {
  margin: 20px 0 28px;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.axis-h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 18px;
  color: #fff;
  border: none;
}
.axis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.axis-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1a2e3a 0%, #2a3e4a 100%);
  border-left: 4px solid var(--accent-blue);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.axis-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  text-decoration: none;
  color: #fff;
}
.axis-icon {
  font-size: 22px;
  margin-bottom: 4px;
}
.axis-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}
.axis-desc {
  font-size: 12px;
  color: #b0c0d0;
  line-height: 1.4;
}
.axis-guide {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: rgba(52,152,219,0.06);
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.axis-guide a {
  color: var(--accent-blue);
  font-weight: 500;
}

/* ================================================================
   TOP: 使い方を知る (ガイドLP 3本ナビ、1行説明付き)
   ================================================================ */
.guide-nav {
  margin: 20px 0 28px;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.guide-nav-h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 18px;
  color: #fff;
  border: none;
}
.guide-nav-h3 {
  margin: 18px 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #b0c0d0;
  border: none;
}
.guide-nav-h3:first-of-type {
  margin-top: 4px;
}
.guide-nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.guide-nav-item {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: rgba(52,152,219,0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.guide-nav-item:hover {
  background: rgba(52,152,219,0.16);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.guide-nav-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
  color: var(--accent-blue);
}
.guide-nav-desc {
  font-size: 12px;
  color: #b0c0d0;
}

/* ================================================================
   優先度を下げるグループ (ランキング等の補助セクション)
   ================================================================ */
.quick-group-muted {
  opacity: 0.75;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.quick-group-muted .quick-group-h3 {
  color: #b0b0b0;
  font-size: 13px;
  font-weight: normal;
}
.quick-group-muted .chip {
  font-size: 12px;
  padding: 4px 10px;
}

/* ================================================================
   ガイドLP: H1直後 CTA (fold above)
   ================================================================ */
.guide-cta-top {
  margin: 12px 0 24px !important;
  padding: 20px 16px;
  background: linear-gradient(135deg, #3a1a1a 0%, #2a2a2a 100%);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}
.guide-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
}
.guide-cta-sub {
  margin: 12px 0 0;
  color: #e0e0e0;
  font-size: 12px;
  opacity: 0.85;
}
/* サブCTAボタン (secondary) の見え方 */
.guide-cta-buttons .btn-secondary {
  padding: 12px 20px;
  font-size: 14px;
  background: rgba(52,152,219,0.15);
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}
.guide-cta-buttons .btn-secondary:hover {
  background: rgba(52,152,219,0.28);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--accent-blue);
}

/* ================================================================
   使い方ガイドLP (lp_guide.html)
   ================================================================ */
.guide-lp {
  max-width: 780px;
  margin: 0 auto;
}
.guide-header {
  margin-bottom: 24px;
}
.guide-section {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.guide-section h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 18px;
  color: #fff;
  border: none;
}
.guide-section p {
  margin: 0 0 10px;
  line-height: 1.75;
  color: #d0d8e0;
}
.guide-section ul {
  margin: 0;
  padding-left: 22px;
}
.guide-section li {
  margin: 6px 0;
  line-height: 1.7;
  color: #d0d8e0;
}
.guide-related-inline {
  margin: 14px 0 4px !important;
  padding: 10px 14px;
  background: rgba(52,152,219,0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.75;
  color: #d0d8e0 !important;
}
.guide-related-inline a {
  color: var(--accent-blue);
  font-weight: 500;
}

.guide-examples {
  list-style: none;
  padding-left: 0 !important;
}
.guide-examples li {
  padding: 8px 12px;
  margin: 6px 0;
  background: rgba(52,152,219,0.06);
  border-left: 3px solid var(--accent-blue);
  border-radius: 3px;
}
.guide-examples a {
  color: var(--accent-blue);
  font-weight: 500;
}
.guide-cta {
  text-align: center;
  margin: 28px 0;
}
.btn-large {
  padding: 16px 40px !important;
  font-size: 16px !important;
  box-shadow: 0 4px 12px rgba(231,76,60,0.35);
}
.guide-related {
  margin: 24px 0;
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.guide-related h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  color: #fff;
  border: none;
}
.guide-related-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-related-links li {
  margin: 6px 0;
}
.guide-related-links a {
  color: var(--accent-blue);
  font-weight: 500;
}
