@charset "UTF-8";

#face {
    background: #ccd6e0;
}

.face_content {
    margin-left: 25vw;
    padding: 20px;
    width: calc(100% - 25vw);
}

#service_list {
    display: flex;
    flex-wrap: wrap;
    color: white;
    width: 100%;
    gap: 2em 3%;
    margin: 0 2%;
}

#service_list li {
    width: 30%;
    background: #0b1f36;
    transition: all 0.2s;
}

#service_list li:hover {
    background: #1b3855;
}

#service_list li figure {
    background: #ddd;
    width: 100%;
    height: 8vw;
    overflow: hidden;
    position: relative;
}

#service_list li figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 101%;
    transition: all 0.2s;
}

#service_list li figure:after {
    content: "";
    display: block;
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 35px 35px;
    border-color: transparent transparent #dca11d transparent;
    transition: all 0.2s;
}

#service_list li:hover figure:after {
    right: 0px;
    bottom: 0px;
}

#service_list li:hover figure img {
    width: 110%;
    opacity: 0.8;
}

#service_list li h3 {
    font-size: 16px;
    text-align: center;
    margin: 10px 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

#service_list li p {
    text-align: justify;
    padding: 0px 30px 15px;
}

@media all and (max-width: 1200px) {
    #face {
        min-height: auto;
        height: 100%;
    }
    
    .face_content {
        margin-left: 0vw;
        padding: 20px;
        width: 100%;
    }
    
    #service_list {
        width: 100%;
    }

    #service_list li figure {
        height: 12vw;
    }

    #service_list li h3 {
        font-size: 16px;
    }
}

@media all and (max-width: 767px) {
    #service_list {
        justify-content: space-between;
        gap:1em 0;
        margin: 0;
    }
    
    #service_list li {
        width: 47.5%;
    }
    
    #service_list li figure {
        height: 17vw;
    }

    #service_list li figure:after {
        border-width: 0 0 20px 20px;
    }

    #service_list li h3 {
        font-size: 13px;
        margin: 7px 5px;
    }

    #service_list li p {
        font-size: 12px;
        padding: 0px 15px 15px;
    }
}

/*------------------------
main
------------------------*/
.h2_common span {
    font-size: 40px;
}

@media all and (max-width: 767px) {
    .h2_common span {
        font-size: 24px;
    }
}

.service_list > li {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.service_list > li:not(:last-child) {
    margin-bottom: 80px;
}

.service_list > li .service_img {
    width: 30vw;
}

.service_list > li .txt_box {
    width: calc(87% - 30vw);
    margin-left: 3%;
}

.service_list > li .txt_box p {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
}

.service_list > li .txt_box .dot_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    gap: 0.7em 1em;
    font-size: 15px;
    margin-top: 1.5em;
}

.service_list > li .txt_box .dot_list.wide {
    grid-template-columns: 1fr;
}

.service_list > li .txt_box .dot_list li  {
    text-indent: -1.2em;
    padding-left: 1.2em;
}

.service_list > li .txt_box .dot_list li:before {
    content: "●";
    color: #00af8d;
    margin-right: 0.2em;
}

@media all and (max-width: 767px) {
    .service_list > li {
        flex-wrap: wrap;
    }

    .service_list > li:not(:last-child) {
        margin-bottom: 40px;
    }

    .service_list > li .service_img {
        width: 100%;
        margin-bottom: 20px;
    }

    .service_list > li .txt_box {
        width: 100%;
        margin-left: 0%;
    }

    .service_list > li .txt_box p {
        font-size: 13px;
        line-height: 2;
    }
    
    .service_list > li .txt_box .dot_list {
        font-size: 13px;
        margin-top: 1.5em;
    }
}