header {
    .first-p {
        font-size: 28px;
        margin: 4px 0;
    }
}

.price {
    background-color: #fff;
    padding: var(--spacing-l) 14px 56px;

    .price-inner {
        max-width: 960px;
        margin: 0 auto;
        padding: 0 14px;
        text-align: left;
    }

    h1 {
        color: #c45c8b;
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: var(--spacing-m);
        line-height: 1.4;
        position: relative;

        &::after {
            content: "";
            display: block;
            width: 80px;
            height: 3px;
            background-color: #c45c8b;
            margin: 0.8rem auto 0;
            border-radius: 2px;
        }

        @media (width <=768px) {
            font-size: 1.5rem;

            &::after {
                width: 50px;
                height: 2px;
            }
        }
    }



    .intro {
        text-align: center;
        background-color: inherit;
        font-size: 1rem;
        color: #555;
        margin-bottom: var(--spacing-m);

        @media (width <=768px) {
            margin-bottom: var(--spacing-s);
        }
    }

    .price-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;

        .price-card {
            cursor: pointer;
            border: 2px solid #f3c6da;
            background-color: #fff;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 1rem;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;

            &:hover {
                transform: translateY(-4px);
                box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
            }

            h3 {
                text-align: center;
            }

            &.recommended {
                border: 2px solid #ff99bb;
                background: linear-gradient(135deg, #ffe4ec, #ffffff);
                position: relative;
                z-index: 1;
                transform: scale(1.03);
                box-shadow: 0 12px 20px rgba(228, 60, 109, 0.2);

                &::before {
                    content: "おすすめ";
                    position: absolute;
                    top: -12px;
                    left: 50%;
                    transform: translateX(-50%);
                    background-color: #e91e63;
                    color: #fff;
                    font-size: 0.75rem;
                    font-weight: bold;
                    padding: 0.3rem 0.8rem;
                    border-radius: 999px;
                    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
                    letter-spacing: 0.05em;
                }

                &:hover {
                    transform: scale(1.06);
                    box-shadow: 0 14px 24px rgba(228, 60, 109, 0.3);
                }
            }

            .plan-title {
                font-size: 1.25rem;
                font-weight: bold;
                color: #c45c8b;
                margin-bottom: 0.5rem;
            }

            .price {
                padding: var(--spacing-s) 14px;
                border-top: none;
                background: linear-gradient(135deg, #fbeaff, #d6e0ff);
                font-size: 1.2rem;
                color: #e91e63;
                font-weight: bold;
                margin-bottom: 0.5rem;
            }

            .desc {
                font-size: 1rem;
                color: #444;
                line-height: 1.5;
            }
        }
    }

    .payment-area,
    .policy-area {
        margin-top: var(--spacing-l);
        background-color: #fafafa;
        padding: 2rem 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);

        h2.subsection-title {
            font-size: 1.4rem;
            font-weight: bold;
            color: #c45c8b;
            margin-bottom: 1rem;
            border-left: 4px solid #c45c8b;
            padding-left: 0.75rem;
        }

        p {
            font-size: 1rem;
            color: #555;
            margin-bottom: 1rem;
        }

        ul {
            list-style: disc inside;
            padding-left: 1rem;

            li {
                font-size: 0.95rem;
                color: #444;
                line-height: 1.6;
                margin-bottom: 0.5rem;
            }
        }

        @media (width <=768px) {
            padding: 1.5rem 1rem;

            h2.subsection-title {
                font-size: 1.2rem;
            }

            li {
                font-size: 0.9rem;
            }
        }
    }



    .cta-area {
        margin-top: 4rem;
        padding: 3rem 1.5rem;
        background: linear-gradient(135deg, #c2f0e0, #f5fdf8);
        border-radius: 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        text-align: center;
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(72, 239, 192, 0.25), transparent);
            z-index: 0;
            border-radius: 50%;
        }

        .cta-message {
            font-size: 1.2rem;
            font-weight: 600;
            color: #2e7d5f;
            margin-bottom: 1rem;
            z-index: 1;
            position: relative;
        }

        .cta-button {
            display: inline-block;
            font-weight: bold;
            padding: 0.85rem 2.5rem;
            font-size: 1.05rem;
            border-radius: 2rem;
            text-decoration: none;
            transition: all 0.3s ease;
            z-index: 1;
            position: relative;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

            &.cta-primary {
                background-color: #28b48d;
                color: #fff;

                &:hover {
                    background-color: #21a07d;
                    transform: scale(1.05);
                }

                &:active {
                    transform: scale(0.97);
                }
            }

            &.cta-secondary {
                background-color: #c45c8b;
                color: #fff;

                &:hover {
                    background-color: #b24a79;
                    transform: scale(1.05);
                }

                &:active {
                    transform: scale(0.97);
                }
            }
        }

        @media (width <=768px) {
            padding: 2rem 1rem;

            .cta-message {
                font-size: 1.05rem;
            }

            .cta-button {
                font-size: 1rem;
                padding: 0.75rem 2rem;
            }
        }

        @media (width <=480px) {
            .cta-button {
                display: block;
                width: 100%;
                max-width: 320px;
                margin: 0.75rem auto;
            }
        }
    }

}