@charset "UTF-8";
.help-container {
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #f7fff7;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.help-header {
  display: flex;
  align-items: center;
  background-color: #5aba84;
  color: white;
  padding: 20px;
}

.help-icon {
  font-size: 2.5rem;
  margin-right: 20px;
}

.help-title {
  flex: 1;
}

.help-title h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1.5rem;
}

.help-subtitle {
  margin: 5px 0 0 0;
  opacity: 0.9;
}

.help-body {
 font-size: 1.1rem;
  padding: 20px;
}

.help-tabset .nav-pills {
  border-bottom: 1px solid #a8d5ba;
  padding-bottom: 1px;
}

.help-tabset .nav-pills .nav-link {
  border-radius: 4px 4px 0 0;
  padding: 10px 15px;
  margin-right: 5px;
  color: #1e6b3c;
  font-weight: 500;
  border: 1px solid transparent;
}

.help-tabset .nav-pills .nav-link.active {
  color: #fff;
  background-color: #2e8b57;
  border: 1px solid #1e6b3c;
}

.help-tabset .nav-pills .nav-link:hover:not(.active) {
  background-color: #d6eadc;
}

.help-tabset .tab-content {
  margin-top: 20px;
}

.help-card {
  border: 1px solid #a8d5ba;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.help-card-header {
  background-color: #d6eadc;
  padding: 15px 20px;
  border-bottom: 1px solid #a8d5ba;
}

.help-card-header h5 {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e6b3c;
}

.help-card-body {
  padding: 20px;
}

.help-illustration {
  text-align: center;
  margin: 20px 0;
  border: 1px solid #a8d5ba;
  border-radius: 4px;
  padding: 15px;
  background: #f7fff7;
}

.help-illustration img {
  max-width: 100%;
  height: auto;
}

.help-action-button {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.timeline {
  position: relative;
  margin: 20px 0;
  padding-left: 30px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #a8d5ba;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-point {
  position: absolute;
  left: -30px;
  width: 20px;
  height: 20px;
  background-color: #2e8b57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
}

.timeline-content {
  background-color: #f7fff7;
  border-radius: 4px;
  padding: 15px;
  border-left: 3px solid #2e8b57;
}

.timeline-content h6 {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #1e6b3c;
}

.timeline-content p {
  margin: 0;
  color: #666;
}

.timeline-container {
  position: relative;
  padding: 20px 0;
}

.timeline-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  height: 100%;
  width: 4px;
  background: #a8d5ba;
}

.timeline-marker {
  position: relative;
  flex: 0 0 76px;
  text-align: center;
}

.timeline-number {
  width: 40px;
  height: 40px;
  background-color: #2e8b57;
  color: white;
  border-radius: 50%;
  line-height: 40px;
  font-weight: bold;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.help-tips {
  background-color: #e8f7e8;
  border-left: 4px solid #4caf50;
  border-radius: 4px;
  padding: 15px;
  margin: 20px 0;
}

.help-tips h6 {
  margin: 0 0 10px 0;
  color: #1e6b3c;
  font-weight: 600;
}

.help-tips p {
  margin: 0;
}

.help-example {
  margin: 20px 0;
}

.help-example-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e6b3c;
}

.example-card {
  border: 1px solid #a8d5ba;
  border-radius: 4px;
  overflow: hidden;
}

.example-header {
  background-color: #d6eadc;
  padding: 10px 15px;
  font-weight: 600;
  border-bottom: 1px solid #a8d5ba;
  color: #1e6b3c;
}

.example-content {
  padding: 15px;
  background-color: #ffffff;
}

.example-content ul {
  margin: 0;
  padding-left: 20px;
}

.example-content li {
  margin-bottom: 5px;
}

.calculation-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calculation-method {
  border: 1px solid #a8d5ba;
  border-radius: 4px;
  overflow: hidden;
}

.method-header {
  display: flex;
  align-items: center;
  background-color: #d6eadc;
  padding: 12px 15px;
  border-bottom: 1px solid #a8d5ba;
}

.method-header h6 {
  margin: 0;
  font-weight: 600;
  flex: 1;
  color: #1e6b3c;
}

.method-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  background-color: #a8d5ba;
  color: #1e6b3c;
}

.method-badge-advanced {
  background-color: #2e8b57;
  color: white;
}

.method-content {
  padding: 15px;
  background-color: #ffffff;
}

.method-image {
  margin-top: 15px;
  text-align: center;
}

.method-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #a8d5ba;
  border-radius: 4px;
}

.bonus-example {
  margin: 20px 0;
}

.bonus-example-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e6b3c;
}

.example-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.example-item {
  display: flex;
  align-items: flex-start;
  background-color: #f7fff7;
  border-radius: 4px;
  padding: 15px;
  border-left: 3px solid #2e8b57;
}

.example-icon {
  width: 40px;
  height: 40px;
  background-color: #2e8b57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  font-size: 1.2rem;
}

.example-text h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #1e6b3c;
}

.example-text p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.bonus-instruction {
  margin-top: 20px;
  background-color: #f7fff7;
  border-radius: 4px;
  padding: 15px;
  border: 1px solid #a8d5ba;
}

.instruction-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e6b3c;
}

.instruction-image {
  margin-top: 15px;
  text-align: center;
  border: 1px solid #a8d5ba;
  border-radius: 4px;
  padding: 10px;
  background-color: #ffffff;
}

.alert {
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.alert-warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.alert-info {
  background-color: #e8f7e8;
  border-left: 4px solid #4caf50;
  color: #1e6b3c;
}

.alert-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.local-notes {
  margin-top: 20px;
}

.note-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.note-icon {
  width: 36px;
  height: 36px;
  background-color: #2e8b57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  font-size: 1rem;
}

.note-text {
  flex: 1;
}

.note-text p {
  margin: 0;
}

.member-options {
  margin: 20px 0;
}

.option-item {
  margin-bottom: 20px;
  border: 1px solid #a8d5ba;
  border-radius: 4px;
  overflow: hidden;
}

.option-header {
  display: flex;
  align-items: center;
  background-color: #d6eadc;
  padding: 12px 15px;
  border-bottom: 1px solid #a8d5ba;
}

.option-radio {
  margin-right: 10px;
  color: #2e8b57;
  font-size: 1.2rem;
}

.option-title {
  font-weight: 600;
  color: #1e6b3c;
}

.option-content {
  padding: 15px;
  background-color: #ffffff;
}

.option-content p {
  margin: 0 0 10px 0;
}

.option-content p:last-child {
  margin-bottom: 0;
}

.method-tabs .nav-tabs {
  border-bottom: 2px solid #2e8b57;
}

.method-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #666;
  margin-bottom: -2px;
  padding: 10px 15px;
}

.method-tabs .nav-link.active {
  color: #2e8b57;
  border-bottom: 2px solid #2e8b57;
  background-color: transparent;
  font-weight: bold;
}

.method-example {
  background-color: #e8f7e8;
  border-left: 4px solid #2e8b57;
  padding: 10px 15px;
  margin: 15px 0;
}

.method-example-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #2e8b57;
}

.method-example-content {
  font-family: monospace;
  font-size: 1.1rem;
  padding: 5px;
}

.method-badge-recommended {
  background-color: #1e6b3c;
  color: white;
}

.method-badge-alternative {
  background-color: #4caf50;
  color: white;
}

.method-badge-basic {
  background-color: #a8d5ba;
  color: #1e6b3c;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: #2e8b57;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.settings-tip {
  background-color: #e8f7e8;
  border-left: 4px solid #4caf50;
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.tip-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e6b3c;
}

a.link-brown {
  color: #2e8b57;
  text-decoration: underline;
}

a.link-brown:hover {
  color: #1e6b3c;
}

.help-footer {
  background-color: #d6eadc;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #a8d5ba;
}

.help-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-primary {
  background-color: #2e8b57;
  border-color: #1e6b3c;
}

.btn-primary:hover {
  background-color: #1e6b3c;
  border-color: #165331;
}

.btn-outline-secondary {
  color: #2e8b57;
  border-color: #a8d5ba;
}

.btn-outline-secondary:hover {
  background-color: #d6eadc;
  color: #1e6b3c;
}

