@charset "UTF-8";

.sticky-block {
    position: sticky;
    top: 10px;
    background-color: #ffc;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 10;
}

.sticky-reserve-block {
    visibility: hidden;
    position: sticky;
    bottom: 10px;
    width: fit-content;
    margin-left: auto;
    z-index: 20;
}

.sticky-reserve-block .linkbutton {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #0f2c4c;
    padding: 15px;
    border-radius: 5px;
    width: fit-content;
}

.sticky-reserve-block.visible {
    visibility: visible;
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.sticky-reserve-block.hidden {
    visibility: visible;
    animation: zoomOut 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.content {
    margin-top: 20px;
}

.sim-condition {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.item-category {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(transparent 50%, rgba(243, 241, 243, 1) 50%);
    -webkit-transform: skew(-10deg);
    transform: skew(-10deg);
    color: #252525;
    padding: 0 0;
    border-left: none;
}

.item-category.premium {
    background: linear-gradient(transparent 50%, #ffd700 50%);
}

.item-category.standard {
    background: linear-gradient(transparent 50%, #9999ff 50%);
}

.item-category.wear {
    background: linear-gradient(transparent 50%, #ffd5ec 50%);
}

.item-category.kids {
    background: linear-gradient(transparent 50%, #aeffbd 50%);
}

.item-category.accessory {
    background: linear-gradient(transparent 50%, #a7f1ff 50%);
}

.input-item {
    margin: 5px;
    padding: 0 0 0 8px;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-item .caption {
    color: rgb(31, 111, 177);
    font-size: large;
    font-weight: bold;
    margin: 0 5rem 5px 0;
}

.input-item .rental-days {
    font-size: 2rem;
    text-align: center
}

.input-item.total-price-wrapper {
    display: block;
}

.input-item .total-price-area {
    display: flex;
    align-items: center;
    text-align: right
}

.input-item .total-price-area .total-price {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 5px;
}

.rental-item-container {
    width: 100%;
    justify-content: flex-start;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: none;
    list-style-type: none;
}

.rental-item-container li.item {
    text-align: center;
    width: 33%;
    padding: 0 2rem 3rem;
    margin: 2rem 0;
    position: relative;
}

.rental-item-container li.item .main-img {
    width: 100%;
    object-fit: contain;
    flex: 1 1 0;
    max-height: 300px;
}

.rental-item-container li.item .item-name {
    font-weight: bold;
    margin-bottom: 1rem;
}

.rental-item-container li.item .item-content {
    min-height: 7rem;
}

.rental-item-container li.item .item-content .item-description {
    margin-top: 5px;
    font-weight: bold;
    font-size: 0.75rem;
}

.rental-item-container li.item .item-content .item-remark {
    margin-top: 5px;
    font-size: 0.75rem;
}

.rental-item-container li.item .item-links {
    width: 100%;
    text-align: right;
    margin: 5px 0;
    display: flex;
    justify-content: end;
    align-items: center;
}

.rental-item-container li.item .item-links div {
    width: 35px;
    height: 35px;
    padding: 5px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #252525;
    margin: 0 5px;
    display: flex;
    justify-content: center;
}

.rental-item-container li.item .item-links div img {
    max-width: 24px;
    height: auto;
}

.rental-item-container li.item .rental-price {
    font-weight: 700;
    background: #00608b;
    color: #fff;
    line-height: 2rem;
    border-radius: 0 0 4px 4px;
    width: 100%;
}

.checkboxItem {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border: #c0c0c0 solid 3px;
    border-radius: 5px;
}

.checkbox {
    appearance: none;
    position: absolute;
    top: 25%;
    left: 35%;
    width: 100px;
    height: 100px;
    border-radius: 60px;
    cursor: pointer;
    opacity: 0;
}

.checkbox:checked {
    background-color: #777;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.checkbox:checked::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 10px;
    width: 75px;
    height: 30px;
    border-bottom: 5px solid #ffffff;
    border-left: 5px solid #ffffff;
    transform: rotate(-45deg);
    opacity: 1;
}

/* スマホレイアウト */
@media only screen and (max-width: 520px) {
    .sticky-block {
        width: 100%;
    }
    .sim-condition {
        display: block;
    }

    .sticky-reserve-block .linkbutton {
        padding: 10px;
    }

    .input-item {
        width: 100%;
        justify-content: space-between;
    }
    .input-item .caption {
        font-size: 1rem;
        text-align: left;
        margin: 0;
    }
    .input-item .rental-days {
        font-size: 1rem;
        text-align: center
    }

    .input-item .total-price-area {
        justify-content: space-between;
    }
    .input-item .total-price-area .total-price {
        font-size: 1rem;
        font-weight: bold;
        margin-right: 5px;
    }

    /* スマホは1カラムレイアウト */
    .rental-item-container li.item {
        width: 100%
    }
}

/* タブレットレイアウト */
@media only screen and (min-width: 521px) and (max-width: 768px) {
    .sim-condition {
        display: block;
    }
    .input-item {
        width: 100%;
        justify-content: space-between;
    }
    .input-item .total-price-area {
        justify-content: space-between;
    }
    .input-item .caption {
        margin: 0 0 5px 0;
    }

    /* タブレットは2カラムレイアウト */
    .rental-item-container li.item {
        width: 50%
    }
}
 