/* ==============================================
   製品ページ: メインビジュアル
============================================== */

.pp-hero {
    position: relative !important;
    background: linear-gradient(135deg, #002040 0%, #003060 50%, #002040 100%) !important;
    color: #fff !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-family: Helvetica, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif !important;
}

/* ---- ドットパターン背景 ---- */

.pp-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 1px 1px, rgba(204, 255, 0, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* ---- 背景画像（マスク付きフェード） ---- */

.pp-hero__bg-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pp-hero__bg-image-mask {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.5;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.pp-hero__bg-image,
.pp-hero__bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pp-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #002040 0%, rgba(0, 32, 64, 0.3) 50%, transparent 100%);
}

/* ---- コンテナ ---- */

.pp-hero__container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 32px 40px 120px;
}

.pp-hero__content {
    max-width: 640px;
}

/* ---- ロゴ ---- */

.pp-hero__logo {
    height: 40px !important;
    width: auto !important;
    margin-top: 0;
    margin-bottom: 16px;
}

/* ---- 見出し ---- */

.pp-hero__heading {
    margin: 0 0 8px !important;
}

.pp-hero__kicker {
    display: block !important;
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
    margin-bottom: 4px;
}

.pp-hero__product-name {
    display: block !important;
    font-size: 64px !important;
    font-weight: 400 !important;
    color: #fff !important;
    line-height: 1.1 !important;
}

/* ---- サブタイトル ---- */

.pp-hero__subtitle {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
    margin: 0 0 16px !important;
}

/* ---- 統計 ---- */

.pp-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;            /* 項目間の固定マージン */
    margin-bottom: 16px;
}

.pp-hero__stat {
    /* flex: 1 を廃止。各項目はコンテンツ幅で左から詰まる */
}

.pp-hero__stat-value {
    display: block;
    font-size: 40px !important;
    font-weight: 400 !important;
    color: #CCFF00 !important;
    line-height: 1.2;
}

.pp-hero__stat-label {
    display: block;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 2px;
}

/* ---- 導入企業ロゴ（カルーセル） ---- */

.pp-hero__trust {
    padding-top: 12px;
    margin-bottom: 16px;
}

.pp-hero__trust-label {
    display: block;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 8px;
}

.pp-hero__trust-track {
    overflow: hidden;
}

.pp-hero__trust-logos {
    display: flex;
    will-change: transform;
}

.pp-hero__trust-item {
    flex-shrink: 0;
    margin: 0 24px;
    height: 60px;
}

.pp-hero__trust-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* ---- CTA エリア ---- */

.pp-hero__cta-area {
    padding: 12px 0;
}

.pp-hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.pp-hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 2px solid #CCFF00 !important;
    color: #CCFF00 !important;
    border-radius: 12px;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.3s;
}

.pp-hero__cta-secondary:hover {
    background: rgba(204, 255, 0, 0.1) !important;
}

.pp-hero__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #CCFF00 !important;
    color: #1A1A1A !important;
    border: 2px solid #CCFF00 !important;
    border-radius: 12px;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background-color 0.3s;
}

.pp-hero__cta-primary:hover {
    background: #b8e600 !important;
    border-color: #b8e600 !important;
}

.pp-hero__cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 2px solid #fff !important;
    color: #fff !important;
    border-radius: 12px;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.3s;
}

.pp-hero__cta-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ---- 特徴チェック ---- */

.pp-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pp-hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.pp-hero__feature svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* ---- レスポンシブ ---- */

@media only screen and (max-width: 1024px) {
    .pp-hero__product-name {
        font-size: 48px !important;
    }

    .pp-hero__bg-image-mask {
        width: 100%;
        opacity: 0.3;
    }
}

@media only screen and (max-width: 640px) {
    .pp-hero__container {
        min-height: 50vh;
        padding: 80px 16px 32px;
    }

    .pp-hero__logo {
        height: 32px !important;
        margin-top: 0;
    }

    .pp-hero__product-name {
        font-size: 36px !important;
    }

    .pp-hero__kicker {
        font-size: 16px !important;
    }

    .pp-hero__subtitle {
        font-size: 16px !important;
    }

    .pp-hero__stat-value {
        font-size: 28px !important;
    }

    .pp-hero__stat-label {
        font-size: 14px !important;
    }

    .pp-hero__cta-group {
        flex-direction: column;
    }

    .pp-hero__cta-primary,
    .pp-hero__cta-secondary,
    .pp-hero__cta-outline {
        text-align: center;
        width: 100%;
    }

    .pp-hero__features {
        flex-direction: column;
        gap: 8px;
    }

    .pp-hero__trust-scroll {
        gap: 20px;
    }
}