.help-summary {
  background-color: #e8f7e8;
  border-left: 4px solid #4caf50;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.summary-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #1e6b3c;
}

.summary-list {
  margin: 0;
  padding-left: 20px;
}

.summary-list li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .help-icon {
    font-size: 2rem;
    margin-right: 15px;
  }

  .help-title h4 {
    font-size: 1.25rem;
  }

  .help-tabset .nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .help-tabset .nav-pills .nav-link {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .example-items {
    grid-template-columns: 1fr;
  }

  .help-actions {
    flex-direction: column;
  }

  .timeline-container:before {
    left: 32px;
  }

  .timeline-marker {
    flex: 0 0 65px;
  }

  .timeline-number {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .timeline-content {
    padding: 12px;
  }
}
/* ============================================================
 * ヘルプセンター リニューアル v2 (2026-05) — 洗練デザイン
 * Stripe / Linear / Notion を参考にしたミニマル＆プロ仕様
 * ============================================================ */

:root {
  --hc-primary:        #8b5e3c;   /* メインアクセント（深ブラウン） */
  --hc-primary-soft:   #d49a4a;   /* サブアクセント */
  --hc-bg:             #fdfcfa;   /* 全体背景 */
  --hc-bg-section:     #f7f3ec;   /* セクション背景 */
  --hc-bg-card:        #ffffff;   /* カード背景 */
  --hc-border:         #e9e1d2;   /* 通常ボーダー */
  --hc-border-soft:    #f1ebdf;   /* 控えめなボーダー */
  --hc-text:           #2d2620;   /* 本文 */
  --hc-text-muted:     #7a6b58;   /* サブテキスト */
  --hc-text-subtle:    #a89c87;   /* さらに控えめ */
  --hc-shadow-sm:      0 1px 2px rgba(76, 53, 30, 0.04);
  --hc-shadow-md:      0 2px 6px rgba(76, 53, 30, 0.06), 0 1px 2px rgba(76, 53, 30, 0.04);
  --hc-shadow-lg:      0 8px 24px rgba(76, 53, 30, 0.10), 0 2px 6px rgba(76, 53, 30, 0.05);
  --hc-radius:         10px;
}

.help-center {
  color: var(--hc-text);
  font-size: 0.95rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.help-center h2,
.help-center h3,
.help-center h4 {
  color: var(--hc-text);
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* ──────────────────────────────────────────
   ヒーロー（検索バー領域）
   ────────────────────────────────────────── */
.help-hero {
  background: var(--hc-bg-section);
  border: 1px solid var(--hc-border-soft);
  border-radius: 16px;
  padding: 3rem 1.5rem !important;
  margin-bottom: 3rem !important;
}
.help-hero h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.help-hero h2 i {
  color: var(--hc-primary);
}
.help-hero p {
  color: var(--hc-text-muted);
  margin-bottom: 1.5rem !important;
}
.help-hero .input-group {
  box-shadow: var(--hc-shadow-md);
  border-radius: 10px;
  overflow: hidden;
}
.help-hero .input-group-text,
.help-hero .form-control {
  border: 1px solid var(--hc-border);
  background: #fff;
  font-size: 0.95rem;
}
.help-hero .form-control:focus {
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
  border-color: var(--hc-primary);
}

/* ──────────────────────────────────────────
   カテゴリタイル（全カテゴリ統一トーン）
   ────────────────────────────────────────── */
.help-categories h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hc-text-subtle);
  margin-bottom: 1.25rem !important;
}
.help-categories h3 i { color: var(--hc-primary-soft); }

.help-category-tile {
  background: var(--hc-bg-card) !important;
  color: var(--hc-text) !important;
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius);
  padding: 1.5rem 1rem !important;
  box-shadow: var(--hc-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.help-category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--hc-shadow-lg);
  border-color: var(--hc-primary-soft) !important;
  text-decoration: none;
  color: var(--hc-text) !important;
}
.help-category-tile i {
  color: var(--hc-primary);
}
.help-category-tile .fw-bold {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.help-category-tile .small {
  color: var(--hc-text-subtle) !important;
  font-size: 0.78rem !important;
  opacity: 1 !important;
}

/* ──────────────────────────────────────────
   検索結果
   ────────────────────────────────────────── */
.help-search-hit {
  color: var(--hc-text);
  border-radius: 6px;
  transition: background-color .12s ease;
}
.help-search-hit:hover {
  background-color: var(--hc-bg-section);
  text-decoration: none;
}
.help-search-hit .badge {
  background: var(--hc-bg-section) !important;
  color: var(--hc-text-muted) !important;
  font-weight: 500;
  font-size: 0.72rem;
}

/* ──────────────────────────────────────────
   FAQ アコーディオン（トップ）
   ────────────────────────────────────────── */
.help-faq .card {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow-sm);
}
.help-faq .card-header {
  background: var(--hc-bg-section) !important;
  border-bottom: 1px solid var(--hc-border);
  padding: 1rem 1.25rem;
}
.help-faq .card-header h3 i { color: var(--hc-primary); }
.help-faq .accordion-button {
  background: #fff !important;
  color: var(--hc-text) !important;
  font-weight: 500;
  box-shadow: none !important;
  border: none;
}
.help-faq .accordion-button:not(.collapsed) {
  background: var(--hc-bg-section) !important;
  color: var(--hc-primary) !important;
}
.help-faq .accordion-item { border: none; border-bottom: 1px solid var(--hc-border-soft); }
.help-faq .accordion-item:last-child { border-bottom: none; }

/* ──────────────────────────────────────────
   お問い合わせカード（トップ最下部）
   ────────────────────────────────────────── */
.help-contact .card {
  background: var(--hc-bg-section);
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius);
  box-shadow: none;
}
.help-contact .btn {
  background: var(--hc-primary);
  border-color: var(--hc-primary);
  color: #fff;
  padding: 0.6rem 2rem;
  font-weight: 500;
  border-radius: 8px;
}
.help-contact .btn:hover {
  background: #6b4a30;
  border-color: #6b4a30;
}

/* ──────────────────────────────────────────
   パンくず
   ────────────────────────────────────────── */
.help-breadcrumb {
  margin-bottom: 1.25rem !important;
}
.help-breadcrumb .breadcrumb {
  font-size: 0.82rem;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--hc-text-muted);
}
.help-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--hc-text-subtle);
  content: "/";
  padding: 0 0.5rem;
}
.help-breadcrumb a {
  color: var(--hc-text-muted);
  text-decoration: none;
}
.help-breadcrumb a:hover { color: var(--hc-primary); text-decoration: underline; }
.help-breadcrumb .active { color: var(--hc-text); font-weight: 500; }

/* ──────────────────────────────────────────
   左サイドバー（カテゴリリスト）
   ────────────────────────────────────────── */
