#sns .wrap {
    display: flex;
    margin-bottom: 50px;
}

#sns #content-sns {
    width: 100%;
    height: auto;
    text-align: center;
}

#sns #content-sns h3 {
    padding: 10px;
    line-height: 1.5;
    margin-top: 40px;
    margin-bottom: 50px;
}

#sns #content-sns h4 {
    font-size: 2rem;
    margin-bottom: 20px;
}
    
#twitter-box {
    width: 50%;
    height: 100vh;
    float: left;
}

.tw {
    margin: 0 10%;
    width: 80%;
    height: 100%;
    overflow-y: scroll;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
}

#insta-box {
    width: 50%;
    float: right;
}

.in {
    width: 70%;
    margin: 0 15%;
}

footer {
    position: relative;
}

/*1024px以下の時に適応*/
@media screen and (max-width:1024px) {

    #twitter-box {
        width: 90%;
        height: 60vh;
        margin: 0 5%;
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .tw {
        margin: 0;
        width: 100%;
        height: 100%;
    }

    #insta-box {
        width: 90%;
        margin: 0 5%;
        float: left;
        clear: left;
    }

    .in {
        width: 100%;
        margin: 0;
    }

}

/*320px以下の時に適応*/
@media screen and (max-width:320px) {
    #insta-box {
        margin-left:2.7%;
    }

    .in {
        margin: 0;
    }
}
