/* =========================================================
   features.css - そろばんサークル 特色ページ
   3セクション独立型設計
   
   【目次】
   1. フォント・グローバル設定
   2. 共通ヘッダー・タイトルスタイル
   3. 指導実績セクション (.results-section)
   4. セクション共通スタイル (.feature-section)
   5. Section 1: 指導の強み (.feature-teaching)
   6. Section 2: 学習環境 (.feature-environment)
   7. Section 3: 表彰・イベント (.feature-events)
   8. カードスタイル（大・中・小）
   9. スクロールアニメーション
   10. メディアクエリ
   ========================================================= */


/* =========================================================
   1. フォント・グローバル設定
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap');

body {
    background-image: none;
    /* セクション接続色と統一してグレー帯を解消 */
    background-color: #f8fafc;
}


/* =========================================================
   2. 共通ヘッダー・タイトルスタイル
   ========================================================= */

header {
    top: 9dvh;
}

header h1 {
    margin: 0;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
}

header h1::first-letter {
    font-size: 48px;
    color: var(--color-primary-light);
}

h2 {
    margin: 0;
    text-decoration: none;
    font-weight: bold;
}


/* =========================================================
   3. 指導実績セクション (.results-section)
   
   デザイン改善:
   - ヒーローからの自然な接続（上部に薄い青）
   - 下部は次セクションへの接続を考慮した色
   ========================================================= */

/* --- セクション本体 --- */
.results-section {
    background: linear-gradient(180deg, 
        #e8f4fd 0%,      /* ヒーローからの接続 - 薄い青 */
        #f0f7fc 30%,     /* 中間 */
        #f8fafc 70%,     /* 下部へ向けて薄く */
        #fafbfc 100%     /* 次セクションへの接続 */
    );
    padding: 4rem 2rem 2rem; /* 下部余白を縮小 */
    text-align: center;
    margin-bottom: 0; /* 下マージンを完全に削除 */
}

.results-section header h1 {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* base.cssのh1::afterを無効化し、サブタイトル下に統一 */
.results-section header h1::after {
    display: none;
}

/* 指導実績用の短いアンダーライン（サブタイトル下） */
.results-section .sub-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary-light);
    margin: 16px auto 0;
    border-radius: 2px;
}

.results-section .sub-header {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: 3rem;
}

/* --- カードグリッド --- */
.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* --- 結果カード --- */
.result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 254, 0.98));
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 86, 179, 0.06);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 212, 255, 0.25);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), rgba(75, 163, 242, 0.8));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.result-card:hover::before {
    transform: scaleX(1);
}

/* ホバーエフェクトを控えめに（浮き上がりなし） */
.result-card:hover {
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.1);
}

/* --- アイコン --- */
.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.result-icon i {
    font-size: 1.8rem;
    transition: transform var(--transition-base);
}

.result-card:hover .result-icon i {
    transform: scale(1.15);
}

/* --- カード別カラー：検定合格率（緑） --- */
.result-rate .result-icon {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(60, 200, 80, 0.15));
}

.result-rate .result-icon i {
    color: #28a745;
}

.result-rate .result-number {
    color: #28a745;
}

/* --- カード別カラー：大会実績（オレンジ） --- */
.result-achievement .result-icon {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 190, 50, 0.15));
}

.result-achievement .result-icon i {
    color: #ffa500;
}

.result-achievement .result-number {
    color: #ffa500;
}

/* --- カード別カラー：進級ペース（青） --- */
.result-pace .result-icon {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.15), rgba(6, 158, 252, 0.15));
}

.result-pace .result-icon i {
    color: var(--color-primary);
}

.result-pace .result-number {
    color: var(--color-primary);
}

/* --- 数字・ラベル --- */
.result-content {
    text-align: center;
}

