@charset 'UTF-8';
/* ----------------------------------------------
関数
------------------------------------------------*/
/* ----------------------------------------------
PC設定
------------------------------------------------*/
.p-gallery__header
{
    display: flex;

    flex-wrap: wrap;
    justify-content: space-between;
    grid-gap: var(--m16);
}
.p-gallery__header-text
{
    font-size: var(--fs22_40);
    font-weight: bold;

    margin-left: auto;
}
.p-gallery__header .c-bar-title
{
    margin: 0;
}
.p-gallery__list
{
    display: flex;

    margin-top: var(--m40);

    flex-wrap: wrap;
    grid-gap: var(--m25) 3.5%;
}
.p-gallery__item
{
    width: 22.375%;

    border: 1px solid var(--col-gray05);
    background-color: var(--col-gray07);

    aspect-ratio: 291/241;
}
.p-gallery__item a
{
    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;
}
.p-gallery__item a img
{
    height: 100%;

    -o-object-fit: contain;

       object-fit: contain;
}

@media all and (max-width: 1023px)
{
    .p-gallery__item
    {
        width: 31%;
    }
}
@media all and (max-width: 767px)
{
    .p-gallery__item
    {
        width: 48.25%;
    }
}
