/*
Template: colorful-theme-premium
Theme Name: LPtemp_Colorful_child
Theme URI: https://lptemp.com
Description: カラフルの子テーマです。リファラー隠しシステム追加版
Version: 1.1
Author: Seiya Eto
Author URI: https://pocowan.com/
*/

/* ============================================
   アフィリエイトボタン
============================================ */

.aff-button {
    text-align: center;
    margin: 30px auto;
}

.c-btn {
    display: inline-block;
    padding: 20px 60px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.c-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.5);
    color: #fff;
}

/* 光るアニメーション */
.reflection-img {
    position: relative;
    display: inline-block;
}

.reflection {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: reflection 3s infinite;
}

@keyframes reflection {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* バウンドアニメーション */
.aff-button.bound .c-btn {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .c-btn {
        font-size: 16px;
        padding: 15px 40px;
    }

    .aff-button.mobile-hide {
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .aff-button.mobile-only {
        display: none;
    }
}

/* CVR測定ページ用スタイル */
body.single-cvr {
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}
