@charset "utf-8";

/* ---- レシピ シングルページ ---- */

.recipe-info .wrap::after{
    content: "";
    display: block;
    clear: both;
}

.recipe-info .right{
    float: right;
    width: calc(50% - 40px/2);
}

.recipe-info .left{
    float: left;
    width: calc(50% - 40px/2);
}

.recipe-info .heading_rd{
    color: var(--clr-main);
    font-weight: bold;
    font-size: var(--fs-18);
    margin-bottom: 10px;
}

.recipe-info .heading_gy{
    color: var(--clr-dgy);
    font-weight: bold;
    margin-bottom: 10px;
}

.recipe-info figure{
    margin-bottom: 10px !important;
}

.recipe-info time{
    font-size: var(--fs-14) !important;
}

.recipe-info small{
    font-size: var(--fs-12);
}

.recipe-img{
    width: calc(50% - 40px/2);
}

.recipe-img figure{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.recipe-items{
    width: calc(50% - 40px/2);
}

.recipe-items ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.recipe-items ul li{
    width: calc(50% - 20px/2);
    display: flex;
}

.recipe-items ul li:nth-of-type(n+3){
    margin-top: 20px;
}

.recipe-items a{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.recipe-items small{
    display: block;
    text-align: right;
    color: var(--clr-dgy);
    text-decoration: underline;
}

.recipe-items .name + p{
    margin-top: auto;
}

.recipe-items figure{
    border: 1px solid var(--clr-gy);
}

.recipe-detail{
    margin-top: 40px;
}

.recipe-detail .txt{
    display: block;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.recipe-detail .txt:last-child{
    margin-bottom: 0;
}

.recipe-material .heading{
    font-size: var(--fs-14);
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-dgy);
}

.recipe-material dl{
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px dotted var(--clr-gy);
}

.recipe-material dl:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.recipe-material dt{
    text-align: left;
}

.recipe-material dd{
    text-align: right;
}

.recipe-material dl.parent{
    flex-wrap: wrap;
    margin-top: 10px;
}

.recipe-material dl.parent > dt{
    font-weight: bold;
}

.recipe-material dl.parent > dd{
    width: 100%;
    margin: 10px 0 10px 30px;
}

.recipe-step dl{
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-gy);
    display: flex;
}

.recipe-step dl:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.recipe-step dt{
    margin-top: 5px;
    margin-right: 10px;
}

.recipe-step .num{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-or);
    color: var(--clr-wh);
    border-radius: 3px;
}

@media (max-width:768px){
    .recipe-img,
    .recipe-detail,
    .recipe-items{
        float: none;
        width: 100%;
    }

    .recipe-detail{
        margin-bottom: 40px;
    }

    .recipe-detail .inner{
        margin-bottom: 20px;
    }
}

@media (max-width:540px){
    .recipe-items ul li{
        width: 100%;
    }

    .recipe-items ul li:nth-of-type(n+2){
        margin-top: 20px;
    }
}