/* ============================================================
   Carbonlink Research — front-page v2 (2026-08-18 editorial color system)
   CLF2_LEARNING_COMPONENT_VERSION: 20260812
   スコープ: トップページの clf2- プレフィックスのみ。記事本文には一切触れない。
   配色はメディア正典（ivory / forest / brass / ink）を採用。
   緑はリンク・操作に限定し、生成系LPに見えるミント全面色・グラデーション・
   装飾は証券印刷を想起させる静かなギヨシェ線に限定し、反復する緑アクセントを使用しない。
   フォントは media.css の --serif/--sans/--mono を再利用（メディアの独自性維持）。
   ============================================================ */

:root {
  --clf2-bg: #f7f5ef;        /* editorial ivory */
  --clf2-surface: #ffffff;
  --clf2-alt: #f7f5ef;
  --clf2-ink: #101820;
  --clf2-muted: #123f32;
  --clf2-line: #b08d57;
  --clf2-line-dark: #b08d57;
  --clf2-green: #1a6b52;     /* actionable links and controls only */
  --clf2-green-2: #123f32;   /* hover */
  --clf2-fresh: #b08d57;     /* editorial rule / dark-surface accent */
  --clf2-badge: #f7f5ef;
  --clf2-dark: #101820;
  --clf2-dark-2: #101820;
  --clf2-grad: #101820;
  --clf2-news: #b3261e;      /* 速報のみの機能色 */
  --clf2-shadow-sm: none;
  --clf2-shadow-md: none;
  --clf2-max: 1240px;
}

.clf2-arrow {
  display: inline-block;
  font-style: normal;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
a:hover .clf2-arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
   帯セクションの full-bleed 化
   （style.css の front LP と同じ calc(50vw) 方式。
     はみ出しは #body_wrap 側の overflow-x: clip で吸収）
   ------------------------------------------------------------ */
.clf2-hero,
.clf2-main,
.clf2-cta {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* SWELL .post_content が注入するブロック間マージンを殺し、帯を密着させる
   （stats のヒーロー半重ね・CTA帯とフッターの密着に必須） */
.post_content .clf2-hero { margin-top: 0 !important; margin-bottom: 0 !important; }
.post_content .clf2-main { margin-top: 0 !important; margin-bottom: 0 !important; }
.post_content .clf2-cta { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ------------------------------------------------------------
   本番トップ(page 143 = home): 全幅化・サイドバー非表示は style.css の
   #body_wrap.home 既存規則が担う。ここでは地色と上余白のみ v2 用に上書き
   （style.css のアイボリー#f7f5efに読み込み順で勝つ）
   ------------------------------------------------------------ */
#body_wrap.home { background: var(--clf2-bg); }
#body_wrap.home .l-header__bar { background: var(--clf2-ink); }
#body_wrap.home .l-footer { background: var(--clf2-ink) !important; }
#body_wrap.home .l-content { padding-top: 0 !important; margin-top: 0 !important; }
#body_wrap.home .l-mainContent,
#body_wrap.home .post_content { margin-top: 0 !important; padding-top: 0 !important; }

/* ------------------------------------------------------------
   SWELL .post_content の見出しスタイル（緑帯・serif化）を clf2 内では無効化
   （style.css の「heading hijack」対策と同じ趣旨。clf2- 見出しは自前で描く）
   ------------------------------------------------------------ */
.post_content .clf2-hero h1,
.post_content .clf2-hero h2,
.post_content .clf2-main h2,
.post_content .clf2-main h3,
.post_content .clf2-cta h2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.post_content .clf2-hero__title { color: #fff !important; }
.post_content .clf2-flash__h { color: #fff !important; font-family: var(--serif) !important; }
.post_content .clf2-section-h2 { color: var(--clf2-ink) !important; font-family: var(--serif) !important; font-size: 23px !important; margin: 0 !important; }
.post_content .clf2-side-h { color: var(--clf2-ink) !important; font-family: var(--serif) !important; font-size: 17px !important; margin: 0 0 12px !important; }
.post_content .clf2-guide__q { color: var(--clf2-ink) !important; font-family: var(--sans) !important; font-size: 15px !important; font-weight: 700 !important; margin: 0 0 8px !important; }
.post_content .clf2-learning-start__title { color: #fff !important; font-family: var(--serif) !important; font-size: 19px !important; margin: 0 0 8px !important; }
.post_content .clf2-hub__name { font-family: var(--serif) !important; font-size: 17px !important; margin: 0 0 8px !important; }
.post_content .clf2-cta__title { color: #fff !important; font-family: var(--serif) !important; }

/* ------------------------------------------------------------
   ヒーロー帯（墨色の編集面）
   ------------------------------------------------------------ */
.clf2-hero {
  position: relative;
  overflow: hidden;
  background: #123f32;
  color: #fff;
  padding: 52px 24px 96px; /* 下は stats の半重ね分 */
}
.clf2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./media-hero-guilloche.svg") no-repeat right top / min(78vw, 1000px) 100%;
  pointer-events: none;
}
.clf2-hero__ring {
  display: none;
}
.clf2-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--clf2-max);
  margin: 0 auto;
}
.clf2-hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--clf2-fresh);
  margin: 0 0 14px;
}
.clf2-hero__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.45;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.clf2-hero__lede {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px;
}

.clf2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: start;
}

/* 最新解説の一極集中フィーチャー */
.clf2-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.clf2-feature__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  outline: 1px solid var(--clf2-fresh);
  outline-offset: -1px;
}
.clf2-feature__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.clf2-feature:hover .clf2-feature__thumb img { transform: scale(1.03); }
.clf2-feature__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.clf2-feature__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.clf2-feature__cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clf2-ink);
  background: var(--clf2-badge);
  border-radius: 2px;
  padding: 3px 12px;
}
.clf2-feature__date {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.clf2-feature__title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  font-weight: 700;
  color: #fff;
  transition: color 0.15s;
}
.clf2-feature:hover .clf2-feature__title { color: #f7f5ef; text-decoration: underline; }
.clf2-feature__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--clf2-fresh);
}

