/* 業界別の反響営業ガイド（/solar/media/・/kaitai/media/）。/lp.css の配色・ヘッダー・フッター・ボタンの上に重ねる。tools/build_guides.py が出す HTML 用 */
.guide{--g-w:740px;background:var(--paper)}
.guide .brand small{font:700 10px/1.2 var(--sans);letter-spacing:.06em;margin-top:8px;color:var(--muted)}

/* ---- パンくず ---- */
.g-crumb{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-wrap:wrap;gap:2px 0;font-size:11px;color:var(--muted)}
.g-crumb li+li:before{content:"／";margin:0 8px;opacity:.6}
.g-crumb a{text-decoration:none}
.g-crumb a:hover{text-decoration:underline}
.g-hero .g-crumb{color:#dfe7df}

/* ---- トップ: ヒーロー ---- */
.g-hero{position:relative;isolation:isolate;color:#fff;overflow:hidden}
.g-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.g-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,19,15,.86) 0%,rgba(3,19,15,.6) 55%,rgba(3,19,15,.25))}
.g-hero-in{padding:56px 0 84px}
.g-hero h1{font-size:clamp(38px,5.4vw,74px);line-height:1.3;letter-spacing:-.045em;font-weight:800;max-width:15em}
.g-hero-copy{font-size:16px;font-weight:600;line-height:2;margin:26px 0 32px;max-width:40em}
.g-hero-btns{display:flex;flex-wrap:wrap;gap:12px}
.g-hero-btns .button{min-width:250px}

/* ---- トップ: ファーストビュー（左に見出し、右に「気になることから読む」。自社メディア「アトピック」の作りを参考に 2026-10-26） ---- */
.g-hero2{background:var(--sage);padding:34px 0 64px}
.g-hero2-in{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.g-hero2-txt{flex:1 1 460px;min-width:0}
.g-badge{display:inline-block;background:var(--ink);color:var(--paper);font-size:12px;font-weight:700;letter-spacing:.06em;border-radius:999px;padding:4px 16px;margin-bottom:18px}
.g-hero2 h1{font-size:clamp(34px,4.2vw,56px);line-height:1.38;letter-spacing:-.04em;font-weight:800}
.g-hero2-copy{font-size:15px;line-height:2.05;margin:20px 0 26px;color:#2f4a40}
.g-tiles{flex:1 1 500px;min-width:0}
.g-tiles>p{font-size:13px;font-weight:700;margin-bottom:10px}
.g-tiles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.g-tile{display:flex;flex-direction:column;gap:4px;min-height:96px;padding:14px;background:var(--paper);border:2px dashed #b7c4b4;border-radius:14px;text-decoration:none;transition:border-color .2s,transform .2s}
.g-tile:hover{border-color:var(--accent);transform:translateY(-2px)}
.g-tile b{font-size:15px;line-height:1.5;color:var(--ink)}
.g-tile span{font:700 11px/1.5 Arial,var(--sans);letter-spacing:.5px;color:var(--accent);margin-top:auto}

/* ---- トップ: はじめての方へ（STEP つきの写真カード） ---- */
.g-starters{padding-bottom:0}
.g-scards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:34px}
.g-scard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;transition:box-shadow .2s,transform .2s}
.g-scard:hover{box-shadow:0 10px 28px rgba(9,38,31,.12);transform:translateY(-2px)}
.g-scard-img{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--sage)}
.g-scard-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px}
.g-scard-step{font:700 12px/1.5 Arial,var(--sans);letter-spacing:.5px;color:var(--accent)}
.g-scard strong{font-size:16.5px;line-height:1.65}

