

/* =====================================================
   HELP 共通セクション
   ===================================================== */
.help-section {
  background: var(--white);
  padding: 0 0 32px;
  min-height: 50vh;
}

/* ヒーロー（タイトルバー） */
.help-hero {
  background: linear-gradient(180deg, #FEFCDC 0%, #FFFEF0 100%);
width:100%;
  text-align: center;
  vertical-align: middle;
  margin: 0;
  padding: 5px;
  border: 0;
  font-size: 100%;
  font: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;

}
.help-hero  h2{
font-family:  "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "Meiryo", "MS PGothic", "sans-serif" !important;
  font-size: 2.5rem;
  font-weight: 100;
  line-height: 1.2;
  color: #433417;

}
.help-hero p {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #6a6356;
}



/* =====================================================
   HELPトップ ? カテゴリカード
   ===================================================== */
.help-category-wrap {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.help-category {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.help-category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--pink-light);
  border-bottom: 1px solid var(--pink-mid);
  font-size: 13px;
  font-weight: 700;
  color: var(--cher);
}
.help-category-title .cat-icon { width: 16px; height: 16px; flex-shrink: 0; }

.help-category--store .help-category-title {
  background: #f0f4ff;
  border-bottom-color: #c5d0ef;
  color: #3a5fad;
}
.help-category--store .help-q-badge { background: #3a5fad; }

.help-q-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
}
.help-q-item:last-child { border-bottom: none; }
.help-q-item:hover { background: var(--pink-light); color: var(--pink); }
.help-category--store .help-q-item:hover { background: #f0f4ff; color: #3a5fad; }

.help-q-badge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--cher);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.help-q-text { flex: 1; line-height: 1.5; }
.help-q-arrow { width: 14px; color: var(--text-light); flex-shrink: 0; }

/* =====================================================
   Q&A 個別ページ
   ===================================================== */
.help-inner {
  padding: 0 12px 32px;
}

/* パンくず */
.help-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11px;
  color: var(--text-light);
  padding: 0 0 16px;
}
.help-breadcrumb a { color: var(--cher); }
.help-breadcrumb a:hover { text-decoration: underline; }
.help-breadcrumb-sep { color: var(--text-light); }
.help-breadcrumb-current {
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

/* Q&Aブロック */
.help-qa-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.help-question-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--pink-light);
  border-bottom: 1px solid var(--pink-mid);
}
.help-qa-wrap.store-qa .help-question-block {
  background: #f0f4ff;
  border-bottom-color: #c5d0ef;
}
.help-q-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--cher);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.help-qa-wrap.store-qa .help-q-mark { background: #3a5fad; }
.help-question-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--cher);
  line-height: 1.55;
  padding-top: 4px;
}
.help-qa-wrap.store-qa .help-question-text { color: #3a5fad; }

.help-answer-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
}
.help-a-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #eeeeee;
  color: var(--text-sub);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.help-answer-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.85;
}
.help-answer-text p { margin-bottom: 12px; }
.help-answer-text p:last-child { margin-bottom: 0; }
.help-answer-text strong { color: var(--cher); font-weight: 700; }
.help-answer-text .note {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* =====================================================
   イラスト（HTML/CSS図解）
   ===================================================== */
.help-illust {
  margin: 16px 0;
}
.help-illust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

/* 無料バッジイラスト */
.illust-free-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  flex-wrap: wrap;
}
.illust-free-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cher), #d48a9b);
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(148,94,111,0.35);
}
.illust-free-yen {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: -4px;
}
.illust-free-zero {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.illust-free-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-top: 2px;
}
.illust-free-features {
  flex: 1;
  min-width: 160px;
}
.illust-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px dotted var(--border);
}
.illust-feature-item:last-child { border-bottom: none; }
.illust-feature-item .feat-icon { width: 16px; color: #2ecc71; flex-shrink: 0; }
.illust-feature-item.illust-coming { color: var(--gold); }
.illust-feature-item.illust-coming .feat-icon { color: var(--gold); }
.coming-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 5px;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-weight: 700;
  margin-left: 4px;
}

