@charset "utf-8";

.infographics_sec_catch {
    padding: 0 20px 100px;
    position: relative;
}

.infographics_sec {
    padding: 45px 0 100px;
    position: relative;
}

.infographics_box {
    display: flex;
    flex-wrap: wrap;
}

.infographics_item {
    width: 31.4%;
    margin-right: 2.9%;
    margin-bottom: 2.9%;
    position: relative;
}

.infographics_item:nth-child(3n) {
    margin-right: 0;
}

.infographics_item img {
    width: 100%;
    /* max-width: 390px; */
    margin: auto;
}

/* テキストを編集可能にするためのCSS */
.infographics_item:nth-child(2) div {
    position: absolute;
    top: 70%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

.infographics_item:nth-child(2) div p {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0;
    color: #75CFD8;
}

.infographics_item:nth-child(2) div p span {
    font-size: 5rem;
    font-weight: bold;
}

/* .infographics_item:nth-child(2) div small {
    font-size: 1.0rem;
} */


.infographics_item:nth-child(3) div {
    position: absolute;
    top: 67%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

.infographics_item:nth-child(3) div p {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0;
    color: #75CFD8;
}

.infographics_item:nth-child(3) div p span {
    font-size: 5rem;
    font-weight: bold;
}

.infographics_item:nth-child(3) div small {
    padding-left: 24%;
}

.infographics_item:nth-child(5) div {
    position: absolute;
    top: 55%;
    left: 50%;
}

.infographics_item:nth-child(5) div p {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0;
    color: #75CFD8;
}

.infographics_item:nth-child(5) div p span {
    font-size: 5rem;
    font-weight: bold;
}

.infographics_item:nth-child(5) div small {
    font-size: 1.0rem;
}

@media screen and (max-width: 767px) {
    .infographics_sec_catch {
        padding: 0 20px 8%;
    }

    .infographics_sec {
        padding: 0;
    }

    .infographics_item {
        width: 100%;
        /* max-width: 390px; */
        /* margin-right: 0;
        margin-bottom: 20px; */
        margin: 0 auto 20px !important;
    }

    /* テキストを編集可能にするためのCSS */
    .infographics_item div p {
        font-size: 4.4vw !important;
    }

    .infographics_item div p span {
        font-size: 13vw !important;
    }

    .infographics_item div small {
        font-size: 3.3vw !important;
    }

}