#state_bad_purchase_brand {
    background: var(--key-beige, #f7ecdb);
    padding: 40px 3cqw;

    h2 {
        margin-bottom: 20px;
    }

    h4 {
        margin-top: 5%;
        text-align: center;
    }

    .theme_color_text {
        color: #d00000;
    }

    /* head */
    .head_wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5%;
        align-items: center;
    }

    .head_block {
        width: 100%;
    }

    .head_block img {
        width: 60%;
        margin: auto;
        margin-bottom: 5%;
        display: block;
    }

    .top_text_center {
        display: block;
        font-weight: bold;
        margin: auto;
        text-align: center;
        background: linear-gradient(transparent 60%, #ffff00 60%);
        width: 65%;
    }

    .purchase-title {
        margin: 0;
        padding: 6px;
        background: #fff;
        margin-bottom: 2px;
        text-align: center;
    }

    .head_img {
        width: 35%;
    }

    .head_img img {
        width: 100%;
    }

    .head_text {
        margin-bottom: 8px;
        text-align: center;
    }

    .badge_grid {
        display: flex;
        gap: 16px;
        margin-block: 20px;
        justify-content: center;
        align-items: center;
    }

    .badge_grid_item {
        width: 24cqw;
        height: 24cqw;
        color: #fff;
        background: #ab9f71;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* top */
    .top_wrapper {
        background-color: #fff;
        border-radius: var(--round-button, 4px);
        padding: 20px 15px;
        position: relative;
        margin-top: 4%;
        margin-bottom: 3%;
    }

    .top_wrapper .sub-title {
        color: #7e7558;
        text-align: center;
    }

    .top_wrapper .main-title {
        margin-bottom: 10px;
        text-align: center;
    }

    .top_wrapper_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .top_text_img {
        position: absolute;
        width: max-content;
        top: -4%;
        left: 50%;
        transform: translateX(-50%);
    }

    .top_img_block {
        position: relative;
    }

    .top_img_block .ok_img {
        position: absolute;
        width: 25%;
        right: -5%;
        top: -5%;
    }

    .brand_img_type_01 {
        width: 100%;
    }

    /* arrow */
    .arrow_wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 50%;
        margin: auto;
        margin-bottom: 3%;
        position: relative;
    }

    .arrow_text {
        top: 40%;
        color: #ffffff;
        text-align: center;
        position: absolute;
        font-size: clamp(12px, 2.7vw, 32px);
    }

    .arrow_wrapper img {
        width: 90%;
        position: relative;
        margin-top: 35%;
    }

    .intermediate_text {
        text-align: center;
        font-size: var(--font-l);
        margin-bottom: 5%;
        font-weight: bold;
    }

    /* bottom */
    .bottom_wrapper {
        text-align: center;
        border-radius: 24px;
        gap: 5%;
        display: block;
        border: 3px solid #e60012;
        position: relative;
        margin-top: 15%;
    }

    .bottom_img_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        margin: auto;
        justify-items: center;
    }

    .bottom_img_wrapper img {
        width: 80%;
    }

    .bottom_block {
        width: 47.5%;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 5%;
    }

    .bottom_block h3 {
        text-align: center;
        padding: 2%;
        font-size: clamp(0.9em, 1.5vw, 1em);
        font-weight: 500;
    }

    .bottom_block_content {
        padding: 5%;
        text-align: center;
    }

    .brand_img_type_02 {
        border-radius: 16px;
        object-fit: cover;
        width: -webkit-fill-available;
    }

    .state_bad_items {
        display: flex;
        gap: 2%;
        border: 1px solid #000000;
        margin-bottom: 3%;
        padding: 2% 5%;
        font-size: clamp(0.8em, 1.1vw, 1.5em);
        font-weight: 500;
        border-radius: 10px;
        align-items: center;
    }

    .state_bad_items img {
        width: 10%;
    }

    .state_bad_items p {
        font-size: 1vw;
    }

    .description_text {
        font-size: clamp(0.7em, 1.1vw, 1.5em);
        text-align: justify;
    }

    .text-white {
        color: #ffffff;
    }

    .text-yellow {
        color: #ffff00;
    }
}

@media (max-width: 767px) {
    #state_bad_purchase_brand {
        padding: 40px 1em;

        /* head */
        .head_block {
            width: 100%;
        }

        .head_block img {
            width: 100%;
        }

        .head_img {
            width: 60%;
        }

        .head_read_text {
            text-align: center;
        }

        .top_text_img {
            position: absolute;
            width: max-content;
            top: -3%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 8%;
        }

        /* arrow */
        .arrow_text {
            line-height: 1.2;
            padding-top: 6%;
            position: absolute;
            top: 44.3%;
            text-align: center;
            font-weight: bold;
        }

        .arrow_text.scar {
            top: 10.25%;
            left: 3.5%;
        }

        .arrow_text.dirty {
            top: 20.3%;
            left: 38.2%;
        }

        .arrow_text.old {
            top: 20.3%;
            left: 71%;
        }

        .arrow_wrapper {
            width: 100%;
            top: -1em;
        }

        .arrow_text p {
            font-size: 4.6vw;
        }

        .arrow_text span {
            font-size: 6vw;
        }

        /* bottom */
        .bottom_wrapper {
            display: block;
        }

        .bottom_wrapper h4 {
            font-weight: 700;
        }

        .bottom_block {
            width: 100%;
        }

        .brand_img_type_02 {
            /* width: 82vw; */
            height: 44vw;
        }

        .state_bad_items p {
            font-size: 3vw;
        }

        .bottom_summary_text {
            width: 88% !important;
            font-size: 3.8vw !important;
            text-align: justify;
        }

        .bug_eye {
            position: absolute;
            left: 3%;
            top: -6% !important;
            width: 18%;
        }

        .middle_cta_section {
            margin: 2rem 0 2rem 0;
        }
    }
}

