@charset "utf-8";
/* CSS Document */
/* =========================================
   CSSの魔法（円グラフアニメーションに必須）
========================================= */
@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* =========================================
   データで見るAAS セクション（完成版）
========================================= */

.data-sec {
    padding: 80px 20px 120px;
    background-color: #f9fafb; 
}

.data-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
}

/* コマの共通設定 */
.data-item {
    width: 100%;
    box-sizing: border-box; 
    background-color: #ffffff;
    border: 1px solid #e2eaf2;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.06);
    padding: 30px 25px; 
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ★タイトルのテキスト設定（基本は大きく） */
.data-title {
    font-size: 30px; 
    font-weight: bold;
    text-align: center;
    color: #000000;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
    margin: 0 0 30px 0; 
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap; /* 改行させない */
}

/* ★「ジョブローテーション率」など長い文字専用のクラス */
.data-title.title-long {
    font-size: 23px;
    letter-spacing: 0; /* 文字間隔を詰める */
}

/* カード上部のグラデーションライン */
.data-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a365d 0%, #63b3ed 100%);
    border-radius: 12px 12px 0 0;
}

/* 画像の共通設定 */
.data-item img {
    width: 85%; 
    height: auto;
    display: block;
    margin: 0 auto; 
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    object-position: center; 
}

/* -----------------------------------------
   【動き A】 左から右へのワイプ
----------------------------------------- */
.data-item.wipe-right img {
    clip-path: inset(0 100% 0 0); 
    transition: clip-path 8s cubic-bezier(0.1, 1, 0.1, 1);
}

.data-item.wipe-right.is-active img {
    clip-path: inset(0 0 0 0); 
}

/* -----------------------------------------
   【動き B】 円グラフの描画
----------------------------------------- */
.data-item.pie-chart img {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    --angle: 0deg;
    -webkit-mask-image: conic-gradient(#fff var(--angle), transparent calc(var(--angle) + 0.1deg));
    mask-image: conic-gradient(#fff var(--angle), transparent calc(var(--angle) + 0.1deg));
    transition: --angle 8s cubic-bezier(0.1, 1, 0.1, 1);
}

.data-item.pie-chart.is-active img {
    --angle: 360deg;
}

/* =========================================
   スマートフォン用
========================================= */
@media (max-width: 767px) {
    .data-sec {
        padding: 50px 15px 80px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .data-item {
        padding: 20px 15px; 
    }

    /* スマホでのタイトルの調整 */
    .data-title {
        font-size: 24px; 
        margin-bottom: 15px;
    }
    .data-title.title-long {
        font-size: 19px; /* スマホでも1行に収まるように少し小さく */
    }

    .data-item img {
        width: 90%; 
    }
}