/* ============================================================
   セラポケ 使い方ガイド 共通デザイン
   (guide/ 配下の静的ページで使う)
============================================================ */
:root{
  --bg: #fff7f3;
  --card: #ffffff;
  --ink: #3a2331;
  --ink-2: #5d4a55;
  --muted: #a08b98;
  --line: #f7e7ea;
  --line-2: #eed9df;
  --brand: #f83b6e;
  --brand-ink: #d42557;
  --grad: linear-gradient(135deg, #ffa25c 0%, #ff4d6d 52%, #f0327f 100%);
  --grad-soft: linear-gradient(135deg, #fff4e8 0%, #ffe9f0 100%);
  --ok: #0d9f68;
  --info: #3c6fe0;
  --shadow-sm: 0 2px 10px rgba(150, 50, 90, .07);
  --shadow-md: 0 10px 32px rgba(150, 50, 90, .12);
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
}
*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 170, 100, .18), transparent 60%),
    radial-gradient(700px 460px at -10% 30%, rgba(255, 90, 130, .08), transparent 60%),
    var(--bg);
  line-height: 1.9;
  font-size: 15px;
}
h1, h2, h3, p{ margin: 0; }
a{ color: var(--brand-ink); }
img{ max-width: 100%; height: auto; }

/* ---------- 上部ナビ ---------- */
.g-nav{
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 247, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.g-brand{
  display: flex; align-items: center; gap: 9px;
  font-weight: 900; font-size: 17px; color: var(--ink);
  text-decoration: none;
}
.g-brand-mark{
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 900;
}
.g-nav-links{ margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13px; }
.g-nav-links a{ text-decoration: none; font-weight: 700; }
.g-cta-sm{
  background: var(--grad); color: #fff !important;
  padding: 8px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 16px rgba(248, 59, 110, .3);
}

/* ---------- 本文レイアウト ---------- */
.g-wrap{ max-width: 780px; margin: 0 auto; padding: 34px clamp(16px, 4vw, 28px) 60px; }

/* ヒーロー */
.g-hero{ text-align: center; margin-bottom: 38px; }
.g-badge{
  display: inline-block;
  background: var(--grad-soft); color: var(--brand-ink);
  font-size: 12px; font-weight: 800;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 14px;
}
.g-hero h1{
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900; line-height: 1.45;
}
.g-hero h1 .accent{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.g-lead{
  margin-top: 14px;
  font-size: 15px; color: var(--ink-2);
}

/* セクション */
.g-sec{ margin-top: 46px; }
.g-sec-title{
  display: flex; align-items: center; gap: 10px;
  font-size: 21px; font-weight: 900;
  margin-bottom: 18px;
}
.g-sec-title .bar{
  width: 6px; height: 26px; border-radius: 4px;
  background: var(--grad);
  flex-shrink: 0;
}

/* できることカード */
.g-feats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.g-feat{
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.g-feat .ic{ font-size: 28px; line-height: 1; }
.g-feat h3{ font-size: 14.5px; font-weight: 900; margin-top: 9px; }
.g-feat p{ font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.7; }

/* 作成方法リスト */
.g-methods{ display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.g-method{
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 14px;
}
.g-method .dot{
  width: 34px; height: 34px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0;
}
.g-method b{ font-weight: 900; }
.g-method span{ color: var(--muted); font-size: 12.5px; margin-left: auto; text-align: right; }
.m-ai .dot{ background: var(--grad); }
.m-qna .dot{ background: linear-gradient(135deg, #f0568e, #a55eea); }
.m-tpl .dot{ background: linear-gradient(135deg, #ffb03d, #ff6a5f); }
.m-past .dot{ background: linear-gradient(135deg, #3fa9f5, #3c6fe0); }
.m-manual .dot{ background: linear-gradient(135deg, #12b876, #0d9f68); }
.g-method .tag{
  margin-left: 8px;
  background: #fff1f5; color: var(--brand-ink);
  font-size: 10.5px; font-weight: 900;
  padding: 2px 9px; border-radius: 999px;
}

/* ステップ */
.g-step{ margin-top: 30px; }
.g-step-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.g-step-num{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  box-shadow: 0 6px 14px rgba(248, 59, 110, .3);
  flex-shrink: 0;
}
.g-step-head h3{ font-size: 18px; font-weight: 900; }
.g-step p{ font-size: 14px; color: var(--ink-2); }
.g-step .em{ color: var(--brand-ink); font-weight: 800; }

/* スクリーンショット */
.g-shot{
  display: block;
  margin: 14px auto 0;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.g-cap{ font-size: 11.5px; color: var(--muted); margin-top: 8px; text-align: center; }

/* ポイント枠 */
.g-point{
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--grad-soft);
  border: 1px solid #ffd9e4;
  border-radius: 14px;
  padding: 13px 16px;
  margin-top: 14px;
  font-size: 13.5px; color: var(--ink-2);
}
.g-point .pi{ font-size: 17px; line-height: 1.5; }
.g-point b{ color: var(--brand-ink); }

/* Q&A */
.g-faq{ display: flex; flex-direction: column; gap: 10px; }
.g-qa{
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 18px;
}
.g-qa .q{
  display: flex; gap: 10px; align-items: baseline;
  font-weight: 900; font-size: 14.5px;
}
.g-qa .q::before{
  content: "Q";
  color: var(--brand); font-size: 16px; font-weight: 900;
}
.g-qa .a{
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 7px;
  font-size: 13.5px; color: var(--ink-2);
}
.g-qa .a::before{
  content: "A";
  color: var(--info); font-size: 16px; font-weight: 900;
}

/* 大きなCTA */
.g-cta-box{
  margin-top: 50px;
  background: var(--grad);
  border-radius: 22px;
  padding: 34px 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 14px 40px rgba(248, 59, 110, .35);
}
.g-cta-box h2{ font-size: 21px; font-weight: 900; }
.g-cta-box p{ font-size: 13px; opacity: .92; margin-top: 6px; }
.g-cta-btn{
  display: inline-block;
  margin-top: 18px;
  background: #fff; color: var(--brand-ink);
  font-size: 15px; font-weight: 900;
  padding: 13px 34px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* フッター */
.g-foot{
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding: 26px 16px 34px;
  text-align: center;
  font-size: 12px; color: var(--muted);
}
.g-foot-links{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.g-foot-links a{ font-weight: 700; text-decoration: none; }

/* ガイド一覧ページ用 */
.g-list{ display: flex; flex-direction: column; gap: 12px; }
.g-list-item{
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.g-list-item:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.g-list-item .ic{
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.g-list-item h3{ font-size: 15px; font-weight: 900; }
.g-list-item p{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.g-list-item .arrow{ margin-left: auto; color: var(--brand); font-weight: 900; }
.g-soon{ opacity: .55; pointer-events: none; }
.g-soon .ic{ background: #e8dce2; }

@media (max-width: 640px){
  .g-feats{ grid-template-columns: 1fr; }
  .g-method span{ display: none; }
  .g-nav-links a.g-plain{ display: none; }
}
