@charset "UTF-8";

/* =====================
company
========================*/
.company{
    padding:60px 5.13%;
}

.company h2 img{
    width:270px;
}

.company dl{
    padding:15px 2.8%;
    border-bottom:dotted 1px var(--primary-textgray);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.2em;
}

.company dl:first-of-type{
    margin-top:30px;
    border-top:dotted 1px var(--primary-textgray);
}

.company dd{
    font-weight: 400;
    margin-left:25px;
    margin-top:5px;
    letter-spacing:0.15em;
}

.company dd span{
    font-size:80%;
    margin-left:5px;
}

.policy__link{
    margin-top:30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap:2.8%;
    row-gap: 10px;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 0.2em;
}

.policy__link a {
    padding: 8px 20px 8px 10px;
    text-align: center;
    background: var(--primary-lightBeige);
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.policy__link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; 
    background: var(--primary-lightBrown); 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}


.policy__link a:hover::after {
    transform: scaleX(1);
}

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

/* company PC 821px */
@media screen and (min-width:821px) {
    .company{
        max-width: 1160px;
        margin:0 auto;
        padding:120px 0 0;
    }
    
    .company h2 img{
        width:400px;
    }

    .company h2::before,
    .company h2::after{
        display: none;
    }
    
    .company dl{
        padding:25px;
        display: flex;
    }
    
    .company dl:first-of-type{
        margin-top:110px;
    }
    
    .company dt{
        width:200px;
        margin-right:20px;
    }

    .policy__link{
        margin-top:50px;
        max-width: 1160px;
    }

}/* company pc 821 */
