/* ホームページサブスクリプション CTA */
.homepage-subscription-cta-section {
    margin: 4rem 0 2rem;
    padding: 40px 1rem 0;
}

.homepage-subscription-cta-wrapper {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #00867b 0%, #10b981 100%);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 134, 123, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.homepage-subscription-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 20px;
}

.hp-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: hpPatternMove 60s linear infinite;
}

@keyframes hpPatternMove {
    0% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.hp-icon-bg {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hp-icon-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.homepage-subscription-cta-content {
    position: relative;
    padding: 4rem 2.5rem 3rem;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

.hp-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.hp-icon svg {
    width: 40px;
    height: 40px;
    color: #00867b;
}

.hp-cta-catchphrase {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.hp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    backdrop-filter: blur(10px);
}

.hp-cta-badge svg {
    width: 16px;
    height: 16px;
}

.hp-cta-pricing {
    margin-bottom: 2rem;
}

.hp-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.price-unit {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.price-tax {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.hp-price-details {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hp-features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hp-features-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hp-features-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.hp-cta-button-wrapper {
    margin: 2rem 0 1.5rem;
}

.hp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 3rem;
    background: #ffffff;
    color: #00867b;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hp-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 134, 123, 0.1), transparent);
    transition: left 0.5s ease;
}

.hp-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #00867b;
    background: #f0fdf4;
}

.hp-cta-button:hover::before {
    left: 100%;
}

.hp-cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hp-cta-button:hover svg {
    transform: translateX(5px);
}

.hp-cta-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .homepage-subscription-cta-wrapper {
        margin: 50px auto 0;
    }

    .homepage-subscription-cta-content {
        padding: 3.5rem 1.5rem 2.5rem;
    }

    .hp-icon {
        width: 70px;
        height: 70px;
        top: -35px;
    }

    .hp-icon svg {
        width: 35px;
        height: 35px;
    }

    .hp-cta-catchphrase {
        font-size: 1.15rem;
    }

    .hp-cta-badge {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }

    .price-label {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 2.8rem;
    }

    .price-unit {
        font-size: 1.5rem;
    }

    .price-tax {
        font-size: 0.9rem;
    }

    .hp-price-details {
        font-size: 0.95rem;
    }

    .hp-features-list {
        gap: 0.6rem;
    }

    .hp-features-list li {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }

    .hp-cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hp-cta-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .homepage-subscription-cta-wrapper {
        margin: 40px auto 0;
    }

    .homepage-subscription-cta-content {
        padding: 3rem 1rem 2rem;
    }

    .hp-icon {
        width: 60px;
        height: 60px;
        top: -30px;
    }

    .hp-icon svg {
        width: 30px;
        height: 30px;
    }

    .hp-cta-catchphrase {
        font-size: 1.05rem;
    }

    .hp-cta-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .price-unit {
        font-size: 1.3rem;
    }

    .hp-features-list li {
        font-size: 0.9rem;
    }

    .hp-cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .homepage-subscription-cta-wrapper {
        box-shadow: 0 10px 40px rgba(0, 134, 123, 0.35);
    }
}