.result-number {
    font-size: 2.8rem;
    font-weight: 700;
    display: inline-block;
    transition: transform var(--transition-base);
    opacity: 0;
    transform: scale(0.8);
    /* 数字の視認性向上 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.02em;
}

.result-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-left: 0.2rem;
}

.result-label {
    display: block;
    margin-top: 0.8rem;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* --- 注釈 --- */
.results-note {
    margin-top: 2rem;
    font-size: var(--font-size-xs);
    color: #888;
}

/* --- カウントアップアニメーション --- */
.result-number.counted {
    opacity: 1;
    transform: scale(1);
    animation: numberPop 0.6s ease-out forwards;
}

@keyframes numberPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   4. セクション共通スタイル (.feature-section)
   ========================================================= */

.feature-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0; /* セクション間のマージンを統一的に0に */
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   5. Section 1: 指導の強み (.feature-teaching)
   
   デザイン改善:
   - 上部から下部へ自然なグラデーション
   - 指導実績との接続を考慮
   ========================================================= */

.feature-teaching {
    background: linear-gradient(180deg,
        #fafbfc 0%,      /* 指導実績からの接続 */
        #ffffff 20%,     /* メインコンテンツは白 */
        #ffffff 80%,
        #f8fafc 100%     /* 学習環境への接続 */
    );
    padding: 60px 0;
    margin-top: 0; /* 上マージンを確実に0に */
}


/* =========================================================
   6. Section 2: 学習環境 (.feature-environment)
   ========================================================= */

.feature-environment {
    background: linear-gradient(180deg,
        #f8fafc 0%,      /* 指導の強みからの接続 */
        #f5f8fa 50%,     /* 中間 */
        #f8f9fb 100%     /* 表彰へ向けて */
    );
    padding: 60px 0;
    margin-top: 0;
}


/* =========================================================
   7. Section 3: 表彰・イベント (.feature-events)
   
   デザイン改善:
   - 学習環境からの自然な暖色への遷移
   ========================================================= */

.feature-events {
    background: linear-gradient(180deg,
        #f9fafb 0%,      /* 学習環境からの接続 */
        #fefcf9 30%,     /* 暖色へ遷移 */
        #fffbf5 100%     /* クリーム色 */
    );
    padding: 60px 0 80px;
    margin-top: 0;
}

.feature-events .section-header h1::first-letter {
    color: #F97316;
}

.feature-events .section-divider {
    background-color: #F97316;
}

/* Section 3の強調テキストはオレンジ系（通常は色のみ） */
.feature-events .card-content p b,
.feature-events .event-content p b,
.events-grid .event-card .event-content p b {
    color: #B45309;
    font-weight: 700;
}

/* Section 3の特に重要な箇所のみマーカー付き */
.feature-events .card-content p b.highlight,
.feature-events .event-content p b.highlight {
    background: linear-gradient(transparent 60%, rgba(249, 115, 22, 0.2) 60%);
    padding: 0 2px;
}


/* =========================================================
   8. カードスタイル（大・中・小・特別）
   ========================================================= */

/* --- 共通カードスタイル --- */
.feature-card {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--color-bg-white);
    margin-bottom: 48px;
    transition: box-shadow 0.3s ease;
}

.feature-card:last-child {
    margin-bottom: 0;
}

/* ホバーエフェクトを控えめに（浮き上がりなし） */
.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card:hover .card-image img {
    transform: scale(1.02);
}

/* --- 画像エリア共通 --- */
.card-image {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 画像の荒さをカバーするためのソフトオーバーレイ用 */
    position: relative;
}

/* 画像の荒さをカバーするソフトグラデーションオーバーレイ */
.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.03) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* ホバー時はオーバーレイを薄くして少し詳細が見える */
.card-image:hover::before {
    opacity: 0.3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* 画像の荒さを軽減するソフトフィルター */
    filter: contrast(0.98) brightness(1.02);
}

/* --- テキストエリア共通 --- */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.card-content h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    text-decoration-line: underline;
    text-decoration-color: var(--color-primary-light);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    /* 左寄せで表示、幅は内容に合わせる */
    width: fit-content;
}

