.sec1 {
    padding: 210px 0 123px;
}

.sec1 .joke {
    width: 1160px;
    margin: auto;
}

.sec1 .title {
    text-align: center;
    margin-bottom: 100px;
}

.sec1 .title h1 {
    font-size: 36px;
    line-height: 1;
    font-family: MiSans m;
    font-weight: 500;
    color: #222222;
    margin-bottom: 30px;
}

.sec1 .title h2 {
    font-size: 24px;
    line-height: 1;
    font-family: MiSans m;
    font-weight: 500;
    color: #222222;
}

.sec1 .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.sec1 .content .item {
    width: 500px;
    display: block;
    margin-bottom: 110px;
}

.sec1 .content .item .img {
    width: 100%;

    overflow: hidden;
    margin-bottom: 20px;
}

.sec1 .content .item .img img {
    transition: 3s;
    display: block;
}

.sec1 .content .item:hover .img img {
    transform: scale(1.1);
}

.sec1 .content .item span {
    display: block;
    margin: auto;
    text-align: center;
    font-size: 16px;
    font-family: MiSans n;
    font-weight: 400;
    color: #999999;
    transition: 0.6s;
}

.sec1 .content .item:hover span, .sec1 .content .item:hover h5 {
    color: #CC0007;
}

.sec1 .content .item .line {
    width: 100%;
    height: 1px;
    background: #EDEDED;
    margin: 36px 0 39px;
    position: relative;
}

.sec1 .content .item .line:after {
    content: "";
    width: 15px;
    height: 15px;
    background: #CC0007;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.6s;
}

.sec1 .content .item:hover .line:after {
    transform: translate(-50%, -50%) scale(1);
}

.sec1 .content .item .line:before {
    content: "";
    width: 100%;
    height: 2px;
    background: #CC0007;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.6s;
    clip-path: inset(0% 50% 0% 50%);
}

.sec1 .content .item:hover .line:before {
    clip-path: inset(0% 0% 0% 0%);
}

.sec1 .content .item h5 {
    font-size: 20px;
    line-height: 1;
    font-family: MiSans n;
    font-weight: 400;
    color: #222222;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.6s;
    margin-bottom: 20px;
}

.sec1 .content .item p {
    font-size: 16px;
    font-family: MiSans;
    font-weight: 300;
    color: #222222;
    line-height: 24px;
    opacity: 0.8;
    text-align: center;
    height: 48px;
}

@media screen and (max-width: 1919px) {
    .sec1 {
        padding: 10.9375vw 0px 6.40625vw;
    }

    .sec1 .joke {
        width: 60.4166666667vw;
    }

    .sec1 .title {
        margin-bottom: 5.2083333333vw;
    }

    .sec1 .title h1 {
        font-size: 1.875vw;
        margin-bottom: 1.5625vw;
    }

    .sec1 .title h2 {
        font-size: 1.25vw;
    }

    .sec1 .content .item {
        width: 26.0416666667vw;
        margin-bottom: 5.7291666667vw;
    }

    .sec1 .content .item .img {
        margin-bottom: 1.0416666667vw;
    }

    .sec1 .content .item span {
        font-size: 0.8333333333vw;
    }

    .sec1 .content .item .line {
        margin: 1.875vw 0px 2.03125vw;
    }

    .sec1 .content .item .line::after {
        width: 0.78125vw;
        height: 0.78125vw;
    }

    .sec1 .content .item .line::before {
        height: 0.1041666667vw;
    }

    .sec1 .content .item h5 {
        font-size: 1.0416666667vw;
        margin-bottom: 1.0416666667vw;
    }

    .sec1 .content .item p {
        font-size: 0.8333333333vw;
        line-height: 1.25vw;
        height: 2.5vw;
    }
}

@media screen and (max-width: 768px) {
    .sec1 {
        padding: 60px 0 80px;
    }
    .sec1 .joke {
        width: 90%;
    }
    .sec1 .title {
        text-align: left;
    }
    .sec1 .title h1 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 15px;
    }
    .sec1 .title h2 {
        font-size: 16px;
    }
    .sec1 .title {
        margin-bottom: 40px;
    }
    .sec1 .content .item {
        width: 100%;
        margin-bottom: 40px;
        padding: 0 0 20px;
        border-bottom: 1px solid #cccccc;
    }
    .sec1 .content .item span {
        font-size: 14px;
        text-align: left;
    }
    .sec1 .content .item .img {
        margin-bottom: 15px;
    }
    .sec1 .content .item .line {
        display: none;
    }
    .sec1 .content .item h5 {
        font-size: 18px;
        text-align: left;
        margin: 15px 0;
    }
    .sec1 .content .item p {
        font-size: 14px;
        line-height: 1.8;
        height: unset;
        text-align: left;
    }
}
