
.video-container {
    position:Relative;
    width:100%;
    text-align:center;
    margin:3em 0 1.8em 0;
    padding-bottom:2em;
    border-bottom:1px solid #ececec;
}

.video-container .video_bg {
    width:100%;
    max-width:900px;
    height:500px;
    background:#2e7150;
    margin:0 auto;
}

.video-container iframe {
    width:100%;
    height:500px;
    margin:-1em 0 0 -2em;
}

.video-container dl dt {
    display:block;
    word-break: keep-all;
    font-size:1.8rem;
    letter-spacing: -0.05em;
    font-weight:600;
    color:#212121;
    margin:1.5em 0 1em 0;
}

.video-ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom:2em;
}

.video-li {
    width: calc(100% / 4 - 18px);
    margin-bottom:1.8em;
    border:1px solid #ececec;
}

.video-li img {
    width:100%;
}

.video-li dl {
    padding:1em;
}

.video-li dl dt {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.05rem;
    display:block;
    color:#212121;
    margin-bottom:1em;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    width:100%;
    overflow:hidden;
}

.video-container dl dd, .video-li dl dd {
    color:#777;
    font-size: 0.9rem;
    font-weight: 300;
    color: #8e8e8e;
    letter-spacing: -0.03em;
}

.video-li a:hover dt {
    color:#2e7150;
    text-decoration: underline;

}

.board_list_wrap {
    margin-bottom: 5em;
}


.contents .search_results {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 3rem;
    margin: 4rem auto;
}

.contents .search_results img {
    width: 8%;
    display: block;
    margin: 0 auto 2rem auto;
}

/***********************************************media**********************************************/

@media screen and (max-width: 1080px) {
    .video-container .video_bg {
        width:90%;
        max-width: 780px;
    }
    .video-li {
        width: calc(100% / 3 - 18px);
    }
}

@media screen and (max-width: 860px) {
    .video-container .video_bg {
        max-width:100%;
    }
    .video-container iframe {
        width: 95%;
        margin: -1em 0 0 0;
    }
    .video-li {
        width: calc(100% / 2 - 18px);
    }
}

@media screen and (max-width: 768px) {
    .video-container .video_bg {
        width:95%;
    }
    .video-container iframe {
        width:100%;
    }
    .video-container iframe {
        margin:-0.5em 0 0 0;
    }
    .video-li {
        width: calc(100% / 2 - 10px);
        margin-bottom:1.5em;
    }
}

@media screen and (max-width: 530px) {
    .video-li dl dt {
        font-size: 1.1rem;
    }

    .video-container dl dt {
        font-size: 1.5rem;
        line-height: 1.5em;
    }
}

@media screen and (max-width: 500px) {
    .video-container .video_bg {
        width:100%;
        height:100%;
    }
    .video-container {
        margin:2em 0 1.5em 0;
    }
    .video-container iframe {
        height:250px;
    }
}

@media screen and (max-width: 480px) {
    .video-container {
        margin:2em 0 1em 0;
    }
    .video-container dl dt {
        line-height:1.2;
    }
    .video-li {
        width: calc(100% / 2 - 5px);
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 420px) {
    .video-container dl dt {
        font-size: 1.3rem;
    }

    .video-li dl dt {
        font-size: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .video-li dl {
        padding: 0.5em;
    }

    .video-container dl dt {
        font-size: 1.2rem;
    }

    .video-container dl dd, .video-li dl dd {
        font-size: 0.85rem;
    }
}
