/* ============================================================
   column-v2.css — デザイン改修 サンドボックス用スタイル

   column.css の全スタイルをベースに、以下の改善を試験実装:
   1. 追加CSS変数（タイポグラフィ体系）
   2. Article h2: ライトグレー下線 → ネイビー左枠線
   3. フッター背景: ネイビー → ライトグレー
   4. CTAセクション: グラデーション → ホワイト
   5. セクション見出し: 英語ラベル+日本語 2層構造
   ============================================================ */

/* ============================================================
   追加 CSS Variables (common.css の変数を拡充)
   ============================================================ */
:root {
    /* タイポグラフィ体系 (提案書 §3 より) */
    --font-accent: 'Inter', sans-serif;
    --text-hero: clamp(32px, 5vw, 56px);
    --text-section-label: 0.75rem;
    --text-section-title: clamp(24px, 3vw, 40px);
    --text-subsection: clamp(18px, 2vw, 24px);
    --text-body-responsive: clamp(15px, 1.1vw, 16px);
    --text-small-responsive: clamp(12px, 0.9vw, 14px);
    --text-impact-number: clamp(40px, 6vw, 72px);

    /* ウェイト */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-bold: 700;

    /* 行間 */
    --leading-tight: 1.4;
    --leading-normal: 1.8;
    --leading-relaxed: 2.0;

    /* 字間 */
    --tracking-tight: -0.01em;
    --tracking-normal: 0.04em;
    --tracking-wide: 0.12em;

    /* レイアウト */
    --content-narrow: 800px;
    --content-padding-x: clamp(16px, 4vw, 40px);
    --section-padding-y: clamp(64px, 8vw, 120px);
}


/* ============================================================
   OVERRIDE: 不要要素の非表示（top.css と同様）
   footer__cta: CTA セクションが役割を担うため不要
   floating-cta: トップ・コラムに存在しない要素
   ============================================================ */
.footer__cta {
    display: none;
}
.floating-cta {
    display: none;
}


/* ============================================================
   OVERRIDE: Header → ネイビー（ブックエンド上部）
   根拠: CTAセクションがネイビーなら、ヘッダーもネイビーで上下を締める
   ============================================================ */
.header {
    background: var(--color-navy);
    border-bottom: none;
}
.header__logo {
    color: white;
}
.header__logo-mark {
    background: white;
    color: var(--color-navy);
}
.header__nav-item {
    color: rgba(255,255,255,0.85);
}
.header__nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.header__dropdown-menu {
    background: var(--color-navy);
    border-color: rgba(255,255,255,0.15);
}
.header__dropdown-item {
    color: rgba(255,255,255,0.8);
}
.header__dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.header__hamburger span {
    background: white;
}

/* モバイル: ナビオーバーレイ内のテキスト色を上書き（白背景に白文字になるのを防止） */
@media (max-width: 1023px) {
    .header__nav-item {
        color: var(--color-navy);
    }
    .header__nav-item:hover {
        color: var(--color-navy);
    }
    .header__dropdown-menu {
        background: var(--color-white);
        border-color: #E5E7EB;
    }
    .header__dropdown-item {
        color: var(--color-navy);
    }
    .header__dropdown-item:hover {
        color: var(--color-navy);
    }
}
.header__line-btn {
    background: white;
    color: var(--color-navy);
}
.header__line-btn:hover {
    background: var(--color-light-gray);
    color: var(--color-navy);
}
/* デスクトップ: LINEボタン右端を本文右端に揃える */
@media (min-width: 1200px) {
    .header__hamburger {
        display: none !important;
    }
    .header__line-btn {
        margin-right: calc((var(--content-max-width) - 2 * var(--content-padding) - 780px) / 2);
    }
}


/* ============================================================
   Sandbox Notice
   ============================================================ */
