/* 地域別メインカラーの設定 */
.hokkaido {
    --area-color: #406CB1;
}

.tohoku {
    --area-color: #FFB601;
}

.kanto {
    --area-color: #E76D9E;
}

.chubu {
    --area-color: #8FCD0F;
}

.kinki {
    --area-color: #01B7E5;
}

.chugoku {
    --area-color: #EB6666;
}

.kyushu {
    --area-color: #A978F4;
}

.over-sea {
    --area-color: #4BA17A;
}

/***一部はトップページと同じ***/
.c_gallery-page .main-visual {
    display: block;
}

.c_gallery-page .mv {
    max-width: 1920px;
    width: 100%;
}

.c_gallery-page .mv-img img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 38px;
}

.c_gallery-page .mv-copy {
    bottom: 10%;
}

.c_gallery-mv__content {
    position: absolute;
    bottom: 10px;
    right: 2vw;
}

.c_gallery-mv__sub-title {
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
}

@media (min-width: 1024px) {
    .c_gallery-page .contents-wrapper {
        display: grid;
        grid-template-columns: calc(400 / 1820 * 100%) calc(1400 / 1820 * 100%);
        column-gap: calc(18 / 1804 * 100%);
        align-items: start;
        /* padding: 0 59px; */
        padding: 0 2.5vw;
    }
}

.c_gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 80px;
}

.c_gallery-item {
    background-color: var(--area-color);
    border-radius: 10px;
    padding: 10px 14px;
    position: relative;
}

.c_gallery-item::after {
    content: "";
    width: 40px;
    height: 40px;
    background: url(../img/common/icon_btn-obj2.svg) no-repeat center / cover;
    position: absolute;
    bottom: 0%;
    right: 0%;
    transform: translateY(0%) translateX(0%);
    -webkit-transform: translateY(0%) translateX(0%);
}

.c_gallery-item a {
    display: grid;
    grid-template-columns: 43% 56%;
    gap: 9px;
}

.c_gallery-item__img {
    position: relative;
}

.c_gallery-item__img img {
    border-radius: 10px 0 0 10px;
    height: 100%;
    object-fit: cover;
}

.c_gallery-item__vol {
    position: absolute;
    top: 0%;
    left: 0%;
    display: inline-block;
    padding: 3px 10px;
    background-color: #F0C361;
    font-weight: 700;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
}

.c_gallery-item__title {
    color: #fff;
    font-size: 2.1rem;
    text-align: center;
    margin: 10px 0;
}

.c_gallery-item__dat {
    width: 100%;
    background-color: #fff;
    padding: 15px 8px;
}

.c_gallery-item__date {
    color: var(--area-color);
    text-align: center;
    margin: 0;
    font-size: 4.2rem;
    font-family: Roboto;
    font-weight: 700;
    position: relative;
    width: auto;
    display: block;
}


.c_gallery-item__date span, .c_gallery-item__date .dat_year {
    font-size: 1.4rem;
}

.c_gallery-item__venue {
    margin: 13px 0 6px;
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
}

.c_gallery-item__venue.is-medium {
    font-size: 1.8rem;
}

.c_gallery-item__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c_gallery-page .search_area, .c_gallery-page .search_venue, .c_gallery-page .search_cameraman, .c_gallery-page .search_calendar {
    padding: 0 10px 10px;
}

.top-filter .search_venue h2::before {
    background-image: url(../img/common/icon_venue.svg);
    width: 29px;
    height: 29px;
}

.top-filter .search_cameraman h2::before {
    background-image: url(../img/common/icon_camera.svg);
    width: 29px;
    height: 29px;
    background-size: contain;
}

.top-filter .search_calendar h2::before {
    background-image: url(../img/common/icon_calendar.svg);
    width: 29px;
    height: 29px;
    background-size: contain;
}

/**絞り込み機能ベース**/
.filter-select-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    /* iPhoneでズームされないためのサイズ */
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}


.filter-select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
}

.search_venue, .search_cameraman, .search_calendar {
    margin: 15px 0 10px;
}

.search_year .filter-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0 10px;
}

.search_year .filter-list a {
    display: block;
    text-align: center;
    padding: 5px;
    max-width: 90px;
    font-size: 1.5rem;
    font-weight: 500;
    border: 1px solid #555;
    border-radius: 7px;
    color: #555;
    transition: all .3s;
}

.search_year .filter-list a:hover {
    background-color: #555;
    color: #fff;
    transition: all .3s;
}

.c_gallery-page .side_cam_bnr {
    margin-bottom: 30px;
}

.c_gallery-page .side_cam_bnr a {
    position: relative;
}

.c_gallery-page .side_cam_bnr a::after {
    content: "";
    width: 40px;
    height: 40px;
    background: url(../img/common/icon_btn-obj2.svg) no-repeat center / cover;
    position: absolute;
    bottom: 0%;
    right: 0%;
    transform: translateY(0%) translateX(0%);
    -webkit-transform: translateY(0%) translateX(0%);
}

.c_gallery-page .side_cam_bnr img {
    border-radius: 26px;
}

.c_gallery-page .side_cam_bnr a span {
    font-size: 2.1rem;
    display: block;
    padding: 5px 12px 20px;
    font-weight: 600;
    width: 100%;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateY(0%) translateX(-50%);
    -webkit-transform: translateY(0%) translateX(-50%);
    background-color: #55555564;
    border-radius: 0 0 26px 26px;
}

.c_gallery-page .a-bigtitle {
    margin: 25px 0 20px;
}

@media screen and (max-width: 768px) {
    .c_gallery-page {
        padding-top: 75px;
    }

    .c_gallery-page .contents-wrapper {
        padding: 0 5px;
    }

    .c_gallery-page .mv-copy {
        bottom: 10%;
    }

    .c_gallery-mv__content {
        position: absolute;
        bottom: 0;
        left: 6%;
        transform: translateY(0%) translateX(0%);
        -webkit-transform: translateY(0%) translateX(0%);
    }

    .c_gallery-mv__sub-title {
        font-size: 1.5rem;
    }

    .c_gallery-grid {
        grid-template-columns: 1fr;
    }

    .c_gallery-item__title {
        font-size: 1.6rem !important;
        margin: 3px 0 5px;
    }

    .c_gallery-item__date {
        font-size: 2.2rem;
    }

    .c_gallery-item__img img {
        max-width: 158px;
        height: auto;
    }

    .c_gallery-item {
        padding: 5px;
    }

    .c_gallery-item a {
        grid-template-columns: 43% 56%;
        gap: 3px;
    }

    .c_gallery-item__dat {
        padding: 8px;
    }

    .c_gallery-item__venue.is-medium {
        font-size: 1.4rem;
        margin: 5px 0;
    }

    .c_gallery-item__venue {
        font-size: 1.5rem;
    }

    .c_gallery-item__vol {
        font-size: 1.3rem;
    }

    .c_gallery-item__info {
        padding-left: 5px;
    }

    .top-filter .search_venue h2::before, .top-filter .search_cameraman h2::before, .top-filter .search_calendar h2::before {
        width: 23px;
        height: 23px;
    }

    .c_gallery-page .search_area, .c_gallery-page .search_venue, .c_gallery-page .search_cameraman, .c_gallery-page .search_calendar {
        padding: 0;
    }

    .search_year .filter-list {
        padding: 0;
    }

}