/*=============================
    Post Counter Up
===============================*/

.post-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.post-container .data-wrap-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 2rem 0;
    gap: 30px 60px;
}

.data-wrap-top .post-counter-up {
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-wrap-top .post-counter-up:first-child .post-counter-up-icon svg {
    width: 100px;
    height: 100px;
    fill: rgba(228, 91, 0, 0)
}

.post-container .data-wrap-top .post-counter-up-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.data-wrap-top .post-counter-up:first-child h2 {
    font-size: 3rem;
}

.data-wrap-top .post-counter-up:first-child h2 .unit {
    font-size: 1rem;
}

.data-wrap-top .post-counter-up:last-child .post-counter-up-icon svg {
    width: 60px;
    height: 60px;
}

.data-wrap-top .post-counter-up:last-child h2 {
    font-size: 2.5rem;
}

.data-wrap-top .post-counter-up:last-child h2 .unit {
    font-size: 1rem;
}


.post-container .data-wrap-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 3rem 0;
    gap: 30px 30px;
}

.data-wrap-bottom .post-counter-up {
    display: flex;
    align-items: center;
}

.data-wrap-bottom .post-counter-up .post-counter-up-icon svg {
    width: 60px;
    height: 60px;
}

.post-container .data-wrap-bottom .post-counter-up-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.data-wrap-bottom .post-counter-up h2 {
    font-size: 2rem;
}

.data-wrap-bottom .post-counter-up h2 .unit {
    font-size: 1rem;
}



.data-icon {
    width: 80px;
    height: 80px;
}

.post-counter-up-icon svg {
    width: 80px;
    height: 80px;
}

svg.slider-item-icon {
    width: 60px;
    height: 60px;
    -webkit-animation: rotate-infinite 15s linear infinite;
    animation: rotate-infinite 15s linear infinite;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .post-container .data-wrap-top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 2rem 0;
        gap: 30px 60px;
    }

    .post-container .data-wrap-bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 3rem 0;
        gap: 30px 30px;
    }

    .data-wrap-top .post-counter-up {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

.post-counter-up-icon i {
    font-size: 70px;
    color: #f248b4;
}

.post-counter-up-title {
    font-weight: 700;
    font-size: 64px;
    text-transform: uppercase;
    color: var(--td-common-black);
    margin-bottom: 0;
    line-height: 1;
}

.post-counter-up-title .unit {
    font-size: 18px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .post-counter-up-title {
        font-size: 55px;
    }
}

.post-counter-up-subtitle {
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    color: var(--td-grey-1);
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .post-counter-up-subtitle {
        font-size: 14px;
    }
}



.td-counter-3-wrap .post-counter-up-icon i {
    font-size: 70px;
    color: var(--td-theme-primary);
    width: 114px;
    height: 114px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    background: #f4f2ff;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .td-counter-3-wrap .post-counter-up-icon i {
        font-size: 46px;
        width: 80px;
        height: 80px;
    }
}

.td-counter-3-wrap .post-counter-up-title {
    font-size: 40px;
}

.td-counter-3-wrap .post-counter-up-subtitle {
    font-size: 14px;
}


/* デフォルトまたは影付きデザイン */
.wp-block-acf-count-up {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s;
}

.components-button.block-editor-block-types-list__item.editor-block-list-item-acf-count-up.is-next-40px-default-size {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.0);
    border: none;
    transition: transform 0.3s;
}

.components-button.block-editor-block-types-list__item.editor-block-list-item-acf-count-up.is-next-40px-default-size:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
}