.sandbox-notice {
    background: #FEF3C7;
    border-bottom: 2px solid #F59E0B;
    color: #92400E;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}


/* ============================================================
   NEW: Article Header Section — 記事の「入口」
   ヘッダー(ネイビー)から記事本文(白)へのブリッジとして
   深みのある薄ネイビー帯で「この記事に入ってきた」感を作る
   ============================================================ */
.article-header {
    background: #0F2440;  /* ネイビーより少し暗め: 上部ヘッダーと連続感 */
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
/* 記事タイトルエリア — デフォルトは本文幅で中央寄せ */
.article-header__inner {
    max-width: 780px;
    margin: 0 auto;
}
/* デスクトップ: タイトル左端をヘッダーナビのテキスト左端に揃える */
@media (min-width: 1200px) {
    .article-header__inner {
        margin-left: calc((100% - 780px) / 2 + 57px);
        margin-right: auto;
    }
}
/* 右上に装飾的な薄いサークル — B-2: より大きく繊細に */
.article-header::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}
/* 左下に装飾的な小さいサークル */
.article-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.06);
    pointer-events: none;
}

.article__back--light {
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}
.article__back--light::before {
    content: '←';
}
.article__back--light:hover {
    color: rgba(255,255,255,0.9);
}
/* specificity上書き: .article__heading の color: navy に負けないよう親セレクタで強制 */
.article-header h1 {
    color: white;
}

.article__category-badge--light {
    background: rgba(37,99,235,0.3);
    color: #93C5FD;
    border: 1px solid rgba(37,99,235,0.4);
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.article__heading--hero {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: white;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    max-width: 780px;
    word-break: keep-all;
    overflow-wrap: break-word;
}


/* ============================================================
   Column List Page (column.css 継承)
   ============================================================ */
.column-list__heading {
    text-align: center;
    margin-bottom: 48px;
}
.column-category {
    margin-bottom: 48px;
}
.column-category:last-child {
    margin-bottom: 0;
}
.column-category__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-vivid-blue);
    display: inline-block;
}
.column-category__desc {
    font-size: 14px;
    color: var(--color-medium-gray);
    margin-bottom: 20px;
}
.column-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .column-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.column-card {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    text-decoration: none;
    color: inherit;
}
.column-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    color: inherit;
}
.column-card__image {
    width: 120px;
    min-height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}
.column-card__body {
    padding: 16px;
    flex: 1;
}
.column-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
    line-height: 1.5;
}
.column-card__excerpt {
    font-size: 13px;
    color: var(--color-medium-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.column-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-vivid-blue);
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.column-card--placeholder {
    opacity: 0.5;
    pointer-events: none;
}
.column-card--placeholder .column-card__badge {
    background: var(--color-light-gray);
    color: var(--color-medium-gray);
}
@media (min-width: 768px) {
    .column-card__image {
        width: 160px;
        min-height: 120px;
    }
}


/* ============================================================
   Column Article Page
   ============================================================ */
.article {
    max-width: 780px;
    margin: 0 auto;
}
.article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.article__category-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-vivid-blue);
    background: #EFF6FF;
    padding: 4px 12px;
    border-radius: 4px;
}
/* --- CHANGED: h1 大型化 ---
   変更前: 24px → 30px (desktop)
   変更後: clamp(32px, 4vw, 44px) — 本文の2.5倍以上の存在感 */
.article__heading {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.35;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}
.article__body {
    font-size: 16px;
    line-height: 2;
    letter-spacing: var(--tracking-normal);
}

/* --- NEW: Article ByLine --- */
.article__byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
}
.article__byline-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.article__byline-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #E5E7EB;
}
.article__byline-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.article__byline-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}
.article__byline-role {
    font-size: 12px;
    color: var(--color-medium-gray);
    font-weight: 400;
}
.article__byline-date {
    font-size: 13px;
    color: var(--color-medium-gray);
    font-family: var(--font-accent, 'Inter', sans-serif);
    font-weight: 500;
}

