/* ============================================
   FV (First View) — 共通コンポーネント
   Source of truth: components/fv.css
   ページ固有の上書き（padding・min-height等）は各ページの <style> に記述
============================================ */

/* ---- Section ---- */
.fv-section {
    padding: 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #2D4A9E 50%, var(--color-blue) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

/* 装飾: 右上の大円 */
.fv-section::before {
    content: '';
    position: absolute;
    top: -140px; right: -140px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

/* 装飾: 右下の中円 */
.fv-section::after {
    content: '';
    position: absolute;
    bottom: -60px; right: 180px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(56,189,248,0.08);
    pointer-events: none;
}

/* ---- Inner wrapper ---- */
.fv-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* padding は各ページで上書き */
}

/* ---- Label ---- */
.fv-section .section-label {
    color: var(--color-light-blue);
    margin-bottom: 20px;
}

/* ---- Heading ---- */
.fv-heading {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 24px;
    max-width: 800px;
}

.fv-heading .fv-heading-sub {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-top: 16px;
}

/* ---- Sub text ---- */
.fv-sub {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 640px;
}

/* ---- Stats card ---- */
.fv-stats-section {
    padding: 0 20px;
    background: var(--color-white);
}

.fv-stats-card {
    max-width: 1100px;
    margin: -96px auto 56px;
    position: relative;
    z-index: 10;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.fv-stat-item {
    text-align: center;
    padding: 56px 32px;
    border-right: 1px solid var(--color-border);
}

.fv-stat-item:last-child {
    border-right: none;
}

.fv-stat-number {
    font-family: var(--font-en);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--color-blue);
    line-height: 1.1;
    margin-bottom: 10px;
}

.fv-stat-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-mid);
    line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .fv-stats-card {
        grid-template-columns: repeat(3, 1fr);
        margin: -72px auto 40px;
        max-width: 100%;
    }

    .fv-stat-item {
        padding: 32px 12px;
    }

    .fv-stat-number {
        font-size: 1.4rem;
    }

    .fv-stat-label {
        font-size: 12px;
    }
}