.help-sidebar {
  font-size: 0.88rem;
  border-right: 1px solid var(--hc-border-soft);
  padding-right: 1rem;
}
.help-sidebar > a {
  color: var(--hc-primary) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.help-sidebar-link {
  color: var(--hc-text-muted);
  font-weight: 500;
  border-radius: 6px;
  transition: background-color .12s ease, color .12s ease;
}
.help-sidebar-link:hover {
  background: var(--hc-bg-section);
  color: var(--hc-text);
  text-decoration: none;
}
.help-sidebar-link.active {
  background: var(--hc-bg-section);
  color: var(--hc-primary);
  font-weight: 600;
}
.help-sidebar-link i { color: var(--hc-primary-soft); width: 1.3em; text-align: center; }
.help-sidebar-sublink {
  color: var(--hc-text-subtle);
  font-size: 0.82rem;
  border-left: 2px solid var(--hc-border-soft);
  padding-left: 0.75rem !important;
  border-radius: 0;
  transition: color .12s ease, border-color .12s ease;
}
.help-sidebar-sublink:hover {
  color: var(--hc-text);
  border-left-color: var(--hc-primary-soft);
  background: transparent;
  text-decoration: none;
}
.help-sidebar-sublink.active {
  color: var(--hc-primary);
  border-left-color: var(--hc-primary);
  background: transparent;
  font-weight: 600;
}

/* ──────────────────────────────────────────
   カテゴリ目次（_section_b.jsp）v2
   ────────────────────────────────────────── */
/* セクションページにカテゴリ別アクセント色を流す（既定値 → 各カテゴリで上書き） */
.help-section-page                       { --tile-accent: #8b5e3c; --tile-bg: #f4ece2; }
.help-section-page.tile-getting-started  { --tile-accent: #2e8eba; --tile-bg: #e6f3f9; }
.help-section-page.tile-team             { --tile-accent: #4caf50; --tile-bg: #e8f5e9; }
.help-section-page.tile-predict          { --tile-accent: #f0932b; --tile-bg: #fdf2e1; }
.help-section-page.tile-race-info        { --tile-accent: #5c5cd6; --tile-bg: #ecedf9; }
.help-section-page.tile-horse-info       { --tile-accent: #8b5e3c; --tile-bg: #f4ece2; }
.help-section-page.tile-special          { --tile-accent: #009688; --tile-bg: #e0f2f1; }
.help-section-page.tile-account          { --tile-accent: #d49a4a; --tile-bg: #fdf3e3; }
.help-section-page.tile-legal            { --tile-accent: #888;    --tile-bg: #f0eeea; }

/* セクションヘッダ */
.help-section-page .help-section-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--hc-bg-card) !important;
  border: 1px solid var(--hc-border) !important;
  border-left: 4px solid var(--tile-accent) !important;
  border-radius: var(--hc-radius);
  padding: 1.1rem 1.4rem !important;
  box-shadow: var(--hc-shadow-sm);
  margin-bottom: 1.6rem !important;
}
.help-section-page .help-section-head-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--tile-bg);
  color: var(--tile-accent);
  font-size: 1.6rem;
}
.help-section-page .help-section-head-icon i {
  color: var(--tile-accent) !important;
  background: transparent !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
.help-section-page .help-section-head-text { flex: 1 1 auto; min-width: 0; }
.help-section-page .help-section-head-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0 !important;
  color: var(--hc-text) !important;
  line-height: 1.3;
}
.help-section-page .help-section-head-desc {
  font-size: 0.88rem;
  color: var(--hc-text-muted);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.help-section-page .help-section-head-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--tile-accent);
  background: var(--tile-bg);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}
.help-section-page .help-section-head-count strong { font-weight: 700; }

/* 記事カード v2 */
.help-section-page .help-article-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  height: 100%;
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  padding: 0.95rem 1.05rem;
  box-shadow: var(--hc-shadow-sm);
  text-decoration: none !important;
  color: var(--hc-text) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  overflow: hidden;
}
.help-section-page .help-article-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--tile-accent);
  opacity: 0;
  transition: opacity .18s ease;
}
.help-section-page .help-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hc-shadow-md);
  border-color: var(--tile-accent);
  background: #fff;
}
.help-section-page .help-article-card:hover::before { opacity: 1; }
.help-section-page .help-article-card:hover .help-article-card-arrow { transform: translateX(4px); color: var(--tile-accent); }
.help-section-page .help-article-card:hover .help-article-card-icon  { background: var(--tile-accent); color: #fff; }
.help-section-page .help-article-card:hover .help-article-card-icon i { color: #fff !important; }

.help-section-page .help-article-card-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tile-bg);
  color: var(--tile-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.help-section-page .help-article-card-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tile-bg);
  color: var(--tile-accent);
  font-size: 1.05rem;
  transition: background-color .18s ease, color .18s ease;
}
.help-section-page .help-article-card-icon i {
  color: var(--tile-accent) !important;
  background: transparent !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  transition: color .18s ease;
}
.help-section-page .help-article-card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.help-section-page .help-article-card-title {
  font-weight: 700;
  color: var(--hc-text);
  font-size: 0.97rem;
  line-height: 1.4;
}
.help-section-page .help-article-card-desc {
  font-size: 0.8rem;
  color: var(--hc-text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-section-page .help-article-card-arrow {
  flex: 0 0 auto;
  color: var(--hc-text-muted);
  font-size: 0.85rem;
  transition: transform .18s ease, color .18s ease;
}

/* モバイルでの調整 */
@media (max-width: 575.98px) {
  .help-section-page .help-section-head {
    gap: 0.85rem;
    padding: 0.95rem 1.1rem !important;
  }
  .help-section-page .help-section-head-icon {
    width: 48px; height: 48px; font-size: 1.35rem;
  }
  .help-section-page .help-section-head-title { font-size: 1.15rem; }
  .help-section-page .help-section-head-desc  { font-size: 0.82rem; }

  .help-section-page .help-article-card {
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
  }
  .help-section-page .help-article-card-icon {
    width: 38px; height: 38px; font-size: 0.95rem;
  }
  .help-section-page .help-article-card-title { font-size: 0.92rem; }
  .help-section-page .help-article-card-desc  { font-size: 0.76rem; }
}

/* ──────────────────────────────────────────
   記事ページ（_article_b.jsp）
   ────────────────────────────────────────── */
.help-article-head {
  border-bottom: 1px solid var(--hc-border) !important;
  padding-bottom: 1rem !important;
  margin-bottom: 2rem !important;
}
.help-article-head h2 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.01em;
}
.help-article-head .badge {
  background: var(--hc-bg-section) !important;
  color: var(--hc-primary) !important;
  font-weight: 500;
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
}
.help-article-head .badge i { color: var(--hc-primary-soft); }

.help-article-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--hc-text);
}
.help-article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-left: 0;
  border-left: none;
  letter-spacing: -0.005em;
}
.help-article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--hc-text);
}
.help-article-body p { margin-bottom: 1rem; }
.help-article-body ul, .help-article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.help-article-body li { margin-bottom: 0.35rem; }
.help-article-body a {
  color: var(--hc-primary);
  text-decoration: underline;
  text-decoration-color: rgba(139, 94, 60, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .12s;
}
.help-article-body a:hover { text-decoration-color: var(--hc-primary); }
.help-article-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hc-border);
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: var(--hc-shadow-sm);
}
.help-article-body .alert-info {
  background: var(--hc-bg-section);
  border: 1px solid var(--hc-border);
  border-left: 4px solid var(--hc-primary-soft);
  color: var(--hc-text);
  border-radius: 6px;
  padding: 0.85rem 1rem;
}

/* 記事本文内の help-card（情報ブロック） */
.help-article-body .help-card {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--hc-shadow-sm);
}
.help-article-body .help-card-header {
  background: var(--hc-bg-section);
  border-bottom: 1px solid var(--hc-border);
  padding: 0.8rem 1.1rem;
}
.help-article-body .help-card-header h5,
.help-article-body .help-card-header h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--hc-text);
}
.help-article-body .help-card-header i { color: var(--hc-primary); margin-right: 0.4rem; }
.help-article-body .help-card-body { padding: 1rem 1.1rem; }

/* 関連記事 */
.help-related {
  border-top: 1px solid var(--hc-border) !important;
  padding-top: 1.5rem !important;
}
.help-related h3 {
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hc-text-subtle) !important;
}
.help-related h3 i { color: var(--hc-primary-soft); }
.help-related-link {
  color: var(--hc-text) !important;
  background: var(--hc-bg-card) !important;
  border: 1px solid var(--hc-border) !important;
  border-radius: 8px !important;
  padding: 0.65rem 0.85rem !important;
  transition: all .15s ease;
}
.help-related-link:hover {
  background: var(--hc-bg-section) !important;
  border-color: var(--hc-primary-soft) !important;
  text-decoration: none;
  color: var(--hc-primary) !important;
}
.help-related-link i { color: var(--hc-primary-soft); }

/* ──────────────────────────────────────────
   モバイル微調整
   ────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .help-hero { padding: 2rem 1rem !important; }
  .help-hero h2 { font-size: 1.3rem; }
  .help-section-head { padding: 1.25rem !important; }
  .help-article-head h2 { font-size: 1.35rem; }
}

/* ============================================================
 * 埋め込みヘルプ（折りたたみ details）
 * ============================================================ */

