.btnRecommendCorner:hover,
.btnRecommendCorner:active,
.titleRecommendCornerItem:hover,
.titleRecommendCornerItem:active,
.itemListLinks:hover .btnLinkItem,
.itemListLinks:active .btnLinkItem {
    opacity: .5;
}

.recommendRecipecorner .btnHashtag:hover .bg,
.recommendRecipeCorner .btnHashtag:active .bg{
    background-color: #fbf3ef;
} 

.recommendRecipeCorner img.object-fit{
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.recommendRecipeCorner .linkArea{
    max-width: 315px;
    width: 84vw;
    height: 45px;
    margin: auto;
    margin-top: 3%;
    margin-bottom: 9%;
    position: relative;
    border: solid #000000 2px;
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px;
    box-shadow: 2px 2px;
}

/* magazine.css引用部分*/
.recommendRecipeCorner .hashtagRecommendCornerItem .listHashtag{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.recommendRecipeCorner .btnHashtag{
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    text-decoration: none;
    border-radius: 100vh;
    background: rgb(217,44,107);
    background: -webkit-gradient(linear, left top, right top, from(rgba(217,44,107,1)), to(rgba(236,110,30,1)));
    background: -o-linear-gradient(left, rgba(217,44,107,1) 0%, rgba(236,110,30,1) 100%);
    background: linear-gradient(90deg, rgba(217,44,107,1) 0%, rgba(236,110,30,1) 100%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.recommendRecipeCorner .btnHashtag:hover .bg,
.recommendRecipeCorner .btnHashtag:active .bg{
    background-color: #fbf3ef;
}

.recommendRecipeCorner .titleRecommendCornerItem a{
    color: #000;
    text-decoration: none;
}

.recommendRecipeCorner .recommendCornerList{
	display: flex;
	flex-wrap: wrap;
}

.recommendRecipeCorner .ListHashtag{
	width: fit-content;
}

.recommendRecipeCorner .linkArea:hover{
    background-color: #eeeeee;
}

.recommendRecipeCorner .linkArea a{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    text-decoration: none;
    top: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 979px) {
    .recommendRecipeCorner .sectionTitle{
        margin-bottom: 30px;
        margin-top: 50px;
    }

    .recommendRecipeCorner .btnRecommendCorner a{
        cursor: pointer;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 96.5%;
        z-index: 100;
    }

    .recommendRecipeCorner .titleRecommendCornerItem a{
        color: #000;
        text-decoration: none;
        font-size: 14px;
        vertical-align:top;
        font-weight: 700;
    }

    .recommendRecipeCorner .btnRecommendCorner img{
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .recommendRecipeCorner .sectionTitle h2{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.0;
        text-align: center;
    }

    .recommendRecipeCorner .linkArea {
        max-width: 315px;
        width: 84vw;
        height: 45px;
        margin: auto;
        margin-bottom: 60px;
        margin-top: 15px;
        position: relative;
        border: solid #000000 2px;
        border-radius: 4px;
        -webkit-box-shadow: 2px 2px;
        box-shadow: 2px 2px;
    }

    .recommendRecipeCorner .recommendCornerContent{
        margin-right: auto;
        margin-left: auto;
        padding-left:  2%;
        padding-right: 2%;
    }

    .recommendRecipeCorner .recommendCornerList{
        display: flex;
        flex-wrap: wrap;
    }

    .recommendRecipeCorner .itemListRecommendCorner{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 50%;
        padding: 0 2%;
        margin-bottom: 15px;
    }

    .recommendRecipeCorner .linkArea span{
        font-size: 14px;
        font-weight: 400;
    }

    .recommendRecipeCorner .titleRecommendCornerItem p{
        font-size: 100%;
        font-weight: 700;
        margin-bottom: 10px;
        line-height:20px;
    }

    .recommendRecipeCorner .RecommendCornerItem{
        -ms-grid-row: 1;
        grid-row: 1 / 2;
        -ms-grid-column: 2;
        grid-column: 2 / 3;
        margin-left: 0;
    }

    .recommendRecipeCorner .btnRecommendCorner{
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1 / 2;
        position: relative;
    }

    .recommendRecipeCorner .btnHashtag .hashtagName{
        font-size: 10px;
        /*padding: 2px 8px;*/
    }
}

@media screen and (min-width: 980px) {
    .recommendRecipeCorner .linkArea{
        margin-top: 4%;

    }
    .recommendRecipeCorner .btnRecommendCorner a{
        cursor: pointer;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
    }

    .recommendRecipeCorner.linkArea{
        max-width: 500px;
        width: 500px;
        height: 70px;
    }

    .recommendRecipeCorner .btnRecommendCorner img{
        border-radius: 20px;
        z-index: -1;
        height: 168px;
        width: 252px;
    }

    .recommendRecipeCorner .btnRecommendCorner{
        -ms-grid-column: 1;
        grid-column: 1 / 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 3;
        grid-row: 1 / 3;
        margin-bottom: 15px;
        position: relative;
    }

    .recommendRecipeCorner .btnRecommendCornerImg{
        position: relative;
    }

    .recommendRecipeCorner .sectionTitle h2{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.0;
        text-align: center;
    }

    .recommendRecipeCorner .sectionTitle h2{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.0;
        text-align: center;
    }

    .recommendRecipeCorner .sectionTitle{
        margin-bottom: 70px;
    }

    .recommendRecipeCorner .titleRecommendCornerItem p{
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
        margin-bottom: 5%;
    }

    .recommendRecipeCorner .btnHashtag .hashtagName{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 18px;
        font-weight: 400;
        position: relative;
        z-index: 1;
        display: inline-block;
        top: 0;
    }

    .recommendRecipeCorner .hashtagRecommendCornerItem .listHashtag{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .recommendRecipeCorner .btnHashtag{
        cursor: pointer;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        position: relative;
        padding: 2px 12px;
        text-decoration: none;
        border-radius: 100vh;
        background: rgb(217,44,107);
        background: -webkit-gradient(linear, left top, right top, from(rgba(217,44,107,1)), to(rgba(236,110,30,1)));
        background: -o-linear-gradient(left, rgba(217,44,107,1) 0%, rgba(236,110,30,1) 100%);
        background: linear-gradient(90deg, rgba(217,44,107,1) 0%, rgba(236,110,30,1) 100%);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: hidden;
    }

    .recommendRecipeCorner .hashtagRecommendCornerItem .hashtagName{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 14px;
        font-weight: 400;
    }
    
    .recommendRecipeCorner .btnHashtag .hashtagName{
        font-family: 'Noto Sans Japanese', sans-serif;
        font-size: 14px;
        font-weight: 400;
        position: relative;
        z-index: 1;
        display: inline-block;
        top: 0;
    }

    .recommendRecipeCorner .titleRecommendCornerItem a{
        color: #000;
        text-decoration: none;
    }

    .recommendRecipeCorner .recommendCornerContent{
        max-width: 1100px;
        margin-right: auto;
        margin-left: auto;
        font-size: 25%;
    }

    .recommendRecipeCorner .recommendCornerList{
        display: flex;
        flex-wrap: wrap;
    }

    .recommendRecipeCorner .itemListRecommendCorner{
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
        width: 22.9%;
        height: 25%;
        max-width:252px;
        margin-right: 2.7%;
    }
    
    .recommendRecipeCorner .recommendCornerList h2{
        margin-bottom: 100px;
    }

    .recommendRecipeCorner .ListHashtag{
        width: fit-content;
    }

    .recommendRecipeCorner .linkArea:hover{
        background-color: #eeeeee;
    }

    .recommendRecipeCorner .linkArea{
        font-size: 20px;
        max-width: 500px;
        width: 500px;
        height: 70px;
        margin-top: 5%;
    }

    .recommendRecipeCorner .linkArea span{
        font-weight: 500;
    }

    .recommendRecipeCorner .linkArea a{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: absolute;
        text-decoration: none;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .recommendRecipeCorner .itemListRecommendCorner:last-child{
        margin-right:0;
        max-width: 252px;
    }
}

