:root {
    --kv-size: 2750px;
    /* --kv-item-width: 250px; */
    --kv-item-width: 225px;
    --rev-ease: cubic-bezier(0.76, 0, 0.24, 1)
}


.recipe_top {
    position: relative;
    font-feature-settings: "palt";
}

.recipe_top-kv {
    position: relative;
    top: 0;
    /* z-index: 1000; */
}

.recipe_top-kv .catch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    /* top: 400px; */
    top: 500px;
    width: 100%;
    max-width: 100vw
}

.recipe_top-kv .catch-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.2;
    transform: scaleX(1.01)
}

.recipe_top-kv .catch-text {
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 10px;
    line-height: 1.4
}

.recipe_top-kv .catch img {
    display: none
}


.kv-item {
    position: relative
}

.rev {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: -30px;
    position: relative;
    /* z-index: 1000; */
}

.rev-item-image {
    position: relative
}

.rev-item-image img {
    width: 100%;
    /* max-width: 250px; */
    max-width: 225px;
    height: 100%;
    transform: scale(0.99);
    /* aspect-ratio: 1/1; */
    object-fit: cover
}

.rev-item-balloons {
    position: absolute;
    width: 100%;
    /* aspect-ratio: 1; */
    z-index: 2;
    top: 0;
}

.rev-item-balloon {
    position: absolute;
    top: -60px;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 200px;
    width: 100%;
    opacity: 0;
    transition: .5s opacity;
    margin: auto;
}

.-active .rev-item-balloon {
    opacity: 1
}

.rev-item-balloon:first-child {
    transition-delay: .2s
}

.rev-item-balloon:last-child {
    transition-delay: .1s
}

.-active .rev-item-balloon:first-child {
    transition-delay: .65s
}

.-active .rev-item-balloon:last-child {
    transition-delay: .55s
}

.rev-inner {
    width: 100vw;
    height: 720px;
    overflow: hidden;
    position: relative
}

.rev-table {
    width: var(--kv-size);
    aspect-ratio: 1;
    /* position: absolute; */
    left: 50%;
    top: 120px;
    translate: -50% 0;
    transform: rotate(calc(var(--deg) * -1));
    display: flex;
    position: relative;
    transform-origin: center;
    /* z-index: 1000; */
}

.rev-item {
    width: var(--kv-item-width);
    /* position: absolute; */
    height: calc(var(--kv-size) / 2);
    transform-origin: bottom center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(var(--deg));
    /* z-index: 1000; */
}

.rev-item .kv-item-inner {
    transition: 0.5s transform var(--rev-ease)
}

.rev-item.-active .kv-item-inner {
    transform: scale(1.1)
}

.rev-table {
    transition: 1.2s transform ease-in-out, .5s opacity
}

.splash .rev-table {
    opacity: 0;
    transform: translate(0, 30%) rotate(calc(360deg / 2))
}

.animated .rev-table {
    transition: 0.5s transform var(--rev-ease)
}

.rev-inner {
    overflow: visible
}

.rev-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: absolute;
    left: 50%;
    top: 450px;
    translate: -50% 0;
    /* z-index: 99999; */
}

.rev-indicator {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: 2s transform ease-in-out, 1.5s;
    cursor: pointer;

}

.rev-indicator.active {
    background-color: #333;
}

/*モーダルを開くボタン*/
.modal-open {
    cursor: pointer;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 50%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 1;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
    opacity: 1;
    visibility: visible;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

@media screen and (max-width: 834px) {
    .recipe_top-kv .catch img {
        display: block;
        width: 151px;
    }

    .recipe_top-kv .catch p {
        font-size: 20px;
    }

    .recipe_top-kv {
        height: 460px;
        /* height: 79vw; */
    }

    .recipe_top-kv .catch {
        /* top: 360px; */
        top: 300px;
        line-height: 1.5;
    }

    .recipe_top-kv .catch-title {
        margin-top: 0;
        font-size: 24px;
        font-size: 6vw;
        line-height: 1.5;
    }

    .recipe_top-kv .catch-text {
        margin-top: 6px;
        margin-top: 1vw;
        font-size: 17px;
        font-size: 4vw;
        line-height: 1.5;
    }

    .rev-inner {
        height: 600px;
    }

    .rev-table {
        top: 93px;
    }

    .rev-item.-active .kv-item-inner {
        transform: scale(1);
    }

    .rev {
        margin-top: 0;
        /* height: 93vw; */
    }

    :root {
        --kv-size: 1650px;
        --kv-item-width: 150px;
    }

    .rev-item-image img {
        max-width: 150px;
    }

    .rev-indicator {
        width: 5px;
        height: 5px;
        margin: 0 4px;
    }

    .rev-indicators {
        top: 255px;
    }

    /* 
    .rev-inner {
        height: 87vw;
    }

    .rev-table {
        top: 23vw;
    }

    .rev-item-image img{
        max-width: none;
        width: 62vw;
    }
    .rev-item.-active .kv-item-inner {
        transform: scale(1)
    } */
}