@charset "utf-8";

/*============================
社員の本音アンケート
============================*/

.cont_img h1 {
    width: 420px;
}

#voice h2 {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 13px 0;
    font-size: 36px;
    width: 1040px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
}

#voice .inner {
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 80px 60px;
}

#voice h3 {
    font-size: 26px;
}

#voice .box {
    background: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
    padding: 60px;
}

#voice .box:not(:last-child) {
    margin-bottom: 40px;
}

#voice .box li {
    font-size: 20px;
    font-weight: 700;
}

/*box1(一部共通の部分もここに記述)*/

#voice .box1,
#voice .box2,
#voice .box3,
#voice .box4 {
    position: relative;
}

#voice .box1 .photo {
    width: 460px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
}

#voice .box1 .photo img,
#voice .box2 .photo img,
#voice .box4 .photo img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#voice .box1 .flex {
    position: relative;
    z-index: 10;
}

#voice .box1 .flex ul {
    width: 520px;
}

#voice .box1 .flex ul li,
#voice .box3 .flex ul li {
    background: #fff;
    border-radius: 10px;
    padding: 8px 20px;
}

#voice .box1 .flex ul li:not(:last-child),
#voice .box3 .flex ul li:not(:last-child) {
    margin-bottom: 10px;
}

/*box2*/

#voice .box2 .photo {
    width: 220px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

#voice .box2::before {
    content: "";
    background: url(../images/box2_illust.png) no-repeat center center;
    background-size: 100%;
    display: block;
    width: 130px;
    height: 152px;
    position: absolute;
    right: 164px;
    bottom: 20px;
    z-index: 10;
}

#voice .box2 .text {
    width: 585px;
}

#voice .box2 ul li,
#voice .box4 ul li {
    position: relative;
    border-bottom: 1px solid #cccccc;
    padding: 8px 0 8px 24px;
}

#voice .box2 ul li::before,
#voice .box4 ul li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
    background: #1c365c;
    position: absolute;
    top: 18px;
    left: 0;
}

/*box3*/

#voice .box3 ul {
    width: 380px;
}

#voice .box3::before {
    content: "";
    background: url(../images/box3_illust.png) no-repeat center center;
    background-size: 100%;
    display: block;
    width: 260px;
    height: 192px;
    position: absolute;
    right: 120px;
    bottom: 0;
    z-index: 10;
}

/*box4*/

#voice .box4 .photo {
    width: 440px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
}

#voice .box4 .text {
    width: 375px;
}

@media only screen and (max-width: 768px) {

    .cont_img h1 {
        width: 100%;
    }

    #voice h2 {
        padding: 13px 20px;
        text-align: left;
        font-size: 20px;
        width: 100%;
        line-height: 1.4;
    }

    #voice .inner {
        padding: 30px;
    }

    #voice h3 {
        font-size: 20px;
    }

    #voice .box {
        padding: 20px;
    }

    #voice .box:not(:last-child) {
        margin-bottom: 40px;
    }

    #voice .box li {
        font-size: 16px;
    }

    /*box1(一部共通の部分もここに記述)*/

    #voice .box1,
    #voice .box2,
    #voice .box3,
    #voice .box4 {
        position: relative;
    }

    #voice .box1,
    #voice .box4 {
        padding: 0;
    }

    #voice .box1 .photo {
        width: 100%;
        height: 100%;
        position: static;
        top: 0;
        left: 0;
        border-radius: 0;
    }

    #voice .box1 .photo img,
    #voice .box4 .photo img {
        background: url(../images/box1_photo_sp.jpg) no-repeat center center;
        background-size: 100%;
        width: 100%;
        height: 0;
        padding-top: 57.87%;
        overflow: hidden;
    }

    #voice .box4 .photo img {
        background-image: url(../images/box4_photo_sp.jpg);
    }

    #voice .box1 .flex {
        position: relative;
        z-index: 10;
        padding: 20px;
    }

    #voice .box1 .flex ul {
        width: 100%;
    }

    #voice .box1 .flex ul li,
    #voice .box3 .flex ul li {
        font-size: 16px;
        padding: 5px 10px;
    }

    #voice .box1 .flex ul li:not(:last-child),
    #voice .box3 .flex ul li:not(:last-child) {
        margin-bottom: 10px;
    }

    /*box2*/

    #voice .box2 .photo {
        display: none;
    }

    #voice .box2::before {
        width: 65px;
        height: 76px;
        right: 10px;
        bottom: 10px;
    }

    #voice .box2 .text {
        width: 100%;
        position: relative;
        padding-bottom: 30px;
    }

    #voice .box2 ul li,
    #voice .box4 ul li {
        padding: 8px 0 8px 14px;
    }

    #voice .box2 ul li::before,
    #voice .box4 ul li::before {
        width: 8px;
        height: 8px;
        top: 18px;
    }

    /*box3*/

    #voice .box3 .flex {
        padding-bottom: 96px;
    }

    #voice .box3 ul {
        width: 380px;
    }

    #voice .box3 ul:not(:last-of-type) {
        margin-bottom: 10px;
    }

    #voice .box3::before {
        width: 130px;
        height: 96px;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

    /*box4*/

    #voice .box4 .photo {
        width: 100%;
        height: auto;
        position: static;
        top: 0;
        right: 0;
        border-radius: 0;
    }

    #voice .box4 .text {
        width: 100%;
        padding: 20px;
    }
}
