@charset "UTF-8";
#instaWrapper {
    margin: 12rem 0 16rem 0;
}
#insta {
    padding: 0 2.5%;
    width: clamp(240px, 100%, 1280px);
    margin: 0 auto;
}
#insta a {
    text-decoration: none;
}
#insta a:hover {
    opacity: 1;
}
#insta ul {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#insta ul li {
    list-style: none;
    box-sizing: border-box;
    width: 48%;
    margin-bottom: 3em;
    height: auto;
    position: relative;
}
@media screen and (width <= 480px) {
    #insta ul li {
        width: 33%;
    }
}
#insta ul li .captionTxt {
    font-family: 'Noto Sans JP', sans-serif;
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    opacity: 0;
    overflow: hidden;
}
@media screen and (width <= 480px) {
    font-size: 11px;
}
#insta ul li .like_count {
    font-size: 12px;
    line-height: 2;
    display: block;
    text-align: center;
    position: relative;
}
#insta ul li .like_count::before {
    content: '♥';
    color: #d4245f;
    font-size: 14px;
    vertical-align: middle;
    padding-right: 0.25em;
}
#insta ul li:hover .captionTxt {
    transition: 0.5s opacity, 0.25s filter;
    opacity: 1;
}
#insta ul li img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 600px) {
    #insta {
        padding: 0 24px;
    }
    #insta ul li {
        width: 32%;
    }
}
@media screen and (min-width: 1025px) {
    #insta ul li {
        width: 32%;
    }
}