/* クッキー説明イラスト */
.illust-cookie-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
}
.illust-device-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.illust-device-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-sub);
  min-width: 80px;
}
.illust-device-box .dev-icon { width: 28px; height: 28px; color: var(--cher); }
.illust-device-box .dev-fav {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
}
.illust-device-box.dim { opacity: 0.4; }
.illust-device-box.dim .dev-fav {
  background: #eee;
  color: var(--text-light);
}
.illust-arrow-right {
  color: var(--text-light);
  width: 18px;
  flex-shrink: 0;
}
.illust-cookie-note {
  font-size: 12px;
  color: var(--text-sub);
  background: var(--white);
  border-left: 3px solid var(--border);
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
}

/* 気になる・お気に入り比較イラスト */
.illust-btn-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
}
.illust-btn-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.illust-btn-card .btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.btn-demo.btn-att {
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-demo.btn-fav {
  background: var(--pink-light);
  color: var(--pink);
  border: 1px solid var(--pink);
}
.btn-demo .demo-icon { width: 14px; }
.illust-btn-card .btn-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.illust-btn-card .btn-card-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.6;
}
.illust-btn-compare .compare-arrow {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-sub);
  justify-content: center;
}
.compare-arrow-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 人気ランキング説明イラスト */
.illust-ranking-wrap {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.illust-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
}
.illust-rank-num {
  font-size: 18px;
  font-weight: 700;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.rank-num-1 { color: var(--gold); }
.rank-num-2 { color: #8a8a8a; }
.rank-num-3 { color: #a0632a; }
.illust-rank-name { flex: 1; font-size: 13px; color: var(--text); }
.illust-rank-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.illust-rank-bar-bg {
  width: 60px;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.illust-rank-bar {
  height: 100%;
  background: linear-gradient(to right, var(--cher), #d48a9b);
  border-radius: 4px;
}
.illust-rank-count {
  font-size: 11px;
  color: var(--pink);
  font-weight: 700;
  min-width: 40px;
  text-align: right;
}
.illust-rank-icon { width: 14px; color: var(--pink); }

/* Instagram自動取得イラスト */
.illust-insta-wrap {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
}
.illust-insta-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.illust-insta-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 80px;
}
.illust-insta-step .step-icon { width: 26px; height: 26px; }
.illust-insta-step .step-label { font-size: 11px; color: var(--text-sub); text-align: center; line-height: 1.4; }
.illust-flow-arrow { color: var(--text-light); width: 18px; flex-shrink: 0; }
.illust-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
}
.illust-auto-badge .auto-icon { width: 14px; }

/* =====================================================
   関連質問・戻るボタン
   ===================================================== */
.help-related {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.help-related-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}
.help-related-title .rel-icon { width: 14px; }

.help-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.help-back-btn:hover { border-color: var(--cher); color: var(--cher); }
.help-back-icon { width: 14px; }



/* =====================================================
   RESPONSIVE ? PC 700px+
   ===================================================== */
@media (min-width: 700px) {


  .header-top { padding: 9px 20px; }
  .genre-nav-item { padding: 10px 16px; font-size: 14px; }

  /* HELPセクション */
  .help-section { padding: 0 0 40px; }
  .help-hero { padding: 10px 24px 20px; }

  /* カテゴリラップ PC: 2カラム */
  .help-category-wrap {
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  /* Q&A */
  .help-inner { padding: 0 24px 40px; }
  .help-question-text { font-size: 18px; }
  .help-answer-text { font-size: 15px; }
  .help-breadcrumb-current { max-width: none; }

  /* イラスト */
  .illust-btn-compare { grid-template-columns: 1fr 1fr; }
  .illust-free-wrap { flex-wrap: nowrap; }
  .illust-insta-flow { flex-wrap: nowrap; }

  /* Related/Footer */
  .related-section { padding: 0; }
  .site-footer { min-height: 120px; font-size: 14px; }


}
@media (max-width: 700px) {
.related-section { padding-bottom: 80px;position:relative;

 }
    h1 {
position: absolute;
    bottom: 5px;
    border: 0;
    width: 100%;
    height: 3em;
    font-size: 14px;
    font-weight: normal;
    display: block;
    vertical-align: top;
    padding: 10px 10px 0;
    margin: 0 auto;
    color: #666666;
    text-align: center;
    -webkit-box-sizing: border-box;
    }
    .bottomSummary {
height: 40px;
    overflow-x: auto;
    white-space: nowrap;
    position: absolute;
    bottom: 40px;
    width: 100%;
    padding: 10px;
    font-size: 12px;
    }
  }