/* 鈴木Web製作所 ブログ共通（SWELL風：ゴシック体・帯の見出し・吹き出し・キャプション箱） */
:root {
  --main:#4a5e36;        /* サイトの深緑 */
  --main-deep:#253018;
  --main-pale:#eef2e8;
  --accent:#c8a246;      /* 金 */
  --text:#333;
  --text-soft:#666;
  --line:#e2e2e2;
  --bg:#fdfdfd;
  --bg-gray:#f7f7f7;
  --marker:rgba(255,226,92,.55);
  --line-green:#06C755;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; -webkit-text-size-adjust:100%; }
body {
  font-family:-apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size:16px; line-height:1.8; color:var(--text); background:var(--bg);
  letter-spacing:.02em; overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:#2a6fb0; }
strong { font-weight:700; }
mark, .marker { background:linear-gradient(transparent 60%, var(--marker) 60%); color:inherit; font-weight:700; padding:0 .1em; }

/* ヘッダー */
nav { position:fixed; top:0; left:0; right:0; z-index:50; height:64px; padding:0 24px; display:flex; justify-content:space-between; align-items:center; background:#fff; border-bottom:1px solid var(--line); }
nav.scrolled { box-shadow:0 2px 8px rgba(0,0,0,.06); }
.nav-logo { text-decoration:none; display:flex; align-items:center; gap:.6rem; }
.nav-logo-img { height:40px; width:auto; }
.nav-logo-sub { font-size:.72rem; color:var(--text-soft); }
.nav-right { display:flex; align-items:center; gap:14px; }
.nav-back { font-size:.85rem; color:var(--text); text-decoration:none; }
.nav-cta { background:var(--line-green); color:#fff; font-weight:700; padding:.45rem 1rem; font-size:.82rem; border-radius:20px; text-decoration:none; }

.wrap { max-width:800px; margin:0 auto; padding:0 20px; }

/* パンくず */
.crumb { background:var(--bg-gray); font-size:.75rem; color:var(--text-soft); padding:.5rem 20px; margin-top:64px; }
.crumb-in { max-width:800px; margin:0 auto; }
.crumb a { color:var(--text-soft); text-decoration:none; }

/* ─── 一覧 ─── */
.bl-head { max-width:1080px; margin:0 auto; padding:2.2rem 20px .5rem; }
.bl-head h1 { font-size:1.5rem; font-weight:700; display:flex; align-items:center; gap:.6rem; }
.bl-head h1::before { content:""; width:6px; height:1.4em; background:var(--main); border-radius:2px; }
.bl-head p { color:var(--text-soft); font-size:.92rem; margin-top:.4rem; }
.bl-grid { max-width:1080px; margin:1.6rem auto 4rem; padding:0 20px; display:grid; grid-template-columns:repeat(3,1fr); gap:2rem 1.6rem; list-style:none; }
.bl-card a { display:block; height:100%; text-decoration:none; color:var(--text); }
.bl-card .thumb { border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,.08); transition:transform .25s, box-shadow .25s; }
.bl-card a:hover .thumb { transform:translateY(-3px); box-shadow:0 8px 18px rgba(0,0,0,.12); }
.bl-cat { position:absolute; top:10px; left:10px; z-index:2; font-size:.7rem; font-weight:700; color:#fff; background:var(--main); padding:.15rem .6rem; border-radius:3px; }
.bl-card h2 { font-size:1rem; font-weight:700; line-height:1.6; margin-top:.8rem; }
.bl-card p { font-size:.82rem; color:var(--text-soft); margin-top:.4rem; line-height:1.7; }
.bl-date { font-size:.75rem; color:#999; margin-top:.5rem; }

/* サムネイル（文字はHTMLで重ねる・画像に文字を入れない） */
.thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--main-deep); }
.thumb img { width:100%; height:100%; object-fit:cover; opacity:.6; }
.thumb-text { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; padding:0 1.2rem; color:#fff; }
.thumb-text b { font-size:1.15rem; font-weight:700; line-height:1.5; text-shadow:0 1px 6px rgba(0,0,0,.4); }
.thumb-text small { font-size:.75rem; margin-top:.3rem; }
.thumb.paper { background:var(--main-pale); }
.thumb.paper .thumb-text { color:var(--main-deep); }
.thumb.paper .thumb-text b { text-shadow:none; }

/* ─── 記事 ─── */
.ar-head { padding:1.6rem 0 0; }
.ar-cat { display:inline-block; font-size:.72rem; font-weight:700; color:#fff; background:var(--main); padding:.1rem .6rem; border-radius:3px; }
.ar-head h1 { font-size:1.6rem; font-weight:700; line-height:1.55; margin:.6rem 0 .7rem; }
.ar-meta { display:flex; align-items:center; gap:.5rem; font-size:.78rem; color:var(--text-soft); margin-bottom:1.2rem; }
.ar-meta img { width:28px; height:28px; border-radius:50%; border:1px solid var(--line); }
.eyecatch { border-radius:6px; }
.eyecatch .thumb-text b { font-size:1.6rem; }

.ar-body > p { margin:1.6em 0; }
.ar-body h2 { font-size:1.3rem; font-weight:700; line-height:1.5; margin:3.5em 0 1.2em; padding:.75em 1em; border-left:8px solid var(--main);
  background:repeating-linear-gradient(-45deg, var(--main-pale), var(--main-pale) 4px, #f5f7f1 4px, #f5f7f1 8px); }
.ar-body h3 { font-size:1.15rem; font-weight:700; margin:2.6em 0 1em; padding-bottom:.4em; border-bottom:2px solid var(--line); position:relative; }
.ar-body h3::after { content:""; position:absolute; left:0; bottom:-2px; width:30%; height:2px; background:var(--main); }
.note { font-size:.8rem; color:var(--text-soft); background:var(--bg-gray); padding:.7rem 1rem; border-radius:4px; }
figure { margin:1.6em 0; }
figcaption { font-size:.78rem; color:var(--text-soft); margin-top:.5rem; text-align:center; }
.shot { border:1px solid var(--line); border-radius:4px; box-shadow:0 2px 10px rgba(0,0,0,.08); margin:0 auto; }

/* キャプション箱（SWELLのcap_box風） */
.capbox { border:2px solid var(--main); border-radius:6px; margin:2em 0; overflow:hidden; background:#fff; }
.capbox-ttl { background:var(--main); color:#fff; font-weight:700; font-size:.9rem; padding:.45rem 1rem; }
.capbox-in { padding:1rem 1.2rem; }
.checklist { list-style:none; }
.checklist li { position:relative; padding-left:1.8em; margin:.35em 0; }
.checklist li::before { content:""; position:absolute; left:.2em; top:.45em; width:.9em; height:.5em; border-left:3px solid var(--main); border-bottom:3px solid var(--main); transform:rotate(-45deg); }
.capbox.gold { border-color:var(--accent); }
.capbox.gold .capbox-ttl { background:var(--accent); color:var(--main-deep); }

/* 目次 */
.toc { border:1px solid var(--line); border-radius:6px; background:var(--bg-gray); padding:1rem 1.3rem; margin:2em 0; }
.toc-ttl { font-weight:700; text-align:center; margin-bottom:.5rem; }
.toc ol { padding-left:1.4em; font-size:.92rem; }
.toc li { margin:.25em 0; }
.toc a { color:var(--text); text-decoration:none; border-bottom:1px dashed #bbb; }

/* ステップ（SWELLのステップブロック風・スマホでも1列） */
.steps { list-style:none; margin:1.6em 0; position:relative; }
.steps::before { content:""; position:absolute; left:23px; top:10px; bottom:10px; width:2px; background:#d5dccd; }
.steps li { position:relative; padding-left:64px; margin-bottom:1.3em; }
.st-num { position:absolute; left:0; top:0; width:48px; height:48px; border-radius:50%; background:var(--main); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:.62rem; line-height:1.15; font-weight:700; }
.st-num b { font-size:1rem; }
.st-ttl { font-weight:700; font-size:1.02rem; padding-top:.6rem; }
.st-pair { display:grid; grid-template-columns:auto 1fr; gap:.15rem .6rem; font-size:.9rem; margin-top:.3rem; }
.st-pair dt { font-size:.72rem; font-weight:700; color:#fff; border-radius:3px; padding:.05rem .45rem; align-self:start; margin-top:.25rem; white-space:nowrap; }
.st-pair dt.you { background:var(--accent); color:var(--main-deep); }
.st-pair dt.me { background:var(--main); }
.st-pair dd em { font-style:normal; color:var(--text-soft); font-size:.85em; }

/* 日付の見出し（h3） */
.day-badge { display:inline-block; background:var(--main); color:#fff; font-size:.75rem; padding:.1rem .6rem; border-radius:3px; margin-right:.5rem; vertical-align:middle; }

/* 吹き出し（SWELLのふきだし風） */
.balloon { display:flex; gap:14px; margin:1.4em 0; align-items:flex-start; }
.balloon.right { flex-direction:row-reverse; }
.bl-icon { flex:none; width:64px; text-align:center; }
.bl-icon img, .bl-icon .ph { width:64px; height:64px; border-radius:50%; border:2px solid var(--line); background:#fff; object-fit:cover; }
.bl-icon .ph { display:flex; align-items:center; justify-content:center; background:#f3efe6; }
.bl-icon .ph svg { width:36px; height:36px; fill:#b9ad94; }
.bl-icon span { display:block; font-size:.68rem; color:var(--text-soft); margin-top:.2rem; }
.bl-text { position:relative; background:#fff; border:2px solid var(--line); border-radius:10px; padding:.8rem 1rem; font-size:.95rem; line-height:1.75; max-width:calc(100% - 78px); }
.bl-text::before { content:""; position:absolute; top:20px; left:-12px; border:6px solid transparent; border-right:6px solid var(--line); }
.balloon.right .bl-text { background:#f1f6ea; border-color:#c9d8b5; }
.balloon.right .bl-text::before { left:auto; right:-12px; border-right-color:transparent; border-left:6px solid #c9d8b5; }
.bl-text.pic { padding:.4rem; }

/* 書類の絵 */
.doc { background:#fff; border:1px solid var(--line); border-radius:4px; padding:1rem 1.2rem; max-width:340px; margin:1.4em auto; box-shadow:0 4px 12px rgba(0,0,0,.07); font-size:.88rem; }
.doc b { display:block; text-align:center; margin-bottom:.5rem; }
.doc ul { list-style:none; }
.doc li { border-bottom:1px dashed var(--line); padding:.3rem 0; }

.photos { display:grid; grid-template-columns:repeat(3,1fr); gap:.35rem; }
.photos img { aspect-ratio:1/1; object-fit:cover; border-radius:6px; }

.screens { display:grid; grid-template-columns:3fr 1fr; gap:1rem; align-items:end; }
.screens > * { min-width:0; }
.screens img { width:100%; border:1px solid var(--line); border-radius:4px; box-shadow:0 4px 14px rgba(0,0,0,.08); }

/* 関連記事のリンクカード */
.linkcard { display:flex; gap:1rem; align-items:center; border:1px solid var(--line); border-radius:6px; padding:.9rem 1rem; text-decoration:none; color:var(--text); background:#fff; margin:1.4em 0; box-shadow:0 1px 4px rgba(0,0,0,.05); }
.linkcard small { display:block; font-size:.7rem; color:#fff; background:var(--main); width:max-content; padding:0 .5rem; border-radius:3px; margin-bottom:.2rem; }
.linkcard b { font-size:.95rem; line-height:1.5; }
.linkcard::after { content:"›"; margin-left:auto; font-size:1.6rem; color:#aaa; }

/* 書き手 */
.author { display:flex; gap:1rem; align-items:center; border:1px solid var(--line); border-radius:6px; padding:1.2rem; margin:3rem 0 1.5rem; background:var(--bg-gray); }
.author img { width:80px; height:80px; border-radius:50%; flex:none; background:#fff; border:2px solid #fff; }
.author b { font-size:.95rem; }
.author p { font-size:.85rem; margin-top:.3rem; line-height:1.75; }

/* CTA */
.cta { text-align:center; border:2px solid var(--line-green); border-radius:8px; padding:1.8rem 20px; margin-top:2rem; background:#f3fbf5; }
.cta p { margin-bottom:1rem; font-weight:700; }
.btn-line { display:inline-block; background:var(--line-green); color:#fff; text-decoration:none; font-weight:700; padding:.9rem 2.4rem; border-radius:40px; box-shadow:0 4px 0 #04a446; }
.cta small { display:block; margin-top:.9rem; color:var(--text-soft); font-size:.8rem; }

.related { margin:2.5rem 0 4rem; }
.related > h2 { font-size:1.05rem; font-weight:700; margin-bottom:.6rem; }

.line-float-btn { display:none; position:fixed; bottom:16px; right:16px; z-index:60; background:var(--line-green); color:#fff; text-decoration:none; font-weight:700; padding:.75rem 1.2rem; border-radius:40px; box-shadow:0 4px 14px rgba(0,0,0,.2); font-size:.88rem; }

footer { background:var(--main-deep); color:#cfd6c4; text-align:center; padding:2.2rem 20px; font-size:.8rem; }
footer .footer-name { color:#fff; font-weight:700; font-size:1rem; }
footer a { color:#cfd6c4; }
footer .footer-links { margin:.7rem 0; }

@media (max-width:860px) { .bl-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:600px) {
  body { font-size:15px; }
  nav { height:56px; padding:0 14px; }
  .nav-logo-img { height:32px; }
  .nav-logo-sub, .nav-back { display:none; }
  .crumb { margin-top:56px; }
  .bl-grid { grid-template-columns:1fr; }
  .ar-head h1 { font-size:1.35rem; }
  .eyecatch .thumb-text b { font-size:1.3rem; }
  .ar-body h2 { font-size:1.15rem; padding:.65em .8em; border-left-width:6px; }
  .ar-body h3 { font-size:1.05rem; }
  .bl-icon { width:52px; } .bl-icon img, .bl-icon .ph { width:52px; height:52px; }
  .bl-text { max-width:calc(100% - 64px); font-size:.92rem; padding:.7rem .85rem; }
  .screens { grid-template-columns:1fr; }
  .screens img.sp { max-width:230px; margin:0 auto; }
  .author { flex-direction:column; text-align:center; }
  .line-float-btn.is-visible { display:block; }
}
/* LINEで送られたスクショ（直しの例） */
.lineshot { display:block; width:100%; max-width:260px; border-radius:8px; border:1px solid var(--line); }
.photos.one { grid-template-columns:1fr; max-width:180px; }
/* 1ページと5ページの形の図 */
.shape-vs { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:1.6em 0; }
.shape-vs figure { margin:0; background:var(--main-pale); border-radius:6px; padding:1rem .6rem .8rem; text-align:center; }
.shape-vs svg { width:100%; max-width:150px; height:auto; display:block; margin:0 auto .5rem; }
.shape-vs figcaption b { display:block; color:var(--main); font-size:1rem; }
/* 比べる表 */
.cmp-wrap { overflow-x:auto; margin:1.4em 0; }
.cmp { width:100%; border-collapse:collapse; font-size:.9rem; background:#fff; }
.cmp th, .cmp td { border:1px solid var(--line); padding:.6rem .7rem; vertical-align:top; line-height:1.6; }
.cmp thead th { background:var(--main); color:#fff; text-align:center; }
.cmp thead th small { display:block; font-weight:400; font-size:.75rem; opacity:.9; }
.cmp tbody th { background:var(--bg-gray); text-align:left; white-space:nowrap; font-weight:700; }
.cmp td small { color:var(--text-soft); font-size:.78rem; }

/* 一覧カード：サイト画面（2026-11-17） */
.thumb.mock { background:#f1ede6; }
.thumb.mock img { opacity:1; object-fit:cover; object-position:center 45%; transform:scale(1.06); }
/* 一覧カード：文字＋キャラクター（2026-11-17） */
.thumb.txt { background:var(--main-pale); }
.thumb.txt .thumb-text { color:var(--main-deep); padding:2.2rem 34% 1.2rem 1.3rem; }
.thumb.txt .thumb-text b { text-shadow:none; font-size:clamp(1rem,2.6vw,1.2rem); word-break:keep-all; }
.thumb.txt .thumb-text small { word-break:keep-all; }
.thumb.txt .thumb-text::after { content:""; width:36px; height:2px; background:var(--accent); margin-top:.9rem; }
.thumb.txt img { position:absolute; right:4%; bottom:-6%; width:34%; height:auto; opacity:1; object-fit:contain; }
.thumb.txt .bl-cat { background:var(--main-deep); }
