/* ============================================ */
/* CTAボタン(小) - ブラッシュアップ版 */
/* 内側グラデーション移動アニメーション */
/* ============================================ */
.cta-small-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
}

.cta-small-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cta-small {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 88%;
    min-width: 100px;
    max-width: 114px;
    padding: 13px 8px;
    background: linear-gradient(135deg, #e91e63 0%, #ec407a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: cta-small-scale 0.5s ease 0s infinite alternate;
    transform-origin: center;
}

.cta-small-gradient {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: cta-small-gradient-move 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-small-gradient-move {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.cta-small-content {
    position: relative;
    z-index: 2;
    white-space: nowrap;
    animation: cta-small-text-glow 2s ease-in-out infinite;
}

@keyframes cta-small-text-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

@keyframes cta-small-scale {
    from {
        transform: scale(0.9, 0.9);
    }
    to {
        transform: scale(1, 1);
    }
}

.cta-small:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
}

.cta-small:active {
    animation: none;
    transform: scale(0.95, 0.95);
}

/* ============================================ */
/* CTAボタン(大) - レスポンシブ最適化版 */
/* 小さい画面でもデザイン性を保つ */
/* ============================================ */
.cta-large-responsive-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 708.59px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    line-height: 1.6;
}

.cta-large-responsive-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cta-large-responsive-decoration-top {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        #ff4081,
        #e91e63,
        #ff4081,
        transparent
    );
    border-radius: 2px;
    z-index: 1;
    animation: cta-large-responsive-decoration-pulse 2s ease-in-out infinite;
}

@keyframes cta-large-responsive-decoration-pulse {
    0%, 100% {
        opacity: 0.6;
        width: 130px;
    }
    50% {
        opacity: 1;
        width: 180px;
        filter: drop-shadow(0 0 10px rgba(255, 64, 129, 0.8));
    }
}

.cta-large-responsive-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff 0%, #ffe0eb 100%);
    color: #c2185b;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    border: 2px solid #f8bbd0;
    margin: 0 auto 0;
    position: relative;
    z-index: 1;
    box-shadow:
        0 4px 15px rgba(233, 30, 99, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: fit-content;
    transform: translateY(12px);
}

.cta-large-responsive-bubble-text {
    line-height: 1.3;
}

.cta-large-responsive-bubble-icon {
    font-size: 14px;
    animation: cta-large-responsive-sparkle 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes cta-large-responsive-sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
    }
    50% {
        opacity: 0.7;
        transform: scale(1.4) rotate(20deg);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 1));
    }
}

.cta-large-responsive {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: linear-gradient(135deg, #e91e63 0%, #ec407a 50%, #f06292 100%);
    background-size: 200% 200%;
    color: white;
    padding: 35px 30px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow:
        0 8px 30px rgba(233, 30, 99, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1);
    min-width: 348.75px;
    width: 100%;
    margin-top: -8px;
    animation: cta-large-responsive-bg-shift 4s ease-in-out infinite, cta-large-responsive-scale 0.5s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes cta-large-responsive-bg-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes cta-large-responsive-scale {
    from {
        transform: scale(0.9, 0.9);
    }
    to {
        transform: scale(1, 1);
    }
}

.cta-large-responsive-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transform: skewX(-25deg);
    animation: cta-large-responsive-shine-move 2.5s ease-in-out infinite;
}

@keyframes cta-large-responsive-shine-move {
    0% {
        left: -100%;
    }
    40% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.cta-large-responsive-content {
    position: relative;
    z-index: 2;
}

.cta-large-responsive-sub {
    font-size: 13px;
    font-weight: 500;
    color: #ffe0eb;
    margin-bottom: 10px;
    text-align: center;
}

.cta-large-responsive-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-large-responsive-main-text {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.cta-large-responsive-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    animation: cta-large-responsive-icon-pulse 2s ease-in-out infinite;
}

@keyframes cta-large-responsive-icon-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.cta-large-responsive-icon-inner {
    font-size: 24px;
    font-weight: bold;
    color: #e91e63;
}

.cta-large-responsive-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-large-responsive-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: cta-large-responsive-particle-float 2.5s ease-in-out infinite;
}

.cta-large-responsive-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-large-responsive-particle:nth-child(2) {
    top: 30%;
    right: 12%;
    animation-delay: 0.4s;
}

.cta-large-responsive-particle:nth-child(3) {
    top: 60%;
    left: 8%;
    animation-delay: 0.8s;
}

.cta-large-responsive-particle:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 1.2s;
}

.cta-large-responsive-particle:nth-child(5) {
    top: 45%;
    left: 50%;
    animation-delay: 1.6s;
}

.cta-large-responsive-particle:nth-child(6) {
    top: 80%;
    right: 50%;
    animation-delay: 2s;
}

@keyframes cta-large-responsive-particle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(2);
        box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

.cta-large-responsive-glow-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff4081, #e91e63, #f8bbd0);
    background-size: 200% 200%;
    filter: blur(18px);
    opacity: 0;
    z-index: -1;
    animation: cta-large-responsive-glow-ring-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-large-responsive-glow-ring-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
        background-position: 0% 50%;
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
        background-position: 100% 50%;
    }
}

.cta-large-responsive:hover {
    box-shadow:
        0 12px 40px rgba(233, 30, 99, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.15);
}

.cta-large-responsive:hover .cta-large-responsive-icon {
    transform: scale(1.15) rotate(360deg);
}

.cta-large-responsive:active {
    animation: cta-large-responsive-bg-shift 4s ease-in-out infinite;
    transform: scale(0.85, 0.85);
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .cta-large-responsive-bubble {
        font-size: 11px;
        padding: 8px 15px;
        gap: 4px;
    }

    .cta-large-responsive {
        padding: 28px 20px;
    }

    .cta-large-responsive-main-text {
        font-size: 16px;
    }

    .cta-large-responsive-icon {
        width: 40px;
        height: 40px;
    }

    .cta-large-responsive-icon-inner {
        font-size: 20px;
    }
}
