@charset "UTF-8";

.block > h1 {
    position: relative;
    width: 90%;
    margin: auto auto 15px;
    color: #363f75;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
}

.block > h2 {
    color: black;
    font-weight: normal;
    position: relative;
    margin: auto;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7em;
    letter-spacing: 0.05em;
    text-align: center;
    font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}

.bl_media_container {
    display: flex;
    flex-wrap: wrap;
    margin: calc(-30px / 2);
    padding: 10px;
}

.bl_media_itemWrapper {
    width: calc(100% / 3 - 36px);
    margin: calc(36px / 2);
    color: #000000;
}

.bl_media_item {
    position: relative;
    height: 100%;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.bl_media_item .img {
    position: relative;
}
.bl_media_item .img img {
    position: relative;
    width: 100%;
}

.bl_media_title {
    padding: 0px 15px 0px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 40px;
}

.category {
    text-align: left;  /* 文章を左寄せする(※) */
    float: left;     /* 左端に寄せて、後続を右側へ回り込ませる */
}
.date {
    text-align: right; /* 文章を右寄せする */
    float: right;
}
.categorybar {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0px 15px;
    font-weight: bold;
    font-size: 80%;
    width: 100%;
    color: #666666;
}

.pagination {
    margin-top: 20px;
    display: block;
    text-align: center;
    padding: 0px calc(100%/2 - 130px) 0px;
}

.pagination a {
    color: black;
    padding: 13px 16px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #363F75;
    color: white;
    border-radius: 24px;
}

.pagination a:hover:not(.active) {
    background-color: #7F85AD;
    border-radius: 24px;
}
@media screen and (min-width: 1201px) {
    .block > h1 {
        width: auto;
        margin-bottom: 30px;
        font-size: 28px;
    }

    .block > h2 {
        font-size: 17px;
    }
}

@media screen and (max-width: 1024px) {
    .bl_media_itemWrapper {
        width: calc(100% / 2 - 36px);
    }
}
@media screen and (max-width: 599px) {
    .bl_media_itemWrapper {
        width: calc(100% / 1 - 36px);
    }
}

.related {
    padding: 5% 8% 12%;
    text-align: left;
}

@media only screen and (min-width: 768px) {
    .bl_media_item {
        font-size: 1rem;
    }

    .bl_media_title {
        margin-bottom: 50px;
    }
}
