@charset "UTF-8";


/* FVダミー FV設置後に削除 */
.dammy-box{
    width: 100%;
    height: 400px;
}

/* メニュースクロール用 */
body{
    display: grid;
}

body .container{
    overflow-x: visible;
}

/* ここまでメニュースクロール用 */


.blog-main{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    margin-bottom: min(10vw,200px);
    padding: 10vw 0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: clamp(13px, 4.8vw, 20px);

}

.blog-main-left{
    width: calc(100% - 18em);
}

.blog-main-right{
    width: 13em;
}

.scroll-wrap{
    display: block;
    position: sticky;
    top: 5vh;
}

#blog-filters label.sp {
    display: none;
}

#blog-filters label{
    position: relative;
    display: block;
    margin-top: 0.7em;
    padding: 0.1em 0 0.05em 0.4em;
    line-height: 2;
    font-weight: 600;
}
#blog-filters label:nth-of-type(1){border-left: 0.18em solid #00BAD3;}
#blog-filters label:nth-of-type(2){border-left: 0.18em solid #33B48F;}
#blog-filters label:nth-of-type(3){border-left: 0.18em solid #F4B4D0;}
#blog-filters label:nth-of-type(4){border-left: 0.18em solid #F24D2C;}
#blog-filters label:nth-of-type(5){border-left: 0.18em solid #F24D2C;}

#blog-filters label input{
    display: none;
}

#blog-filters span{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: scale(0,1);
    display: block;
    transform-origin: top left;
    width: 100%;
    height: 100%;
    background: #eee;
    transition:transform ease-in-out 0.3s;
}

#blog-filters input:checked + span{
    transform: scale(1,1);
}

#blog-filters label:nth-of-type(1) span{background: #00BAD3;}
#blog-filters label:nth-of-type(2) span{background: #33B48F;}
#blog-filters label:nth-of-type(3) span{background: #F4B4D0;}
#blog-filters label:nth-of-type(4) span{background: #F24D2C;}
#blog-filters label:nth-of-type(5) span{background: #F24D2C;}

#blog-filters h4{
    position: relative;
    margin-top: 1em;
    padding-left: 0.5em;
    line-height: 2;
    font-size: 1.25em;
}
#blog-filters h4:nth-child(1) {
    margin-top: 0;
}

#blog-filters h4::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.18em;
    background-image : linear-gradient(to right, #F24D2C, #F24D2C 0.4em, transparent 0.4em, transparent 1em);
    background-size: 0.8em 0.18em;
    background-repeat: repeat-x;
}

#blog-filters .select{
    cursor: pointer;
    margin-top: 0.5em;
    padding: 0.5em 0 0.5em 0.5em;
    border: 0;
    font-weight: 600;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #333;
    border-bottom: 2px solid #F7D061;
}

#blog-filters .select:focus{
    outline: none;
    box-shadow: none;
}

#filter-blog-btn ,
#reset-btn {
    pointer-events: none;
    cursor: no-drop;
    width: 100%;
    margin-top: 1em;
    padding: 0.55em 0 0.5em;
    border-radius: 0.5em;
    font-weight: 600;
    color: #333;
    background: #ccc;
}

#filter-blog-btn.active2 ,
#reset-btn.active2 {
    cursor: pointer;
    background: #F7D061;
    pointer-events: all;
}

.h3_wrap{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding:0 0.5em;
}

.h3_wrap h3{
    position: relative;
    padding: 0.7em 0 0.7em 2.5em;
    line-height: 1.7;
    font-size: min(3.3vw , 36px);
    color: #58280F;
}

.h3_wrap .blog-date{
    padding-bottom: 0.3em;
}

.h3_wrap::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.18em;
    background-size: 0.8em 0.18em;
}