.help-embed-area {
  border-top: 1px solid var(--hc-border-soft);
  padding-top: 1.5rem;
}
.help-embed-area > h4 {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hc-text-subtle) !important;
  margin-bottom: 0.85rem !important;
}
.help-embed-area > h4 i { color: var(--hc-primary-soft); }

.help-embed {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-primary);
  border-radius: 8px;
  margin-bottom: 6px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.help-embed:hover {
  border-color: #6b4423;
}
.help-embed > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  font-weight: 500;
  color: var(--hc-text);
  background: transparent;
  position: relative;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  transition: background-color .12s ease;
}
.help-embed > summary:hover {
  background: var(--hc-bg-section);
}
.help-embed > summary::-webkit-details-marker { display: none; }
.help-embed > summary::before { content: none; }
.help-embed > summary::after {
  content: "\002B";   /* + */
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--hc-text-subtle);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hc-bg-section);
  transition: transform .2s ease, background-color .15s ease, color .15s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}
.help-embed[open] > summary {
  background: var(--hc-bg-section);
  border-bottom: 1px solid var(--hc-border-soft);
  color: var(--hc-primary);
  font-weight: 600;
}
.help-embed[open] > summary::after {
  content: "\2212";   /* − */
  background: var(--hc-primary);
  color: #fff;
}
.help-embed-body {
  padding: 1rem 1.25rem;
  background: var(--hc-bg-card);
}
.help-embed-area .text-end a {
  color: var(--hc-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
}
.help-embed-area .text-end a:hover { text-decoration: underline; }

/* ============================================================
 * ヘルプ画像の注釈（赤枠＋ラベル）
 * <figure class="help-annotated"> 内で
 *   <img> と <span class="annotation"> を絶対配置で重ねる
 * ============================================================ */
.help-annotated {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 1.5rem;
}
.help-annotated img {
  display: block;
  max-width: 100%;
  height: auto;
}
.help-annotated .annotation {
  position: absolute;
  border: 3px solid #e34;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
  animation: helpAnnotationPulse 2s ease-in-out infinite;
}
.help-annotated .annotation::after {
  content: attr(data-label);
  position: absolute;
  top: -1.6em;
  left: -3px;
  background: #e34;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
@keyframes helpAnnotationPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 0 0 0 rgba(238, 51, 68, 0.4); }
  50%      { box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 0 0 8px rgba(238, 51, 68, 0); }
}
.help-annotated figcaption {
  font-size: 0.82rem;
  color: var(--hc-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
 * ヘルプセンタートップ v3 — ヒーロー大型化・カテゴリ色分け・人気記事
 * ============================================================ */

/* ヒーロー大型化 */
.help-center.help-top .help-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5a3a1f 0%, #8b5e3c 55%, #a87a4a 100%);
  border: none;
  border-radius: 18px;
  padding: 4rem 2rem !important;
  margin-bottom: 4rem !important;
  color: #fff;
}
.help-center.help-top .help-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.12) 0, transparent 45%),
              radial-gradient(circle at 20% 70%, rgba(255,255,255,0.08) 0, transparent 50%);
  pointer-events: none;
}
.help-center.help-top .help-hero::after {
  content: "❓";
  position: absolute; right: 6%; top: 18%;
  font-size: 9rem;
  opacity: 0.10;
  transform: rotate(-12deg);
  pointer-events: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}
.help-center.help-top .help-hero h2 {
  position: relative; z-index: 1;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem !important;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.help-center.help-top .help-hero h2 i {
  color: rgba(255,255,255,0.85);
}
.help-center.help-top .help-hero p {
  position: relative; z-index: 1;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 2rem !important;
}
.help-center.help-top .help-hero .input-group {
  position: relative; z-index: 1;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 0 4px 8px rgba(0,0,0,0.10);
  border-radius: 14px;
  overflow: hidden;
  border: none;
  max-width: 720px;
  margin: 0 auto;
}
.help-center.help-top .help-hero .input-group-text,
.help-center.help-top .help-hero .form-control {
  border: none;
  padding: 1rem 1.2rem;
  font-size: 1.05rem;
}
.help-center.help-top .help-hero .input-group-text {
  background: #fff;
  color: var(--hc-primary);
  font-size: 1.1rem;
}

/* セクション見出し（カテゴリから探す等） */
.help-center.help-top .help-categories,
.help-center.help-top .help-popular,
.help-center.help-top .help-faq,
.help-center.help-top .help-contact {
  margin-bottom: 4rem !important;
}
.help-center.help-top .help-categories h3,
.help-center.help-top .help-popular h3 {
  font-size: 1.35rem !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--hc-text) !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hc-border);
}
.help-center.help-top .help-categories h3 i,
.help-center.help-top .help-popular h3 i {
  color: var(--hc-primary);
}

