
  :root {
    --green:  #2d6a4f;
    --green2: #40916c;
    --green3: #52b788;
    --amber:  #f4a261;
    --amber2: #e9c46a;
    --paper:  #faf9f4;
    --ink:    #1a1a1a;
    --sub:    #4a4a4a;
    --rule:   #e8e0d8;
    --warn:   #c77d4e;
    --max-w:  760px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Yu Mincho", "游明朝", "YuMincho", "Noto Serif JP", serif;
    font-weight: 400;
    line-height: 1.9;
    padding: 0 0 80px;
    -webkit-text-size-adjust: 100%;
  }

  /* ===== ロゴ ===== */
  .fukugyou-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    line-height: 1;
  }
  .fukugyou-logo__symbol {
    display: inline-block;
    width: 32px; height: 32px;
    background-color: var(--green);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
  }
  .fukugyou-logo__symbol::before {
    content: ''; position: absolute;
    top: 7px; bottom: 7px; left: 50%;
    width: 1.5px; background: rgba(255,255,255,0.6);
  }
  .fukugyou-logo__symbol::after {
    content: ''; position: absolute;
    left: 7px; right: 7px; top: 50%;
    height: 1.5px; background: rgba(255,255,255,0.6);
  }
  .fukugyou-logo__text { display: flex; flex-direction: column; gap: 2px; }
  .fukugyou-logo__main {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 500; font-size: 18px;
    letter-spacing: 0.04em; color: var(--ink); line-height: 1;
  }
  .fukugyou-logo__sub {
    font-family: "Inter", sans-serif;
    font-weight: 400; font-size: 9px;
    letter-spacing: 0.10em; color: #8a8a8a;
    text-transform: lowercase; line-height: 1;
  }

  /* ===== ヘッダー ===== */
  .site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 18px 24px;
    position: sticky; top: 0; z-index: 100;
  }
  .site-header__inner {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
  }

  /* ===== パンくず ===== */
  .breadcrumb {
    padding: 12px 24px;
    max-width: var(--max-w); margin: 0 auto;
    font-family: "Inter", sans-serif;
    font-size: 12px; color: var(--sub);
  }
  .breadcrumb a { color: var(--green); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb span + span::before { content: " › "; margin: 0 4px; color: var(--rule); }

  /* ===== メインレイアウト ===== */
  .article-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===== Hero 画像 ===== */
  .article-hero-figure {
    max-width: var(--max-w);
    margin: 20px auto 0;
    padding: 0 24px;
  }
  .article-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    border: 1px solid var(--rule);
  }
  @media (max-width: 480px) {
    .article-hero-figure { padding: 0 18px; }
  }
  /* ===== 記事ヘッド ===== */
  .article-header { padding: 32px 0 28px; border-bottom: 1px solid var(--rule); }
  .article-cat {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 11px; letter-spacing: 0.28em;
    color: var(--green); text-transform: uppercase;
    border: 1px solid var(--green);
    padding: 4px 12px; margin-bottom: 20px;
  }
  .article-title {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600;
    font-size: clamp(22px, 4vw, 30px);
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: 20px;
  }
  .article-meta {
    font-family: "Inter", sans-serif;
    font-size: 12px; color: var(--sub);
    display: flex; gap: 20px; flex-wrap: wrap;
  }
  .article-meta time { letter-spacing: 0.04em; }

  /* ===== アフィリエイト広告に関する表示 ===== */
  .cn-affiliate-notice {
    background: #f3f1eb;
    color: var(--sub);
    font-size: 12px;
    padding: 12px 16px;
    margin: 24px 0 0;
    border-radius: 4px;
    font-family: "Inter", "Noto Serif JP", sans-serif;
    line-height: 1.75;
  }

  /* ===== 導入 / サマリー ===== */
  .article-lead {
    padding: 28px 0;
    font-size: 16px; line-height: 2;
    color: var(--sub);
    border-bottom: 1px solid var(--rule);
  }

  .cn-summary {
    background: #f0f7f4;
    border-left: 4px solid var(--green);
    border-radius: 0 6px 6px 0;
    padding: 22px 24px;
    margin: 28px 0 36px;
    font-size: 15px; line-height: 1.95;
    color: var(--ink);
  }
  .cn-summary::before {
    content: "この記事の結論";
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 11px; letter-spacing: 0.22em;
    color: var(--green); text-transform: uppercase;
    font-weight: 500; margin-bottom: 10px;
  }

  /* ===== 目次 ===== */
  .toc {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 22px 24px;
    margin: 0 0 48px;
  }
  .toc__title {
    font-family: "Inter", sans-serif;
    font-size: 11px; letter-spacing: 0.24em;
    color: var(--sub); text-transform: uppercase;
    margin-bottom: 14px;
  }
  .toc ol { padding-left: 18px; }
  .toc li { font-size: 14px; line-height: 1.7; margin-bottom: 6px; }
  .toc a { color: var(--green); text-decoration: none; }
  .toc a:hover { text-decoration: underline; }

  /* ===== 本文 ===== */
  .article-body { padding-top: 8px; }

  .article-body h2 {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600;
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.5;
    color: var(--ink);
    margin: 64px 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--green);
    letter-spacing: 0.02em;
  }

  .article-body h3 {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600;
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.6;
    color: var(--green);
    margin: 40px 0 16px;
    padding-left: 14px;
    border-left: 3px solid var(--green);
    letter-spacing: 0.02em;
  }

  .article-body p {
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 20px;
    color: var(--ink);
  }

  .article-body a {
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--green3);
    text-underline-offset: 3px;
  }
  .article-body a:hover { text-decoration-color: var(--green); }

  .mark {
    background: linear-gradient(transparent 62%, rgba(244,162,97,0.45) 62%, rgba(244,162,97,0.45) 94%, transparent 94%);
    padding: 0 2px;
  }

  /* ===== 副業カード ===== */
  .fukugyo-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin: 28px 0 36px;
  }
  .fukugyo-card__header {
    background: var(--green);
    color: #fff;
    padding: 14px 20px;
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600; font-size: 17px;
    letter-spacing: 0.02em;
    display: flex; align-items: center; gap: 10px;
  }
  .fukugyo-card__header--amber { background: var(--amber); color: var(--ink); }
  .fukugyo-card__header--green2 { background: var(--green2); }
  .fukugyo-card__badge-label {
    font-family: "Inter", sans-serif;
    font-size: 10px; letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.25);
    font-weight: 500;
    white-space: nowrap;
  }
  .fukugyo-card__body {
    padding: 0;
  }
  .fukugyo-card__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
  }
  .fukugyo-card__row:last-child { border-bottom: none; }
  .fukugyo-card__label {
    padding: 12px 16px;
    background: rgba(45,106,79,0.04);
    color: var(--sub);
    font-family: "Inter", sans-serif;
    font-size: 12px; letter-spacing: 0.04em;
    border-right: 1px solid var(--rule);
    display: flex; align-items: center;
  }
  .fukugyo-card__value {
    padding: 12px 16px;
    color: var(--ink);
    line-height: 1.7;
  }
  .star { color: var(--amber); }
  .star-empty { color: var(--rule); }

  /* ===== ステップリスト ===== */
  .step-list {
    list-style: none;
    padding: 0; margin: 24px 0 32px;
    counter-reset: step-counter;
  }
  .step-list li {
    counter-increment: step-counter;
    padding: 18px 20px 18px 64px;
    position: relative;
    border-bottom: 1px solid var(--rule);
    font-size: 15px; line-height: 1.8;
    color: var(--ink);
  }
  .step-list li:first-child { border-top: 1px solid var(--rule); }
  .step-list li::before {
    content: counter(step-counter);
    position: absolute; left: 16px; top: 16px;
    width: 32px; height: 32px;
    background: var(--green);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 600; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    line-height: 1;
  }
  .step-list li strong {
    display: block;
    font-weight: 600; margin-bottom: 4px;
    font-size: 16px;
  }

  /* ===== ペルソナカード ===== */
  .persona-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin: 32px 0 40px;
  }
  .persona-section__header {
    padding: 16px 22px;
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600; font-size: 18px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--rule);
    display: flex; align-items: center; gap: 12px;
  }
  .persona-tag {
    font-family: "Inter", sans-serif;
    font-size: 10px; letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
  }
  .persona-tag--housewife { background: rgba(244,162,97,0.18); color: #b86a20; }
  .persona-tag--student   { background: rgba(82,183,136,0.18); color: #1f7a51; }
  .persona-tag--salaryman { background: rgba(45,106,79,0.14);  color: #2d6a4f; }
  .persona-section__body { padding: 20px 22px 22px; }
  .persona-section__body p {
    font-size: 15px; line-height: 1.9;
    margin-bottom: 16px; color: var(--ink);
  }
  .persona-section__body p:last-child { margin-bottom: 0; }
  .persona-reality {
    background: rgba(45,106,79,0.05);
    border-left: 3px solid var(--green3);
    border-radius: 0 4px 4px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px; line-height: 1.85;
    color: var(--sub);
  }

  /* ===== ツールカード ===== */
  .tool-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 18px;
    align-items: start;
  }
  .tool-card__num {
    font-family: "Inter", sans-serif;
    font-weight: 600; font-size: 22px;
    color: var(--green); line-height: 1;
    padding-top: 2px;
  }
  .tool-card__name {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600; font-size: 17px;
    color: var(--ink); margin-bottom: 4px;
  }
  .tool-card__badge {
    display: inline-block;
    background: rgba(45,106,79,0.10);
    color: var(--green);
    font-family: "Inter", sans-serif;
    font-size: 10px; padding: 2px 8px;
    border-radius: 3px; font-weight: 500;
    letter-spacing: 0.06em;
    margin-left: 8px;
    vertical-align: middle;
  }
  .tool-card__desc {
    font-size: 14px; line-height: 1.8; color: var(--sub);
    grid-column: 2;
  }

  /* ===== FAQ ===== */
  .faq-item {
    border: 1px solid var(--rule);
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
  }
  .faq-item__q {
    background: rgba(45,106,79,0.06);
    padding: 16px 20px;
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600; font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    display: flex; align-items: flex-start; gap: 12px;
  }
  .faq-item__q::before {
    content: "Q";
    font-family: "Inter", sans-serif;
    font-weight: 700; font-size: 14px;
    color: var(--green);
    background: rgba(45,106,79,0.12);
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .faq-item__a {
    padding: 16px 20px;
    font-size: 15px; line-height: 1.9;
    color: var(--sub);
    border-top: 1px solid var(--rule);
    display: flex; align-items: flex-start; gap: 12px;
  }
  .faq-item__a::before {
    content: "A";
    font-family: "Inter", sans-serif;
    font-weight: 700; font-size: 14px;
    color: var(--amber);
    background: rgba(244,162,97,0.14);
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ===== 注意・情報ボックス ===== */
  .alert-box {
    background: rgba(199,125,78,0.08);
    border: 1px solid rgba(199,125,78,0.35);
    border-radius: 6px;
    padding: 18px 20px;
    margin: 28px 0;
    font-size: 15px; line-height: 1.85;
  }
  .alert-box__title {
    font-weight: 600; color: var(--warn);
    margin-bottom: 8px; font-size: 14px;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.06em;
  }

  .info-box {
    background: rgba(45,106,79,0.06);
    border: 1px solid rgba(45,106,79,0.25);
    border-radius: 6px;
    padding: 18px 20px;
    margin: 28px 0;
    font-size: 15px; line-height: 1.85;
  }
  .info-box__title {
    font-weight: 600; color: var(--green);
    margin-bottom: 8px; font-size: 14px;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.06em;
  }

  /* ===== チェックリスト ===== */
  .checklist {
    list-style: none;
    padding: 0; margin: 20px 0 28px;
  }
  .checklist li {
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid var(--rule);
    font-size: 15px; line-height: 1.75;
    color: var(--ink);
  }
  .checklist li:first-child { border-top: 1px solid var(--rule); }
  .checklist li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--green); font-weight: 600;
    font-family: "Inter", sans-serif;
  }

  /* ===== 比較表 ===== */
  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 32px 0 40px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 20px 100% no-repeat,
      linear-gradient(to right, rgba(255,255,255,0), #fff 70%) right center / 20px 100% no-repeat,
      linear-gradient(to right, rgba(45,106,79,0.10), rgba(45,106,79,0)) left center / 8px 100% no-repeat,
      linear-gradient(to left,  rgba(45,106,79,0.10), rgba(45,106,79,0)) right center / 8px 100% no-repeat;
    background-attachment: local, local, scroll, scroll;
  }
  .comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
  }
  .comparison-table th {
    background: var(--green);
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-family: "Inter", "Noto Serif JP", sans-serif;
    font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
  }
  .comparison-table td {
    padding: 14px 14px;
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
    line-height: 1.7;
  }
  .comparison-table tr:last-child td { border-bottom: none; }
  .comparison-table tr:nth-child(even) td { background: rgba(45,106,79,0.04); }
  .table-scroll-hint {
    display: none;
    margin: 8px 0 6px;
    font-family: "Inter", "Noto Serif JP", sans-serif;
    font-size: 11px;
    color: var(--green);
    letter-spacing: 0.04em;
    text-align: right;
    padding-right: 4px;
  }
  @media (max-width: 600px) {
    .table-scroll-hint { display: block; }
  }

  /* ===== CTA ===== */
  .cta-block {
    background: linear-gradient(135deg, rgba(45,106,79,0.07) 0%, rgba(244,162,97,0.08) 100%);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 28px 28px 24px;
    margin: 36px 0;
    text-align: center;
  }
  .cta-block__title {
    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-weight: 600; font-size: 17px;
    color: var(--ink); margin-bottom: 10px;
    letter-spacing: 0.02em;
  }
  .cta-block__desc {
    font-size: 14px; color: var(--sub);
    margin-bottom: 20px; line-height: 1.8;
  }
  .cta-btns {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center;
  }
  .cta-btn {
    display: inline-block;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 13px; font-weight: 500;
    padding: 11px 24px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
  }
  .cta-btn:hover { opacity: 0.85; }
  .cta-btn--amber { background: var(--amber); color: var(--ink); }
  .cta-note {
    font-size: 11px; color: var(--sub);
    margin-top: 10px;
    font-family: "Inter", sans-serif;
  }

  /* ===== 内部リンク ===== */
  a.internal-link {
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--green3);
  }
  a.internal-link[data-status="coming-soon"]::after {
    content: " (準備中)";
    font-size: 11px;
    color: var(--sub);
    font-family: "Inter", sans-serif;
  }

  /* ===== 区切り線 ===== */
  .divider {
    width: 60px; height: 1px;
    background: var(--rule);
    border: 0;
    margin: 48px 0;
  }

  /* ===== まとめ・著者 ===== */
  .article-footer {
    padding: 40px 0 0;
    border-top: 1px solid var(--rule);
    margin-top: 64px;
  }
  .article-credit {
    font-family: "Inter", sans-serif;
    font-size: 12px; color: var(--sub);
    line-height: 1.8;
  }

  /* ===== 関連記事 ===== */
  .related-articles { margin-top: 48px; }
  .related-articles h3 {
    font-size: 16px !important;
    border-bottom: 1px solid var(--rule) !important;
    border-left: none !important;
    padding-left: 0 !important;
    color: var(--sub) !important;
    font-weight: 500 !important;
    margin-top: 0 !important;
  }
  .related-list {
    list-style: none;
    padding: 0; margin: 16px 0 0;
  }
  .related-list li {
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
  }
  .related-list a {
    color: var(--ink); text-decoration: none;
    font-size: 15px;
    display: flex; align-items: center; gap: 10px;
  }
  .related-list a:hover { color: var(--green); }
  .related-list a::before {
    content: "→";
    color: var(--green); font-family: "Inter", sans-serif;
    flex-shrink: 0;
  }

  /* ===== サイトフッター ===== */
  .site-footer {
    max-width: 960px; margin: 64px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid var(--rule);
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 12px; color: var(--sub);
  }

  /* ===== レスポンシブ ===== */
  @media (max-width: 600px) {
    .site-header { padding: 14px 18px; }
    .breadcrumb { padding: 10px 18px; }
    .article-wrap { padding: 0 18px; }
    .article-title { font-size: 20px; }
    .tool-card { grid-template-columns: 1fr; }
    .tool-card__desc { grid-column: 1; }
    .cta-block { padding: 22px 18px 20px; }
    .cn-summary { padding: 18px 18px; }
    .fukugyo-card__row { grid-template-columns: 100px 1fr; }
  }

  /* アフィリリンク向けスタイル */
  a.aff-link { color: var(--green); font-weight: 500; }
  /* アフィリ CTA ボタン。どの背景(表のセル・カード等)でも視認できるよう、
     緑の塗り + 白文字の「ボタン」にする(旧: 緑下線リンクで文脈により視認性が弱かった)。
     管理画面でアフィリを登録すると href が計測URL(/go/..)に差し替わる(ArticleController)。*/
  .cta-link {
    display: inline-block;
    background: var(--green, #2d6a4f);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    transition: background .15s;
  }
  .cta-link:hover { background: var(--green2, #40916c); color: #fff !important; }
  /* 管理画面にまだアフィリ未登録のときは、空の誘導(href="#")を出さず非表示にする */
  .cta-link--empty { display: none !important; }
