.news_box {
    padding: 2rem;
}
.news_box .thumb_square img {
    height: auto;
}
.news_box .txt_news {
    padding: 0 0 0 1rem;
    vertical-align: top;
    position: relative;
    width: 100%;
}

.news_box .txt_news p {
    line-height: 1.4;
}

.news_box .txt_news p.txt_data {
    font-size: 0.8rem;
    color: #999;
}
.readmore {
    position: absolute;
    right: 0;
    bottom: 0;
}

.readmore p.txt_view {
    font-size: 0.8rem;
}

.news_box i {
    font-size: 0.9rem;
}

#sec_post {
    padding: 3rem 4rem;
}
#sec_post #sb_instagram .sb_instagram_header h3 {

}
#sec_post #sb_instagram .sb_instagram_header p {
    font-size: 12px;
    line-height: 1.4;
}
#sec_post #sb_instagram .sb_instagram_header a {
    width: 210px;
    margin: auto;
    color: #000;
    float: none;
}
.modal-content {
    position: fixed;
    outline: 0;
    display:none;
    z-index:101;
    width: 70%;
    margin: 0 auto;
    border-radius: 4px;
    background: #fff;
    padding: 48px;
}
.modal-overlay {
    z-index:100;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.54);
}
.js-close {
    position: absolute;
    z-index: 102;
    right: -24px;
    top: -24px;
    background: #222;
    border-radius: 100%;
    color: #fff;
    width: 48px;
    height: 48px;
    font-size: 32px;
    line-height: 48px;
    font-weight: bold;
    text-align: center;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    display: block;
}
.js-close:hover {
    cursor: pointer;
}
.mask-title {
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.mask-content {
    font-size: 16px;
    text-align: center;
}
.mask-content p {
    margin-bottom: 15px;
}
.mask-content p:last-of-type {
    margin-bottom: 0;
}

/*popup*/
.box_news_top {
    background: rgba(255,255,255,.95);
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    color: #333;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 4rem;
    width: 660px;
    text-align: center;
    padding: 1.4rem 1rem;
    margin: 1rem auto;
    border-radius: 10px;
    line-height: 1.8;
    z-index: 1000;
}

.box_news_top h2 {
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: .4rem;
}

.box_news_top p {
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 1rem;
}

a.link_top_popup {
    font-size: 1rem;
    display: inline-block;
    color: #333;
    transition: .3s;
    margin-top: .1rem;
}

.popup_arrow {
    position: relative;
    display: inline-block;
}

.popup_arrow::before {
    content: '';
    width: 9px;
    height: 9px;
    border: 0px;
    border-top: solid 2px #444;
    border-right: solid 2px #444;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -10px;
    transition: .3s;
}

a.link_top_popup:hover {
    opacity: .6;
    transition: .3s;
}

a.link_top_popup:hover .popup_arrow::before  {
    position: absolute;
    left: 14px;
    transition: .3s;
}

.btn_close_popup {
    position: absolute;
    display: inline-block;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border: 0;
    background: #ccc;
    border-radius: 50px;
    margin: 0;
    padding: 0;
    transform: scale(0.5);
    cursor: pointer;
    transition: .3s;
}

.btn_close_popup:before {
    content: "";
    position: absolute;
    display: inline-block;
    top: 5px;
    left: 23px;
    width: 4px;
    height: 40px;
    border: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn_close_popup:after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 5px;
    left: 23px;
    width: 4px;
    height: 40px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: #fff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.btn_close_popup:hover {
    opacity: .5;
    transition: .3s;
}


@media (max-width: 767px) {
    .news_box .txt_news {
        padding: 1.2rem 0;
    }

    .news_box .thumb_square img {
        width: 100%;
    }

    .news_box .txt_news p {
        font-size: .9rem;
        line-height: 1.8;
    }

    #sec_post {
        padding: 1.5rem 0;
    }

    .modal-content {
        width: 90%;
        padding: 35px 30px;
    }
    .js-close {
        right: -16px;
    }
    .mask-title {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
    }
    .mask-content {
        font-size: 13px;
        text-align: left;
    }
    .mask-content br {
        display: none;
    }

    /*popup*/
    .box_news_top {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0rem;
        width: 96%;
        padding: 1rem .8rem;
        line-height: 1.8;
        z-index: 2000;
    }

    .box_news_top h2 {
        font-size: 1rem;
    }

    .box_news_top p {
        line-height: 1.6;
        font-size: .8rem;
    }

    a.link_top_popup {
        font-size: .8rem;
        color: #333;
        margin-top: .1rem;
    }

    .btn_close_popup {
        position: absolute;
        display: inline-block;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
    }

    .btn_close_popup:before {
        content: "";
        position: absolute;
        display: inline-block;
        top: 5px;
        left: 18px;
        width: 4px;
        height: 30px;
    }

    .btn_close_popup:after {
        content: "";
        position: absolute;
        display: inline-block;
        top: 5px;
        left: 18px;
        width: 4px;
        height: 30px;
    }

}