@media (max-width: 479px) {
    .article__byline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article__byline-date {
        align-self: flex-end;
    }
}


/* --- NEW: Article Hero Image --- */
.article__hero {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}
.article__hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* --- CHANGED: h2 左枠線スタイル ---
   変更前: border-bottom: 2px solid var(--color-light-gray)
   変更後: border-left: 4px solid var(--color-vivid-blue)
   理由: ネイビーより青のほうがアクセントとして機能する */
.article__body h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-navy);
    margin-top: 3em;
    margin-bottom: 0.8em;
    padding-left: 16px;
    border-left: 5px solid var(--color-vivid-blue);
    line-height: 1.5;
}

.article__body p {
    margin-bottom: 1.5em;
}
/* --- CHANGED: blockquote ネイビーバンド化 ---
   変更前: オレンジ左枠線 + 薄オレンジ背景（控えめ）
   変更後: ネイビー背景 + 白テキスト（記事内の視覚的アンカー）
   負のmarginで780px幅から少しはみ出してバンド感を強調 */
.article__body blockquote {
    background: linear-gradient(135deg, #1E3A5F 0%, #0F2440 100%);
    color: white;
    border-left: none;
    padding: 36px 48px;
    margin: 2.5em -48px;
    border-radius: 12px;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.9;
    position: relative;
}
.article__body blockquote::before {
    content: '\201C';
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}
@media (max-width: 767px) {
    .article__body blockquote {
        margin: 2em -16px;
        padding: 28px 24px;
        border-radius: 0;
    }
}
.article__highlight {
    background: linear-gradient(transparent 60%, rgba(37,99,235,0.1) 60%);
    font-weight: 600;
}

/* ============================================================
   記事内 図表コンポーネント
   ============================================================ */

/* ハイライトBox（重要ポイントの囲み） */
.article__callout {
    background: #EFF6FF;
    border-left: 4px solid var(--color-vivid-blue);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 2em 0;
}
.article__callout-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.article__callout p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.8;
}

/* チェックリスト */
.article__checklist {
    list-style: none;
    padding: 16px 24px;
    margin: 1.5em 0;
    background: #F8FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}
.article__checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px solid #E5E7EB;
    font-size: 15px;
    line-height: 1.6;
}
.article__checklist li:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}
.article__checklist li:first-child {
    padding-top: 4px;
}
.article__checklist li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 12px;
    background: #10B981;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* ポイントグリッド — 番号バッジ＋トップアクセント版 */
.article__point-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 2em 0;
}
.article__point-item {
    background: #F8FAFB;
    border: 1px solid #D1D5DB;
    border-top: 4px solid var(--color-vivid-blue);
    border-radius: 0 0 8px 8px;
    padding: 20px 18px 24px;
    text-align: left;
}
.article__point-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-vivid-blue);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.article__point-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
    line-height: 1;
    display: block;
}
.article__point-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.article__point-desc {
    font-size: 15px;
    color: var(--color-medium-gray);
    line-height: 1.75;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .article__point-grid { grid-template-columns: 1fr; gap: 12px; }
}


/* ============================================================
   本文テキスト装飾クラス
   用途: 重要語句・キーフレーズへのインライン装飾
   ============================================================ */

