.legenders img {
    width: 100%;
    vertical-align: bottom;
}
.legenders a:hover {
    opacity: unset;
}
.legenders {
    background-color: #000;
    padding-top: 50px;
    padding-bottom: 50px;
}

.legenders .lege__ttl {
    margin-bottom: 20px;
}

.legenders .lege__ttl h1 {
    max-width: 450px;
    margin: 0 auto;

}

.legenders p {
    font-size: 21px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.legenders .lege__container {
    max-width: 1080px;
    padding: 0 15px;
    margin: 0 auto;
}

.legenders .lege__container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.legenders .lege__container li {
    width: calc((100% - 30px) / 3);
    background-color: #fff;
    padding: 10px;
}

.lege-link {
    cursor: pointer;
    position: relative;
    width: 100%;
    display: block;
}

.hover-mask {
    position: absolute;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .8);
    bottom: 0;
    color: #fff;
    width: 100%;
    height: auto;
    justify-content: center;
    left: 0;
    opacity: 0;
    right: 0;
    top: 0;
    transition: opacity .6s ease;
}

.hover-mask:hover {
    opacity: 1;
}

.hover-mask p {
    width: 80%;
    font-size: 16px;
}
@media(max-width:768px) {
    .legenders p {
        font-size: 18px;
    }
    .legenders .lege__container li {
        padding: 5px;
    }
    .legenders .lege__container ul {
        gap: 10px;
    }
    
    .legenders .lege__container li {
        width: calc((100% - 20px) / 3);
    }
    
    
}