.h_report_inner_area h3 {
    text-align: center;
    margin-bottom: 5%;
}
.report_popup_img {
    display: none;
}

#report_image_popup {
    /* 常にflexを指定しておく */
    display: flex;

    /* アニメーションの設定 */
    opacity: 0;
    /* 初期状態は透明 */
    visibility: hidden;
    /* 操作もできなくする */
    transition:
        opacity 0.3s,
        visibility 0.3s;
    /* 0.3秒かけて変化させる */

    /* --- 以下は変更なし --- */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* 表示させるためのクラス */
#report_image_popup.is_visible {
    opacity: 1;
    /* 透明度を100%にする */
    visibility: visible;
    /* 操作可能にする */
}

/* ポップアップが表示されたときのスタイル */

/* 画像を囲むコンテナ */
.report_popup_content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.report_popup_content .report_popup_area_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.report_popup_close {
    position: fixed;
    top: 60px;
    right: 20px;
    width: min(14vw, 40px);
    cursor: pointer;
}

.report_popup_img {
    display: none;
}

.custom-popup-overlay .close-btn {
    top: 60px;
}

#report_wrapper {
    .flex__tabContents .flex__content {
        border-radius: 0;
    }

    .report_head {
        text-align: center;
        font-weight: 600;
        font-size: var(--font-2xl);
    }

    .report_info_area {
        overflow: hidden;
    }

    .flex__tab .tab__item.active a {
        color: #fff;
        background-color: var(--theme_color);
    }

    .flex__tab .tab__item a {
        color: var(--theme_color);
        background-color: #fff;
        border-radius: unset;
        border: 2px solid var(--theme_color);
        font-size: var(--font-l);
        display: block;
        line-height: 1.2;
    }

    .tab__item span {
        font-size: var(--font-xl);
    }

    .flex__tab .tab__item {
        width: 49%;
    }

    .flex__tab {
        justify-content: space-between;
        margin: 0 -1rem;
        padding: 1rem;
        background-color: #f2f2f2;
    }

    .flex__tab .tab__item:not(:first-child) {
        border-left: none;
    }

    .flex__tabContents h3 {
        text-align: center;
    }

    .colBox > .col .img {
        overflow: unset;
        border-radius: unset;
    }

    .loupe_block img {
        background-color: unset;
        width: 5%;
        object-fit: contain;
    }

    .loupe_block {
        display: flex;
        align-items: center;
    }

    .report_text_area_wrap {
        padding: 0 1rem;
    }

    .report_text_area {
        margin: 20px auto;
    }

    .report_text_wrap {
        display: flex;
        align-items: center;
        font-size: var(--font-l);
    }

    .report_num {
        color: #ffffff;
    }

    .report_text_wrap h4 {
        flex-grow: 1;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .report_text_area p {
        margin-top: 10px;
        padding-left: 5px;
        font-size: var(--font-l);
    }

    .report_img_wrapper {
        margin-bottom: 5%;
    }

    @media (min-width: 768px) {
        .flex__tab {
            margin: 0 0rem;
            padding: 2rem 7.5% 1rem 7.5%;
        }

        .report_text_area_wrap {
            padding: 0 7.5%;
        }

        .report_popup_close {
            width: min(14vw, 60px);
        }

        .flex__tab .tab__item a {
            padding: 20px 5px;
        }
    }
}

@media (min-width: 768px) {
    section#report_wrapper {
        padding: 0;
    }
}

.report_head span,
.text_red {
    color: var(--theme_color);
}

#not_necessary_report_wrapper {
    background-color: #fff0dc;
    border-radius: 20px;
    padding: 10px;
}

#not_necessary_report_wrapper {
    .top_block {
        display: flex;
        width: fit-content;
        margin: 0 auto 20px;
        align-items: center;
        padding-top: 20px;
    }

    .top_block p {
        /* font-size: 1.26vw; */
        font-size: clamp(1rem, calc(1.2rem + 0.225vw), 1.6rem);
        font-weight: 600;
    }

    .top_block p:nth-child(3) {
        color: var(--theme_color);
        /* font-size: 1.8vw; */
        font-size: clamp(1.2rem, calc(1.4rem + 0.225vw), 2rem);
        border-bottom: 6px var(--theme_color) solid;
        width: fit-content;
    }

    .top_block img {
        width: 10vw;
    }

    .top_text {
        margin-left: 10px;
    }

    .top_text_flex {
        display: flex;
    }

    .bottom_block {
        padding: 0 10px;
        font-size: clamp(0.8rem, calc(0.7rem + 0.225vw), 1.2rem);
        font-weight: 500;
        margin-bottom: 10px;
    }

    .caution_block {
        padding: 0 10px;
        font-size: clamp(0.6rem, calc(0.5rem + 0.225vw), 1rem);
        font-weight: 500;
        margin-bottom: 20px;
    }
}

