﻿@charset "UTF-8";

/* common
---------------------------------------------------*/
#wrapper {
    padding-top: 67px;
}

/* 768 */
@media screen and (min-width:1px) and (max-width: 768px) {
    #wrapper {
        padding-top: 17.1794vw;
    }
}


/* blog
---------------------------------------------------*/
#blog {
    width: 100%;
}
#blog .inner {
    padding: 40px 80px 0;
}
#blog .ttl-section {
    margin-bottom: 40px;
}
#blog .blog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 2.285%;
    margin-bottom: 32px;
}
#blog .blog {
    position: relative;
    width: 31.81%;
}
#blog .blog .figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--black-color);
    border-radius: 8px;
    overflow: hidden;
}
#blog .blog .figure::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.56) 0%, rgba(29,31,35,0) 100%);
    pointer-events: none;
}
#blog .blog .figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
#blog .blog .text-wrap {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    color: var(--white-color);
    padding: 0 40px;
}
#blog .blog .text-wrap .date {
    line-height: 1.4em;
    font-size: var(--font-size-s);
    margin-bottom: 8px;
}
#blog .blog .text-wrap .title {
    line-height: 1.8em;
    font-weight: 700;
}
#blog .blog .text-wrap .caption {
    height: 0;
    opacity: 0;
    transition: all .4s;
    pointer-events: none;
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.8em;
}

/* hover */
#blog .blog a:hover .text-wrap .caption {
    height: 5.4em;
    opacity: 1;
    transition: all .4s;
    pointer-events: none;
    margin-top: 1em;
}
#blog .blog a:hover .figure img {
    -webkit-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}

/* 768 */
@media screen and (min-width:1px) and (max-width: 768px) {
    #blog .ttl-section {
        margin-bottom: 6.1538vw;
    }
    #blog .inner {
        padding: 6.1538vw 8.2051vw 0;
    }
    #blog .blog-list {
        display: block;
        margin-bottom: 6.1538vw;
    }
    #blog .blog {
        width: 100%;
    }
    #blog .blog:not(:last-of-type) {
        margin-bottom: 5.1282vw;
    }
    #blog .blog .figure {
        border-radius: 2.0512vw;
    }
    #blog .blog .text-wrap {
        bottom: 4.102vw;
        padding: 0 4.102vw;
    }
    #blog .blog .text-wrap .date {
        margin-bottom: 2.0512vw;
    }
}