/* Font Awesomeアイコン共通スタイル - 視認性向上 */
.card-content h2 .card-icon {
    font-size: 1.3em;
    color: #F59E0B;
    flex-shrink: 0;
    /* アイコンと見出しの間隔調整 */
    margin-right: 4px;
}

.card-content p {
    margin: 0;
    line-height: 2.0;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    text-align: left;
}

/* 通常の太字は色のみ強調（マーカーなし） - 視覚的ノイズ軽減 */
.card-content p b {
    color: #0056b3;
    font-weight: 700;
}

/* 特に重要な箇所のみマーカー付き強調 */
.card-content p b.highlight,
.card-content p .highlight {
    background: linear-gradient(transparent 60%, rgba(6, 158, 252, 0.2) 60%);
    padding: 0 2px;
}

/* --- 大サイズカード（Section 1） --- */
.feature-card-large {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.feature-card-large:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-large .card-image {
    width: 50%;
    min-height: 280px;
}

.feature-card-large .card-image img {
    border-radius: 0;
}

.feature-card-large .card-content {
    width: 50%;
    padding: 35px 40px;
}

/* --- 中サイズカード（Section 2） --- */
.feature-card-medium {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 48px;
    overflow: hidden;
}

.feature-card-medium:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card-medium .card-image {
    width: 45%;
    min-height: 240px;
}

.feature-card-medium .card-content {
    width: 55%;
    padding: 30px 35px;
}

/* --- 左右反転レイアウト --- */
.layout-reverse {
    flex-direction: row-reverse;
}

/* --- 表彰式カード（特別・大サイズ） --- */
.feature-card-award {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFFEF5, #FFF9E6);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.15);
    border-top: 4px solid #F97316;
    overflow: hidden;
}

.feature-card-award:hover {
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.18);
}

.feature-card-award .card-image {
    width: 45%;
    min-height: 300px;
}

.feature-card-award .card-content {
    width: 55%;
    padding: 35px 40px;
}

.feature-card-award .card-content h2 {
    text-decoration-color: #F97316;
    color: #B45309;
    margin-bottom: 1.5rem;
}

.feature-card-award .card-content p {
    line-height: 2.0;
}

.award-icon {
    color: #F97316;
    font-size: 1.3em;
    flex-shrink: 0;
    margin-right: 4px;
}

/* --- イベントグリッド（小サイズ） --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    background: var(--color-bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    /* 高さを統一 */
    display: flex;
    flex-direction: column;
    min-height: 340px;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.event-image {
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
    /* 画像の荒さをカバーするためのオーバーレイ用 */
    position: relative;
}

/* イベント画像のソフトオーバーレイ */
.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.event-card:hover .event-image::before {
    opacity: 0.3;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* 画像の荒さを軽減するソフトフィルター */
    filter: contrast(0.98) brightness(1.02);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* コンテンツを上寄せ */
}

.event-content h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
    /* 高さを固定して揃える */
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

.event-content p {
    font-size: var(--font-size-xs);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
    text-align: left;
}


/* =========================================================
   9. スクロールアニメーション
   ========================================================= */

/* --- 初期状態（非表示） --- */
.feature-card.scroll-reveal,
.feature-card.scroll-reveal-left,
.feature-card.scroll-reveal-right,
.feature-card.scroll-reveal-scale {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 右からスライドイン */
.feature-card.scroll-reveal-right {
    transform: translateX(80px);
}

/* 左からスライドイン */
.feature-card.scroll-reveal-left {
    transform: translateX(-80px);
}

/* 下からフェードイン */
.feature-card.scroll-reveal {
    transform: translateY(60px);
}

/* スケールアニメーション */
.feature-card.scroll-reveal-scale {
    transform: scale(0.9);
}

/* --- アニメーション完了状態 --- */
.feature-card.scroll-reveal.revealed,
.feature-card.scroll-reveal-left.revealed,
.feature-card.scroll-reveal-right.revealed,
.feature-card.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}


