@charset "UTF-8";

/* =====================
brand--list
========================*/
.brand--list{
    padding:60px 5.13% 0;
    
}

.brand--list h2{
    display: none;
}

.brand--list__contents{
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
    justify-content:space-between ;
}

.brand--list__each{
    width:47%;
    max-width: 270px;
}

.brand__record {
    padding: 10px 7% 10px 0;
    display: block;
    text-align: right;
    font-family: var(--serif);
    font-size: 1.3rem;
    line-height: 1.4;
    letter-spacing: 0;
    border-bottom: dotted 1px var(--primary-textgray);
    position: relative;
    overflow: hidden; 
    color: var(--primary-textgray); 
    transition: color 0.3s ease; 
}

.brand__record::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-lightBrown); 
    transition: width 0.5s ease-out;
}

.brand__record:hover {
    color:var(--primary-lightBrown);
}

.brand__record:hover::before {
    width: 100%;
}

.brand--list__each:nth-of-type(4) .brand__record{
    letter-spacing: -0.10em;
}

.brand__record::after{
    content: '';
    width: 5px;
    height: 10px;
    background: url(../images/triangle_arrow_x.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.brand--list__each img{
    width:100%;
    border-radius: 20px;
}

.border{
    border:solid 1px var(--primary-bordergray);
}

/* brand--list PC 821px */
@media screen and (min-width:821px) {
    .brand--list{
        max-width:1160px;
        margin:0 auto;
        padding:120px 0 0;   
    }
    
    .brand--list__each{
        width:270px;
     }
    
    .brand__record{
        padding:15px 35px 10px 10px;
        display: block;
        text-align: right;
        font-size: 1.5rem;
        line-height: 1.7;
        letter-spacing: 0.2em;
        border-bottom:dotted 1px var(--primary-textgray);
        position: relative;
    }

    .brand--list__each:nth-of-type(4) .brand__record{
        letter-spacing: 0.2em;
    }  

    .brand__record::after{
        content: '';
        width: 8px;
        height: 15px;
    }
    
    .brand--list__each img{
        width:270px;
        border-radius: 20px;
    }
    


}/* brand--list pc 821 */
