@charset "utf-8";

.secGallery{
    margin-top: 65px;
    color: var(--brandColor);
}
.secGallery .topTit{
    font-size: var(--pcFontSize20);
    line-height: var(--pcLineHeight20_25);
    text-align: center;
}
@media only screen and (max-width:767px){
    .secGallery{
        margin-top: 42px;
    }
    .secGallery .topTit{
        font-size: var(--spFontSize13);
        line-height: var(--spLineHeight13_184);
    }
}
.secGallery .list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 63px;
}
.secGallery .item{
    width: 24.6875%;
    margin-right: 0.41666%;
}
.secGallery .item:nth-child(4n){
    margin-right: 0;
}
.secGallery .item:nth-child(n+5){
    margin-top: 0.41666%;
}
.secGallery .inner{
    position: relative;
    display: block;
    color: var(--textColor);
    transition: 0.4s ease;
}
.secGallery .imgBox{
    position: relative;
}
.secGallery .img{
    padding-top: 100%;
}
.secGallery .numberBox{
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 18px;
    background: var(--textColor);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    min-width: 80px;
    transition: 0.4s ease;
}
.secGallery .icon01{
    flex-shrink: 0;
    position: relative;
    top: 1px;
}
.secGallery .number{
    font-size: var(--pcFontSize16);
    color: #ec6967;
    font-weight: bold;
    margin-left: 5px;
}
.secGallery .mainBox{
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 0.4s ease;
    background-color: rgba(52, 52, 52, 0.749);
    color: var(--textColor);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px){
    .secGallery .inner:hover .mainBox{
        opacity: 1;
    }
    .secGallery .mainInBox{
        padding: 50px 50px 15px;
    }
    .secGallery .mainNumberBox{
        display: flex;
        align-items: center;
    }
    .secGallery .icon01{
        flex-shrink: 0;
        position: relative;
        top: 1px;
    }
    .secGallery .number02{
        font-size: var(--pcFontSize28);
        font-weight: bold;
        margin-left: 5px;
    }
    .secGallery .txt{
        font-size: var(--pcFontSize20);
        line-height: var(--pcLineHeight20_2);
        margin-top: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        overflow: hidden;
        max-height: calc(var(--pcFontSize20) * var(--pcLineHeight20_2) * 5);
    }
    .secGallery .cmnMore{
        position: relative;
        margin: 75px 0 0 auto;
    }
    .secGallery .inner:hover .numberBox{
        opacity: 0;
    }
}
@media only screen and (max-width:1800px){
    .secGallery .mainInBox{
        padding: 40px 40px 15px;
    }
    .secGallery .cmnMore{
        margin: 40px 0 0 auto;
    }
}
@media only screen and (max-width:1700px){
    .secGallery .txt{
        font-size: var(--pcFontSize16);
        line-height: var(--pcLineHeight16_18);
        max-height: calc(var(--pcFontSize16) * var(--pcLineHeight16_18) * 5);
    }
}
@media only screen and (max-width:767px){
    .secGallery .list{
        width: calc(100% - 6px);
        margin: 25px auto 0;
    }
    .secGallery .item{
        width: calc(50% - 1.5px);
        margin-right: 3px;
    }
    .secGallery .item:nth-child(2n){
        margin-right: 0;
    }
    .secGallery .item:nth-child(n+3){
        margin-top: 3px;
    }
    .secGallery .numberBox{
        top: 5px;
        right: 5px;
        border-radius: 12.5px;
        padding: 6.5px 10px;
        min-width: 50px;
    }
    .secGallery .icon01{
        top: -1px;
        width: 11px;
    }
    .secGallery .number{
        font-size: var(--spFontSize12);
        margin-left: 5px;
    }
    .secGallery .mainBox{
        display: none;
    }
}

.secCmnNextLoad{
    text-align: center;
    margin-top: 60px;
}
@media only screen and (max-width:767px){
    .secCmnNextLoad{
        margin-top: 40px;
    }
}