/* 速報リスト（右） */
.clf2-flash {
  border-left: 1px solid var(--clf2-line-dark);
  padding-left: 32px;
  min-width: 0;
}
.clf2-flash__h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.clf2-flash__sub {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--clf2-fresh);
}
.clf2-flash__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.clf2-flash__list li { border-bottom: 1px solid var(--clf2-line-dark); }
.clf2-flash__list li:last-child { border-bottom: 0; }
.clf2-flash__list a {
  display: block;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.clf2-flash__date {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
}
.clf2-flash__title {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.15s;
}
.clf2-flash__list a:hover .clf2-flash__title { color: var(--clf2-fresh); }
.clf2-flash__more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clf2-fresh);
  text-decoration: none;
}
.clf2-flash__more:hover { color: #f7f5ef; }

/* ------------------------------------------------------------
   本文エリア（生成りの紙面）と実績ストリップ
   ------------------------------------------------------------ */
.clf2-main {
  background: var(--clf2-bg);
  padding: 0 24px 64px;
}
.clf2-stats {
  position: relative;
  z-index: 2;
  max-width: var(--clf2-max);
  margin: -56px auto 0;
}
.clf2-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--clf2-surface);
  border-radius: 4px;
  box-shadow: var(--clf2-shadow-md);
  overflow: hidden;
}
.clf2-stat {
  padding: 26px 28px 22px;
  border-left: 1px solid var(--clf2-line);
  text-align: center;
}
.clf2-stat:first-child { border-left: 0; }
.clf2-stat__num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--clf2-ink);
  margin: 0 0 4px;
}
.clf2-stat__num--name { font-size: 24px; padding-top: 6px; }
.clf2-stat__unit {
  font-size: 14px;
  margin-left: 2px;
}
.clf2-stat__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clf2-ink);
  margin: 0 0 2px;
}
.clf2-stat__note {
  font-size: 11px;
  color: var(--clf2-muted);
  margin: 0;
}

/* セクション見出し（eyebrow + serif） */
.clf2-section-head { margin: 0 0 22px; }
.clf2-section-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clf2-muted);
  margin: 0 0 6px;
}
.clf2-section-h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--clf2-ink);
  margin: 0;
}

/* ------------------------------------------------------------
   2カラム: 新着フィード + サイドレール
   ------------------------------------------------------------ */
.clf2-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 48px;
  max-width: var(--clf2-max);
  margin: 0 auto;
  padding-top: 52px;
  align-items: start;
}
.clf2-col-main { min-width: 0; }
.clf2-col-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.clf2-side-h {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--clf2-ink);
  margin: 0 0 12px;
}

/* 新着フィード（白カード面） */
.clf2-feed {
  list-style: none;
  margin: 0;
  padding: 6px 26px;
  background: var(--clf2-surface);
  border-radius: 4px;
  border: 1px solid var(--clf2-line);
  box-shadow: var(--clf2-shadow-sm);
}
.clf2-feed-item { border-bottom: 1px solid var(--clf2-line); }
.clf2-feed-item:last-child { border-bottom: 0; }

