/* ========================================
   Price
======================================== */

.price {
    width: 100vw;

    padding: 100px 0 120px;

    background: var(--color-background);
}

.sp-only {
    display: none;
}

/* ========================================
   Inner
======================================== */

.price__inner {
    width: calc(100% - 6%);
    max-width: 1400px;

    margin: 0 auto;
}

/* ========================================
   White Card
======================================== */

.price__card {
    width: 100%;
    min-height: 800px;

    padding: 110px clamp(60px, 7vw, 120px) 100px;

    background: #fff;

    /* 右上を斜めにカット */
    clip-path: polygon(
        0 0,
        calc(100% - 110px) 0,
        100% 110px,
        100% 100%,
        0 100%
    );
}

/* ========================================
   Header
======================================== */

.price__header {
    margin-bottom: 110px;
}

.price__label {
    margin-bottom: 14px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.12em;

    color: var(--color-muted);
}

.price__title {
    margin: 0;

    font-size: 50px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.05em;

    color: var(--color-text);
}

/* ========================================
   Plans
======================================== */

.price__plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;/*clamp(50px, 6vw, 100px)*/
    /* タイトル・人気表示・価格・税別・説明 */

    width: 100%;
}

/* ========================================
   Plan
======================================== */

.price-plan {
    text-align: center;
}

/* 豊作プラン（1番目） / 案山子プラン（3番目） */
.price-plan:nth-child(1),
.price-plan:nth-child(3) {
    background-color: rgba(244, 240, 230, 0.5); /* #f4f0e6 透過50% */
}

/* 稲刈りプラン */
.price-plan--gray {
    background-color: rgba(230, 230, 230, 0.5); /* #e6e6e6 透過50% */
}

.price-plan__title {
    margin: 0;

    font-size: 32px;
    font-weight: 800;
    line-height: 2.2;
    letter-spacing: 0.1em;
}
.price-plan__title__second {
    margin-top: 60px;

    font-size: 32px;
    font-weight: 800;
    line-height: 2.2;
    letter-spacing: 0.1em;
}
.price-plan__note {
    height: 30px;
    margin-top: 30px;

    font-size: 12px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.12em;

    color: var(--color-accent);
}
/* 人気表示が存在しないカードにも同じ30pxを確保 */
/* .price-plan:not(:has(.price-plan__note)) .price-plan__price {
    margin-top: 30px;
} */

/* ========================================
   price-plan__image
======================================== */

.price-plan__image {
    width: fit-content;
    margin: 30px -20px 0 auto;
    scale: 0.9;
    transform-origin: right center;
    transform: translateY(0);
}

/* ========================================
   Price Number
======================================== */

.price-plan__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}

.price-plan__price strong {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.8;
    letter-spacing: 0.12em;
}

.price-plan__price span {
    font-size: 24px;
    font-weight: 800;
}

.price-plan__tax {
    margin: 15px 0 0;

    font-size: 14px;
    letter-spacing: 0.08em;
    font-weight: 800;
}

/* ========================================
   Red Line
======================================== */

.price-plan__line {
    display: block;

    width: 45px;
    height: 1px;

    margin: 35px auto 30px;

    background: var(--color-accent);
}

/* ========================================
   Text
======================================== */

.price-plan__text {
    margin: 0;

    font-size: 12px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.12em;

    color: var(--color-muted);
}
.price-plan__text span {
    margin: 0;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.12em;

    color: var(--color-muted);
}
.price-plan__sub {
    margin: 5px 0;

    font-size: 10px;

    color: var(--color-muted);
}

.price-plan__message__luxury{
    margin-top: 90px;
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

.price-plan__message {
    margin-top: 40px;
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

/* ========================================
   Footnote
======================================== */

.price__footnote {
    margin-top: 70px;

    font-size: 14px;
    font-weight: 800;
    line-height: 3;
    letter-spacing: 0.12em;
    text-align: center;

    color: var(--color-muted);
}

/* ========================================
   スマホ
======================================== */

@media (max-width: 600px) {
    .price {
        padding: 60px 20px 80px;
    }

    .sp-only {
        display: inline;
    }

    .price__card {
        min-height: auto;
        padding: 60px 24px;

        clip-path: polygon(
            0 0,
            calc(100% - 40px) 0,
            100% 40px,
            100% 100%,
            0 100%
        );
    }

    .price__header {
        margin-bottom: 60px;
    }

    .price__title {
        font-size: 30px;
    }

    .price__plans {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .price-plan__text {
        font-size: 10px;
    }
    .price-plan__price {
        line-height: 1.2;
    }
    .price-plan__price strong {
        font-size: 34px;
        line-height: 1.2;
    }
    .price-plan__price span {
        font-size: 24px;
        font-weight: 800;
        line-height: 3;
        letter-spacing: 0.12em;
    }
    .price-plan__tax {
        font-size: 14px;
        font-weight: 800;
        line-height: 2.2;
        letter-spacing: 0.12em;
        margin: 0;
    }
    .price__footnote {
        line-height: 1.5;
        margin-top: 0;
        font-size: 10px;
        font-weight: 600;
    }
    .price-plan__line {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .price-plan__image {
        width: fit-content;
        margin: 30px -20px 0 auto;
        scale: 0.9;
        transform-origin: right center;
        transform: translateY(-80px);
    }

    .price-plan__image img {
        display: block;
        width: auto;
        max-width: 100%;
    }

    .price-plan__message__luxury{
        font-weight: 600;
        margin-top:24px;
        padding-bottom: 42px;
    }

    .price-plan__message {
        font-weight: 600;
        margin-top:24px;
        padding-bottom: 42px;
    }
}
