#transform_description_wrapper {
    .popup {
        cursor: pointer;
    }

    > h3 {
        font-weight: bold;
        font-size: var(--font-2xl);
        /* font-size: 2em; */
        margin: auto;
        width: fit-content;
    }

    > p {
        color: #000;
        line-height: 1.5;
        font-size: var(--font-l);
        font-weight: 500;
        margin: 2% 0 40px;
    }

    .item_block_wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .item_block {
        border: 2px #d3d3d3 solid;
        border-radius: 20px;
        text-align: center;
        min-height: 100%;
        /* padding: 4px 0; */
    }

    .item_block:hover {
        border: 2px var(--theme_color) solid;
    }

    .item_block p {
        font-weight: 600;
        font-size: var(--font-s);
        width: fit-content;
        padding: 4px 4px 10px 4px;
        border-top-left-radius: 16px;
        border-bottom-right-radius: 30px;
        display: block;
        margin: auto;
    }

    .item_block img {
        width: 80%;
        margin: 2%;
    }

    .item_name_block {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .item_name_block p {
        font-weight: 600;
        font-size: clamp(10px, 1.4vw, 16px);
    }

    .item_name_block img {
        width: 10%;
        height: 10%;
        margin: auto 0;
    }

    .item_block_text {
        display: none;
    }

    .item_block > div > p + p {
        position: relative;
    }

    /* ポップアップ閉じる×ボタン */
    .item_block > div > p + p::after {
        position: absolute;
        content: "";
        width: 1em;
        height: 1em;
        background: url(../assets/img/icon_arrow_white02.png) no-repeat;
        background-size: 30%;
        top: 26%;
        background-position: center;
        border-radius: 50%;
        background-color: red;
        margin-left: 4px;
    }

    @media (max-width: 767px) {
        .item_block_wrapper {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 0;
        }

        .item_block p {
            font-size: var(--font-l);
        }

        .item_type_block {
            display: flex;
            width: fit-content;
            margin: auto;
        }

        .item_name_block p {
            font-size: clamp(8px, 3vw, 20px);
        }
    }

    @media (max-width: 499px) {
        /* .item_block p {
				border-top-left-radius: 47.8%;
			} */
    }
}
.popup_block {
    background-color: #fff;
    width: 46%;
    margin: auto;
    text-align: center;
    position: relative;
    border-radius: 20px;
    border: 4px solid #dcdcdc;
    padding: 40px 0;
}

.popup_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 9999;
    display: grid;
}

.popup_wrapper.show {
    opacity: 1;
    pointer-events: auto;
}

.popup_wrapper img {
    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
    opacity: 1;
    width: 40%;
}

.popup_wrapper .close-btn {
    position: absolute;
    top: -26px;
    right: -23px;
    cursor: pointer;
    z-index: 10000;
    width: min(6vw, 60px);
}

.popup_item_type_block {
    display: flex;
    margin: 0 auto 20px;
    width: fit-content;
    font-size: 180%;
}

.popup_item_type_block .text_red {
    margin-right: 20px;
}

.popup_item_type_block p {
    width: fit-content;
    font-weight: 600;
}

.popup_item_type {
    color: #000;
}

.popup_item_text {
    font-weight: 500;
    width: 80%;
    margin: auto;
    text-align: left;
}

@media (max-width: 767px) {
    .popup_block {
        width: 86%;
    }

    .popup_item_type_block {
        font-size: 130%;
    }

    .popup_item_text {
        font-size: 3.4vw;
    }
}
