.custom-link-card__title {
    text-align: left;
    font: normal normal bold 18px / 29px Yu Gothi!important;
    letter-spacing: 0px;
    color: #000;
}

.custom-link-card-cotainer {
    & .custom-link-card {
        .custom-link-card__image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
    }
}

img.custom-link-card__image {
    background: #C8C8C8 0% 0% no-repeat padding-box;
    border-radius: 9px;
}

li.custom-link-card.custom-link-card--event {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
    /*20250717追加*/
    grid-column: 2 / 3;
    /*20250717追加ここまで*/
}

li.custom-link-card.custom-link-card--event:hover {
	opacity: .8!important;
}

article > a.free-material {
    background: #003AA7 0% 0% no-repeat padding-box;
    border-radius: 25px;
    font: normal normal bold 18px / 29px Yu Gothic!important;
    letter-spacing: 0px;
    color: #fff;
    /*20250512更新*/
    display: flex!important;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
}

.entry-content a[target='_blank']::after {
	display: none;
}

article > a.free-material span {
    width: 6px;
    height: auto;
    position: relative;
    left: 48px;
    display: inline-block;
}

article > a.free-material:hover {
    color: #fff!important;
}

@media (1024px >= width) {
.custom-link-card-cotainer {
        grid-template-columns: repeat(3, 1fr)!important;
    }
}

@media screen and (max-width: 768px) {
	.custom-link-card-cotainer {
        grid-template-columns: repeat(1, 1fr)!important;
    }
}