.clf2-card-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}
.clf2-card-row__thumb {
  flex: 0 0 176px;
  width: 176px;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background: var(--clf2-alt);
}
.clf2-card-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.clf2-card-row:hover .clf2-card-row__thumb img { transform: scale(1.04); }
.clf2-card-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 2px;
}
.clf2-card-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.clf2-card-row__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--clf2-ink);
  background: var(--clf2-alt);
  border-radius: 2px;
  padding: 2px 10px;
}
.clf2-card-row__date {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--clf2-muted);
}
.clf2-card-row__title {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--clf2-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.clf2-card-row:hover .clf2-card-row__title { color: var(--clf2-green); }
.clf2-phrase {
  display: inline-block;
  white-space: nowrap;
}

.clf2-news-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.clf2-news-row__date {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--clf2-muted);
  flex: 0 0 auto;
}
.clf2-news-row__badge {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clf2-news);
  background: rgba(179, 38, 30, 0.07);
  border: 1px solid rgba(179, 38, 30, 0.28);
  border-radius: 4px;
  padding: 1px 7px;
}
.clf2-news-row__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--clf2-ink);
  transition: color 0.15s;
}
.clf2-news-row:hover .clf2-news-row__title { color: var(--clf2-green); }

.clf2-feed-more {
  text-align: center;
  margin-top: 22px;
}
.clf2-feed-more a {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--clf2-green);
  border-radius: 999px;
  padding: 12px 30px;
  text-decoration: none;
  transition: background 0.15s;
}
.clf2-feed-more a:hover { background: var(--clf2-green-2); }

/* まず読む（編集部ピック） */
.clf2-picks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.clf2-pick {
  display: flex;
  gap: 14px;
  background: var(--clf2-surface);
  border-radius: 4px;
  border: 1px solid var(--clf2-line);
  padding: 18px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--clf2-shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.clf2-pick:hover { box-shadow: var(--clf2-shadow-md); transform: translateY(-2px); }
.clf2-pick__no {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--clf2-ink);
  flex: 0 0 auto;
  padding-top: 2px;
}
.clf2-pick__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.clf2-pick__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--clf2-ink);
}
.clf2-pick__title {
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--clf2-ink);
  transition: color 0.15s;
}
.clf2-pick:hover .clf2-pick__title { color: var(--clf2-green); }
.clf2-pick__lede {
  font-size: 12px;
  line-height: 1.7;
  color: var(--clf2-muted);
}

/* サイドCTA（無料相談） */
.clf2-side-cta {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  padding: 24px;
  background: var(--clf2-surface);
  color: var(--clf2-ink);
  border: 1px solid var(--clf2-line);
  box-shadow: var(--clf2-shadow-md);
}
.clf2-side-cta::after {
  content: none;
}
.clf2-side-cta__title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 8px;
}
.clf2-side-cta__desc {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--clf2-muted);
  margin: 0 0 14px;
}
.clf2-side-cta__btn {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--clf2-green);
  border-radius: 4px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.15s;
}
.clf2-side-cta__btn:hover { background: var(--clf2-green-2); }

/* 右レール内のメルマガバナー: 縦積みに組み替え（v1と同じ理由） */
.clf2-col-side .cl-nl-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
.clf2-col-side .cl-nl-banner__btn { align-self: stretch; text-align: center; }

/* ------------------------------------------------------------
   目的別ガイド
   ------------------------------------------------------------ */
.clf2-guides-section {
  max-width: var(--clf2-max);
  margin: 0 auto;
  padding-top: 56px;
}
.clf2-guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.clf2-guide {
  display: flex;
  flex-direction: column;
  background: var(--clf2-surface);
  border-radius: 4px;
  padding: 22px 20px 18px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--clf2-shadow-sm);
  border: 1px solid var(--clf2-line);
  border-top: 3px solid var(--clf2-fresh);
  transition: box-shadow 0.2s, transform 0.2s;
}
.clf2-guide:hover { box-shadow: var(--clf2-shadow-md); transform: translateY(-2px); }
.clf2-guide__q {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--clf2-ink);
  margin: 0 0 8px;
}
.clf2-guide__a {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--clf2-muted);
  margin: 0 0 14px;
  flex: 1 1 auto;
}
.clf2-guide__cta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clf2-green);
}

/* ------------------------------------------------------------
   法人担当者向け・5記事の学習導線
   ------------------------------------------------------------ */