/* SP */
@media (max-width: 767px) {
}

.acc_wrapper {
    .item_block {
        position: relative;
        display: block;
        box-sizing: border-box;
        width: 100%;
        margin: 20px auto 0px !important;
    }

    .item_block_sub {
        position: relative;
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 16px 15px;
        background-color: var(--theme_color) !important;
        border-radius: 36px;
        font-size: clamp(16px, 1.3em, 30px);
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        transition: border-radius 0.3s ease;
        margin-top: 1em;
    }

    .open .item_block_sub {
        border-radius: 24px 24px 0px 0px;
    }

    .item_block_sub h3 {
        padding-right: 20px;
        font-size: var(--font-l);
    }

    .item_block_text {
        position: relative;
        display: block;
        box-sizing: border-box;
        width: 100%;
        background-color: #fcf1db;
        border-radius: 0px 0px 24px 24px;
        font-size: 16px;
        color: #000;
        padding: 0.5rem 1.2rem 1.5rem;

        /* ★★★ 変更点: ここに h4 と hr のスタイルを追加 ★★★ */
        h4 {
            font-size: var(--font-l);
            font-weight: bold;
            margin-top: 1em;
            margin-bottom: 0em;
            color: var(--theme_color);
        }

        span.small_text {
            font-size: var(--font-m);
        }

        hr {
            border: none;
            border-top: 1px dashed #505050;
            margin: 1.5em 0;
        }

        /* ★★★ 変更点ここまで ★★★ */
    }

    .item_block_text .red--b {
        color: var(--theme_color) !important;
        font-size: 1.25rem;
        font-weight: bold;
        line-height: 1.2;
    }

    .fshoplist-target__list {
        padding: 0;
        background-color: #fff;
    }

    .fshoplist-target--ttl::before {
        top: 50%;
        right: 40px;
        position: absolute;
        width: 2px;
        height: 1rem;
        content: "";
        border-radius: 3px;
        background: #fff;
        z-index: 1;
    }

    .fshoplist-target--ttl::after {
        right: 40px;
        background: #fff;
        position: absolute;
        width: 2px;
        height: 0.89em;
        content: "";
        border-radius: 3px;
        transform: translateY(0%);
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .open .fshoplist-target--ttl::after {
        display: none;
    }

    @media (max-width: 767px) {
        .item_block_sub {
            padding: 0.6em 15px;
            margin-top: 1em;
        }

        .item_block_text p {
            font-size: var(--font-m);
        }

        .item_block_text .red--b {
            font-size: 1rem;
        }

        .fshoplist-target--ttl::before {
            right: 22px;
        }

        .fshoplist-target--ttl::after {
            right: 22px;
            height: 16px;
        }
    }
}

#report_wrapper .report_info_area {
    border: 1px solid var(--color-olive);
    margin: 6cqw 4cqw 0;
    padding: 3cqw 4cqw;
}

#report_wrapper .report_info_area h3 {
    color: var(--color-black);
    line-height: 1.6;
    text-align: center;
}

#report_wrapper .report_info_area p {
    margin-top: 2cqw;
}

#report_wrapper .report_img_wrapper .report_img_line {
    margin: 5.3333333333cqw 4.2666666667cqw;
}

#report_wrapper .report_img_wrapper .report_img_line img {
    display: block;
    width: 100%;
    height: 0.4cqw;
}

#report_wrapper .report_img_wrapper .h_report_inner_area {
    margin: 0 4cqw;
    padding: 0;
}

#report_wrapper .report_img_wrapper .loupe_block {
    justify-content: center;
    margin: 2.6666666667cqw auto 0;
    gap: 5px;
}

#report_wrapper .report_img_wrapper .report_text_wrap {
    gap: 2cqw;
}

#report_wrapper .report_num {
    background-color: var(--theme_color);
    padding: 0 2cqw;
    line-height: 1.8;
}
