/* ==========================================================================
   料金案内ページ
   ========================================================================== */

/* --- なぜ安いのか --- */
.why-cheap__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.why-cheap__card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.why-cheap__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27, 42, 74, 0.10);
}

.why-cheap__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.why-cheap__card-num {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.why-cheap__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.why-cheap__card-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 比較ブロック */
.why-cheap__comparison {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.why-cheap__comparison-header {
    background: var(--color-navy);
    padding: 1rem 1.5rem;
    text-align: center;
}

.why-cheap__comparison-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.why-cheap__comparison-body {
    display: flex;
    align-items: center;
    background: var(--color-white);
}

.why-cheap__comparison-item {
    flex: 1;
    padding: 2rem 1.5rem;
    text-align: center;
}

.why-cheap__comparison-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.why-cheap__comparison-price {
    font-size: 0.95rem;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.why-cheap__comparison-price strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.why-cheap__comparison-monthly {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.why-cheap__comparison-monthly strong {
    font-weight: 700;
}

.why-cheap__comparison-item--other .why-cheap__comparison-price strong {
    color: var(--color-text-light);
}

.why-cheap__comparison-item--ours {
    background: rgba(0, 184, 86, 0.04);
    border-left: none;
}

.why-cheap__comparison-item--ours .why-cheap__comparison-price strong {
    color: var(--color-green);
}

.why-cheap__comparison-item--ours .why-cheap__comparison-monthly strong {
    color: var(--color-green);
}

.why-cheap__comparison-halfway {
    flex-shrink: 0;
    position: relative;
    width: 0;
    align-self: stretch;
    border-left: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-cheap__comparison-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
}

.why-cheap__comparison-center-circle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--color-border);
}

/* --- パッケージ内容 --- */
.pricing-includes {
    margin-top: 3rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.pricing-includes__header {
    background: var(--color-navy);
    padding: 1.25rem 2rem;
}

.pricing-includes__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
}

.pricing-includes__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--color-white);
}

.pricing-includes__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-navy);
}

.pricing-includes__item:nth-child(odd) {
    border-right: 1px solid var(--color-line);
}

.pricing-includes__item svg {
    flex-shrink: 0;
    color: var(--color-green);
}

.pricing-includes__name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-includes__value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.pricing-includes__item--highlight .pricing-includes__value {
    color: var(--color-green);
    font-weight: 700;
}

/* --- 料金FAQ --- */
.section--pricing-faq {
    background: var(--color-bg);
}

/* --- SP レスポンシブ --- */
@media (max-width: 768px) {
    .why-cheap__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-cheap__card {
        padding: 2rem 1.5rem 1.5rem;
    }

    .why-cheap__comparison-body {
        flex-direction: column;
    }

    .why-cheap__comparison-item {
        width: 100%;
        padding: 1.5rem;
    }

    .why-cheap__comparison-item--ours {
        border-left: none;
        border-top: none;
    }

    .why-cheap__comparison-halfway {
        width: 100%;
        height: auto;
        align-self: auto;
        border-left: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }

    .why-cheap__comparison-halfway::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--color-border);
    }

    .why-cheap__comparison-center-circle {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        z-index: 1;
    }

    .why-cheap__comparison-center-circle::before {
        width: 100%;
        height: 1px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .pricing-includes__grid {
        grid-template-columns: 1fr;
    }

    .pricing-includes__item:nth-child(odd) {
        border-right: none;
    }
}