/* ---- トップ: 変わること ---- */
.g-shift-list{list-style:none;padding:0;margin:46px 0 0;border-top:1px solid var(--line)}
.g-shift-list li{display:grid;grid-template-columns:1fr 56px 1fr;align-items:center;gap:10px;padding:22px 0;border-bottom:1px solid var(--line)}
.g-shift-list li>span{font-size:15px;color:var(--muted);text-decoration:line-through;text-decoration-color:#9aa69c;text-decoration-thickness:1px}
.g-shift-list li>b{font:300 26px/1 Arial,sans-serif;color:var(--accent);text-align:center}
.g-shift-list li>strong{font-size:19px;line-height:1.6}

/* ---- トップ: 最初の1本 ---- */
.g-feature{background:var(--ink);color:var(--paper)}
.g-feature-in{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding:72px 0;text-decoration:none}
.g-feature-in img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-feature h2{font-size:clamp(24px,2.7vw,36px);line-height:1.55;letter-spacing:-.03em}
.g-feature-in>div>p:not(.section-label){font-size:14px;line-height:2.05;color:#d0dbd2;margin:18px 0 6px}
.g-feature .text-link{border-color:var(--paper)}
.g-feature-in:hover .text-link{color:#ff9b78;border-color:#ff9b78}

/* ---- トップ: ロードマップ ---- */
.g-rm{list-style:none;padding:0;margin:56px 0 0;counter-reset:none}
.g-rm-stage{display:grid;grid-template-columns:minmax(260px,.9fr) 1.5fr;gap:48px;padding:40px 0;border-top:1px solid var(--ink);scroll-margin-top:110px}
.g-rm-stage:last-child{border-bottom:1px solid var(--ink)}
.g-rm-head{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start}
.g-rm-step{display:flex;flex-direction:column;align-items:center;font:700 10px/1 Arial,sans-serif;letter-spacing:2px;color:var(--accent);min-width:64px}
.g-rm-step b{font:400 54px/1 Georgia,serif;letter-spacing:-2px;color:var(--ink);margin-top:6px}
.g-rm-en{font:10px/1.5 Georgia,serif;letter-spacing:3px;color:var(--muted)}
.g-rm-head h3{font-size:30px;line-height:1.35;margin:4px 0 10px}
.g-rm-desc{font-size:13px;line-height:2;color:var(--muted)}
.g-rm-list{list-style:none;padding:0;margin:0}
.g-rm-list li+li{border-top:1px solid var(--line)}
.g-rm-list a{display:grid;grid-template-columns:40px 96px 1fr 24px;gap:16px;align-items:center;padding:14px 0;text-decoration:none;transition:padding .2s,color .2s}
.g-rm-img{width:96px;aspect-ratio:3/2;object-fit:cover;border-radius:8px;background:var(--sage)}
.g-rm-list a:hover{padding-left:6px;color:var(--accent)}
.g-rm-no{font:500 13px/1 Arial,sans-serif;color:var(--accent)}
.g-rm-t{font-size:16px;font-weight:700;line-height:1.65}
.g-rm-arrow{font:300 18px/1 Arial,sans-serif;text-align:right}
.g-rm-soon{padding:16px 0;font-size:13px;color:var(--muted)}
.g-sched{display:inline-block;font:700 10px/1.6 var(--sans);font-style:normal;color:#fff;background:var(--accent);padding:0 7px;margin-left:8px;vertical-align:2px}

/* ---- トップ: 編集方針 ---- */
.g-policy{padding-top:0}
.g-policy-in{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;padding-top:56px;border-top:1px solid var(--line)}
.g-policy ul{list-style:none;padding:0;margin:0}
.g-policy li{position:relative;padding:14px 0 14px 28px;border-bottom:1px solid var(--line);font-size:14px;line-height:2}
.g-policy li:before{content:"";position:absolute;left:4px;top:27px;width:10px;height:1px;background:var(--accent)}

/* ---- 記事: 見出し ---- */
.g-head{padding:34px 0 46px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--sage),var(--paper))}
.g-head-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center}
.g-head-grid>div:only-child{max-width:820px}
.g-step{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;font-weight:700;margin-bottom:18px}
.g-step>span{background:var(--ink);color:var(--paper);font:700 11px/1 Arial,sans-serif;letter-spacing:2px;padding:7px 10px}
.g-step i{font:normal 10px/1 Georgia,serif;letter-spacing:3px;color:var(--muted)}
.g-head h1{font-size:clamp(27px,3.1vw,42px);line-height:1.5;letter-spacing:-.035em}
.g-lead{font-size:15px;line-height:2;color:var(--muted);margin-top:18px}
.g-meta{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:12px;color:var(--muted);margin-top:18px}
.g-eyecatch{margin:0}
.g-eyecatch img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-eyecatch figcaption{font-size:10px;color:var(--muted);margin-top:6px;text-align:right}

/* ---- 記事: 本文と全体図の2列 ---- */
.g-layout{display:grid;grid-template-columns:minmax(0,var(--g-w)) 290px;justify-content:space-between;gap:64px;padding:52px 0 80px}
.g-article{min-width:0}
.g-side{position:relative}
.g-side-map{position:sticky;top:118px;max-height:calc(100vh - 210px);overflow:auto;padding-right:4px}
.g-side-title{font:700 10px/1.5 Arial,sans-serif;letter-spacing:3px;color:var(--muted);margin-bottom:12px}
.g-side-map>ol{list-style:none;padding:0;margin:0;border-top:1px solid var(--ink)}
.g-side-stage{border-bottom:1px solid var(--line);padding:12px 0}
.g-side-stage>p{display:flex;gap:10px;align-items:baseline;font-size:14px;font-weight:700}
.g-side-stage>p b{font:700 10px/1 Arial,sans-serif;letter-spacing:1.5px;color:var(--muted)}
.g-side-stage.is-on>p b{color:var(--accent)}
.g-side-stage ol{list-style:none;padding:0;margin:6px 0 0}
.g-side-stage li{font-size:12.5px;line-height:1.6}
.g-side-stage li a,.g-side-stage li.is-current{display:grid;grid-template-columns:30px 1fr;padding:5px 0;text-decoration:none;color:var(--muted)}
.g-side-stage li a:hover{color:var(--ink)}
.g-side-stage li span{font:11px/1.6 Arial,sans-serif}
.g-side-stage li.is-current{color:var(--ink);font-weight:700}
.g-side-stage li.is-current span{color:var(--accent)}
.g-side-cta{position:sticky;top:calc(100vh - 92px);width:100%;margin-top:18px;min-height:52px;font-size:13px}

/* ---- 記事: 目次 ---- */
.g-toc{border:1px solid var(--ink);padding:20px 24px 16px;margin:0 0 44px;background:#fffdf8}
.g-toc>p{font:700 10px/1.5 Arial,sans-serif;letter-spacing:3px;color:var(--muted);margin-bottom:8px}
.g-toc ol{margin:0;padding:0;list-style:none;counter-reset:t}
.g-toc li{counter-increment:t;display:grid;grid-template-columns:30px 1fr;font-size:14px;line-height:1.7;padding:6px 0;border-top:1px dotted var(--line)}
.g-toc li:first-child{border-top:0}
.g-toc li:before{content:counter(t,decimal-leading-zero);font:12px/1.9 Georgia,serif;color:var(--accent)}
.g-toc a{text-decoration:none}
.g-toc a:hover{text-decoration:underline}

/* ---- 記事: 本文 ---- */
.g-body{font-size:16.5px;line-height:2.05;letter-spacing:.01em}
.g-body>*:first-child{margin-top:0}
.g-body p{margin:0 0 1.35em}
.g-body h2{font-size:clamp(23px,2.3vw,29px);line-height:1.55;letter-spacing:-.03em;margin:72px 0 22px;padding-top:22px;border-top:2px solid var(--ink);position:relative;scroll-margin-top:110px}
.g-body h2:before{content:"";position:absolute;top:-2px;left:0;width:56px;height:2px;background:var(--accent)}
.g-body h3{font-size:19px;line-height:1.6;margin:44px 0 14px;padding-left:14px;border-left:3px solid var(--accent)}
.g-body h4{font-size:16px;margin:28px 0 8px}
.g-body ul,.g-body ol{padding-left:1.4em;margin:0 0 1.35em}
.g-body li{margin:.3em 0}
.g-body a{color:var(--ink);text-decoration-color:var(--accent);text-decoration-thickness:1px}
.g-body a:hover{color:var(--accent)}
.g-body strong{font-weight:800}
.g-body blockquote{margin:0 0 1.5em;padding:18px 22px;background:#fff;border-left:3px solid var(--ink);font-size:15.5px}
.g-body blockquote p:last-child{margin:0}
.g-body img{display:block;max-width:100%;height:auto}
.g-body code{background:var(--sage);padding:1px 5px;font-size:.9em}
.g-body .table-wrap{overflow-x:auto;margin:0 0 1.6em;-webkit-overflow-scrolling:touch}
.g-body table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.85;background:#fff}
.g-body th,.g-body td{border:1px solid var(--line);padding:12px 14px;vertical-align:top;text-align:left}
.g-body th{background:var(--ink);color:var(--paper);font-weight:700;font-size:14px}
.g-body td:first-child{background:var(--sage);font-weight:700;width:34%}

/* 部品（docs/seo-article-workflow.md と同じクラス名） */
.g-body .tt-mark{background:linear-gradient(transparent 60%,#ffd2bd 60%);font-weight:700}
.g-body .tt-points{background:var(--ink);color:var(--paper);padding:26px 28px 16px;margin:0 0 40px}
.g-body .tt-points>p:first-child{font:700 10px/1.5 Arial,sans-serif;letter-spacing:3px;color:#9fb3a5;margin:0 0 12px}
.g-body .tt-points ul{list-style:none;padding:0;margin:0}
.g-body .tt-points li{position:relative;padding:0 0 12px 26px;font-size:15.5px;line-height:1.9}
.g-body .tt-points li:before{content:"";position:absolute;left:0;top:.8em;width:12px;height:1px;background:#ff8a66}
.g-body .tt-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 1.8em;border-top:1px solid var(--ink);border-left:1px solid var(--line)}
.g-body .tt-cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g-body .tt-card{padding:20px 20px 18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;min-width:0}
.g-body .tt-card>b,.g-body .tt-card>p:first-child>b{display:block;font-size:12px;letter-spacing:.06em;color:var(--muted);margin-bottom:6px}
.g-body .tt-card>strong,.g-body .tt-card>p:first-child>strong{display:block;font-size:20px;line-height:1.5;color:var(--accent);margin-bottom:8px;letter-spacing:-.02em}
.g-body .tt-card p{font-size:14.5px;line-height:1.9;margin:0}
.g-body .tt-card.is-muted{background:transparent}
.g-body .tt-card.is-muted strong{color:var(--muted)}
.g-body .tt-steps{list-style:none;counter-reset:st;padding:0!important;margin:0 0 1.8em}
.g-body .tt-steps>li{counter-increment:st;position:relative;padding:4px 0 26px 64px;margin:0;line-height:1.9}
.g-body .tt-steps>li:before{content:counter(st,decimal-leading-zero);position:absolute;left:0;top:0;width:44px;height:44px;border:1px solid var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;font:15px/1 Georgia,serif;color:var(--accent);background:var(--paper)}
.g-body .tt-steps>li:not(:last-child):after{content:"";position:absolute;left:22px;top:48px;bottom:4px;width:1px;background:var(--line)}
.g-body .tt-steps>li>b{display:block;font-size:17px;margin-bottom:2px}
.g-body .tt-check{list-style:none;padding:20px 22px!important;margin:0 0 1.8em;background:#fff;border:1px solid var(--line)}
.g-body .tt-check li{position:relative;padding:6px 0 6px 34px;margin:0;line-height:1.85;border-bottom:1px dotted var(--line)}
.g-body .tt-check li:last-child{border-bottom:0}
.g-body .tt-check li:before{content:"";position:absolute;left:2px;top:12px;width:18px;height:18px;border:1.5px solid var(--ink);background:var(--paper)}
.g-body .tt-check li:after{content:"";position:absolute;left:8px;top:13px;width:6px;height:11px;border:solid var(--accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
.g-body .tt-bars{margin:0 0 1.8em;padding:22px 24px;background:#fff;border:1px solid var(--line)}
.g-body .tt-bars>p:first-child{font-weight:700;margin:0 0 14px;font-size:15px}
.g-body .tt-bar{margin:12px 0}
.g-body .tt-bar>span{display:flex;justify-content:space-between;gap:10px;font-size:14px;line-height:1.5}
.g-body .tt-bar>span b{font:700 15px/1.5 Arial,sans-serif;color:var(--accent)}
.g-body .tt-bar:after{content:"";display:block;height:10px;margin-top:6px;width:var(--w,0);background:var(--ink)}
.g-body .tt-bar.is-muted:after{background:#b9c3b6}
.g-body .tt-bars small{display:block;font-size:11px;color:var(--muted);margin-top:12px}
.g-body .tt-photo{margin:0 0 1.8em}
.g-body .tt-photo img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-body .tt-photo figcaption{font-size:12px;color:var(--muted);margin-top:8px}
.g-body .tt-note{font-size:13.5px;line-height:1.95;color:var(--muted);padding:14px 18px;border:1px dashed #a9b3a7;margin:0 0 1.6em}
.g-body .tt-faq{border-top:1px solid var(--ink)}
.g-body .tt-faq h3{border-left:0;padding:22px 0 0 40px;margin:0 0 8px;position:relative;font-size:17px}
.g-body .tt-faq h3:before{content:"Q";position:absolute;left:0;top:18px;font:400 26px/1 Georgia,serif;color:var(--accent)}
.g-body .tt-faq h3~p{padding-left:40px}
.g-body .tt-faq p{font-size:15.5px}
.g-body .tt-faq>p:last-child{padding-bottom:22px;margin-bottom:0;border-bottom:1px solid var(--line)}
/* スクロールで順に出す（build.py の JS が .js と .is-in を付ける） */
.js .g-body .tt-cards>.tt-card,.js .g-body .tt-steps>li{opacity:0;transform:translateY(10px);transition:opacity .5s,transform .5s}
.js .g-body .tt-cards>.tt-card.is-in,.js .g-body .tt-steps>li.is-in{opacity:1;transform:none}
.js .g-body .tt-bars .tt-bar:after{width:0;transition:width 1s cubic-bezier(.2,.7,.2,1)}
.js .g-body .tt-bars.is-in .tt-bar:after{width:var(--w,0)}
@media (prefers-reduced-motion:reduce){.js .g-body .tt-cards>.tt-card,.js .g-body .tt-steps>li{opacity:1;transform:none;transition:none}.js .g-body .tt-bars .tt-bar:after{width:var(--w,0);transition:none}}

/* ---- 記事: 著者・前後・TANTO ---- */
.g-author{margin-top:56px;padding:22px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);font-size:13px;line-height:1.95;color:var(--muted)}
.g-author b{color:var(--ink);font-size:14px}
.g-author p{margin-top:6px}
.g-pn{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:40px;background:var(--line);border:1px solid var(--line)}
.g-pn a,.g-pn>span{background:var(--paper);padding:20px 22px;text-decoration:none;font-size:15px;font-weight:700;line-height:1.65}
.g-pn small{display:block;font:500 11px/1.6 Arial,var(--sans);letter-spacing:1px;color:var(--accent);margin-bottom:6px}
.g-pn-next{text-align:right}
.g-pn a:hover{background:#fff}
.g-about{margin-top:40px;padding:26px 28px;background:var(--sage)}
.g-about-label{font-size:12px;font-weight:700;color:var(--accent);margin-bottom:8px}
.g-about p{font-size:14px;line-height:2}

/* ---- 相談の帯（トップ・記事共通） ---- */
.g-cta{background:var(--ink);color:var(--paper);padding:84px 0;text-align:left;position:relative;overflow:hidden}
.g-cta:after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border:1px solid #2c4a3f;border-radius:50%}
.g-cta-en{font:11px/1.5 Georgia,serif;letter-spacing:4px;color:#9fb3a5}
.g-cta h2{font-size:clamp(26px,3.4vw,46px);line-height:1.5;letter-spacing:-.04em;margin:14px 0 18px;position:relative;z-index:1}
.g-cta-text{font-size:15px;line-height:2;color:#d0dbd2;max-width:40em}
.g-cta-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;position:relative;z-index:1}
.g-cta-btns .button{min-width:260px}
.g-cta-note{display:inline-block;margin-top:22px;padding:6px 14px;border:1px solid #ff8a66;color:#ff8a66;font-size:14px;font-weight:700}
.g-cta-note b{font-size:18px;margin:0 2px}

/* ---- 浮くボタン ---- */
.g-float{position:fixed;left:50%;bottom:16px;z-index:40;display:flex;align-items:center;gap:18px;padding:10px 10px 10px 22px;background:var(--paper);border:1px solid var(--ink);box-shadow:0 10px 30px rgba(9,38,31,.18);transform:translate(-50%,140%);transition:transform .35s;max-width:calc(100% - 24px)}
.g-float.is-shown{transform:translate(-50%,0)}
.g-float p{display:flex;flex-direction:column;line-height:1.5}
.g-float p b{font-size:10px;color:var(--muted)}
.g-float p span{font-size:15px;font-weight:700;white-space:nowrap}
.g-float p span b{font:700 20px/1 Georgia,serif;color:var(--accent);margin:0 2px}
.g-float .button{min-height:46px;padding:10px 18px;gap:18px;font-size:13px;white-space:nowrap}

/* ---- 幅ごと ---- */
@media(max-width:1150px){.g-layout{grid-template-columns:minmax(0,1fr) 250px;gap:44px}.g-rm-stage{gap:32px}}
@media(max-width:960px){
  .g-layout{grid-template-columns:minmax(0,1fr);padding-top:36px}
  .g-side{order:2}
  .g-side-map{position:static;max-height:none;overflow:visible;padding:24px;background:#fff;border:1px solid var(--line)}
  .g-side-cta{position:static}
  .g-head-grid{grid-template-columns:1fr;gap:28px}
  .g-feature-in{grid-template-columns:1fr;gap:28px;padding:56px 0}
  .g-rm-stage{grid-template-columns:1fr;gap:18px;padding:30px 0}
  .g-policy-in{grid-template-columns:1fr;gap:20px}
}
@media(max-width:600px){
  .guide .brand small{display:none}
  .g-hero-in{padding:36px 0 56px}
  .g-hero h1{font-size:clamp(32px,9.6vw,44px)}
  .g-hero-copy{font-size:13.5px;margin:18px 0 24px}
  .g-hero-btns .button{width:100%;min-width:0}
  .g-shift-list li{grid-template-columns:1fr;gap:4px;padding:18px 0}
  .g-shift-list li>b{text-align:left;transform:rotate(90deg);width:20px;font-size:20px}
  .g-shift-list li>span{font-size:13px}
  .g-shift-list li>strong{font-size:16px}
  .g-rm-head{gap:14px}
  .g-rm-step{min-width:48px}
  .g-rm-step b{font-size:40px}
  .g-rm-head h3{font-size:24px}
  .g-rm-list a{grid-template-columns:30px 72px 1fr 14px;gap:10px;padding:12px 0}
  .g-rm-img{width:72px}
  .g-hero2{padding:22px 0 40px}
  .g-hero2-in{gap:26px}
  .g-hero2 h1{font-size:clamp(28px,8.4vw,38px)}
  .g-hero2-copy{font-size:13.5px}
  .g-hero2 .button{width:100%}
  .g-tiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .g-tile{min-height:78px;padding:10px 12px}
  .g-tile b{font-size:14px}
  .g-scards{grid-template-columns:1fr;gap:12px;margin-top:22px}
  .g-scard{flex-direction:row;align-items:center}
  .g-scard-img{width:112px;height:76px;flex:none;aspect-ratio:auto;margin:8px 0 8px 8px;border-radius:8px}
  .g-scard-body{padding:8px 12px;gap:4px}
  .g-scard strong{font-size:14px}
  .g-rm-t{font-size:15px}
  .g-head{padding:24px 0 30px}
  .g-head h1{font-size:25px;line-height:1.55}
  .g-lead{font-size:13.5px}
  .g-body{font-size:16px;line-height:2}
  .g-body h2{font-size:22px;margin-top:56px}
  .g-body h3{font-size:17.5px}
  .g-body .tt-cards,.g-body .tt-cards--3{grid-template-columns:1fr}
  .g-body .tt-points{padding:22px 20px 10px}
  .g-body .tt-steps>li{padding-left:56px}
  .g-body .tt-steps>li:before{width:38px;height:38px;font-size:13px}
  .g-body .tt-steps>li:not(:last-child):after{left:19px;top:42px}
  .g-body table{font-size:14px}
  .g-body th,.g-body td{padding:10px}
  .g-toc{padding:16px 18px 12px}
  .g-pn{grid-template-columns:1fr}
  .g-pn-next{text-align:left}
  .g-cta{padding:60px 0}
  .g-cta-btns .button{width:100%;min-width:0}
  .g-float{left:12px;right:12px;bottom:12px;transform:translateY(140%);gap:10px;padding:8px 8px 8px 14px;max-width:none}
  .g-float.is-shown{transform:none}
  .g-float p span{font-size:13px}
  .g-float .button{padding:10px 12px;gap:10px}
}
/* ファーストビューと「はじめての方へ」の大きさの調整 */
.g-hero2 h1{font-size:clamp(30px,3.1vw,46px);line-height:1.45}
.g-hero2-txt{flex-basis:520px}
.g-scard .g-sched{align-self:flex-start;margin-left:0}
.g-starters .heading{font-size:clamp(24px,2.6vw,34px)}
@media(max-width:600px){.g-hero2 h1{font-size:clamp(26px,7.6vw,34px)}.g-badge{font-size:11px;padding:3px 12px}}
/* 長い URL・英数字は折り返す（スマホで横にはみ出さない） */
.g-body{overflow-wrap:anywhere}
.g-body code{word-break:break-all}
/* フローティングの相談ボタン: パソコンの記事ページは右の全体図の下に同じボタンがあるので出さない。トップは右下に寄せて本文に重ねない。スマホは画面下に出し、最後の行が隠れないよう余白を足す */
@media(min-width:961px){
  .guide-article .g-float{display:none}
  .g-float{left:auto;right:24px;transform:translateY(140%)}
  .g-float.is-shown{transform:none}
}
@media(max-width:960px){.guide .footer{padding-bottom:110px}}
/* 見出しごとの絵（build_guides.py の add_figures） */
.g-body .g-fig{margin:4px 0 30px}
.g-body .g-fig img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;background:#f7f5ee}