/* 蛍光ペン（オレンジ：ボタン・アンダーラインと統一） */
.em-highlight {
    background: linear-gradient(transparent 55%, rgba(249, 115, 22, 0.3) 55%);
    padding: 0 2px;
}
/* 蛍光ペン（ブルー） */
.em-highlight--blue {
    background: linear-gradient(transparent 55%, rgba(59, 130, 246, 0.25) 55%);
    padding: 0 2px;
}
/* 色付きアンダーライン（ボタンのオレンジと統一） */
.em-underline {
    text-decoration: underline;
    text-decoration-color: #F97316;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
/* ネイビー太文字 */
.em-bold {
    font-weight: 700;
    color: var(--color-navy);
}
/* 傍点（ゴマ点：日本語組版標準） */
.em-dot {
    -webkit-text-emphasis: filled sesame;
    -webkit-text-emphasis-color: var(--color-navy);
    text-emphasis: filled sesame;
    text-emphasis-color: var(--color-navy);
}
/* 複合：太文字 + 蛍光ペン（オレンジ） */
.em-strong-highlight {
    font-weight: 700;
    color: var(--color-navy);
    background: linear-gradient(transparent 55%, rgba(249, 115, 22, 0.3) 55%);
    padding: 0 2px;
}


/* ============================================================
   記事内メディアブロック（YouTube + Podcast）
   ============================================================ */
.article__media {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin: 2em 0;
    background: white;
    transition: box-shadow 0.3s ease;
}
.article__media:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article__media-header {
    background: var(--color-navy);
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.article__media-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.article__media-youtube-wrap {
    border-right: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
}
.article__media-youtube-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    flex: 1;
}
.article__media-youtube-cta {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-navy);
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid #E5E7EB;
    transition: background 0.15s;
}
.article__media-youtube-cta:hover {
    background: #F8FAFB;
    color: var(--color-vivid-blue);
}
.article__media-podcast-wrap {
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.article__media-podcast-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.article__media-podcast-wrap iframe {
    display: block;
    width: 100%;
}
@media (max-width: 767px) {
    .article__media-body { grid-template-columns: 1fr; }
    .article__media-youtube-wrap { border-right: none; border-bottom: 1px solid #E5E7EB; }
}

/* ============================================================
   記事内関連記事（あわせて読みたい）— カラーアクセント版
   ============================================================ */
.article__related-inline {
    background: #EFF6FF;
    border-radius: 10px;
    border: 1px solid #BFDBFE;
    margin: 2em 0;
    overflow: hidden;
}
.article__related-inline-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-vivid-blue);
    letter-spacing: 0.06em;
    padding: 4px 12px;
    background: #DBEAFE;
    border-radius: 20px;
    margin: 12px 0 0 14px;
}
.article__related-inline-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px 16px;
    text-decoration: none;
    transition: background 0.15s;
}
.article__related-inline-link:hover {
    background: #DBEAFE;
}
.article__related-inline-img {
    width: 88px;
    height: 62px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.article__related-inline-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.article__related-inline-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-vivid-blue);
}
.article__related-inline-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.55;
}
.article__related-inline-arrow {
    color: var(--color-vivid-blue);
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.article__related-inline-link:hover .article__related-inline-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ============================================================
   関連コラムセクション（CTA前）
   ============================================================ */
.related-section {
    background: #F8FAFB;  /* ライトグレー: 本文白→薄グレー→CTA黒のグラデーション */
    padding: 64px 0;
}
.related-section .section-heading__label {
    color: var(--color-vivid-blue);
}
.related-section .section-heading__title {
    color: var(--color-navy);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
    margin-top: 40px;
}
.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.related-card a {
    text-decoration: none;
    display: block;
}
.related-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #E5E7EB;
}
.related-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.related-card:hover .related-card__thumb img {
    transform: scale(1.04);
}
.related-card__body {
    padding: 14px 16px 18px;
}
.related-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-vivid-blue);
    margin-bottom: 6px;
}
.related-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark-gray);
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 767px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .related-section { padding: 48px 0; }
    .related-card__thumb { aspect-ratio: 16/9; }
}

/* ============================================================
   記事内図表（写真・図・スクリーンショット）
   ============================================================ */