/* カテゴリタイル色分け（カテゴリIDで色を割り当て） */
.help-center.help-top .help-category-tile {
  background: var(--hc-bg-card) !important;
  border: 1px solid var(--hc-border) !important;
  border-radius: 14px !important;
  padding: 1.5rem 1rem !important;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.help-center.help-top .help-category-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tile-accent, var(--hc-primary-soft));
  opacity: 0.7;
}
.help-center.help-top .help-category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-shadow-lg);
  border-color: var(--tile-accent, var(--hc-primary-soft)) !important;
}
.help-center.help-top .help-category-tile .tile-icon {
  width: 56px; height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--tile-bg, #f7f3ec);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--tile-accent, var(--hc-primary));
  transition: transform .2s ease;
}
.help-center.help-top .help-category-tile:hover .tile-icon {
  transform: scale(1.08);
}
.help-center.help-top .help-category-tile .fw-bold {
  font-size: 0.98rem !important;
  margin-bottom: 0.3rem;
  color: var(--hc-text);
}
.help-center.help-top .help-category-tile .tile-desc {
  font-size: 0.78rem;
  color: var(--hc-text-subtle);
  line-height: 1.4;
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カテゴリ別カラートークン */
.help-center.help-top .help-category-tile.tile-getting-started { --tile-accent: #2e8eba; --tile-bg: #e6f3f9; }
.help-center.help-top .help-category-tile.tile-team           { --tile-accent: #4caf50; --tile-bg: #e8f5e9; }
.help-center.help-top .help-category-tile.tile-predict        { --tile-accent: #f0932b; --tile-bg: #fdf2e1; }
.help-center.help-top .help-category-tile.tile-race-info      { --tile-accent: #5c5cd6; --tile-bg: #ecedf9; }
.help-center.help-top .help-category-tile.tile-horse-info     { --tile-accent: #8b5e3c; --tile-bg: #f4ece2; }
.help-center.help-top .help-category-tile.tile-special        { --tile-accent: #009688; --tile-bg: #e0f2f1; }
.help-center.help-top .help-category-tile.tile-account        { --tile-accent: #d49a4a; --tile-bg: #fdf3e3; }
.help-center.help-top .help-category-tile.tile-legal          { --tile-accent: #888;    --tile-bg: #f0eeea; }

/* よく見られている記事 */
.help-popular-card {
  display: block;
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-decoration: none;
  color: var(--hc-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.help-popular-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hc-shadow-md);
  border-color: var(--hc-primary-soft);
  text-decoration: none;
  color: var(--hc-text);
}
.help-popular-card .popular-rank {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--hc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
.help-popular-card .popular-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
  color: var(--hc-text);
}
.help-popular-card .popular-section {
  font-size: 0.72rem;
  color: var(--hc-text-subtle);
}

/* FAQ 装飾 */
.help-center.help-top .help-faq .card {
  border-radius: 14px;
}
.help-center.help-top .help-faq .card-header {
  background: var(--hc-bg-card) !important;
  border-bottom: 1px solid var(--hc-border);
  padding: 1.1rem 1.4rem;
}
.help-center.help-top .help-faq .card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.help-center.help-top .help-faq .accordion-button::before {
  content: "Q.";
  font-weight: 700;
  color: var(--hc-primary);
  margin-right: 0.6rem;
}

/* お問い合わせバナー */
.help-center.help-top .help-contact .card {
  background: linear-gradient(135deg, #fdf3e3 0%, #faead2 100%);
  border: 1px solid var(--hc-border) !important;
  border-radius: 14px;
  padding: 1rem;
}
.help-center.help-top .help-contact .card-title {
  font-size: 1rem;
  font-weight: 700;
}

/* モバイル微調整 */
@media (max-width: 991.98px) {
  .help-center.help-top .help-hero { padding: 2.5rem 1rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 1.7rem; }
  .help-center.help-top .help-hero::after { font-size: 5rem; right: -2%; top: 10%; }
  .help-center.help-top .help-categories,
  .help-center.help-top .help-popular,
  .help-center.help-top .help-faq,
  .help-center.help-top .help-contact { margin-bottom: 2.5rem !important; }
  .help-center.help-top .help-category-tile { padding: 1.2rem 0.6rem !important; }
  .help-center.help-top .help-category-tile .tile-icon { width: 48px; height: 48px; font-size: 1.25rem; }
}

/* ============================================================
 * v3 改善 (2026-05-03)
 * ============================================================ */

/* ヒーロー：もっと印象的に */
.help-center.help-top .help-hero {
  padding: 5rem 2rem !important;
  background: linear-gradient(135deg, #4a2e16 0%, #7a4f30 50%, #b08358 100%) !important;
}
.help-center.help-top .help-hero::before {
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.15) 0, transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(255,255,255,0.10) 0, transparent 50%),
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
}
.help-center.help-top .help-hero::after {
  content: "?";
  font-family: Georgia, serif;
  font-size: 22rem;
  font-weight: 700;
  opacity: 0.06;
  right: 4%;
  top: -4rem;
  color: #fff;
  transform: none;
}
.help-center.help-top .help-hero h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.6rem !important;
}
.help-center.help-top .help-hero h2::before {
  content: "HELP CENTER";
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}
.help-center.help-top .help-hero p {
  font-size: 1.1rem;
}
.help-center.help-top .help-hero .input-group {
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 4px 10px rgba(0,0,0,0.15);
}
.help-center.help-top .help-hero .form-control:focus {
  box-shadow: none;
  outline: none;
}

/* カテゴリタイルをもっとリッチに */
.help-center.help-top .help-category-tile {
  padding: 2rem 1rem !important;
  background: var(--hc-bg-card) !important;
}
.help-center.help-top .help-category-tile::before {
  height: 5px;
}
.help-center.help-top .help-category-tile .tile-icon {
  width: 64px; height: 64px;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.help-center.help-top .help-category-tile .fw-bold {
  font-size: 1.02rem !important;
  margin-bottom: 0.4rem;
}
.help-center.help-top .help-category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(76, 53, 30, 0.15), 0 4px 8px rgba(76, 53, 30, 0.08);
}

/* よく見られている記事：ランク強調＋背景に大きい数字 */
.help-popular-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.2rem !important;
  min-height: 130px;
}
.help-popular-card::after {
  content: attr(data-rank);
  position: absolute;
  right: -10px; bottom: -30px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--hc-bg-section);
  line-height: 1;
  z-index: 0;
  opacity: 0.7;
}
.help-popular-card .popular-rank {
  position: relative; z-index: 1;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--hc-primary), var(--hc-primary-soft));
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 6px rgba(139, 94, 60, 0.3);
}
.help-popular-card .popular-title {
  position: relative; z-index: 1;
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}
.help-popular-card .popular-section {
  position: relative; z-index: 1;
  font-size: 0.74rem;
  color: var(--hc-primary-soft);
  font-weight: 600;
}

/* FAQ button: Q. prefix を確実に */
.help-center.help-top .help-faq .accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
}
.help-center.help-top .help-faq .accordion-button::before {
  content: "Q.";
  font-weight: 800;
  color: var(--hc-primary);
  margin-right: 0.7rem;
  font-size: 1rem;
}
.help-center.help-top .help-faq .accordion-body {
  background: #fafaf7;
  padding: 1rem 1.5rem 1.25rem 2.4rem;
  position: relative;
}
.help-center.help-top .help-faq .accordion-body::before {
  content: "A.";
  position: absolute;
  left: 1rem; top: 1rem;
  font-weight: 800;
  color: var(--hc-primary-soft);
}

/* お問い合わせバナーをコンパクトに */
.help-center.help-top .help-contact .card {
  padding: 1.5rem;
  background: linear-gradient(135deg, #fdf6e9 0%, #f7ecd3 100%);
}
.help-center.help-top .help-contact .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0;
}
.help-center.help-top .help-contact .card-title {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.help-center.help-top .help-contact .card-text {
  display: none;  /* "上記で解決〜" は冗長なので消す */
}
.help-center.help-top .help-contact .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* セクション余白 */
.help-center.help-top .help-categories,
.help-center.help-top .help-popular {
  margin-bottom: 4rem !important;
}

/* レスポンシブ */
@media (max-width: 991.98px) {
  .help-center.help-top .help-hero { padding: 3rem 1.25rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 2rem; }
  .help-center.help-top .help-hero h2::before { font-size: 0.65rem; letter-spacing: 0.3em; }
  .help-center.help-top .help-hero::after { font-size: 12rem; right: -2rem; top: -2rem; }
  .help-popular-card::after { font-size: 4rem; right: -5px; bottom: -15px; }
}

/* v3 微調整 (final) */
.help-center.help-top .help-categories .row.g-3 { row-gap: 1.25rem !important; column-gap: 0; }
.help-center.help-top .help-categories .row.g-3 > [class*="col-"] { padding: 0 0.6rem; }
.help-center.help-top .help-category-tile .fw-bold {
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 575.98px) {
  .help-center.help-top .help-category-tile { padding: 1.4rem 0.6rem !important; }
  .help-center.help-top .help-category-tile .fw-bold { font-size: 0.88rem !important; line-height: 1.4; }
  .help-center.help-top .help-category-tile .tile-icon { width: 52px; height: 52px; font-size: 1.4rem; }
}

/* ============================================================
 * v3 final polish (2026-05-03)
 * ============================================================ */

/* ヒーロー：さらにリッチに */
.help-center.help-top .help-hero {
  padding: 5.5rem 3rem !important;
  background: linear-gradient(135deg, #3a2310 0%, #6b4327 40%, #a87a4f 100%) !important;
  text-align: center;
}
.help-center.help-top .help-hero::after {
  content: "?";
  font-family: "Bodoni 72", "Didot", Georgia, serif;
  font-size: 26rem;
  font-style: italic;
  font-weight: 700;
  opacity: 0.06;
  right: 2%;
  top: -7rem;
  color: #fff;
  letter-spacing: -0.05em;
}
.help-center.help-top .help-hero h2 {
  font-size: 3.4rem;
  font-weight: 900;
  margin-bottom: 0.8rem !important;
  line-height: 1.1;
}
.help-center.help-top .help-hero h2::before {
  letter-spacing: 0.5em;
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.help-center.help-top .help-hero p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem !important;
  opacity: 0.92;
}
.help-center.help-top .help-hero .input-group {
  max-width: 680px;
  border-radius: 100px;
  padding: 0.4rem 0.6rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.30), 0 6px 14px rgba(0,0,0,0.18);
}
.help-center.help-top .help-hero .input-group-text,
.help-center.help-top .help-hero .form-control {
  border: none !important;
  background: transparent !important;
  border-radius: 100px !important;
  font-size: 1rem;
}
.help-center.help-top .help-hero .input-group-text {
  padding-left: 1.4rem;
  color: var(--hc-text-subtle);
  font-size: 1.1rem;
}

/* セクション見出しを印象的に */
.help-center.help-top .help-categories h3 {
  border-bottom: none !important;
  position: relative;
  padding-left: 1rem;
  font-size: 1.5rem !important;
  font-weight: 800;
  margin-bottom: 2rem !important;
}
.help-center.help-top .help-categories h3::before {
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 5px;
  background: linear-gradient(180deg, var(--hc-primary), var(--hc-primary-soft));
  border-radius: 3px;
}
.help-center.help-top .help-categories h3 i { display: none; }

/* カテゴリタイル：大きくリッチに */
.help-center.help-top .help-category-tile {
  padding: 2.4rem 1rem 1.8rem !important;
  border-radius: 18px !important;
  border: 1px solid var(--hc-border) !important;
  position: relative;
  overflow: hidden;
  background: var(--hc-bg-card) !important;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.help-center.help-top .help-category-tile::before {
  height: 0;  /* 上部ラインは無くす（タイル全体を色付き枠で表現） */
}
.help-center.help-top .help-category-tile::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tile-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.help-center.help-top .help-category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(76,53,30,0.16), 0 6px 10px rgba(76,53,30,0.08);
  border-color: var(--tile-accent) !important;
}
.help-center.help-top .help-category-tile:hover::after { transform: scaleX(1); }
.help-center.help-top .help-category-tile .tile-icon {
  width: 76px; height: 76px;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  background: var(--tile-bg) !important;
  color: var(--tile-accent) !important;
  border: 2px solid transparent;
  transition: transform 0.25s ease;
}
.help-center.help-top .help-category-tile:hover .tile-icon {
  transform: scale(1.1) rotate(-3deg);
}
.help-center.help-top .help-category-tile .fw-bold {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: -0.01em;
}
.help-center.help-top .help-category-tile .tile-desc {
  font-size: 0.8rem;
  color: var(--hc-text-subtle);
  font-weight: 500;
}

/* FAQ強化 */
.help-center.help-top .help-faq {
  margin-bottom: 4rem !important;
}
.help-center.help-top .help-faq .card {
  border: 1px solid var(--hc-border);
  border-radius: 18px !important;
  box-shadow: 0 4px 12px rgba(76,53,30,0.05);
  overflow: hidden;
}
.help-center.help-top .help-faq .card-header {
  background: var(--hc-bg-card) !important;
  border-bottom: 1px solid var(--hc-border);
  padding: 1.2rem 1.5rem;
}
.help-center.help-top .help-faq .card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.help-center.help-top .help-faq .card-header h3 i {
  color: var(--hc-primary);
  font-size: 1.3rem;
}
.help-center.help-top .help-faq .accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--hc-border-soft) !important;
}
.help-center.help-top .help-faq .accordion-item:last-child { border-bottom: none !important; }
.help-center.help-top .help-faq .accordion-button {
  padding: 1.1rem 1.5rem;
  transition: background-color 0.2s;
}
.help-center.help-top .help-faq .accordion-button:hover {
  background: var(--hc-bg-section) !important;
}
.help-center.help-top .help-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(139,94,60,0.06), transparent) !important;
}

