@import url("page.css");
/* メインビュー */
.main_view {
    background-image: url(../img/main-image_media.jpg);
}
.section_media {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 0 40px;
}
.section_page_container {
    margin: 0 auto;
    width: 100%;
    max-width: 970px;
}

@media (max-width: 767px) {
    .main_view {
        background-position: 30%;
    }
    .section_title_top:after {
        left: 98px;
        top: 12px;
        width: 80%;
    }
}

/**********************
media
**********************/
.media_inner {
    margin: 4em 0 8em;
}
.media_txt {
    margin-bottom: 10px;
    font-family: "Geneva", "sans-serif";
}
.media_wrap_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4em 1em;
}
.media_wrap_list li {
    margin-bottom: 2em;
}
.media_wrap_list_item img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}
.media_wrap_list_text {
    margin-top: 8px;
    letter-spacing: 0.1em;
}
.media_wrap_list_text .title {
    display: flex;
    justify-content: space-between;
    color: #6d332d;
    font-weight: 600;
}
.media_wrap_list_text .title a {
    /*color: #0066c0;*/
    color: #6d332d;
    text-decoration: underline dotted;
}
.media_wrap_list_text .cap {
    margin-top: 1em;
    color: #2a1507;
    font-size: 12px;
}
.media_wrap_list_more {
    width: 90%;
    margin-top: 1em;
}
.media_wrap_list_more a {
    display: block;
    text-align: center;
    background-color: #a08678;
    border-radius: 6px;
    padding: 0.7em 1em;
    color: #fff;
    font-size: 14px;
}
.media_wrap_list_more .icon {
    vertical-align: bottom;
    position: relative;
    top: 1.5px;
    padding-right: 3px;
}

@media (max-width: 1150px) {
    .media_wrap_list {
        grid-template-columns: repeat(4, 1fr);
        gap: 3em 1em;
    }
}
@media screen and (max-width: 768px) {
    .media {
        margin: 4em 0;
    }
    .media_wrap_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 3em 1em;
    }
}
@media screen and (max-width: 480px) {
    .media_wrap_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
    .media_wrap_list_item img {
        height: 220px;
    }
    .media_wrap_list_text .title {
        display: block;
    }
    .media_wrap_list_more a {
        font-size: 13px;
    }
}