/* =========================================================
   10. メディアクエリ
   ========================================================= */

/* ---------------------------------------------------------
   超大型デバイス (1200px以上)
   --------------------------------------------------------- */
@media screen and (min-width: 1200px) {
    .feature-card-large .card-content {
        padding: 40px 45px;
    }

    .feature-card-large .card-content h2 {
        font-size: 1.5rem;
    }

    .feature-card-medium .card-content h2 {
        font-size: 1.4rem;
    }
}


/* ---------------------------------------------------------
   タブレット (769px - 991px)
   --------------------------------------------------------- */
@media screen and (max-width: 991px) {
    /* セクション */
    .feature-teaching {
        padding: 60px 0 50px;
    }

    .feature-environment,
    .feature-events {
        padding: 50px 0;
    }

    /* 大サイズカード */
    .feature-card-large {
        max-width: 95%;
    }

    .feature-card-large .card-image {
        min-height: 220px;
    }

    .feature-card-large .card-content {
        padding: 25px 28px;
    }

    /* 中サイズカード */
    .feature-card-medium {
        max-width: 95%;
    }

    .feature-card-medium .card-image {
        min-height: 200px;
    }

    /* 表彰式カード */
    .feature-card-award {
        max-width: 95%;
    }

    /* イベントグリッド */
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        max-width: 95%;
    }

    .event-image {
        height: 140px;
    }

    .event-content {
        padding: 16px;
    }
}


/* ---------------------------------------------------------
   モバイル (768px以下)
   --------------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* セクション */
    .feature-teaching {
        padding: 50px 0 40px;
    }

    .feature-environment,
    .feature-events {
        padding: 40px 0;
    }

    .section-container {
        padding: 0 16px;
    }

    /* カード共通: 縦積み */
    .feature-card,
    .feature-card.layout-reverse {
        flex-direction: column;
    }

    /* 大サイズカード */
    .feature-card-large {
        max-width: 90%;
        margin-bottom: 32px;
    }

    .feature-card-large .card-image,
    .feature-card-large .card-content {
        width: 100%;
    }

    .feature-card-large .card-image {
        min-height: 200px;
        max-height: 220px;
    }

    .feature-card-large .card-content {
        padding: 20px;
    }

    /* 中サイズカード */
    .feature-card-medium {
        max-width: 90%;
        margin-bottom: 28px;
    }

    .feature-card-medium .card-image,
    .feature-card-medium .card-content {
        width: 100%;
    }

    .feature-card-medium .card-image {
        min-height: 180px;
        max-height: 200px;
    }

    .feature-card-medium .card-content {
        padding: 18px;
    }

    /* 表彰式カード */
    .feature-card-award {
        max-width: 90%;
        margin-bottom: 32px;
    }

    .feature-card-award .card-image,
    .feature-card-award .card-content {
        width: 100%;
    }

    .feature-card-award .card-image {
        min-height: 200px;
        max-height: 240px;
    }

    .feature-card-award .card-content {
        padding: 20px;
    }

    /* イベントグリッド → 1列 */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 90%;
    }

    .event-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .event-image {
        width: 35%;
        height: auto;
        min-height: 120px;
    }

    .event-content {
        width: 65%;
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* モバイルでは左右アニメーションを下からに変更 */
    .feature-card.scroll-reveal-left,
    .feature-card.scroll-reveal-right {
        transform: translateY(40px);
        opacity: 0;
    }

    .feature-card.scroll-reveal-left.revealed,
    .feature-card.scroll-reveal-right.revealed {
        transform: translateY(0);
        opacity: 1;
    }

    /* 指導実績セクション */
    .results-section {
        padding: 3rem 1rem;
    }

    .results-section header h1 {
        font-size: 1.5rem;
    }

    .results-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .result-card {
        padding: 1.5rem 1rem;
        display: flex;
        align-items: center;
        text-align: left;
    }

    .result-icon {
        width: 50px;
        height: 50px;
        margin: 0 1rem 0 0;
        flex-shrink: 0;
    }

    .result-icon i {
        font-size: 1.5rem;
    }

    .result-content {
        text-align: left;
    }

    .result-number {
        font-size: 2rem;
    }

    .result-unit {
        font-size: 1rem;
    }

    .result-label {
        margin-top: 0.3rem;
        font-size: 0.85rem;
    }
}


