/* クロージングセクション */
.closing-section {
    background: #EF5350;
    padding: 60px 0;
    position: relative;
    overflow: visible;
    margin: 40px 0;
}



.closing-section .shimmer {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.closing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.closing-container::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
}

.closing-section::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid #EF5350;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.closing-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    line-height: 1.3;
}

.closing-title .highlight-inbalink {
    background: linear-gradient(135deg, #F6E05E 0%, #ECC94B 50%, #D69E2E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: none;
    display: inline-block;
    position: relative;
    -webkit-text-stroke: 1px #B7791F;
    text-stroke: 1px #B7791F;
}

.closing-title .highlight-inbalink::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F6E05E, #D69E2E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    -webkit-text-stroke: 2px #975A16;
    text-stroke: 2px #975A16;
}

.closing-subtitle {
    font-size: 54px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.closing-subtitle .highlight-free {
    background: linear-gradient(135deg, #F6E05E 0%, #ECC94B 50%, #D69E2E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 54px;
    text-shadow: none;
    display: inline-block;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    -webkit-text-stroke: 1px #B7791F;
    text-stroke: 1px #B7791F;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.closing-subtitle .highlight-free::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F6E05E, #D69E2E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    -webkit-text-stroke: 2px #975A16;
    text-stroke: 2px #975A16;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .closing-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .closing-container {
        padding: 0 15px;
    }
    
    .closing-title {
        font-size: 24px;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .closing-subtitle {
        font-size: 36px;
        line-height: 1.4;
    }
    
    .closing-subtitle .highlight-free {
        font-size: 36px;
    }
    
    .closing-section::after {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 15px solid #EF5350;
        bottom: -15px;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    }
}

@media screen and (max-width: 480px) {
    .closing-section {
        padding: 30px 0;
        margin: 20px 0;
    }
    
    .closing-title {
        font-size: 35px;
        margin-bottom: 4px;
    }
    
    .closing-subtitle {
        font-size: 48px;
    }
    
    .closing-subtitle .highlight-free {
        font-size: 50px;
    }
    
    .closing-section::after {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 12px solid #2F855A;
        bottom: -12px;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }
} 