.article__figure {
    margin: 2.5em 0;
}
.article__figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}
.article__figure figcaption {
    font-size: 13px;
    color: var(--color-medium-gray);
    margin-top: 8px;
    text-align: center;
    line-height: 1.6;
}
/* 半幅フロート図（大画面のみ） */
@media (min-width: 768px) {
    .article__figure--right {
        float: right;
        width: 45%;
        margin: 0.5em 0 1.5em 2em;
    }
    .article__figure--left {
        float: left;
        width: 45%;
        margin: 0.5em 2em 1.5em 0;
    }
    .article__figure-clearfix::after {
        content: '';
        display: table;
        clear: both;
    }
}
.article__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.article__back::before {
    content: '←';
}
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
}
.related-articles__heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .article__heading { font-size: 30px; }
    .article__body { font-size: 17px; }
    .article__body h2 { font-size: 22px; font-weight: 800; }
    .section--white { padding: 80px 0; }
}


/* ============================================================
   NEW: CTA Section — Author Block
   ============================================================ */
.cta-section__inner {
    max-width: 720px;
    margin: 0 auto;
}
.cta-section__author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}
.cta-section__author-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(249, 115, 22, 0.6);
}
.cta-section__author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}
.cta-section__author-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}
.cta-section__author-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
}


/* ============================================================
   OVERRIDE: プライマリCTAボタン → オレンジ
   根拠: 提案書 §4.1「プライマリ: ヘッダーCTA、フッター前CTA → #F97316（オレンジ）」
   変更前: .btn--apply = var(--color-vivid-blue) 青
   変更後: #F97316 オレンジ
   ============================================================ */