/* ---------------------------------------------------------
   小型モバイル (600px以下)
   --------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .section-container {
        padding: 0 12px;
    }

    /* 大サイズカード */
    .feature-card-large {
        max-width: 95%;
    }

    .feature-card-large .card-image {
        min-height: 180px;
        max-height: 200px;
    }

    .feature-card-large .card-content {
        padding: 16px;
    }

    .feature-card-large .card-content h2 {
        font-size: 1.1rem;
    }

    /* 中サイズカード */
    .feature-card-medium {
        max-width: 95%;
    }

    .feature-card-medium .card-image {
        min-height: 160px;
        max-height: 180px;
    }

    .feature-card-medium .card-content {
        padding: 14px;
    }

    /* 表彰式カード */
    .feature-card-award {
        max-width: 95%;
    }

    .feature-card-award .card-image {
        min-height: 180px;
        max-height: 220px;
    }

    .feature-card-award .card-content {
        padding: 16px;
    }

    /* イベントカード */
    .events-grid {
        max-width: 95%;
    }

    .event-image {
        width: 30%;
        min-height: 100px;
    }

    .event-content {
        width: 70%;
        padding: 12px;
    }

    .event-content h3 {
        font-size: 0.95rem;
    }
}


/* ---------------------------------------------------------
   超小型モバイル (480px以下)
   --------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .feature-teaching {
        padding: 40px 0 30px;
    }

    .feature-environment,
    .feature-events {
        padding: 30px 0;
    }

    /* カード全般 */
    .feature-card-large,
    .feature-card-medium,
    .feature-card-award {
        max-width: 100%;
        border-radius: 12px;
    }

    .feature-card-large .card-content h2,
    .feature-card-medium .card-content h2,
    .feature-card-award .card-content h2 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .card-content p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* イベントカード */
    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        height: 140px;
    }

    .event-content {
        width: 100%;
        padding: 14px;
    }

    /* 指導実績セクション */
    .result-card {
        padding: 1.2rem 0.8rem;
    }

    .result-icon {
        width: 45px;
        height: 45px;
    }

    .result-number {
        font-size: 1.8rem;
    }
}


/* =========================================================
   11. セクション間ミニCTA
   行動心理学：ページ中盤でのマイクロコンバージョン機会
   ========================================================= */

.section-mini-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px 20px;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    /* 軽い背景でセクション区切りを明確化 */
    background: linear-gradient(180deg, 
        rgba(248, 250, 252, 0) 0%,
        rgba(240, 247, 255, 0.5) 50%,
        rgba(248, 250, 252, 0) 100%
    );
}

.mini-cta-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.8;
}

/* 「無料」を強力に強調 - 損失回避心理を刺激 */
.mini-cta-text .highlight-text {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.3em;
    background: linear-gradient(transparent 60%, rgba(220, 53, 69, 0.15) 60%);
    padding: 0 4px;
    border-radius: 2px;
}

.btn-mini-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    min-height: 52px;  /* タップ領域確保（WCAG準拠） */
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.25);
}

.btn-mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
}

.btn-mini-cta .inline-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-mini-cta:hover .inline-icon {
    transform: translateX(4px);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .section-mini-cta {
        padding: 36px 16px;
    }
    
    .mini-cta-text .highlight-text {
        font-size: 1.2em;
    }
    
    .btn-mini-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
        min-height: 48px;
    }
}


