:root {
    --bg-black: #333333;
}

main.page {
    padding-top: 24px;
}

.title--simple {
    margin-bottom: 8px;
}

.tab__btns {
    border-radius: 3px;
    overflow: hidden;
}
.tab__btn {
    font-size: 15px;
    padding: 9px 0;
    color: #919191;
    background: #F5F5F5;
}

.step-bar {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.3;
    margin-inline: auto;
    margin-bottom: 16px;
}
.step-bar.tentou {
    max-width: 270px;
}
.step-bar.yuusou {
    max-width: 460px;
}
.step-bar li {
    position: relative;
    width: 100%;
}
.step-bar li::before {
    content: "";
    width: 9px;
    height: 9px;
    display: block;
    margin-inline: auto;
    margin-bottom: 7px;
    border-radius: 50%;
    background: #DBDBDB;
    border: 3px solid var(--white);
}
.step-bar li.current::before {
    background-color: var(--red);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--red);
}
.step-bar li:not(:first-child)::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #DBDBDB;
    position: absolute;
    top: 7px;
    left: -50%;
    z-index: -1;
}

.order-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-item li {
    padding-block: 24px;
    border-bottom: 1px solid var(--bd-gray);
    width: 100%;
}
.order-item .card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 16px;
    font-size: 14px;
}
.order-item .card img {
    width: 38px;
}
.order-item .total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 14px;
}
.order-item .total span {
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.order-item .amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    margin-top: 16px;
}
.order-item button {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: var(--white);
    border: 1px solid #3C3C43;
    color: #3C3C43;
    font-size: 13px;
}
.order-item input {
    width: 51px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--bd-gray);
    color: #3C3C43;
    font-size: 16px;
    padding: 0;
    text-align: center;
}
.order-item .remove-btn {
    width: 66px;
    height: 26px;
    margin-left: 40px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1;
}
.order-item .error {
    font-size: 11px;
    color: #E02727;
    flex-basis: 100%;
    min-height: 1.4em;
    visibility: hidden;
}

.order-item .error.is-visible {
    visibility: visible;
}

.order-summary {
    margin-top: 20px;
    padding: 18px 16px; 
    font-weight: bold;
    background: var(--bg-gray);
}
.order-summary .ttl {
    font-size: 19px;
    margin-bottom: 18px;
    line-height: 1;
}
.order-summary .total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    align-items: center;
}
.order-summary .total span {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.order-summary .price span {
    font-size: 21px;
}


@media screen and (min-width:768px) {
    .order-item .card {
        width: 341px;
    }
    .order-item .total {
        width: 191px;
    }
}