#state_bad_purchase_brand {
    /* スライダー全体のコンテナ */
    .purchase-example-container {
        border-radius: var(--round-button, 4px);
        padding: 0;
        max-width: 100%;
        margin-top: 20px;
        overflow: hidden;
    }

    /* 「買取実績例」のタイトル */

    /* スライダーと説明文を囲むラッパー */
    .purchase-slider-wrapper {
        padding: 10px;
        background-color: #fff;
    }

    /* --- Slick スライダーの基本スタイル --- */

    /* メインスライダー */
    .slider-for {
        margin-bottom: 10px;
        position: relative;
    }

    .slider-for img {
        width: 55%;
        /* border: 1px solid #ccc; */
        margin: auto;
        border-radius: 24px;
    }

    /* サムネイルスライダー */
    .slider-nav .slick-slide {
        padding: 0 5px;
        cursor: pointer;
    }

    .slider-nav img {
        width: 100%;
        border: 3px solid transparent;
    }

    /* 現在選択中のサムネイル */
    .slider-nav .slick-current img {
        border-color: #e60012;
    }

    /* 左右の矢印ボタン */
    .slick-prev,
    .slick-next {
        z-index: 10;
        width: 30px;
        height: 30px;
    }

    .slick-prev {
        left: 20px;
    }

    .slick-next {
        right: 20px;
    }

    .slick-prev:before,
    .slick-next:before {
        font-size: 30px;
        color: #e60012;
        opacity: 0.8;
    }

    .static-nav {
        display: flex;
        /* Flexboxで横並びにする */
        justify-content: space-between;
        /* 両端揃えで均等に配置 */
        gap: 8px;
        /* サムネイル間の隙間 */
    }

    .static-thumb {
        cursor: pointer;
        flex-basis: 25%;
        /* 各アイテムの基本幅を25%に */
    }

    .static-thumb img {
        width: 100%;
        border: 1px solid transparent;
        /* 通常時は透明の枠 */
        box-sizing: border-box;
        /* 枠線を含めて幅を計算 */
        display: block;
        border-radius: 10px;
    }

    /* 現在選択中のサムネイルをハイライト */
    .static-thumb.active-thumb img {
        border-color: #e60012;
        /* 赤い枠線 */
    }

    /* 説明文エリア */
    .purchase-info {
        margin-top: 3%;
        font-size: 3vw;
        line-height: 1.6;
        /* font-weight: bold; */
    }

    .purchase-info p {
        margin: 0;
    }

    /* Slick矢印ボタンのデフォルトスタイルをリセット */
    .slick-arrow {
        background: transparent;
        border: none;
        padding: 0;
    }

    /* デフォルトの文字矢印「<」「>」を非表示にする */
    .slick-arrow::before {
        display: none;
    }

    /* 矢印画像のサイズを指定 */
    .slick-arrow img {
        width: 30px !important;
        /* ← お好みのサイズに調整してください */
        height: auto;
        display: block;
    }

    .slick-arrow:before {
        content: "";
        display: block;
        width: 24px !important;
        height: 24px !important;
        background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.5%207L10%2012L14.5%2017%22%20stroke%3D%22%23D00000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .slick-next:before {
        transform: scaleX(-1);
    }

    .custom-checklist {
        margin-left: 10%;
        margin-top: 5%;
    }

    .state-bad-purchase-condition-label {
        width: fit-content;
        padding: 2px 5px;
        background: #f7ecdb;
        display: block;
        margin: 0 auto 5px;
    }

    /* ulタグのデフォルトスタイルをリセット */
    .custom-checklist ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* 各リスト項目 */
    .custom-checklist li {
        display: flex;
        align-items: center;
    }

    .custom-checklist li:last-child {
        margin-bottom: 0;
    }

    /* チェックマーク画像のスタイル */
    .custom-checklist li img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    /* テキストのスタイル */
    .custom-checklist li span {
        font-size: var(--font-m);
        font-weight: bold;
    }

    .bottom_summary_text {
        font-weight: 700;
        font-size: clamp(10px, 1.37vw, 17px);
        width: 80%;
        margin: auto;
        margin-bottom: 5%;
        margin-top: 5%;
    }

    .bottom_header_wrapper {
        background-color: #e60012;
        color: #fff;
        width: 61%;
        padding: 1%;
        margin: auto;
        font-size: 4.5vw;
        font-weight: bold;
        border-radius: 24px;
        margin-top: -4%;
        margin-bottom: 5%;
        position: relative;
    }

    .bug_eye {
        position: absolute;
        left: 3%;
        top: -6%;
        width: 18%;
    }

    @media screen and (min-width: 600px) and (max-width: 768px) {
        .top_text_img {
            position: absolute;
            width: max-content;
            top: -7%;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media (max-width: 1185px) {
        .bug_eye {
            position: absolute;
            left: 3%;
            top: -12%;
            width: 18%;
        }
    }

    .circle_wrapper {
        position: relative;
    }
}