.btn--apply,
.btn--primary {
    background: var(--color-orange);
    color: white;
}
.btn--apply:hover,
.btn--primary:hover {
    background: #EA580C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}


/* ============================================================
   OVERRIDE: CTA Section — ページのクライマックス
   変更前: ネイビー (関連コラムと同色で無工夫)
   変更後: ほぼ黒 (#111827) + 微細ドットテクスチャ
   根拠: 関連コラム(#1E3A5F)と明確に区別。深みのある黒で行動を促す緊張感を演出
   ============================================================ */
.cta-section {
    background-color: #111827;
    background-image:
        linear-gradient(135deg, #111827 0%, #1E293B 50%, #111827 100%),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px;
    padding: 96px 0;
    text-align: center;
}
.cta-section h2,
.cta-section .section-heading__title {
    color: white;
    margin-bottom: 16px;
}
.cta-section .section-heading__label {
    color: rgba(255, 255, 255, 0.5);
}
.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    font-size: 15px;
}
.cta-section .cta-section__lead {
    margin-bottom: 6px;
}
.cta-section .cta-section__sub {
    margin-bottom: 36px;
}
.cta-section__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
@media (min-width: 768px) {
    .cta-section__buttons {
        flex-direction: row;
        justify-content: center;
    }
}


/* ============================================================
   OVERRIDE: Footer CTA → ダーク処理（service/info ページ用）
   .cta-section はコラム、.footer-cta は service/info で使用
   同じダーク処理を適用してブックエンドパターンを統一
   ============================================================ */
.footer-cta {
    background-color: #111827;
    background-image:
        linear-gradient(135deg, #111827 0%, #1E293B 50%, #111827 100%),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px;
    padding: 80px 0;
}
.footer-cta__heading {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
}
.footer-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.footer-cta__block {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: none;
}
.footer-cta__block h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}
.footer-cta__block p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    line-height: 1.8;
}
.footer-cta__block-small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}
.footer-cta__phone {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-cta__phone a {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .footer-cta__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* CTA Benefits List */
.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
    flex: 1;
    min-width: 160px;
}
.cta-benefit-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.cta-benefit-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
.cta-benefit-strong {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}
@media (max-width: 767px) {
    .cta-benefits {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-benefit-item {
        max-width: none;
    }
}


/* ============================================================
   OVERRIDE: Footer → ホワイト（CTAネイビーが閉じの役割を担うため）
   ライトグレーは白との差がほぼゼロなので廃止。フッターは白でシンプルに。
   ============================================================ */
.footer {
    background: white;
    color: var(--color-dark-gray);
    padding: 40px 0 24px;
    border-top: 1px solid #E5E7EB;
}
.footer a {
    color: var(--color-vivid-blue);
}
.footer a:hover {
    color: var(--color-deep-blue);
}
.footer__cta-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.footer__cta-card h3 {
    color: var(--color-navy);
    font-size: 16px;
    margin-bottom: 8px;
}
.footer__cta-card p {
    color: var(--color-medium-gray);
    font-size: 14px;
    margin-bottom: 16px;
}
.footer__sitemap {
    border-top: 1px solid #E5E7EB;
    padding-top: 24px;
    margin-bottom: 24px;
}
.footer__sitemap-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
}
.footer__bottom {
    border-top: 1px solid #E5E7EB;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--color-medium-gray);
}
@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* ============================================================
   NEW: Section Heading — 英語ラベル + 日本語見出し 2層構造

   使用例:
   <div class="section-heading">
     <span class="section-heading__label">Column</span>
     <h2 class="section-heading__title">見出しテキスト</h2>
   </div>

   根拠: 提案書 §4.3「8サイト中6サイトが採用」
   ============================================================ */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading__label {
    display: block;
    font-family: var(--font-accent, 'Inter', sans-serif);
    font-size: var(--text-section-label, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-vivid-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-heading__title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}

/* ブランドカラー背景セクション用（白テキスト） */
.section--brand .section-heading__label {
    color: rgba(255, 255, 255, 0.7);
}
.section--brand .section-heading__title {
    color: #FFFFFF;
}


/* ============================================================
   フェードインアニメーション（common.js が制御）
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ============================================================
   A-1: mobile-cta apply → オレンジ
   ============================================================ */
.mobile-cta__apply {
    background: var(--color-orange) !important;
    color: white !important;
}


/* ============================================================
   B-1: Reading Progress Bar
   ============================================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-vivid-blue), var(--color-orange));
    z-index: 200;
    width: 0%;
    transition: width 50ms linear;
    pointer-events: none;
}


/* ============================================================
   B-2: 記事ヘッダーの洗練 — 装飾サークル拡大＋波形カット
   ============================================================ */
/* 既存の ::before, ::after を上書き — より大きく繊細に */


/* ============================================================
   B-3: Blockquote グラデーション + 左アクセントライン
   ============================================================ */


/* ============================================================
   B-4: ポイントグリッド hover + スタガーアニメーション
   ============================================================ */
.article__point-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article__point-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.article__point-item:nth-child(1) { transition-delay: 0ms; }
.article__point-item:nth-child(2) { transition-delay: 100ms; }
.article__point-item:nth-child(3) { transition-delay: 200ms; }


/* ============================================================
   B-5: チェックリスト — 円形バッジ化
   ============================================================ */


/* ============================================================
   B-6: CTA セクション ドラマチック化
   ============================================================ */


/* ============================================================
   B-7: ボタンホバー矢印アニメーション
   ============================================================ */
.cta-section .btn::after {
    content: ' \2192';
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 4px;
}
.cta-section .btn:hover::after {
    transform: translateX(4px);
}


/* ============================================================
   B-8: メディアブロック角丸統一 + hover shadow
   ============================================================ */


/* ============================================================
   B-9: あわせて読みたい — ピル型バッジ + 矢印スライド
   ============================================================ */


/* ============================================================
   B-10: セクション間余白の改善
   ============================================================ */


/* ============================================================
   B-11: フッターリンク — 下線アニメーション
   ============================================================ */
.footer__sitemap-links a {
    position: relative;
    text-decoration: none;
}
.footer__sitemap-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-vivid-blue);
    transition: width 0.3s ease;
}
.footer__sitemap-links a:hover::after {
    width: 100%;
}


/* ============================================================
   B-12: 本文内リンクのスタイリング
   ============================================================ */
.article__body a {
    color: var(--color-vivid-blue);
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.article__body a:hover {
    text-decoration-color: var(--color-vivid-blue);
}
