﻿.indexAd {
    width: 1080px;
    margin: 0 auto;
}

.indexAdBody {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.indexAdCard {
    width: 170px;
    margin-right: 12px;
    margin-top: 15px;
    background-color: rgb(233, 233, 233);
    overflow: hidden;
}

.indexAdCard:hover {
    background-color: white;
    box-shadow: 0px 3px 3px #d8d8d8;
}

.indexAdCard div {
    border-top: 1px solid rgb(224, 224, 224);
    line-height: 24px;
    padding: 18px;
}

.indexAdCard a {
    display: block;
    height: 128px;
    overflow: hidden;
}

.indexAdCard img {
    width: 100%;
    aspect-ratio: 170/128;
}

.indexAdCard:hover img {
    transition: all 0.3s;
    transform: scale(1.3);
}

.indexAdCard:nth-child(6n) {
    margin-right: 0;
}

