/* ===========================================
   LINE 公式アカウント フローティングボタン
   ===========================================
   #06C755 = LINE Brand Color
*/
.ppb-line-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #06C755;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(6,199,85,0.35), 0 2px 4px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    line-height: 1;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
                 "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
}

.ppb-line-float:hover,
.ppb-line-float:focus {
    background: #05a548;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6,199,85,0.45), 0 3px 6px rgba(0,0,0,0.12);
    color: #fff !important;
}

.ppb-line-float:active {
    transform: translateY(0);
}

.ppb-line-float .ppb-line-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ppb-line-float .ppb-line-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #fff;
}

.ppb-line-float .ppb-line-text {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .ppb-line-float {
        left: 12px;
        bottom: 12px;
        padding: 10px 14px;
        font-size: 13px;
    }
    .ppb-line-float .ppb-line-icon {
        width: 20px;
        height: 20px;
    }
}

/* WP 관리자 표시줄 있을 때 z-index 충돌 방지 */
.admin-bar .ppb-line-float {
    bottom: 20px;
}

/* 스크롤 진입 애니메이션 */
@keyframes ppbLineFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ppb-line-float {
    animation: ppbLineFadeIn .5s ease-out 1s both;
}
