/* =========================================================
   guide.css  ―  手順ページ(SmartScreen / スマート アプリ コントロール)専用スタイル
   読み込み順: style.css → download.css → guide.css
   ※ ページ見出し(.dl-head / .crumbs / .dl-title)と、お問い合わせカード(.dl-contact)、
      コピーボタン(.dl-copy)は download.css のものを共用しています
   目次:
     1. 画面の選択カード / 2. ステップ(番号つき手順) / 3. 注意書き
     4. コマンド表示 / 5. 画面写真 / 6. よくある質問
   ========================================================= */

/* 1. 画面の選択カード ------------------------------------ */
.gd-pick-sec { padding: 0 0 24px; }
.gd-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gd-pick-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--panel);
  text-decoration: none; color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.gd-pick-card:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.06); color: var(--text-strong); }
.gd-tag {
  align-self: flex-start; padding: 4px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid currentColor; color: var(--violet);
}
.gd-tag--sac { color: #FF8CA0; }
.gd-pick-card h3 { font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--text-strong); }
.gd-pick-card p { font-size: 15px; line-height: 1.8; color: var(--text-sub); }
.gd-pick-go { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--accent); }

/* 2. ステップ(番号つき手順) ------------------------------ */
.gd-steps { list-style: none; counter-reset: gd; margin-top: 36px; }
.gd-step {
  position: relative; counter-increment: gd;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px;
  padding-bottom: 32px;
}
.gd-step:last-child { padding-bottom: 0; }
.gd-step::before {
  content: counter(gd); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 18px; color: var(--accent);
  border: 1px solid var(--accent); background: rgba(45, 226, 200, 0.10);
}
.gd-step::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.gd-step:last-child::after { display: none; }
.gd-step-body { min-width: 0; padding-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.gd-step-body h3 { font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--text-strong); }
.gd-step-body p { font-size: 15px; line-height: 1.9; color: var(--text-sub); }
/* 画面に出てくるボタン名・メニュー名 */
.gd-ui {
  display: inline-block; padding: 1px 8px; border-radius: 6px; white-space: nowrap;
  font-size: 0.94em; color: var(--text-strong);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(140, 150, 255, 0.3);
}

/* 3. 注意書き -------------------------------------------- */
.gd-note {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 28px;
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(140, 150, 255, 0.3); background: var(--panel);
  font-size: 15px; line-height: 1.85; color: var(--text-sub);
}
.gd-note > div { min-width: 0; }
.gd-note strong { display: block; margin-bottom: 4px; color: var(--text-strong); }
.gd-note .icon { margin-top: 3px; }
.gd-note--warn { border-color: rgba(255, 140, 160, 0.55); background: rgba(255, 77, 106, 0.07); }
.gd-note--warn .icon { color: #FF8CA0; }
.gd-lead-block { max-width: 760px; margin-top: 20px; }

/* 4. コマンド表示 ---------------------------------------- */
.gd-cmd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);
}
.gd-cmd code { flex: 1 1 320px; min-width: 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: var(--text-strong); word-break: break-all; }

/* 5. 画面写真(スクリーンショット) ----------------------- */
.gd-shot { margin-top: 6px; }
.gd-shot img { width: 100%; max-width: 640px; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.gd-shot figcaption { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

/* 6. よくある質問 ---------------------------------------- */
.gd-faq-list { margin-top: 32px; border-top: 1px solid var(--line-soft); }
.gd-faq { border-bottom: 1px solid var(--line-soft); }
.gd-faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 48px 20px 12px;
  font-size: 16px; font-weight: 500; line-height: 1.7; color: var(--text-strong);
}
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 22px; color: var(--accent);
}
.gd-faq[open] summary::after { content: "−"; }
.gd-faq summary:hover { background: rgba(255, 255, 255, 0.04); }
.gd-faq p { padding: 0 12px 22px; font-size: 15px; line-height: 1.9; color: var(--text-sub); }

.gd-contact-sec { padding: 8px 0 72px; }

/* スマホ・タブレット */
@media (max-width: 700px) {
  .gd-pick { grid-template-columns: minmax(0, 1fr); }
  .gd-pick-card { padding: 22px 20px; }
  .gd-step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .gd-step::before { width: 36px; height: 36px; font-size: 16px; }
  .gd-step::after { left: 17px; top: 42px; }
  .gd-step-body h3 { font-size: 17px; }
  .gd-note { padding: 16px 14px; gap: 12px; }
  .gd-ui { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }  /* 長いメニュー名は狭い画面で折り返す */
}

/* 補足 */
.gd-updated { font-size: 13px; line-height: 1.7; color: var(--text-muted); }