/* お問い合わせバナー：ヒーロー風と統一感 */
.help-center.help-top .help-contact .card {
  background: linear-gradient(135deg, var(--hc-bg-section) 0%, #f4ead4 100%);
  border: 1px solid var(--hc-border) !important;
  border-radius: 18px;
  padding: 1.8rem;
}
.help-center.help-top .help-contact .card-title {
  font-size: 1.05rem;
  color: var(--hc-text);
}
.help-center.help-top .help-contact .card-title i {
  color: var(--hc-primary);
}
.help-center.help-top .help-contact .btn {
  background: var(--hc-primary);
  border-color: var(--hc-primary);
  padding: 0.6rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 12px rgba(139,94,60,0.25);
  transition: all 0.2s;
}
.help-center.help-top .help-contact .btn:hover {
  background: #6b4a2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139,94,60,0.35);
}

/* セクション間の余白を統一 */
.help-center.help-top .help-hero { margin-bottom: 4.5rem !important; }
.help-center.help-top .help-categories { margin-bottom: 4.5rem !important; }
.help-center.help-top .help-faq { margin-bottom: 4.5rem !important; }
.help-center.help-top .help-contact { margin-bottom: 2rem !important; }

/* モバイル微調整 */
@media (max-width: 991.98px) {
  .help-center.help-top .help-hero { padding: 3.5rem 1.25rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 2.2rem; }
  .help-center.help-top .help-hero h2::before { font-size: 0.65rem; letter-spacing: 0.4em; }
  .help-center.help-top .help-hero::after { font-size: 14rem; right: -3rem; top: -3rem; }
  .help-center.help-top .help-hero .input-group { max-width: 100%; }
  .help-center.help-top .help-categories h3 { font-size: 1.25rem !important; }
  .help-center.help-top .help-category-tile { padding: 1.6rem 0.6rem 1.2rem !important; }
  .help-center.help-top .help-category-tile .tile-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 0.8rem; }
  .help-center.help-top .help-category-tile .fw-bold { font-size: 0.9rem !important; }
}

/* タイルアイコン色: FontAwesome <i> がブラウン固定されてた問題を上書き */
.help-center.help-top .help-category-tile .tile-icon i {
  color: inherit !important;  /* 親 .tile-icon の color (= --tile-accent) を継承 */
}

/* お問い合わせボタン: btn-warning の黒文字を白に */
.help-center.help-top .help-contact .btn,
.help-center.help-top .help-contact .btn:hover,
.help-center.help-top .help-contact .btn:focus,
.help-center.help-top .help-contact .btn:active {
  color: #fff !important;
}
.help-center.help-top .help-contact .btn i {
  color: #fff !important;
  margin-right: 0.4rem;
}

/* ============================================================
 * v4 改善（2026-05-03）
 * ============================================================ */

/* tile-icon 76px 強制（specificity 最強で上書き） */
.help-center.help-top .help-categories .help-category-tile .tile-icon {
  width: 76px !important;
  height: 76px !important;
  font-size: 2rem !important;
  margin-bottom: 1.2rem !important;
}

