/* 絞り込み */

.brand_filter_inner {
    display: flex;
}
.brand_filter_inner input{
    display: none;
}
.brand_filter_inner label{
    cursor: pointer;
}

.brand_filter_kana{
    max-width: 944px;
    padding-right: 68px;
    border-right: 1px solid var(--color-gray400);
}
.filter_content{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.brand_filter_kana input:checked+label{
    background-color: var(--color-gray700);
    color: #fff;
}

.brand_filter_submit{
    margin: 50px auto auto;
    width: 230px;
    height: 44px;
}
.brand_filter_submit button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    cursor: pointer;
    line-height: 1;
}
.brand_filter_submit button::after{
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../../img/usr/arrow_small.svg) no-repeat;
    vertical-align: bottom;
}
/* tag */
.brand_filter_tag {
    display: none;
}
/* 記事一覧 */
.brand-list-item{
    border-right: 8px;
    background-color: #fff;
    box-shadow: 0px 3px 6px #00000008;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.brand-list-img{
    display: flex;
    gap: 26px;

}
.brand-list-img figure{
    width: calc(50% - 13px);
    flex-shrink: 0;
    margin: 0;
}
.brand-list-img figure img{
    border-radius: 4px;
}
.brand-list-img figure:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-list-img figure:first-of-type img {
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}
.brand-list-title span:first-of-type{
    font-weight: 700;
    margin-right: 10px;
}
.brand-list-description{
    font-size: 14px;
    margin-bottom: 16px;
}
.brand-list-item_link{
    margin: auto;
}
.brand-list-item_link a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 21px;
}
/* PC */
@media screen and (min-width: 769px) {
    .brand-heade{
        margin-bottom: 40px;
    }
    .brand_filter {
        padding: 35px 0 40px 51px;
        background-color: var(--color-gray100);
        border-radius: 8px;
        margin-bottom: 46px;
    }

    .link-text-back,
    .brand_filter_tittle{
        display: none;
    }
    .brand_filter_inner dt{
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .brand_filter_kana label{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        background-color: #fff;
        color: #222;
        border-radius: 8px;
    }
    .brand_filter_kana label:first-of-type{
        width: 100px;
    }
    .brand_filter_type{
    padding-left: 68px;
    }
    .brand_filter_type label{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 230px;
        height: 56px;
        color: var(--color-gray900);
        background-color: #fff;
        border-radius: 8px;
    }
    .brand_filter_type input:checked+label{
        color: #fff;
        background-color: var(--color-gray700);
    }
    .brand_filter_type dd{
        display: flex;
        gap: 16px;
    }
    .brand_filter_button{
        display: none;
    }
    /* 記事一覧 */
    .brand-list {
        display: flex;
        flex-wrap: wrap;
        gap: 44px;
        align-items: stretch;
    }

    .brand-list-item {
        width: calc((100% - 88px) / 3);
        border-radius: 8px;
        padding: 26px;
        min-height: 425px;
        margin-bottom: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .brand-list-content {
        flex: 1;
    }

    .brand-list-item_link {
        margin-top: auto;
    }
    .brand-list-img {
        display: flex;
        align-items: center;
        gap: 26px;
        margin-bottom: 23px;
    }

    /* ロゴ */
    .brand-list-img figure:first-of-type {
        width: calc(43% - 13px);
        height: 184px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .brand-list-img figure:first-of-type img {
        width: auto;
        height: auto;
        max-width: 150px;
        max-height: 120px;
        object-fit: contain;
    }

    /* ブランドイメージ */
    .brand-list-img figure:last-of-type {
        width: calc(57% - 13px);
        height: 184px;
        margin: 0;
        flex-shrink: 0;
    }

    .brand-list-img figure:last-of-type img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
    .brand-list-title span:first-of-type{
        font-size: 18px;
    }
    .brand-list-title span+span{
        font-size: 13px;
    }
    .brand-list-title{
        margin-bottom: 16px;
    }
    .brand-list-description{
        margin-bottom: 20px;
    }
    .brand-list-item_link{
        width: 215px;
        height: 41px;
        font-size: 16px;
        margin-top: auto;
        margin-bottom: 0;
    }
    .link-text--word{
        line-height: 1;
        padding-bottom: 3.5px;
        margin-left: 8px;
    }
}

/* --------------------------------------------------------------------
	スマートフォンクラス
-------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .brand-heade{
        margin-bottom: 40px;
        padding: 0 24px;
    }
    .brand_filter__bg{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5);
        transition: top 0.5s
    }
    .brand_filter{
        position: fixed;
        top: calc(100% + 46px);
        left: 0;
        z-index: 1001;
        width: 100%;
        height: calc(100% - 94px);
        background-color: #fff;
        padding: 24px;
        border-radius: 16px 16px 0px 0px;
        transition: top 0.5s
    }
    .brand_filter.on_fixed{
        top: 94px;
    }
    .brand_filter_warap{
        background-color: var(--color-beige300);
        padding: 24px;
    }

    .brand_filter_inner{
        flex-direction: column;
    }
    .brand_filter_inner dl+dl{
        margin-top: 16px;
    }
    .brand_filter_inner dt{
        display: block;
        width: 100%;
        height: 37px;
        margin-bottom: 13px;
        border-bottom: 1px solid #eee;
        font-weight: 500;
        background: url(../../img/usr/common/arrow_up.svg) center right no-repeat;
    }
    .brand_filter_inner dt.is-open{
        background-image: url(../../img/usr/common/arrow_down.svg);
    }
    .link-text-back{
        margin-bottom: 19px;
    }
    .brand_filter_tittle{
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
    }
    .brand_filter_kana{
        width: 100%;
        padding-right: 0;
        border-right: none;
    }
    .filter_content{
        flex-wrap: wrap;
        gap: 8px;
    }
    .brand_filter_kana label{
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% / 6.945);
        height: 57px;
        background-color: #EEEEEE;
        border: 1px solid #DDDDDD;
        color: #222;
        border-radius: 8px;
    }
    .brand_filter_kana label:first-of-type{
        width: calc(100% / 3.2);
    }
    .brand_filter_type label{
        display: flex;
        align-items: center;
        width: 100%;
        height: 54px;
        border-radius: 32px;
        background-color: var(--color-gray50);
        padding-left: 16px;
        margin-bottom: 8px;
    }
    .brand_filter_type label:nth-last-of-type{
        margin-top: auto;
    }
    .brand_filter_type label::before{
        content: "";
        display: block;
        width: 21px;
        height: 21px;
        background: url(../../img/usr/common/icon/icon_check_black.svg) no-repeat;
        background-size: 21px;
        margin-right: 8px;
    }
    .brand_filter_type input:checked+label{
        background-color: var(--color-gray900);
        color: #fff;
    }
    .brand_filter_type input:checked+label::before{
        background: url(../../img/usr/common/icon/icon_check_white.svg) no-repeat;
    }
    .brand_filter_tag.is-show {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .brand_filter_tag li{
        display: inline-block;
        background-color: #fff;
        border-radius: 16px;
        padding: 6px 12px;
        font-size: 12px;
    }
    .brand_filter_tag li p{
        display: inline-block;
    }
    .brand_filter_tag li p::after{
        content: "";
        display: inline-block;
        width: 17px;
        height: 17px;
        background: url(../../img/usr/close_small.svg);
        vertical-align: bottom;
        margin-left: 8px;
    }
    .brand_filter_button{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44px;
        border-radius: 22px;
        background-color: #fff;
        box-shadow: 0px 1px 6px #0000001A;
        line-height: 1;
        margin-bottom: 16px;
    }
    .brand_filter_button::before{
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background: url(../../img/usr/icon_fulter.svg) no-repeat;
        margin-right: 4px;
    }
    .brand_filter_submit{
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        height: 41px;
    }
    .brand_filter_submit .btn-default{
        width: 251px;
        height: 41px;
        margin: auto;
    }
    /* 記事一覧 */
    .brand-list{
        padding: 24px 0;
    }
    .brand-list-item+.brand-list-item{
        margin-top: 40px;
    }
    .brand-list-item{
        padding: 24px;
        border-radius: 8px;
    }
    .brand-list-img{
        margin-bottom: 16px;
    }
    .brand-list-title span+span{
        font-size: 12px;
    }
    .brand-list-title{
        margin-bottom: 15px;
    }
    .brand-list-item_link{
        width: 155px;
        height: 40px;
        font-size: 12px;
        margin-top: 16px;
    }
    .link-text--word{
        line-height: 1;
        padding-bottom: 3px;
    }
}
/* 768px ～ 430px */
@media screen and (max-width: 768px) and (min-width: 430px) {
    .brand_filter_kana label{
        width: calc(100% / 6.945);
    }
    .brand_filter_kana label:first-of-type{
        width: calc(100% / 3.2);
    }
}

/* 429px ～ 371px */
@media screen and (max-width: 429px) and (min-width: 376px) {
    .brand_filter_kana label{
        width: calc(100% / 7.08);
    }
    .brand_filter_kana label:first-of-type{
        width: calc(100% / 3.21);
    }
}

/* 370px 以下 */
@media screen and (max-width: 375px) {
    .brand_filter_kana label{
        width: calc(100% / 7.15);
    }
    .brand_filter_kana label:first-of-type{
        width: calc(100% / 3.21);
    }
}
