/* guide.php（使い方ガイド。2026-09-29）。見た目は about.css にそろえる（白い角丸のカード・見出しの左に橙の線） */
.gd-page { max-width: 920px; margin: 0 auto; padding: 16px 14px 40px; display: flex; flex-direction: column; gap: 14px; color: #06293a; }
.gd-head { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 6px 20px rgba(6, 41, 58, .12); }
.gd-head h1 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.gd-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.gd-tabs a { display: block; padding: 10px 8px; border: 2px solid #1aa6b7; border-radius: 999px; text-align: center; font-size: 14.5px; font-weight: 900; color: #1aa6b7 !important; text-decoration: none !important; }
.gd-tabs a.is-on { background: #1aa6b7; color: #fff !important; }
.gd-toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.gd-toc a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #f4f8fb; color: #06293a !important; font-size: 13.5px; font-weight: 800; text-decoration: none !important; }
.gd-toc a:hover { background: #e3f4f7; }
.gd-toc span { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #f28c1e; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }

.gd-card { background: #fff; border-radius: 18px; padding: 18px 18px 12px; box-shadow: 0 6px 20px rgba(6, 41, 58, .12); scroll-margin-top: 12px; }
.gd-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 19px; font-weight: 900; }
.gd-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #f28c1e; color: #fff; font-size: 15px; line-height: 30px; text-align: center; }
.gd-body { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
@media (max-width: 720px) { .gd-body { grid-template-columns: 1fr; } }
/* スクショはスマホの枠に入れて並べる（1〜3枚） */
.gd-shots { display: flex; gap: 10px; justify-content: center; }
.gd-shot { display: block; width: 180px; height: auto; aspect-ratio: 390 / 780; object-fit: cover; border: 6px solid #06293a; border-radius: 22px; background: #e8eef2; box-shadow: 0 4px 12px rgba(6, 41, 58, .18); }
.gd-shots.n3 .gd-shot { width: 150px; }
@media (max-width: 520px) {
  .gd-shots { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .gd-shot, .gd-shots.n3 .gd-shot { flex: 0 0 auto; width: 62vw; scroll-snap-align: center; }
  .gd-shots.n1 { justify-content: center; }
}
.gd-steps { margin: 0; padding: 0; list-style: none; counter-reset: gd; }
.gd-steps li { position: relative; padding: 8px 0 8px 30px; font-size: 14.5px; line-height: 1.75; counter-increment: gd; }
.gd-steps li + li { border-top: 1px dashed #d6e4ec; }
.gd-steps li::before { content: counter(gd); position: absolute; left: 0; top: 10px; width: 21px; height: 21px; border-radius: 50%; background: #e3f4f7; color: #0f8a8a; font-size: 12px; font-weight: 900; line-height: 21px; text-align: center; }
.gd-top { display: block; margin-top: 6px; text-align: right; font-size: 12px; color: #6b7d87 !important; }
.gd-foot { margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .9); font-size: 13px; color: #334a56; text-align: center; }
.gd-foot a { font-weight: 800; margin-left: 4px; }