/* カテゴリタイル タイトル太字 */
.help-center.help-top .help-categories .help-category-tile .fw-bold {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

/* FAQ ヘッダー文字色を黒太字に */
.help-center.help-top .help-faq .card-header h3 {
  color: var(--hc-text) !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
}
.help-center.help-top .help-faq .card-header h3 i {
  color: var(--hc-primary) !important;
}

/* 検索バー focus リング強化 */
.help-center.help-top .help-hero .form-control:focus {
  outline: 3px solid rgba(255, 255, 255, 0.45) !important;
  outline-offset: 2px;
  background: #fff !important;
}

/* ヒーロー説明文の改行コントロール */
.help-center.help-top .help-hero p {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

/* タブレット（768px 前後）の調整 */
@media (min-width: 576px) and (max-width: 991.98px) {
  .help-center.help-top .help-hero { padding: 4rem 1.5rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 2.6rem; }
  .help-center.help-top .help-hero p { font-size: 0.96rem; }
  .help-center.help-top .help-categories .help-category-tile {
    padding: 1.8rem 0.8rem 1.4rem !important;
  }
  .help-center.help-top .help-categories .help-category-tile .tile-icon {
    width: 64px !important; height: 64px !important; font-size: 1.7rem !important;
  }
}

/* スマホ：タイル padding と文字を調整 */
@media (max-width: 575.98px) {
  .help-center.help-top .help-hero { padding: 3rem 1rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 2rem; }
  .help-center.help-top .help-hero h2::before { font-size: 0.65rem; letter-spacing: 0.4em; }
  .help-center.help-top .help-hero p { font-size: 0.9rem; }
  .help-center.help-top .help-hero .input-group { padding: 0.3rem 0.4rem; }
  .help-center.help-top .help-categories .help-category-tile {
    padding: 1.5rem 0.5rem 1.1rem !important;
  }
  .help-center.help-top .help-categories .help-category-tile .tile-icon {
    width: 56px !important; height: 56px !important; font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }
  .help-center.help-top .help-categories .help-category-tile .fw-bold {
    font-size: 0.92rem !important;
  }
  .help-center.help-top .help-categories .help-category-tile .tile-desc {
    font-size: 0.72rem;
  }
  /* お問い合わせバナー：縦並び */
  .help-center.help-top .help-contact .card-body {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ============================================================
 * v5: ヒーロー薄ベージュ＋高さ縮小（プロっぽい軽やか版）
 * ============================================================ */
.help-center.help-top .help-hero {
  background: linear-gradient(135deg, #fdf6e9 0%, #f5ead2 60%, #efdfba 100%) !important;
  padding: 3.2rem 2rem !important;
  margin-bottom: 3.5rem !important;
  border: 1px solid var(--hc-border) !important;
  color: var(--hc-text) !important;
  position: relative;
  overflow: hidden;
}
.help-center.help-top .help-hero::before {
  background:
    radial-gradient(circle at 85% 25%, rgba(139,94,60,0.06) 0, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(212,154,74,0.05) 0, transparent 50%) !important;
}
.help-center.help-top .help-hero::after {
  content: "?" !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17rem !important;
  font-style: italic;
  font-weight: 700;
  color: var(--hc-primary) !important;
  opacity: 0.07 !important;
  right: 4% !important;
  top: -2.5rem !important;
  transform: none;
}
.help-center.help-top .help-hero h2 {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  color: var(--hc-text) !important;
  text-shadow: none !important;
  margin-bottom: 0.4rem !important;
}
.help-center.help-top .help-hero h2::before {
  content: "HELP CENTER" !important;
  display: block;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5em;
  color: var(--hc-primary) !important;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}
.help-center.help-top .help-hero p {
  color: var(--hc-text-muted) !important;
  font-size: 0.98rem !important;
  margin-bottom: 1.5rem !important;
}
.help-center.help-top .help-hero .input-group {
  background: #fff !important;
  border: 1px solid var(--hc-border) !important;
  box-shadow: 0 8px 24px rgba(76,53,30,0.10), 0 2px 6px rgba(76,53,30,0.06) !important;
  border-radius: 100px !important;
  padding: 0.35rem 0.5rem !important;
  max-width: 620px;
}
.help-center.help-top .help-hero .input-group-text {
  color: var(--hc-primary) !important;
  background: transparent !important;
}
.help-center.help-top .help-hero .form-control:focus {
  outline: 3px solid rgba(139,94,60,0.20) !important;
  outline-offset: 2px;
}

/* タブレット・スマホ対応 */
@media (min-width: 576px) and (max-width: 991.98px) {
  .help-center.help-top .help-hero { padding: 2.4rem 1.5rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 2rem !important; }
  .help-center.help-top .help-hero::after { font-size: 11rem !important; right: 2% !important; top: -1.5rem !important; }
}
@media (max-width: 575.98px) {
  .help-center.help-top .help-hero { padding: 2rem 1rem !important; margin-bottom: 2.5rem !important; }
  .help-center.help-top .help-hero h2 { font-size: 1.7rem !important; }
  .help-center.help-top .help-hero h2::before { font-size: 0.6rem !important; letter-spacing: 0.35em; }
  .help-center.help-top .help-hero p { font-size: 0.85rem !important; }
  .help-center.help-top .help-hero::after { font-size: 8rem !important; right: -1rem !important; top: -1rem !important; }
}

/* ============================================== */
/* Help Infographic: Team Setup Flow (.tsf)       */
/* ============================================== */
.tsf {
  background: linear-gradient(180deg, #faf6ee 0%, #fff 100%);
  border: 1px solid #d4b88a;
  border-radius: 12px;
  padding: 28px 24px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.tsf-title { text-align: center; margin: 0 0 4px; font-weight: 700; font-size: 1.4rem; color: #3b2a1f; }
.tsf-sub { text-align: center; margin: 0 0 28px; color: #b87333; font-size: 0.78rem; letter-spacing: 2px; font-weight: 600; }
.tsf-row { display: flex; align-items: stretch; gap: 8px; }
.tsf-row + .tsf-row { margin-top: 28px; }
.tsf-step {
  flex: 1;
  border: 2px solid #b87333;
  border-radius: 10px;
  padding: 22px 8px 16px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.tsf-step-num {
  position: absolute;
  top: -14px; left: -14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #b87333;
  color: #3b2a1f;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  z-index: 2;
}
.tsf-step-icon { font-size: 1.6rem; color: #b87333; margin-bottom: 6px; }
.tsf-step-label { font-size: 0.92rem; font-weight: 700; color: #3b2a1f; line-height: 1.3; }
.tsf-step.s-team { background: aqua; }
.tsf-step.s-group { background: #ffdbff; }
.tsf-step.s-member { background: #99ffcc; }
.tsf-step.s-horse { background: #fff; }
.tsf-step.s-done { background: #f4e3c4; }
a.tsf-step {
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.tsf-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.14);
  text-decoration: none;
  color: inherit;
}
a.tsf-step:focus-visible {
  outline: 2px solid #b87333;
  outline-offset: 2px;
}
.tsf-arrow {
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b87333;
  font-size: 1.4rem;
}
.tsf-down {
  text-align: right;
  color: #b87333;
  font-size: 1.4rem;
  margin-top: 8px;
  padding-right: 18px;
}
.tsf-loop-note {
  margin: 20px 8px 0;
  text-align: center;
  color: #8a4f0c;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(184,115,51,0.08);
  border: 1.5px dashed #b87333;
  border-radius: 10px;
  padding: 8px 12px;
}
.tsf-loop-note i { margin-right: 8px; color: #b87333; }
@media (max-width: 768px) {
  .tsf { padding: 18px 8px 14px; }
  .tsf-row { gap: 2px; }
  .tsf-row + .tsf-row { margin-top: 18px; }
  .tsf-step { padding: 14px 2px 8px; min-height: 80px; border-radius: 8px; }
  .tsf-step-num { width: 24px; height: 24px; font-size: 0.78rem; top: -10px; left: -8px; border-width: 2px; }
  .tsf-step-icon { font-size: 1.1rem; margin-bottom: 3px; }
  .tsf-step-label { font-size: 0.7rem; line-height: 1.15; }
  .tsf-arrow { flex: 0 0 14px; font-size: 0.85rem; }
  .tsf-down { font-size: 1rem; padding-right: 10px; margin-top: 4px; }
  .tsf-loop-note { font-size: 0.75rem; padding: 6px 8px; margin: 14px 4px 0; }
}
@media (max-width: 380px) {
  .tsf-step { min-height: 70px; padding: 12px 1px 6px; }
  .tsf-step-label { font-size: 0.62rem; }
  .tsf-step-num { width: 20px; height: 20px; font-size: 0.7rem; top: -8px; left: -6px; }
  .tsf-step-icon { font-size: 0.95rem; }
}

/* ============================================== */
/* Help Infographic: Predict Timeline (.ptl)       */
/* ============================================== */
.ptl {
  background: linear-gradient(180deg, #faf6ee 0%, #fff 100%);
  border: 1px solid #d4b88a;
  border-radius: 12px;
  padding: 24px 20px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.ptl-title { text-align: center; margin: 0 0 4px; font-weight: 700; font-size: 1.3rem; color: #3b2a1f; }
.ptl-sub { text-align: center; margin: 0 0 32px; color: #b87333; font-size: 0.75rem; letter-spacing: 2px; font-weight: 600; }
.ptl-stage { position: relative; margin: 0 30px; padding-top: 84px; }
.ptl-zone {
  position: absolute;
  top: 0;
  height: 56px;
  background: #99FFCC;
  border: 2px solid #5fae8a;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  padding: 6px 4px;
  color: #1f4d3a;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ptl-zone small { display: block; font-weight: 400; font-size: 0.7rem; margin-top: 2px; }
.ptl-zone::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #5fae8a;
}
.ptl-rail { position: relative; height: 4px; background: #b87333; border-radius: 2px; }
.ptl-dot {
  position: absolute;
  top: -6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #b87333;
  transform: translateX(-50%);
  box-sizing: border-box;
  z-index: 2;
}
.ptl-labels { position: relative; height: 26px; margin-top: 14px; }
.ptl-label {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3b2a1f;
}
.ptl-bars { margin-top: 18px; }
.ptl-bar-row { margin-bottom: 10px; }
.ptl-bar-track {
  position: relative;
  height: 26px;
  background: #f1e5cf;
  border-radius: 13px;
  overflow: visible;
}
.ptl-bar-fill {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 13px 0 0 13px;
}
.ptl-bar-fill::after {
  content: '';
  position: absolute;
  top: -2px; bottom: -2px;
  right: -16px;
  width: 16px;
  background: inherit;
  border: inherit;
  border-left: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ptl-bar-fill.bar-default { background: linear-gradient(180deg, #c8e8f8 0%, #a8d6ee 100%); border: 2px solid #6bb5d8; }
.ptl-bar-fill.bar-always  { background: linear-gradient(180deg, #ffe2b8 0%, #ffd29c 100%); border: 2px solid #e8a85c; }
.ptl-bar-label { margin-top: 4px; font-size: 0.82rem; color: #3b2a1f; }
.ptl-bar-label i { color: #b87333; margin-right: 6px; }
.ptl-bar-foot { font-size: 0.75rem; color: #8a4f0c; margin-top: 8px; padding-left: 4px; }
.ptl-warnings {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-size: 0.75rem;
  color: #8a4f0c;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 0 30px;
}
.ptl-warnings i { color: #d97706; margin-right: 4px; }
@media (max-width: 768px) {
  .ptl-stage { margin: 0 12px; padding-top: 72px; }
  .ptl-label { font-size: 0.6rem; }
  .ptl-zone { font-size: 0.7rem; padding: 4px 2px; }
  .ptl-zone small { font-size: 0.55rem; }
  .ptl-bar-label { font-size: 0.72rem; }
  .ptl-warnings { padding: 0 8px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .ptl-stage { margin: 0 4px; padding-top: 64px; }
  .ptl-label { font-size: 0.5rem; }
  .ptl-zone { font-size: 0.6rem; }
}

/* ============================================== */
/* Help Infographic: Predict Ticket Types (.ttp)  */
/* ============================================== */
.ttp {
  background: linear-gradient(180deg, #faf6ee 0%, #fff 100%);
  border: 1px solid #d4b88a;
  border-radius: 12px;
  padding: 24px 20px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.ttp-title { text-align: center; margin: 0 0 4px; font-weight: 700; font-size: 1.4rem; color: #3b2a1f; }
.ttp-sub { text-align: center; margin: 0 0 24px; color: #b87333; font-size: 0.78rem; letter-spacing: 2px; font-weight: 600; }
.ttp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ttp-card {
  border: 2px solid #b87333;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.ttp-c-tan    { background: #f4e3c4; }
.ttp-c-blue   { background: #cfe8f5; }
.ttp-c-green  { background: #99ffcc; }
.ttp-c-yellow { background: #fff8b8; }
.ttp-c-orange { background: #ffd9a8; }
.ttp-card-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.55);
  border-bottom: 2px solid #b87333;
  font-weight: 700;
}
.ttp-card-num {
  width: 28px; height: 28px;
  background: #fff;
  border: 2px solid #b87333;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #3b2a1f;
  flex-shrink: 0; font-size: 0.95rem;
}
.ttp-card-name { font-size: 1.05rem; color: #3b2a1f; }
.ttp-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ttp-mark-big {
  text-align: center;
  font-size: 3rem;
  color: #3b2a1f;
  font-weight: 700;
  line-height: 1;
  margin: 6px 0;
}
.ttp-bet-list { display: flex; flex-direction: column; gap: 4px; }
.ttp-bet-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 10px;
  background: rgba(255,255,255,0.75);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b2a1f;
}
.ttp-bet-row span:last-child { color: #b87333; font-weight: 700; }
.ttp-required { color: #d32f2f; font-weight: 800; }
.ttp-legend {
  text-align: center;
  font-size: 0.82rem;
  color: #5a3e22;
  margin: -8px 0 18px;
  padding: 6px 12px;
  background: rgba(211,47,47,0.07);
  border: 1px dashed #d32f2f;
  border-radius: 8px;
  font-weight: 600;
}
.ttp-legend .ttp-required { margin: 0 2px; }
.ttp-axis-note {
  text-align: center;
  font-size: 0.75rem;
  color: #5a3e22;
  background: rgba(255,255,255,0.7);
  padding: 4px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.ttp-bet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.ttp-bet-grid .ttp-bet-cell {
  background: rgba(255,255,255,0.75);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 0.78rem;
  text-align: center;
  color: #3b2a1f;
  font-weight: 600;
  display: flex; justify-content: space-between; gap: 6px;
}
.ttp-bet-grid .ttp-bet-cell.high { background: rgba(184,115,51,0.18); }
.ttp-bet-grid .ttp-bet-cell .ttp-bet-pts { color: #b87333; font-weight: 700; }
.ttp-x2 {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  color: #3b2a1f;
  line-height: 1;
  margin: 8px 0 2px;
}
.ttp-x2-label {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #3b2a1f;
}
.ttp-card-footer {
  padding: 8px 12px;
  background: rgba(0,0,0,0.05);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3b2a1f;
  border-top: 1px dashed #b87333;
}
.ttp-card-footer.ttp-warn { color: #8a4f0c; background: #fff3d9; }
@media (max-width: 768px) {
  .ttp-grid { grid-template-columns: 1fr; }
}

/* ============================================== */
/* Help: Predict Simulator (.sim)                  */
/* ============================================== */
.sim {
  background: #faf6ee;
  border: 2px solid #b87333;
  border-radius: 12px;
  padding: 18px 20px;
}
.sim-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #3b2a1f;
}
.sim-hint {
  font-size: 0.78rem;
  color: #5a3e22;
  margin-bottom: 12px;
}
.sim-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3b2a1f;
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sim-section-label .sim-step-num {
  display: inline-flex;
  width: 22px; height: 22px;
  background: #b87333; color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.sim-types {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.sim-types label {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border: 1.5px solid #b87333;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem; color: #3b2a1f; font-weight: 600;
  user-select: none;
  transition: background .15s, transform .1s;
}
.sim-types label:hover { transform: translateY(-1px); }
.sim-types input[type="checkbox"] { margin: 0; cursor: pointer; }
.sim-types label:has(input:checked) { background: #99ffcc; border-color: #5fae8a; }
.sim-types label.sim-x2:has(input:checked) { background: #ffd9a8; border-color: #e8a85c; }
.sim-clear {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px;
  border: 1.5px solid #b87333;
  border-radius: 6px;
  background: #fff;
  color: #8a4f0c;
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: background .15s;
}
.sim-clear:hover { background: #f4e3c4; }
.sim-clear i { font-size: 1rem; }
.sim-horses {
  background: #fff;
  border: 1px solid #d4b88a;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.sim-horse-row {
  display: flex; align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid #f0e0c4;
  font-size: 0.88rem;
}
.sim-horse-row:last-child { border-bottom: none; }
.sim-horse-num {
  width: 30px;
  font-weight: 700; color: #b87333; text-align: right;
}
.sim-horse-name {
  flex: 1;
  color: #3b2a1f;
  margin-left: 12px;
}
.sim-mark-select {
  border: 1.5px solid #b87333;
  border-radius: 4px;
  padding: 3px 6px;
  background: #fff;
  font-size: 1rem; font-weight: 700;
  min-width: 70px;
  color: #3b2a1f;
}
.sim-result {
  background: #fff;
  border: 1.5px solid #d4b88a;
  border-radius: 8px;
  padding: 12px;
  min-height: 60px;
}
.sim-empty { color: #8a8a8a; text-align: center; font-size: 0.85rem; padding: 12px 0; }
.sim-errors { margin-bottom: 8px; }
.sim-error { color: #d32f2f; font-size: 0.85rem; font-weight: 600; padding: 3px 0; }
.sim-bets { margin-bottom: 10px; }
.sim-bet {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 6px;
  border-bottom: 1px dashed #d4b88a;
  font-size: 0.85rem;
  color: #3b2a1f;
}
.sim-bet:last-child { border-bottom: none; }
.sim-bet > span:last-child { color: #b87333; font-weight: 700; white-space: nowrap; }
.sim-total {
  text-align: right;
  font-size: 0.95rem; font-weight: 700;
  color: #3b2a1f;
  border-top: 2px solid #b87333;
  padding-top: 6px; margin-top: 6px;
}
.sim-total strong { color: #d32f2f; font-size: 1.15rem; }
.sim-total small { color: #b87333; font-weight: 600; margin-left: 4px; }

/* ──────────────────────────────────────────
   ヘルプ：PC画面でコンテンツが短いときのフッター上がり防止
   （スマホは画面が縦長なので不要）
   ────────────────────────────────────────── */
@media (min-width: 992px) {
  .help-center {
    min-height: calc(100vh - 280px);
  }
}
