@charset "UTF-8";

/* ===================================================
   実績セクション（2705-1438）
=================================================== */

.sales {
    background-color: #ffffff;
    padding: 50px 0;
}

.sales_inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ヘッダー */
.sales_head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.sales_tagline {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    color: #0a3e8b;
    white-space: nowrap;
}

.sales_heading {
    font-family:  "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: normal;
    color: #383b42;
    text-align: center;
    letter-spacing: 0.35px;
    white-space: nowrap;
}

.sales_sub {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: #383b42;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 14px;
}

/* 実績数値エリア */
.sales_stats {
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* 各数値アイテム */
.sales_stat {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 32px;
    width: 25%;
}

.sales_stat_label {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: #383b42;
    white-space: nowrap;
}

.sales_stat_num {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.sales_stat_value {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
    color: #006ec5;
    letter-spacing: -0.84px;
}

.sales_stat_unit {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #383b42;
    letter-spacing: -0.64px;
    padding-bottom: 4px;
}

/* 縦線区切り */
.sales_divider {
    flex-shrink: 0;
    width: 1px;
    align-self: stretch;
    background-color: #d0d5dd;
}

/* ===================================================
   レスポンシブ
=================================================== */
@media screen and (max-width: 768px) {
    .sales {
        padding: 40px 0;
    }

    .sales_inner {
        gap: 24px;
        padding: 0 20px;
    }

    .sales_head {
        gap: 10px;
    }

    .sales_tagline {
        font-size: 13px;
        white-space: normal;
    }

    .sales_heading {
        font-size: 22px;
        white-space: normal;
        letter-spacing: 0;
    }

    .sales_sub {
        font-size: 13px;
        white-space: normal;
    }

    /* SP：2列×2行グリッド */
    .sales_stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0;
    }

    /* 縦線区切りを非表示にしてborderで代替 */
    .sales_divider {
        display: none;
    }

    .sales_stat {
        gap: 10px;
        padding: 12px 12px;
        width: auto;
    }

    /* 上段の2アイテムに下ボーダー */
    .sales_stat:nth-child(1),
    .sales_stat:nth-child(3) {
        border-bottom: 1px solid #d0d5dd;
    }

    /* 左列に右ボーダー */
    .sales_stat:nth-child(1),
    .sales_stat:nth-child(5) {
        border-right: 1px solid #d0d5dd;
    }

    /* グリッド配置（dividerを除いた実際の子要素） */
    .sales_stat:nth-child(1) { grid-column: 1; grid-row: 1; border-right: 1px solid #d0d5dd; border-bottom: 1px solid #d0d5dd; }
    .sales_stat:nth-child(3) { grid-column: 2; grid-row: 1; border-bottom: 1px solid #d0d5dd; }
    .sales_stat:nth-child(5) { grid-column: 1; grid-row: 2; border-right: 1px solid #d0d5dd; }
    .sales_stat:nth-child(7) { grid-column: 2; grid-row: 2; }

    .sales_stat_label {
        font-size: 12px;
        white-space: normal;
    }

    .sales_stat_value {
        font-size: 34px;
    }

    .sales_stat_unit {
        font-size: 14px;
    }
}
