.price-page {
    padding: 9.6rem 4rem 12rem;
}

.price-layout {
    display: grid;
    grid-template-columns: 20rem minmax(0, 72rem);
    gap: 7.2rem;
    align-items: start;
    max-width: 110rem;
    margin: 0 auto;
}

.price-nav {
    position: sticky;
    top: 12rem;
}

.price-nav--inline {
    display: none;
}

.price-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.price-nav__select {
    width: 100%;
    height: 4.8rem;
    padding: 0 3.6rem 0 1.8rem;
    border: 0;
    border-radius: 0.4rem;
    background: var(--base-white);
    color: var(--text-black);
    font-size: var(--fz-13);
    line-height: 1.4;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 1.8rem) 50%, calc(100% - 1.3rem) 50%;
    background-size: 0.5rem 0.5rem, 0.5rem 0.5rem;
    background-repeat: no-repeat;
}

.price-content {
    min-width: 0;
}

.price-section + .price-section {
    margin-top: 9.6rem;
}

.price-payment__box {
    margin-top: 5.6rem;
    padding: 3.2rem 4rem;
    background: var(--base-white);
    border: 1px solid rgba(218, 177, 106, 0.45);
}

.price-payment__lead {
    margin: 0;
    color: var(--text-gray);
    font-size: var(--fz-12);
    line-height: 1.8;
    text-align: center;
}

.price-payment__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.4rem;
    margin: 2.8rem 0 0;
    padding: 0;
    list-style: none;
}

.price-payment__list li {
    display: grid;
    justify-items: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-payment__list li::before,
.price-payment__list li::after {
    content: none;
    display: none;
}

.price-payment__icon {
    display: grid;
    place-items: center;
    width: 7.2rem;
    height: 7.2rem;
}

.price-payment__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.price-payment__name {
    font-size: var(--fz-12);
    line-height: 1.6;
    text-align: center;
}

.price-pickup__slider {
    margin-top: 5.6rem;
    overflow: hidden;
}

.price-pickup__slide {
    width: min(34rem, 100%);
}

.price-pickup__slide a,
.price-pickup__slide img {
    display: block;
}

.price-pickup__slide img {
    width: 100%;
    object-fit: cover;
}

.price-pickup__pagination {
    position: static;
    margin-top: 2.4rem;
}

.price-table {
    display: grid;
    gap: 7.2rem;
    margin-top: 5.6rem;
}

.price-table__section {
    scroll-margin-top: 12rem;
}

.price-table__section h3 {
    margin: 0;
    padding: 1.8rem 2.4rem;
    background: var(--deco-pink);
    color: var(--heading-brown);
    font-family: var(--font-serif);
    font-size: var(--fz-20);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.price-table__section h3::after {
    display: none;
}

.price-table__group {
    margin-top: 3.6rem;
}

.price-table__rows {
    display: grid;
    margin-top: 2rem;
}

.price-table__row {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(12rem, max-content) max-content;
    column-gap: clamp(1.6rem, 2.4vw, 3.2rem);
    row-gap: 0.4rem;
    align-items: center;
    min-height: 5.6rem;
    border-bottom: 1px solid var(--line);
    color: var(--text-black);
    font-size: var(--fz-14);
    line-height: 1.7;
}

.price-table__name,
.price-table__detail,
.price-table__price {
    min-width: 0;
}

.price-table__name {
    overflow-wrap: anywhere;
}

.price-table__detail,
.price-table__price {
    text-align: right;
}

.price-table__detail {
    color: var(--text-gray);
}

.price-table__price {
    white-space: nowrap;
}

.price-note {
    margin: 0.8rem 0 1.8rem;
    color: var(--text-gray);
    font-size: var(--fz-12);
    line-height: 1.8;
}

.price-table__note {
    margin-top: 3.2rem;
    color: var(--text-gray);
    font-size: var(--fz-12);
    line-height: 1.8;
}

.price-table__content {
    margin-top: 3.2rem;
    padding: 3.2rem;
    background: var(--base-white);
    font-size: var(--fz-14);
    line-height: 2;
}

.price-table__content > :first-child,
.price-table__note > :first-child {
    margin-top: 0;
}

.price-table__content > :last-child,
.price-table__note > :last-child {
    margin-bottom: 0;
}

.price-empty {
    margin: 4rem 0 0;
    padding: 2.4rem;
    background: var(--base-white);
    border-radius: 0.8rem;
    font-size: var(--fz-14);
    line-height: 1.8;
}

.treatment-price .price-table {
    margin-top: 5.6rem;
}

.price-table__row + .price-table__row .price-table__name:empty {
    visibility: hidden;
}

.price-table__row.is-connected {
    border-bottom: none;
}

.price-table__row.is-child {
    border-top: none;
}

.price-table__row.is-child .price-table__name {
    visibility: hidden;
}

@media (max-width: 767px) {
    .price-page {
        padding: 6.4rem 2rem 8rem;
    }

    .price-layout {
        display: block;
    }

    .price-nav {
        position: static;
        margin-bottom: 5.6rem;
    }

    .price-nav--side {
        display: none;
    }

    .price-nav--inline {
        display: block;
        margin: 2.8rem 0 4rem;
    }

    .price-section + .price-section {
        margin-top: 7.2rem;
    }

    .price-payment__box {
        padding: 2.4rem 2rem;
    }

    .price-payment__list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .price-payment__list li:last-child {
        grid-column: auto;
    }

    .price-payment__icon {
        width: 5.2rem;
        height: 5.2rem;
    }

    .price-payment__name {
        font-size: 1rem;
        line-height: 1.4;
    }

    .price-pickup__slide {
        width: 100%;
    }

    .price-table {
        gap: 6.4rem;
    }

    .price-table__section h3 {
        padding: 1.4rem 1.6rem;
        font-size: var(--fz-18);
    }

    .price-table__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.4rem;
        padding: 1.6rem 0;
    }

    .price-table__name {
        font-weight: 400;
    }

    .price-table__detail,
    .price-table__price {
        text-align: left;
    }

    .price-table__price {
        white-space: normal;
    }

}