.clf2-learning-section {
  max-width: var(--clf2-max);
  margin: 0 auto;
  padding-top: 56px;
}
.clf2-learning-section__lede {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--clf2-muted);
}
.clf2-learning-start {
  display: grid;
  grid-template-columns: minmax(0, 1.618fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 4px;
  background: var(--clf2-surface);
  border: 1px solid var(--clf2-line);
  box-shadow: var(--clf2-shadow-md);
}
.clf2-learning-start__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--clf2-muted);
}
.clf2-learning-start__title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--clf2-ink);
}
.clf2-learning-start__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--clf2-muted);
}
.clf2-learning-start__link {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--clf2-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.clf2-learning-start__link:hover { background: var(--clf2-green-2); }
.clf2-learning-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.clf2-learning-item { min-width: 0; }
.clf2-learning-item a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid var(--clf2-line);
  border-top: 3px solid var(--clf2-fresh);
  border-radius: 4px;
  background: var(--clf2-surface);
  box-shadow: var(--clf2-shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.clf2-learning-item a:hover { box-shadow: var(--clf2-shadow-md); transform: translateY(-2px); }
.clf2-learning-item__no {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clf2-muted);
}
.clf2-learning-item__label {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--clf2-green);
}
.clf2-learning-item__title {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--clf2-ink);
}
.clf2-learning-item__more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clf2-green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------
   分野別ハブ
   ------------------------------------------------------------ */
.clf2-hubs-section {
  max-width: var(--clf2-max);
  margin: 0 auto;
  padding-top: 56px;
}
.clf2-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.clf2-hub {
  background: var(--clf2-surface);
  border-radius: 4px;
  border: 1px solid var(--clf2-line);
  padding: 24px 22px 20px;
  box-shadow: var(--clf2-shadow-sm);
}
.clf2-hub--glossary { background: var(--clf2-alt); box-shadow: none; }
.clf2-hub__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.clf2-hub__name a { color: var(--clf2-ink); text-decoration: none; }
.clf2-hub__name a:hover { color: var(--clf2-green); }
.clf2-hub__desc {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--clf2-muted);
  margin: 0 0 12px;
}
.clf2-hub__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--clf2-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clf2-hub__list a {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--clf2-ink);
  text-decoration: none;
}
.clf2-hub__list a:hover { color: var(--clf2-green); text-decoration: underline; }
.clf2-hub__more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clf2-green);
  text-decoration: none;
}

/* ------------------------------------------------------------
   大型相談CTA帯（墨色の編集面）
   ------------------------------------------------------------ */
.clf2-cta {
  position: relative;
  overflow: hidden;
  background: var(--clf2-grad);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}
.clf2-cta__ring {
  display: none;
}
.clf2-cta__ring--a { width: 560px; height: 560px; bottom: -300px; left: -140px; }
.clf2-cta__ring--b { width: 420px; height: 420px; top: -240px; right: -100px; }
.clf2-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.clf2-cta__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clf2-fresh);
  margin: 0 0 12px;
}
.clf2-cta__title {
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 700;
  margin: 0 0 14px;
}
.clf2-cta__desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
}
.clf2-cta__btn {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--clf2-green);
  border-radius: 4px;
  padding: 14px 40px;
  text-decoration: none;
  transition: background 0.15s;
}
.clf2-cta__btn:hover { background: var(--clf2-green-2); }
.clf2-cta__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
}

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .clf2-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .clf2-flash { border-left: 0; border-top: 1px solid var(--clf2-line-dark); padding-left: 0; padding-top: 24px; }
  .clf2-cols { grid-template-columns: 1fr; gap: 36px; }
  .clf2-guides { grid-template-columns: repeat(2, 1fr); }
  .clf2-learning-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clf2-hubs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .clf2-hero { padding: 40px 20px 88px; }
  .clf2-hero::before {
    background-position: -60px 125px;
    background-size: 650px 423px;
    opacity: 0.72;
  }
  .clf2-feature { grid-template-columns: 1fr; gap: 16px; }
  .clf2-main { padding: 0 20px 52px; }
  .clf2-stats { margin-top: -52px; }
  .clf2-stats__grid { grid-template-columns: 1fr; }
  .clf2-stat { border-left: 0; border-top: 1px solid var(--clf2-line); padding: 18px 20px 16px; }
  .clf2-stat:first-child { border-top: 0; }
  .clf2-card-row__thumb { flex-basis: 116px; width: 116px; }
  .clf2-card-row__title { font-size: 14.5px; }
  .clf2-feed { padding: 4px 18px; }
  .clf2-learning-start { grid-template-columns: 1fr; padding: 24px 22px; }
  .clf2-hubs-grid { grid-template-columns: 1fr; }
  .clf2-cta { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .clf2-guides { grid-template-columns: 1fr; }
  .clf2-learning-list { grid-template-columns: 1fr; }
  .clf2-card-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 16px;
    gap: 8px 12px;
  }
  .clf2-card-row__thumb {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    flex-basis: auto;
    width: 96px;
  }
  .clf2-card-row__body {
    display: contents;
  }
  .clf2-card-row__meta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .clf2-card-row__cat {
    padding: 2px 7px;
    white-space: nowrap;
  }
  .clf2-card-row__title {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    overflow: visible;
    font-size: 14px;
    line-height: 1.65;
    -webkit-line-clamp: unset;
  }
  .clf2-card-row--no-thumb {
    grid-template-columns: minmax(0, 1fr) 16px;
  }
  .clf2-card-row--no-thumb .clf2-card-row__thumb {
    display: none;
  }
  .clf2-card-row--no-thumb .clf2-card-row__meta {
    grid-column: 1;
  }
  .clf2-card-row::after {
    grid-column: -2;
    grid-row: 1;
    position: static;
    margin-left: 0;
  }
}