.h3_wrap.blog_yashiro::after{
    background-image : linear-gradient(to right, #00BAD3, #00BAD3 0.4em, transparent 0.4em, transparent 1em);
    background-size: 0.8em 0.18em;
}

.h3_wrap.schedule::after{
    background-image : linear-gradient(to right, #F24D2C, #F24D2C 0.4em, transparent 0.4em, transparent 1em);
    background-size: 0.8em 0.18em;
}

.h3_wrap.lunch::after{
    background-image : linear-gradient(to right, #33B48F, #33B48F 0.4em, transparent 0.4em, transparent 1em);
    background-size: 0.8em 0.18em;
}

.h3_wrap.recipe::after{
    background-image : linear-gradient(to right, #F4B4D0, #F4B4D0 0.4em, transparent 0.4em, transparent 1em);
    background-size: 0.8em 0.18em;
}


.h3_wrap h3::before{
    content: '';
    position: absolute;
    left: -0.3em;
    bottom: 50%;
    transform: translateY(50%);
    width: 2.2em;
    height: 2.2em;

}
.h3_wrap.blog_yashiro h3::before{ background: url(../images/blog_icon_1.webp)no-repeat center / contain;}
.h3_wrap.schedule h3::before{ background: url(../images/blog_icon_2.webp)no-repeat center / contain;}
.h3_wrap.lunch h3::before{ background: url(../images/blog_icon_3.webp)no-repeat center / contain;}
.h3_wrap.recipe h3::before{ background: url(../images/blog_icon_4.webp)no-repeat center / contain;}

.blog_inner{
    width: 90%;
    margin: 1.5em auto 0;
}

.blog-item{
    margin-top: min(10vw,200px);
}

.blog-item:first-of-type{
    margin-top: 0;
}

.blog-item .imgbox,
.wp-block-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin: 0 auto;
}


.blog-item .imgbox img,
.wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* background-color: #E1F6A6; */
    background: url(../images/blog_bg.webp) no-repeat center / cover;
}
.wp-block-image {
    margin: 1.7em auto;
}

.blog_inner p{
    margin-top: 1em;
    text-align: justify;
}

.blog_inner p.name{
    margin-bottom: -0.15em;
    font-size: 1.1em;
    line-height: 1.5;
    font-weight: 600;
}

.blog_inner .dl-flex{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
    margin-top: 1em;
}

.blog_inner .dl-flex p{
    margin-top: 0;
}

.blog_inner .dl-flex a{
    position: relative;
    padding: 0.5em 4em 0.4em 1em;
    border-radius: 1.5em;
    font-size: 0.8em;
    font-weight: 600;
    background: #F7D061;
}

.blog_inner .dl-flex a::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    width: 1.5em;
    height: 1.5em;
    background: url(../images/dl.webp)no-repeat center / contain;
}

.blog_inner .splide__slide img{
    border-radius: 0;
}

.blog_inner .thumbnail{
    margin-top: 1em;
}

.blog_inner .thumbnail .splide__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

}

.blog_inner .thumbnail .splide__slide {
    aspect-ratio: 4 / 3;
    width: 100%;
    /* max-width: calc(100% / 20); */
    height: auto;
    max-height: 130px;
    margin: 0!important;
    box-sizing: border-box;
    opacity: .5;
    border: 0;
}

.blog_inner .thumbnail .splide__slide.is-active{
    opacity: 1;
    border: 0;
}

#load-more-blog{
    cursor: pointer;
    width: 90%;
    margin: 5vw auto 0;
    padding: 0.6em 0;
    font-weight: 600;
}

.blog-main .splide__slide img {
  object-fit: contain;
  background: url(../images/blog_bg.webp) no-repeat center / cover;

}


.page-id-21 .splide__pagination__page {
    background: #ccc;
    border: 0;
    border-radius: 0;
    display: inline-block;
    height: .2em;
    margin: 0;
    opacity: .7;
    padding: 0;
    position: relative;
    transition: transform .2s linear;
    width: .7em;
}


.page-id-21 .splide__pagination__page.is-active {
    background-color: #F24D2C;
    opacity: 1;
    transform: scale(1);
}



@media screen and (max-width: 768px){
    .blog-main {
        display: block;
        padding: 20vw 0;
    }
    
    /* 絞り込みメニュー */
    .blog-main-right {
        position: fixed;
        z-index: 10;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -30%);
        width: 95%;
        height: auto;
        padding: 2em;
        border-radius: 3em;
        background-color: #fff8e5;
        opacity: 0;
        visibility: hidden;
        transition: .5s ease;
    }
    .blog-main-right.active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -40%);
    }

    /* ブログ内容 */
    .blog-main-left {
        width: 100%;
    }

    .h3_wrap {
        align-items: baseline;
        gap: .5em;
        padding-bottom: .7em;
    }

    .h3_wrap h3 {
        font-size: 1.5em;
        padding: 0 0 0 2em;
    }

    .h3_wrap h3::before {
        width: 2em;
    }

    .h3_wrap .blog-date {
        line-height: 1.2;
    }

    .blog_inner .thumbnail .splide__list {
        display: none;
    }

    .splide__pagination {
        transform: translateY(150%);
    }
    
    .key-deco.key-deco-right .deco-item1 {
        left: 30%;
    }

    #blog-filters .select {
        background-color: #fff8e5;
    }


    .filter-blog {
        display: flex;
        gap: 1.5em;
    }
     .filter-blog #filter-blog-btn, 
     .filter-blog #reset-btn {
        width: calc(100% / 2 - .8em);
     }
    
     .blog-flex {
        display: flex;
        flex-wrap: wrap;
        gap: .2em 1em;
     }

     #blog-filters label {
        width: calc(100% / 2 - .5em);
     }

     #blog-filters label.sp {
        display: block;
     }

     #blog-filters label.pc {
        display: none;
     }


   .blog-main .splide__slide img {
    aspect-ratio: 5 / 3;
  }

}









