/* よっしーツールズ
 * クラスは「役割・装飾が変わる単位」で付ける（post-title / badge / cta / card 等）。
 * ツール名ごとの -wrap / -title は増やさない。JS用ルート id のみ例外可。
 */
.yt-tool,.yt-guide,.yt-top,.contents{max-width:760px;margin-left:auto;margin-right:auto}
.page-template-tool-diagnosis #main,.page-template-tools-index #main,.page-template-category-guide #main,.home #main{max-width:100%}
.lead,.yt-lead{line-height:1.8}
.section{margin:2em 0}
.section-title{font-size:1.15em;margin:0 0 .8em}
.tool-list,.post-list,.yt-tools{list-style:none;margin:1em 0;padding:0}
.post-list li{margin:.4em 0}
.card,.yt-tool-card{border:1px solid #ddd;border-radius:8px;padding:1em 1.2em;margin-bottom:1em;background:#fff}
.card-title,.yt-tool-card h2{margin:0 0 .4em;font-size:1.15em}
.related-posts{margin-top:2.5em;padding-top:1.5em;border-top:1px solid #eee}
.yt-badge,.badge{display:inline-block;font-size:.75em;line-height:1.4;border-radius:3px;padding:.1em .45em;vertical-align:middle}
.badge.is-pr{background:#222;color:#fff;letter-spacing:.04em}
.badge-line{margin:0 0 .75em}
.badge-line .badge.is-pr{margin-left:0}
.yt-small,.note{font-size:.85em;color:#666}
.data-note{margin:1.75em 0 0;padding:.9em 0 0;border-top:1px solid #d5e3ef;background:none;font-size:.78em;color:#5a7084;line-height:1.65}
.brief-extra,.brief-out{width:100%;max-width:100%;box-sizing:border-box;margin-top:.4em;padding:.6em .7em;font:inherit;line-height:1.6;border:1px solid #cbd5e0;border-radius:6px}
.brief-out{background:#f7fafc}
.yt-diag{margin:1.5em 0}
.yt-q{border:1px solid #ddd;border-radius:8px;padding:.8em 1em;margin:0 0 2em;background:#fff}
.yt-q legend{font-weight:bold;padding:0 .4em}
.yt-opt{margin:.35em 0}
.yt-opt input{margin-right:.5em}
.yt-opt label{cursor:pointer}
.yt-step{font-weight:bold;color:#555}
.yt-btn,.button{display:inline-block;padding:.7em 1.4em;border:0;border-radius:6px;background:#2b6cb0;color:#fff;font-size:1em;cursor:pointer;text-decoration:none}
.yt-btn:hover,.yt-btn:focus,.button:hover,.button:focus{opacity:.9}
.yt-btn-sub{background:#718096}
.yt-actions,.actions{display:flex;gap:.8em;flex-wrap:wrap;align-items:center;margin-top:1em}
.yt-err{color:#c53030}
.yt-err:empty{display:none;margin:0;min-height:0;padding:0}
.yt-warn{background:#fff5f5;border:1px solid #feb2b2;color:#c53030;padding:.7em 1em;border-radius:6px}
.yt-card,.card{border:1px solid #cbd5e0;border-radius:8px;padding:1em 1.2em;margin:1em 0;background:#fff}
.yt-card h3,.card h3{margin:0 0 .5em}
.yt-why{line-height:1.7}
.yt-unv{color:#975a16;font-size:.9em}
.yt-fee{font-size:.9em;color:#2d3748;background:#edf2f7;border-radius:4px;padding:.4em .7em}
.yt-camp{background:#f0fff4;border-radius:4px;padding:.4em .7em;font-size:.9em}
.yt-link{display:inline-block;margin-top:.5em;padding:.6em 1.2em;border-radius:6px;background:#2f855a;color:#fff;text-decoration:none}
.yt-note{font-size:.9em;color:#555}
.yt-dropwrap{margin:1em 0;font-size:.9em}
.yt-candidates{margin-top:2em;border-top:1px solid #eee;padding-top:1em}
.yt-progress{margin:0 0 1.2em}
.yt-progress-label{font-size:.9em;color:#555;margin-bottom:.35em}
.yt-progress-track{height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.yt-progress-bar{height:100%;background:#2b6cb0;border-radius:999px;transition:width .2s ease}
.yt-card-detail{border-style:dashed;background:#f7fafc}
.yt-card-top{border-color:#2b6cb0;box-shadow:0 0 0 1px rgba(43,108,176,.15)}
.yt-card-sub{opacity:.95;background:#f8fafc}
