/* ================= LINEシステムの窓口（aktlink 静的版） =================
   旧サイトの雰囲気を踏襲：ソフトグリーン #95D67A ＋ 文字 #333
   色を変えるならこの :root だけ触れば全ページに反映されます */
:root{
  --green:#95d67a;        /* メイン（ヘッダー・ナビ・アクセント）*/
  --green-d:#6fb84f;      /* 濃い緑（ホバー・見出し罫線）*/
  --ink:#333;             /* 本文の黒 */
  --muted:#777;
  --line:#e6e6e6;
  --bg:#ffffff;
  --soft:#f6faf3;         /* 薄い緑がかった背景 */
  --marker:#fff3a8;       /* マーカー */
  --serif:"Hiragino Mincho ProN","Yu Mincho",serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:var(--bg);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  font-size:16px;line-height:1.9;word-break:auto-phrase}
img{max-width:100%;height:auto}
a{color:var(--green-d);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:820px;margin:0 auto;padding:0 18px}

/* ===== ヘッダー ===== */
.site-head{background:var(--green);position:sticky;top:0;z-index:50;box-shadow:0 1px 6px rgba(0,0,0,.08)}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;height:64px}
.brand-logo{height:38px;width:auto;display:block}
.head-nav{display:flex;gap:16px;flex-wrap:wrap}
.head-nav a{color:#2c3e26;font-weight:700;font-size:14px}
.head-nav a:hover{color:#fff;text-decoration:none}

/* ===== 記事 ===== */
article.post{max-width:740px;margin:0 auto;padding:26px 18px 60px}
.crumbs{color:var(--muted);font-size:13px;margin:6px 0 16px}
.crumbs a{color:var(--muted)}
.post-cat{display:inline-block;background:var(--green);color:#2c3e26;font-weight:700;
  border-radius:4px;padding:3px 12px;font-size:12px}
h1.post-title{font-size:27px;line-height:1.5;margin:12px 0 10px;font-weight:800}
.post-meta{color:var(--muted);font-size:13px;border-bottom:2px solid var(--green);padding-bottom:14px;margin-bottom:8px}

/* 目次 */
.toc{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:16px 20px;margin:24px 0}
.toc-ttl{font-weight:800;margin:0 0 8px;font-size:15px}
.toc ol{margin:0;padding-left:1.2em}
.toc a{color:var(--ink)}
.toc .lv3{list-style:circle;margin-left:1em;font-size:.94em}

/* 本文の見出し（Cocoon風） */
.body h2{font-size:22px;background:var(--soft);border-left:7px solid var(--green);
  padding:11px 16px;border-radius:0 6px 6px 0;margin:44px 0 18px;line-height:1.5}
.body h3{font-size:19px;border-bottom:2px solid var(--green);padding-bottom:6px;margin:32px 0 14px}
.body p{margin:0 0 1.2em}
.body img{border-radius:6px;margin:6px 0}

/* Cocoonの装飾を再現 */
.marker-under,.marker-under strong{background:linear-gradient(transparent 60%,var(--marker) 60%)}
.info-box,.blank-box,.white-box{background:#fff;border:1px solid var(--line);border-left:5px solid var(--green);
  border-radius:6px;padding:14px 18px;margin:18px 0}
/* 吹き出し */
.speech-wrap{display:flex;gap:12px;align-items:flex-start;margin:22px 0}
.speech-wrap.sbp-r{flex-direction:row-reverse}
.speech-person{width:74px;text-align:center;flex:0 0 auto}
.speech-icon-image{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid var(--line);background:#fff}
.speech-name{font-size:11px;color:var(--muted);margin-top:3px}
.speech-balloon{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;max-width:76%}
.speech-wrap:not(.sbp-r) .speech-balloon{background:#eef7e8}
.sbp-r .speech-balloon{background:#fff}
figure.wp-cap{margin:18px 0;text-align:center}
figure.wp-cap figcaption{font-size:13px;color:var(--muted);margin-top:6px}
.blogcard a{display:block;border:1px solid var(--line);border-radius:8px;padding:12px 16px;background:#fff;word-break:break-all}
.aligncenter{display:block;margin-left:auto;margin-right:auto}

/* CTA */
.body a img.aligncenter,.cta img{width:100%;max-width:800px;border-radius:8px;margin:10px auto}

/* ===== 一覧（ブログトップ）===== */
.list-head{background:var(--soft);border-bottom:1px solid var(--line);padding:30px 0 24px;text-align:center}
.list-head h1{font-size:24px;margin:0 0 6px}
.list-head p{color:var(--muted);margin:0;font-size:14px}
.search-box{max-width:520px;margin:18px auto 0;display:flex;gap:8px}
.search-box input{flex:1;border:1px solid var(--line);border-radius:8px;padding:11px 14px;font-size:15px}
.cats{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0 0}
.cat-btn{border:1px solid var(--green);background:#fff;color:var(--green-d);border-radius:999px;
  padding:6px 14px;font-size:13px;font-weight:700;cursor:pointer}
.cat-btn.active,.cat-btn:hover{background:var(--green);color:#2c3e26}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;padding:28px 0 60px}
.card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;
  transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column}
.card:hover{box-shadow:0 8px 22px rgba(0,0,0,.10);transform:translateY(-2px)}
.card a{color:inherit;display:flex;flex-direction:column;height:100%}
.card .thumb{aspect-ratio:1200/630;background:var(--soft) center/cover no-repeat;position:relative}
.card .thumb .badge{position:absolute;top:8px;left:8px;background:var(--green);color:#2c3e26;
  font-size:11px;font-weight:700;border-radius:4px;padding:2px 9px;z-index:2}
/* アイキャッチが無い記事のプレースホルダー */
.card .thumb.ph{display:flex;align-items:center;justify-content:center;padding:14px;
  background:linear-gradient(135deg,var(--green) 0%,var(--green-d) 100%)}
.card .thumb.ph .ph-txt{color:#fff;font-weight:800;font-size:15px;line-height:1.5;text-align:center;
  text-shadow:0 1px 3px rgba(0,0,0,.15)}
.card .c-body{padding:12px 14px 16px}
.card h3{font-size:15px;line-height:1.5;margin:0 0 6px;font-weight:700}
.card .c-date{color:var(--muted);font-size:12px}
.no-hit{text-align:center;color:var(--muted);padding:40px 0}

/* ===== フッター ===== */
.site-foot{background:var(--soft);border-top:1px solid var(--line);margin-top:40px;padding:30px 0;text-align:center}
.foot-logo{height:34px;margin-bottom:8px}
.foot-desc{color:var(--muted);font-size:13px;margin:0 0 10px}
.foot-nav{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;margin:0 0 12px}
.foot-nav a{color:var(--ink);font-size:13px}
.foot-copy{color:var(--muted);font-size:12px;margin:0}
/* AiCmoへの導線CTA（旧LINE CTAを置換）*/
.aicmo-cta{background:linear-gradient(180deg,#fbf8f0,#f6efdd);border:1px solid #e7ddc4;
  border-radius:14px;padding:24px 20px;margin:30px 0;text-align:center}
.aicmo-cta-lead{color:#8a6d2f;font-size:14px;font-weight:800;margin:0 0 8px}
.aicmo-cta-main{font-size:16px;line-height:1.85;margin:0 0 18px;color:var(--ink)}
.aicmo-cta-main strong{color:#111}
.aicmo-cta-btn{display:inline-block;background:linear-gradient(180deg,#caa63a,#a67f2e);color:#fff;
  font-weight:800;font-size:16px;padding:14px 30px;border-radius:999px;text-decoration:none;
  box-shadow:0 5px 16px rgba(166,127,46,.32)}
.aicmo-cta-btn:hover{filter:brightness(1.07);text-decoration:none;color:#fff}

/* 文脈内部リンク（対応するAiCmo記事への橋渡し）*/
.aicmo-related{border:1px solid #e7ddc4;border-left:4px solid #caa63a;background:#fbf8f0;
  border-radius:8px;padding:12px 16px;margin:22px 0;display:flex;flex-direction:column;gap:3px}
.aicmo-related-label{font-size:12px;color:#8a6d2f;font-weight:800}
.aicmo-related a{color:#a67f2e;font-weight:700;font-size:15px;line-height:1.5}

/* 固定ページ */
article.page .body h2{margin-top:32px}
article.page .body{font-size:15.5px}

@media(max-width:600px){
  .head-nav{gap:10px}.head-nav a{font-size:12px}
  h1.post-title{font-size:23px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
}
