/* フリマミッケ：説明ページ共通 */
:root { --ink:#302c2b; --sub:#746863; --line:#f3ded8; --main:#c74639; }
* { box-sizing:border-box; }
body { margin:0; background:#fffdfc; color:var(--ink); font:15px/1.9 "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; }
a { color:var(--main); }
.lg-top, .lg-main, .lg-foot { max-width:760px; margin:0 auto; padding-left:20px; padding-right:20px; }
.lg-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:18px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.lg-brand { display:inline-flex; align-items:center; gap:8px; font-size:20px; font-weight:800; color:#d94d40; text-decoration:none; }
.lg-back { font-size:13px; font-weight:700; white-space:nowrap; }
.lg-main { padding-top:26px; padding-bottom:36px; }
h1 { font-size:26px; line-height:1.5; margin:0 0 16px; }
h2 { font-size:17px; line-height:1.6; margin:28px 0 8px; }
p { margin:0 0 10px; }
ul, ol { margin:0 0 10px; padding-left:1.4em; }
li { margin-bottom:4px; }
table { width:100%; border-collapse:collapse; margin:0 0 14px; font-size:14px; }
th, td { border:1px solid var(--line); padding:9px 12px; text-align:left; vertical-align:top; line-height:1.7; }
th { background:#fff6f3; font-weight:700; min-width:7em; }
.todo { background:#fff3cb; color:#7a5a00; font-weight:700; padding:0 3px; }
.lg-small { font-size:12px; color:var(--sub); }
.lg-btn { display:inline-block; padding:10px 22px; background:#df5547; color:#fff; font-weight:800; border-radius:12px; text-decoration:none; }
.lg-foot { padding-top:16px; padding-bottom:26px; border-top:1px solid var(--line); font-size:12px; color:var(--sub); }
.lg-foot nav { display:flex; flex-wrap:wrap; gap:6px 18px; margin-bottom:8px; }
.lg-foot a { color:#654d47; font-weight:700; }
.lg-foot p { margin:0; }
h3 { font-size:15px; line-height:1.6; margin:18px 0 6px; }
.lg-nav { display:flex; align-items:center; gap:14px; font-size:13px; font-weight:700; white-space:nowrap; }
.lg-foot p { line-height:1.9; }
.lg-foot a { font-weight:500; }
.lg-form { display:grid; gap:14px; margin-top:16px; }
.lg-form label { display:grid; gap:4px; font-size:14px; font-weight:700; }
.lg-form input, .lg-form select, .lg-form textarea { width:100%; padding:10px 12px; font:inherit; font-weight:400; color:var(--ink); background:#fff; border:1px solid #eac5bd; border-radius:12px; }
.lg-form input:focus, .lg-form select:focus, .lg-form textarea:focus { outline:2px solid #f0a296; outline-offset:1px; }
.lg-form .lg-btn { justify-self:start; border:0; font:inherit; font-weight:800; cursor:pointer; }
.lg-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.lg-err { padding:10px 14px; background:#fff0ed; border:1px solid #ed9a8e; border-radius:12px; color:#ab280d; font-weight:700; }
.lg-ok { padding:12px 14px; background:#f0f8f2; border:1px solid #a8d5b5; border-radius:12px; font-weight:700; }
@media(max-width:480px) { .lg-brand { font-size:17px; } .lg-nav { gap:10px; font-size:12px; } th, td { padding:8px; } }
.g-demo { max-width:300px; margin:4px 0 10px; }

/* 2026-11-16 見出しと本文の強弱をはっきりさせる（説明ページ共通）＋使い方ガイドの組み立て */
:root { --ink:#222; --sub:#5f5f5f; --line:#e5e5e5; --main:#d4473a; --tint:#fdf0ec; --surface:#f6f6f6; }
body { background:#fff; font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic UI",Meiryo,sans-serif; font-size:16px; line-height:1.9; }
.lg-top, .lg-main, .lg-foot { max-width:860px; }
.lg-main { padding-top:36px; padding-bottom:56px; }
h1 { font-size:32px; font-weight:800; line-height:1.4; margin:0 0 20px; letter-spacing:-.01em; }
h2 { font-size:22px; font-weight:800; line-height:1.5; margin:48px 0 14px; padding-top:22px; border-top:1px solid var(--line); }
h3 { font-size:18px; font-weight:700; margin:28px 0 10px; }
p { margin:0 0 14px; }
strong { font-weight:700; background:linear-gradient(transparent 62%, #ffe3dc 62%); }
.lg-small { font-size:13px; }
.lg-btn { padding:12px 26px; border-radius:8px; background:var(--main); font-weight:700; }
.lg-foot { font-size:13px; }
.lg-nav a { text-decoration:none; }

/* 使い方ガイド */
.g-lead { font-size:18px; line-height:1.9; color:var(--ink); margin-bottom:28px; }
.g-toc { padding:20px 24px; background:var(--surface); border-radius:10px; margin-bottom:12px; }
.g-toc-h { margin:0 0 6px; font-size:15px; font-weight:800; }
.g-toc ol { margin:0 0 8px; padding-left:1.6em; columns:2; column-gap:32px; }
.g-toc li { margin:0 0 4px; break-inside:avoid; }
.g-toc a { color:var(--ink); text-decoration:none; border-bottom:1px solid #c9c9c9; }
.g-toc a:hover { color:var(--main); border-color:var(--main); }
.g-toc-sub { margin:0; font-size:14px; color:var(--sub); }
.g-part { font-size:24px; margin-top:52px; padding-top:0; border-top:0; display:flex; align-items:center; gap:12px; }
.g-part::after { content:""; flex:1; height:2px; background:var(--ink); }
.g-step { padding:8px 0 28px; border-bottom:1px solid var(--line); scroll-margin-top:16px; }
.g-step:last-of-type { border-bottom:0; }
.g-step h3 { display:flex; align-items:center; gap:12px; font-size:20px; font-weight:800; margin:24px 0 16px; }
.g-no { flex:none; min-width:34px; height:34px; padding:0 6px; border-radius:50%; background:var(--main); color:#fff; display:grid; place-items:center; font-size:16px; font-weight:800; }
.g-no-pc { border-radius:8px; background:var(--ink); font-size:13px; }
.g-row { display:grid; grid-template-columns:300px minmax(0,1fr); gap:28px; align-items:start; }
.g-row .g-demo { max-width:none; margin:0; }
.g-text > :last-child { margin-bottom:0; }
.g-text ul, .g-text ol { margin:0 0 14px; }
.g-text li { margin-bottom:6px; }
.g-note { font-size:14px; color:var(--sub); line-height:1.8; }
.g-key { display:inline-grid; place-items:center; width:20px; height:20px; border-radius:50%; border:1px solid #bbb; font-size:12px; font-weight:700; color:var(--sub); vertical-align:2px; }
.g-point { margin:18px 0; padding:16px 20px; background:var(--tint); border-left:4px solid var(--main); border-radius:0 8px 8px 0; }
.g-point > b { display:block; margin-bottom:6px; font-size:16px; }
.g-point p:last-child { margin-bottom:0; }
.g-table { margin:4px 0 8px; font-size:15px; }
.g-table th, .g-table td { border:0; border-bottom:1px solid var(--line); padding:12px 14px; }
.g-table th { background:none; width:11em; white-space:nowrap; }
.g-ol { counter-reset:none; }
@media (max-width:700px) {
  h1 { font-size:26px; }
  h2 { font-size:20px; margin-top:40px; }
  .lg-main { padding-top:26px; }
  .g-lead { font-size:16px; }
  .g-toc { padding:16px 18px; }
  .g-toc ol { columns:1; }
  .g-part { font-size:21px; }
  .g-step h3 { font-size:18px; gap:10px; }
  .g-no { min-width:30px; height:30px; font-size:14px; }
  .g-row { grid-template-columns:1fr; gap:14px; }
  .g-row .g-demo { max-width:320px; }
  .g-table th { width:auto; white-space:normal; display:block; padding-bottom:0; }
  .g-table td { display:block; padding-top:4px; }
}

/* 2026-11-16 追加：手順の区切りをはっきり（見出しを色の帯に・手順の間を広く）、ポイント・困ったとき・補足に札、見出しを大きく */
h1 { font-size:36px; }
.g-part { font-size:28px; margin-top:64px; }
.g-step { margin-top:48px; padding:0 0 8px; border-bottom:0; }
.g-step + .g-step { margin-top:56px; }
.g-step h3 { margin:0 0 22px; padding:14px 20px; background:var(--tint); border-radius:10px; font-size:24px; line-height:1.4; gap:16px; }
.g-no { min-width:52px; height:52px; border-radius:12px; flex-direction:column; display:flex; align-items:center; justify-content:center; font-size:22px; line-height:1; gap:2px; }
.g-no small { font-size:9px; font-weight:700; letter-spacing:.08em; opacity:.85; }
.g-no-pc { min-width:52px; font-size:15px; }
.g-row { padding:0 4px; }
.g-step > .g-text { padding:0 4px; }
/* ポイント・困ったとき：上に札を付けて、本文と見分けられるように */
.g-point { position:relative; margin:26px 0 18px; padding:26px 20px 16px; background:#fff8e6; border:2px solid #f2c94c; border-left-width:2px; border-radius:10px; }
.g-point::before { content:"💡 ポイント"; position:absolute; left:14px; top:-14px; padding:2px 12px; background:#f2c94c; color:#3a2e00; font-size:13px; font-weight:800; border-radius:999px; }
.g-point.g-warn { background:#fdf0ec; border-color:#e8907f; }
.g-point.g-warn::before { content:"⚠ 困ったとき"; background:#d4473a; color:#fff; }
.g-point > b { font-size:17px; }
/* 補足：小さめの灰色＋「補足」の札 */
.g-note::before { content:"補足"; display:inline-block; margin-right:8px; padding:0 8px; border:1px solid #c9c9c9; border-radius:4px; font-size:11px; font-weight:700; line-height:1.7; color:var(--sub); vertical-align:1px; }
@media (max-width:700px) {
  h1 { font-size:28px; }
  .g-part { font-size:23px; margin-top:52px; }
  .g-step h3 { font-size:19px; padding:12px 14px; gap:12px; }
  .g-no { min-width:44px; height:44px; font-size:19px; }
  .g-no-pc { min-width:44px; font-size:13px; }
}

/* 2026-11-16 再調整：番号は丸に戻す（「STEP」の文字なし）。見出しは帯をやめて下線の飾り、手順の間に罫線 */
.g-step h3 { position:relative; margin:0 0 22px; padding:0 0 14px; background:none; border-radius:0; border-bottom:2px solid var(--line); font-size:24px; gap:14px; }
.g-step h3::after { content:""; position:absolute; left:0; bottom:-2px; width:120px; height:2px; background:var(--main); }
.g-no { min-width:44px; height:44px; border-radius:50%; font-size:20px; }
.g-no-pc { border-radius:10px; font-size:14px; }
.g-step + .g-step { margin-top:0; padding-top:48px; border-top:1px solid var(--line); }
.g-step { padding-bottom:48px; }
.g-part + .g-step { margin-top:28px; }
@media (max-width:700px) {
  .g-step h3 { font-size:20px; padding-bottom:12px; gap:10px; }
  .g-step h3::after { width:80px; }
  .g-no { min-width:38px; height:38px; font-size:17px; }
  .g-step + .g-step { padding-top:36px; }
  .g-step { padding-bottom:36px; }
}
