/* Price carousel styles migrated from lpc/2_4 */
.price .only-sp {
    display: none;
}

.price {
    margin-top: min(3.3854167vw, 65px);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.price .items {
    margin-top: min(4.6875vw, 90px);
    display: grid;
    position: relative;
    width: min(72.7777778vw, 1048px);
    padding-bottom: min(3.4722222vw, 50px);
}

.price .items .dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    gap: min(1.1111111vw, 16px);
}

.price .items .dots>i {
    display: block;
    width: min(1.0416667vw, 15px);
    height: min(1.0416667vw, 15px);
    border-radius: 50%;
    background-color: #D9D9D9;
    /* cursor: pointer; */
}

.price .items .dots>i.current {
    background-color: #BBBBBB;
    cursor: default;
}

.price .items .pre-btn,
.price .items .after-btn {
    position: absolute;
    display: flex;
    width: min(2.2222222vw, 32px);
    height: min(2.2222222vw, 32px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #858585;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.price .items .pre-btn {
    left: max(-5vw, -72px);
}

.price .items .after-btn {
    right: max(-5vw, -72px);
}

.price .items .pre-btn>img,
.price .items .after-btn>img {
    width: min(0.5555556vw, 8px);
    height: min(0.9027778vw, 13px);
}

.price .items .after-btn>img {
    transform: rotateZ(180deg);
}

.price .items .item {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    background-color: white;
    box-shadow: inset 2px 2px 8px #A9A9A940, 4px 4px 10px #A9A9A9;
    border-radius: min(1.3888889vw, 20px);
    padding-block: min(3.4722222vw, 50px);
    padding-inline: min(5.5555556vw, 80px);
    opacity: 0;
    transform: translateX(113%);
    transition: transform .55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .4s ease;
    will-change: transform, opacity;
}

.price .items .item .ps {
    color: #666;
    font-size: min(0.9722vw, 14px);
}

.price .items .item.current {
    transform: translateX(0);
    opacity: 1;
    z-index: 100;
}

.price .items .item .name {
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    font-size: min(1.4583333vw, 21px);
    font-weight: bold;
    padding-block: min(0.6944444vw, 10px);
    padding-left: min(2.7083333vw, 39px);
    padding-right: min(2.0833333vw, 30px);
    border-radius: min(1.3888889vw, 20px) 0 min(1.1111111vw, 16px) 0;
    background: linear-gradient(to right, #3c4045, #61666f);
}

.price .items .item .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price .items .item .content .left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.price .items .item .content .left .title {
    font-size: min(2.2222222vw, 32px);
    font-weight: bolder;
    color: #36393E;
    position: relative;
}

.price .items .item .content .left .title:before {
    width: min(0.5555556vw, 8px);
    height: min(2.4305556vw, 35px);
    content: "";
    display: block;
    background: linear-gradient(to bottom, #FFD600, #FFB74D);
    position: absolute;
    left: max(-1.25vw, -18px);
    top: 50%;
    transform: translateY(-50%);
}

.price .items .item .content .left .others {
    width: min(18.3333333vw, 264px);
    margin-top: min(2.2222222vw, 32px);
}

.price .items .item .content .left .others .text {
    margin-top: min(0.6944444vw, 10px);
    font-size: min(1.1111111vw, 16px);
    color: #36393E;
    position: relative;
}

.price .items .item .content .left .others .text.add-dashed:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: min(0.0694444vw, 1px) dashed #333333;
    content: "";
    width: min(7.8472222vw, 113px);
}

.price .items .item .content .left .options {
    margin-top: min(0.5555556vw, 8px);
}

.price .items .item .content .left .options .option {
    width: min(17.6388889vw, 254px);
    height: min(3.0555556vw, 44px);
    background-color: #F39800;
    border-radius: min(0.6944444vw, 10px);
    font-weight: 700;
    color: white;
    font-size: min(1.25vw, 18px);
    margin-bottom: min(0.2777778vw, 4px);
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-align: center;
    margin-left: min(0.3472222vw, 5px);
}

.price .items .item .content .left .options .option.sm {
    font-size: min(1.1111111vw, 16px);
    line-height: 108%;
}

.price .items .item .content .left .options .option>img {
    width: min(1.875vw, 27px);
    height: min(1.875vw, 27px);
    margin-right: min(0.6944444vw, 10px);
    margin-left: min(1.1805556vw, 17px);
}

.price .items .item .content .left .options .group {
    border: 2px dashed #F35500;
    border-radius: min(0.7638889vw, 11px);
    padding: min(0.2777778vw, 4px);
}

.price .items .item .content .left .options .group .option {
    margin-left: 0;
    margin-bottom: min(0.4166667vw, 6px);
    position: relative;
}

.price .items .item .content .left .options .add-or-icon .option:not(:last-child):after {
    position: absolute;
    left: 50%;
    bottom: max(-0.8333333vw, -12px);
    transform: translateX(-50%);
    content: "or";
    border-radius: 50%;
    width: min(1.1805556vw, 17px);
    height: min(1.1805556vw, 17px);
    background-color: #36393E;
    font-size: min(0.6944444vw, 10px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.price .items .item .content .left .options .option:last-child {
    margin-bottom: 0;
}

.price .items .item .content .right {
    width: min(27.0833333vw, 390px);
    height: min(32.3611111vw, 466px);
    border-radius: min(0.6944444vw, 10px);
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 750px) {
    .price .items {
        width: min(63.8vw, 319px);
        padding-bottom: min(8vw, 40px);
    }

    .price .items .item {
        box-shadow: 2px 2px 10px #bebebe;
        padding: min(8.8vw, 44px) min(3vw, 15px);
    }

    .price .items .item .ps {
        text-align: center;
        font-size: min(1.6026490066vw, 11px);
        padding-block: min(1.3333333333vw, 10px);
        padding-inline: min(3.6vw, 27px);
    }

    .price .items .pre-btn,
    .price .items .after-btn {
        width: min(6.4vw, 32px);
        height: min(6.4vw, 32px);
    }

    .price .items .item .content .left .title {
        padding-left: min(3.2vw, 16px);
        margin-left: min(1.6vw, 8px);
    }

    .price .items .item .content .left .title:before {
        width: min(1.6vw, 8px);
        height: min(5.4vw, 27px);
    }

    .price .items .pre-btn {
        left: max(-12vw, -60px);
    }

    .price .items .after-btn {
        right: max(-12vw, -60px);
    }

    .price .items .pre-btn>img,
    .price .items .after-btn>img {
        width: min(1.6vw, 8px);
        height: min(2.6vw, 13px);
    }

    .price .items .item .name {
        font-size: min(2.8vw, 14px);
    }

    .price .items .item .content .left>img {
        margin-top: min(2vw, 10px);
        width: 100%;
        height: min(36.2vw, 181px);
        object-fit: cover;
        object-position: top center;
    }

    .price .items .item .content .left .title {
        font-size: min(4vw, 20px);
    }

    .price .items .item .content .left .others {
        width: 100%;
    }

    .price .items .item .content .left .others .text {
        font-size: min(2.8vw, 14px);
        display: inline;
    }

    .price .items .item .content .left .others .text.add-dashed {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .price .items .item .content .left .others .text.add-dashed::after {
        width: min(14.9vw, 74.5px);
        position: relative;
    }

    .price .items .item .content .left .others .text.add-dashed::before {
        position: relative;
        border: min(0.0694444vw, 1px) dashed #333333;
        content: "";
        width: min(14.9vw, 74.5px);
    }

    .price .items .item .content .left .options {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .price .items .item .content .left .options .option {
        width: min(55.8vw, 279px);
        height: min(7.8vw, 39px);
        font-size: min(3.2vw, 16px);
        margin-bottom: min(1.2vw, 6px);
    }

    .price .items .item .content .left .options .group .option:not(:last-child) {
        margin-bottom: min(1.2vw, 6px);
    }

    .price .items .item .content .left .options .option>img {
        width: min(5vw, 25px);
        height: min(5vw, 25px);
        margin-left: min(4.8vw, 24px);
        margin-right: min(4vw, 20px);
    }

    .price .items .item .content .left .options .option.sm {
        font-size: min(3.2vw, 16px);
    }

    .price .items .item .content .left .options .add-or-icon .option:not(:last-child):after {
        width: min(3.2vw, 16px);
        height: min(3.2vw, 16px);
        font-size: min(2.4vw, 12px);
        bottom: max(-2.4vw, -12px);
    }

    .price .items .dots>i {
        width: min(2.4vw, 12px);
        height: min(2.4vw, 12px);
    }

    .price .only-sp {
        display: block;
    }

    .price .only-pc {
        display: none;
    }
}

/* ===== Price card (migrated from carousel_PC.css / carousel_SP.css) ===== */
.price-card {
    border-radius: clamp(15px, 4vw, 20px);
    padding: clamp(20px, 5vw, 30px);
    max-width: 100%;
    width: clamp(300px, 90vw, 500px);
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #dee2e6;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

.monthly-badge {
    background: #dc3545;
    color: white;
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 3vw, 16px);
    font-weight: bold;
    position: absolute;
    left: clamp(15px, 5vw, 35px);
    top: clamp(15px, 4vw, 50px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.price-content {
    margin-left: clamp(90px, 22vw, 120px);
    display: flex;
    align-items: flex-end;
    gap: clamp(4px, 1.5vw, 8px);
}

.price-main {
    font-size: clamp(48px, 12vw, 72px);
    font-weight: 900;
    color: #dc3545;
    line-height: 1;
}

.price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    white-space: nowrap;
}

.tax-label {
    font-size: clamp(14px, 3.5vw, 18px);
    color: #dc3545;
    font-weight: normal;
    margin-bottom: 2px;
}

.currency {
    font-size: clamp(24px, 6vw, 32px);
    color: #dc3545;
    font-weight: bold;
}

.payment-note {
    margin-top: clamp(15px, 4vw, 20px);
    font-size: clamp(11px, 2.5vw, 13px);
    color: #6c757d;
    text-align: left;
    margin-left: clamp(90px, 22vw, 120px);
    line-height: 1.4;
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .price-card {
        width: 550px;
    }
}

/* Mobile optimization */
@media (max-width: 480px) {
    .price-card {
        margin: 20px;
        padding: 20px;
    }

    .price-content {
        margin-left: 85px;
    }

    .payment-note {
        margin-left: 85px;
        font-size: 11px;
    }

    .monthly-badge {
        width: 60px;
        height: 60px;
        font-size: 12px;
        left: 20px;
        top: 40px;
    }
}

/* Tablet optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .price-card {
        width: 85vw;
    }
}