/* =========================================================
   12. シャイニングアニメーション
   美術的効果：画像の荒さをカバーし、プレミアム感を演出
   心理学効果：無意識の視線誘導、品質認知の向上
   ========================================================= */

/* --- 画像シャイニング効果 --- */
.card-image,
.event-image {
    position: relative;
    overflow: hidden;
}

.card-image::after,
.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: imageShine 4s ease-in-out infinite;
    animation-delay: 1s;
    pointer-events: none;
    z-index: 2;
}

/* 各カードで異なるタイミングでシャイニング */
.feature-card:nth-child(1) .card-image::after {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .card-image::after {
    animation-delay: 1.5s;
}

.feature-card:nth-child(3) .card-image::after {
    animation-delay: 3s;
}

.event-card:nth-child(1) .event-image::after {
    animation-delay: 0.5s;
}

.event-card:nth-child(2) .event-image::after {
    animation-delay: 2s;
}

.event-card:nth-child(3) .event-image::after {
    animation-delay: 3.5s;
}

/* imageShineキーフレームはbase.cssで定義 */

/* ホバー時はシャイニングを一時停止して画像に集中 */
.card-image:hover::after,
.event-image:hover::after {
    animation-play-state: paused;
    opacity: 0;
}


/* --- CTAボタン シャイニング効果 --- */
.btn-mini-cta,
.btn-primary.trial-btn {
    position: relative;
    overflow: hidden;
}

.btn-mini-cta::before,
.btn-primary.trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: buttonShine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* buttonShineキーフレームはbase.cssで定義 */

/* ホバー時は即座にシャイニング */
.btn-mini-cta:hover::before,
.btn-primary.trial-btn:hover::before {
    animation: buttonShineHover 0.6s ease-out forwards;
}

/* buttonShineHoverキーフレームはbase.cssで定義 */


/* --- 表彰式カード特別シャイニング（ゴールド） --- */
.feature-card-award .card-image::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0) 20%,
        rgba(255, 215, 0, 0.35) 50%,
        rgba(255, 215, 0, 0) 80%,
        transparent 100%
    );
    animation: imageShine 5s ease-in-out infinite;
    animation-delay: 2s;
}


/* --- 指導実績カード シャイニング --- */
.result-card {
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.result-card:nth-child(1)::after {
    animation-delay: 0s;
}

.result-card:nth-child(2)::after {
    animation-delay: 2s;
}

.result-card:nth-child(3)::after {
    animation-delay: 4s;
}

/* cardShineキーフレームはbase.cssで定義 */


/* --- モバイルでのシャイニング最適化 --- */
@media screen and (max-width: 768px) {
    /* モバイルではシャイニングを少し控えめに */
    .card-image::after,
    .event-image::after {
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 75%,
            transparent 100%
        );
    }
    
    /* バッテリー節約のためアニメーション間隔を長く */
    .card-image::after,
    .event-image::after {
        animation-duration: 6s;
    }
    
    .btn-mini-cta::before,
    .btn-primary.trial-btn::before {
        animation-duration: 4s;
    }
}


/* --- アクセシビリティ：動きを減らす設定を尊重 --- */
@media (prefers-reduced-motion: reduce) {
    .card-image::after,
    .event-image::after,
    .btn-mini-cta::before,
    .btn-primary.trial-btn::before,
    .result-card::after {
        animation: none;
        display: none;
    }
}

/* --- フォーカス状態（キーボードアクセシビリティ） --- */
.feature-card-large:focus-within,
.feature-card-medium:focus-within,
.feature-card-award:focus-within,
.event-card:focus-within {
    outline: 3px solid #4dabf7;
    outline-offset: 2px;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.15);
}

.btn-mini-cta:focus,
.btn-primary.trial-btn:focus {
    outline: 3px solid #4dabf7;
    outline-offset: 2px;
}

.result-card:focus-within {
    outline: 3px solid #4dabf7;
    outline-offset: 2px;
}