/* ------------------------------------------------------------
   リンク可視化（2026-08-07 本人FB: 緑一色でどこが押せるか分からない）
   ルール: テキストリンク=下線 ／ 行・カード全体リンク=右端に矢印チップ
   ------------------------------------------------------------ */
.clf2-guide__cta,
.clf2-hub__more,
.clf2-flash__more,
.clf2-feature__more,
.clf2-feed-more a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}
.clf2-flash__more,
.clf2-feature__more {
  text-decoration-color: currentColor;
}
.clf2-feed-more a { text-decoration-color: rgba(255, 255, 255, 0.55); }
.clf2-guide__cta:hover,
.clf2-hub__more:hover,
.clf2-flash__more:hover,
.clf2-feature__more:hover { text-decoration-color: currentColor; }

.clf2-hub__name a,
.clf2-hub__list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}
.clf2-hub__name a:hover,
.clf2-hub__list a:hover { text-decoration-color: currentColor; }

/* 行・カード全体リンクの矢印チップ */
.clf2-card-row::after,
.clf2-news-row::after,
.clf2-pick::after {
  content: "→";
  flex: 0 0 auto;
  align-self: center;
  font-weight: 700;
  color: var(--clf2-ink);
  opacity: 0.75;
  margin-left: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.clf2-card-row:hover::after,
.clf2-news-row:hover::after,
.clf2-pick:hover::after { opacity: 1; transform: translateX(3px); }

.clf2-flash__list a { position: relative; padding-right: 22px; }
.clf2-flash__list a::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--clf2-fresh);
  opacity: 0.7;
}

/* Front-page newsletter blocks share the same editorial paper treatment. */
#body_wrap.home .cl-nl-banner {
  background: var(--clf2-surface);
  color: var(--clf2-ink);
  border: 1px solid var(--clf2-line);
  border-radius: 4px;
  box-shadow: none;
}
#body_wrap.home .cl-nl-banner:hover { color: var(--clf2-ink); box-shadow: none; }
#body_wrap.home .cl-nl-banner__icon,
#body_wrap.home .cl-nl-banner__title { color: var(--clf2-ink); }
#body_wrap.home .cl-nl-banner__desc { color: var(--clf2-muted); }
#body_wrap.home .cl-nl-banner__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--clf2-green);
  color: #fff;
}
#body_wrap.home .cl-nl-banner__btn:hover { background: var(--clf2-green-2); }
#body_wrap.home .l-footer .cl-nl-banner,
#body_wrap.home .l-footer .cl-nl-banner:hover { color: var(--clf2-ink); }
#body_wrap.home .l-footer .cl-nl-banner .cl-nl-banner__title,
#body_wrap.home .l-footer .cl-nl-banner .cl-nl-banner__icon { color: var(--clf2-ink); }
#body_wrap.home .l-footer .cl-nl-banner .cl-nl-banner__desc { color: var(--clf2-muted); }
#body_wrap.home .l-footer .cl-nl-banner .cl-nl-banner__btn { color: #fff; }

.clf2-hero a:focus-visible,
.clf2-cta a:focus-visible {
  outline: 3px solid var(--clf2-fresh);
  outline-offset: 3px;
}
.clf2-main a:focus-visible,
#body_wrap.home .cl-nl-banner:focus-visible {
  outline: 3px solid var(--clf2-muted);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .clf2-flash__more,
  .clf2-hub__more {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clf2-arrow,
  .clf2-feature__thumb img,
  .clf2-card-row__thumb img,
  .clf2-pick,
  .clf2-guide,
  .clf2-learning-item a {
    transition: none;
  }
}
