


.m-item{
    display: grid;
    grid-template-columns: 30% 1fr;
    background-color: #f5f5f5;
/*    max-height: 130px;
    height: 130px;*/
    opacity: 1 !important;
    visibility: visible !important;
}
@media screen and (max-width: 768px) {
    .m-item{
        grid-template-columns: 1fr;
        max-height: none;
        height: auto;
    }
}

.m-item:not(:first-child){
    margin-top: 25px;
}
.m-item-content{
    width: 100%;
    display: flex;
    font-size: 14px;
    justify-content: center;
    flex-direction: column;
    padding: 10px 58px 10px;
}

@media screen and (max-width: 768px) {
    .m-item-content {
        padding: 10px;
    }
}

.m-item-more {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 5px;
}
@media screen and (max-width: 768px) {
    .m-item-more {
        width: fit-content;
        margin: 5px auto 0;
    }
}

.m-item-more a {
    font-size: 14px;
    padding: 5px 41px;
    display: block;
    text-align: center;
    background-color: rgba(49, 169, 184, 1);
    color: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.m-item-img {
    padding-top: 70%;
    position: relative;
}
.m-item-img > img{
    height: 100%;
    object-fit: scale-down;
    /*object-fit: cover;*/
    /*height: 130px;*/
    position: absolute;
    top: 0;
}

/* 個別詳細ページ */
.media-single .title{
    width: fit-content;
    margin: 0 auto;
}
.media-single .title > pre {
    border-bottom: solid 1px #707070;
    display: inline;
    text-align: center;
    color: #707070;
    font-size: 2.4rem;
    white-space: normal;
}
.media-single{
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 0 40px;
}
@media screen and (max-width: 768px) {
    .media-single {
        padding: 0;
    }
}

.media-single .text{
    width: 100%;
    margin-top: 25px;
    font-size: 1.6rem;
}

.media-single .text a{
    color: #0000EE;
}

/* pagenation setting */
.panel-footer{
    width: fit-content;
    margin: 2rem auto;
}
.pagination{
    display: flex;
}
.pagination > li, .record{
    line-height: 1.15;
    font-family: futura-pt, "Noto Sans JP", "Noto Sans Japanese", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, 游ゴシック体, "ヒラギノ角ゴ Pro W3", メイリオ, "Hiragino Kaku Gothic ProN", "MS PGothic", sans-serif;
    font-style: normal;
    font-weight: 700;
    height: 2em;
    min-width: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    padding: 0px 0.55em;
    border-radius: 10em;
    background-color: rgb(219, 219, 219);
}
.pagination > li > a{
    color: #0000EE;
}
.pagination > li.navi-active{
    background-color: #000;
}
.pagination > .last{
    display: none;
}
.page.navi-active > a{
    color: #ffffff;
}
.pagination > li.disabled{
    display: none;
}
.second{
    position: relative;
}
.record {
    width: fit-content;
    position: absolute;
    bottom: 4px;
}

@media screen and (max-width: 768px) {
    .items-list img{
        width: 100% !important;
    }
}
