/* LOCOTIME for insta9-8 CSS*/
.insta-title {
    font-size: 0.8rem;
    letter-spacing: 0.4rem;
    margin: 10px auto 0px auto;
    text-align: right;
    padding: 10px;
}

.insta-title a {
    text-decoration: none;
    color: #000;
}

.insta-icon {
    width: 30px;
}

#insta-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    margin: 10px auto;
    padding: 0 10px;
    max-width: 960px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

a.insta-link {
    text-decoration: none;
}

#insta-wrap img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: initial;
}

#insta-wrap .insta-figure {
    margin: 0;
    padding: 0;
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

#insta-wrap .insta-text-tax {
    margin: 0;
    padding: 0.8rem;
    color: #818181;
    display: none;
}

#insta-wrap .insta-list {
    margin: 5px auto 0;
    padding: 0;
    width: calc(96% / 3);
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    height: auto;
    overflow: hidden;
}

#insta-wrap .insta-list-b {
    margin: 5px auto 0;
    padding: 0;
    width: calc(96% / 3);
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    height: auto;
    overflow: hidden;
}

#insta-wrap .insta-more {
    margin: 0 5px 0 0;
    padding-top: 0.2rem;
    color: #000;
    text-align: right;
    font-size: 0.5rem;
    background: #eee;
}

#insta-wrap ::after {
    content: "";
    display: block;
    width: calc(96% / 3);
}

@media all and (min-width: 415px) {

    /*iPad*/
    #insta-wrap .insta-list {
        width: calc(96% / 4);
        height: 230px;
    }

    #insta-wrap .insta-list-b {
        display: none;
    }

    #insta-wrap .insta-text-tax {
        display: block;
        /* background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%); */
    }

    #insta-wrap .insta-more {
        font-size: 1rem;
    }
}

@media all and (min-width: 960px) {

    /*iPadPro～*/
    #insta-wrap .insta-list {
        width: calc(96% / 4);
        height: 288px;
    }

    #insta-wrap.insta-list-b {
        display: none;
    }

    #insta-wrap .insta-text-tax {
        display: block;
        /* background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%); */
    }

    #insta-wrap .insta-more {
        font-size: 1rem;
    }
}