@charset "utf-8";

.fix:after,
.fix:before {
    display: block;
    content: "clear";
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}


.ul-characters {
    overflow: hidden;
    padding-bottom: 50px;
}

.ul-characters li {
    width: 25%;
    float: left;
    overflow: hidden;
    margin-bottom: 55px;
}

.ul-characters .con {
    display: block;
}

.ul-characters .imgbox {
    padding: 20px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.ul-characters .img:after {
    padding-top: 100%;
}

.ul-characters li:hover .img img {
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
}

.ul-characters .imgbox:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #dcebfd;
    z-index: -1;
    border-radius: 50%;
    transform: scale(.7);
}

.ul-characters .con:hover .imgbox::before {
    transform: scale(1);
}

.img_db img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ul-characters .img {
    border-radius: 50%;
    overflow: hidden;
}

.ul-characters .txt {
    color: #111F2D;
    text-align: center;
    padding: 0 10px;
}

.ul-characters .txt h4 {
    font-size: 24px;
    line-height: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
height: 4.5rem;
}

.ul-characters .txt p {
    font-size: 16px;
    line-height: 1.5em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    text-indent: 0;
}

/*  */

.ul-cha-t {
    overflow: hidden;
    margin: 79px 0 56px;
    white-space: nowrap;
    overflow-x: auto;
}

.ul-cha-t .con {
    display: block;
    width: 180px;
    height: 47px;
    padding-left: 63px;
    line-height: 47px;
    font-size: 22px;
    color: #111F2D;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.ul-cha-t li {
    display: inline-block;
    margin-right: 10px;
}


.ul-cha-t li:hover .con,
.ul-cha-t li.on .con {
    color: #267DDF;
    background-image: url(../images/cha_st5.png);
}


@media only screen and (min-width: 1200px) and (max-width: 1920px){
    .ul-characters {
        padding-bottom: 2.604vw;
    }

    .ul-characters li {
        margin-bottom: 2.864vw;
    }

    .ul-characters .imgbox {
        padding: 1.041vw;
        border-radius: 50%;
    }

    .ul-characters .txt {
        padding: 0 0.520vw;
    }

    .ul-characters .txt h4 {
        font-size: 1.25vw;
        line-height: 1.4em;
        font-weight: bold;
        margin-bottom: 0.520vw;
    }

    .ul-characters .txt p {
        font-size: 0.833vw;
        line-height: 1.5em;
        text-align: center;
        text-indent: 0;
    }

    /*  */
    .ul-cha-t {
        margin: 4.114vw 0 2.916vw;
    }

    .ul-cha-t .con {
        width: 9.375vw;
        height: 2.447vw;
        padding-left: 3.281vw;
        line-height: 2.447vw;
        font-size: 1.145vw;
    }

    .ul-cha-t li {
        margin-right: 0.520vw;
    }

}

@media only screen and (max-width: 1200px) {
    .ul-cha-t {
        margin: 40px 0 30px;
    }

    .ul-cha-t .con {
        width: 120px;
        height: 32px;
        font-size: 15px;
        padding-left: 40px;
        line-height: 32px;
    }

    .ul-characters .txt h4 {
        font-size: 20px;
    }

    .ul-characters .txt p {
        font-size: 14px;
    }

    .ul-characters li {
        margin-bottom: 30px;
    }

    .ul-characters {
        padding-bottom: 30px;
    }
}

@media only screen and (max-width: 960px) {
    .ul-characters .txt h4 {
        font-size: 18px;
    }

    .ul-characters .imgbox{
        padding: 15px;
    }
}


@media only screen and (max-width: 767px) {
    .ul-characters li {
        width: 33.33%;
    }
}

@media only screen and (max-width: 450px) {
    .ul-characters li {
        width: 50%;
    }
}