.case_update_wrapper {
    padding: 50px 0;
    color: #333;
    width: 1030px;
    margin: 0px auto;
}

@media screen and (max-width: 1149px) {
    .case_update_wrapper {
        width: 90%;
    }
}

.case_update_inner {
    margin: 0 auto;
}

.case_update_header {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.case_update_header h2 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    padding-top: 0px;
}

.case_update_header p {
    font-size: 1.15rem;
}

.case_update_tabs {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 10;
    gap: 8px;
}

.case_update_tab {
    flex: 1;
    text-align: center;
    background: #000;
    color: #fff;
    cursor: pointer;
    padding: 12px 25px 12px 10px;
    border: 3px solid #000;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: background 0.2s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case_update_tab:not(.active)::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.case_update_tab.active {
    background: #fff;
    color: #000;
    padding: 15px 10px 0px;
    margin-bottom: -3px;
    border-bottom: 3px solid #fff;
    border-radius: 8px 8px 0 0;
    z-index: 2;
}

.case_update_tab_title {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.case_update_tab.active .case_update_tab_title {
    font-size: 38px;
}

.case_update_tab_sub {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 5px;
    line-height: 1.2;
}

.case_update_tab.active .case_update_tab_sub {
    font-size: 1.25em;
    margin-top: 8px;
}

.case_update_content_container {
    border: 3px solid #000;
    background: #fff;
    position: relative;
    z-index: 1;
}

.case_update_content {
    display: none;
    padding: 60px 70px;
}

.case_update_content.active {
    display: block;
    animation: case_update_fade 0.5s ease;
}

@keyframes case_update_fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case_update_badge_yt {
    display: table;
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 6px 10px;
    margin: 0 auto 15px;
    font-size: 1.75em;
    line-height: 1;
}

.case_update_main_title {
    text-align: center;
    font-size: 1.75em;
    font-weight: bold;
    margin-bottom: 20px;
}



@media screen and (min-width: 900px) and (max-width: 1149px) {

    .__text_size_fix_1 {
        font-size: 2.6vw;
    }
}

.case_update_main_title .border_bottom_text {
    display: inline-block;
    border-bottom: 3px solid #333;
    margin-bottom: 10px;
}

.case_update_main_title .border_bottom_text span {
    color: #c7000b;
    font-size: 119%;
}

.case_update_img_top {
    text-align: center;
    margin-bottom: 40px;
}

.case_update_img_top img {
    max-width: 86%;
    height: auto;
    border-radius: 8px;
    box-sizing: border-box;
}

/* 画像切り替え用クラス */
.img_sp {
    display: none;
}

.case_update_challenge {
    text-align: center;
    margin-bottom: 0;
}

.case_update_challenge_badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 30px;
    font-weight: bold;
    font-size: 1.75em;
    line-height: 1;
    position: relative;
    top: 22px;
    z-index: 2;
}

.case_update_challenge_box {
    background: #f2f2f2;
    padding: 35px 30px 25px;
    text-align: left;
    margin-bottom: 15px;
}

.case_update_dl {
    margin: 0;
}

.case_update_dl dt {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 3px;
}

.case_update_dl dd {
    margin: 0 0 10px 0;
    font-size: 1em;
    line-height: 1.4;
}

.case_update_dl dd:last-child {
    margin-bottom: 0;
}

.case_update_arrow {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-top: 50px solid #c7000b;
    margin: 0 auto 40px;
}

.case_update_success {
    position: relative;
    border: 4px solid #c7000b;
    border-radius: 8px;
    padding: 40px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
}

.case_update_success_badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #c7000b;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.75em;
    line-height: 1;
}

.case_update_success_text {
    flex: 1;
    padding-right: 30px;
    text-align: left;
}

.case_update_success_img {
    width: 180px;
    flex-shrink: 0;
}

.case_update_success_img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-sizing: border-box;
}

.__2 img {
    width: 63%;
}

.__3 img {
    width: 52%;
}

.__4 img {
    width: 83%;
}

@media screen and (max-width: 768px) {
    .case_update_wrapper {
        padding: 30px 0;
    }

    .case_update_header h2 {
        font-size: 22px;
    }

    .case_update_tabs {
        gap: 4px;
    }

    .case_update_tab {
        padding: 12px 0px 20px;
    }

    .case_update_tab.active {
        padding: 17px 0px 12px;
    }

    .case_update_tab_title {
        font-size: 16px;
    }

    .case_update_tab.active .case_update_tab_title {
        font-size: 20px;
    }

    .case_update_tab_sub {
        font-size: 11px;
        transform: scale(0.9);
        margin-top: 2px;
        line-height: 1.3;
        word-break: auto-phrase;
    }

    .case_update_tab.active .case_update_tab_sub {
        font-size: 12px;
        transform: scale(1);
    }

    .case_update_tab:not(.active)::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 8px;
        transform: translateX(-50%) rotate(45deg);
        width: 5px;
        height: 5px;
    }

    .case_update_content {
        padding: 30px 15px;
    }

    .case_update_main_title {
        font-size: 1.6em;
        line-height: 1.4;
        padding-bottom: 15px;
    }

    /* 画像切り替え（SP用表示、PC用非表示） */
    .img_pc {
        display: none;
    }

    .img_sp {
        display: inline-block;
    }

    .case_update_challenge_box {
        padding: 30px 15px 15px;
    }

    .case_update_success {
        flex-direction: column;
        padding: 40px 15px 20px;
        text-align: center;
        margin-top: 50px;
    }

    .case_update_success_text {
        padding-right: 0;
        margin-bottom: 25px;
        text-align: left;
    }

    .case_update_success_badge {
        width: 80%;
        text-align: center;
        white-space: nowrap;
        font-size: 1.75em;
        padding: 6px 10px;
    }

    .__2_sp_tab_fix {
        padding: 5px 0px 13px;
    }

    .case_update_success_img {
        width: 140px;
        margin: 0 auto;
    }

    .case_update_arrow {
        border-left: 80px solid transparent;
        border-right: 80px solid transparent;
        border-top: 30px solid #c7000b;
        margin: 0 auto 25px;
    }

    .__1 img {
        width: 58%;
    }

    .__2 img {
        width: 63%;
    }

    .__3 img {
        width: 50%;
    }

    .__4 img {
        width: 61%;
    }

    .case_update_tab_title {
        letter-spacing: 0em;
    }

    .case_update_header p {
        font-size: 1rem;
    }

    .case_update_header h2 {
        font-size: 2rem;
    }
}

.chara__1 {
    width: 260px;
    flex-shrink: 0;
    position: absolute;
    right: 33px;
    bottom: 0px;
}

.chara__2 {
    width: 354px;
    flex-shrink: 0;
    position: absolute;
    right: 47px;
    bottom: 0px;
}

.chara__3 {
    width: 331px;
    flex-shrink: 0;
    position: absolute;
    right: 31px;
    bottom: 0px;
}

.chara__4 {
    width: 241px;
    flex-shrink: 0;
    position: absolute;
    right: -55px;
    bottom: 0px;
}



@media screen and (max-width: 1149px) {


    .chara__1 {
        width: 23vw;
        flex-shrink: 0;
        position: absolute;
        right: 2vw;
        bottom: 0px;
    }

    .chara__2 {
        width: 32vw;
        flex-shrink: 0;
        position: absolute;
        right: 2vw;
        bottom: 0px;
    }

    .chara__3 {
        width: 27vw;
        flex-shrink: 0;
        position: absolute;
        right: 1vw;
        bottom: 0px;
    }

    .chara__4 {
        width: 21vw;
        flex-shrink: 0;
        position: absolute;
        right: -6vw;
        bottom: 0px;
    }
}



@media screen and (min-width: 900px) and (max-width: 1149px) {
    .chara__4_text {
        padding-right: 162px;
    }
}

@media screen and (max-width: 900px) {
    .case_update_success_img {
        width: 60%;
        margin: 0 auto;
        position: relative;
        bottom: 0px;
        right: 0px;
    }

    .case_update_challenge_badge {
        line-height: 1.4;
    }

    .case_update_success_badge {
        line-height: 1.4;
        padding: 6px 10px 0px;
        font-size: 1.35em;
        padding: 5px 10px 0;
        width: 55%;
    }

    .case_update_success_text {
        margin-bottom: 0px;
    }

    .case_update_success {
        padding: 40px 15px 0px;
    }

    .chara__4 {
        padding-top: 15px;
        width: 50%;
    }

    .case_update_badge_yt {
        font-size: 1.35em;
        padding: 10px 10px 7px;
    }

    .case_update_challenge_badge {
        font-size: 1.35em;
        padding: 5px 10px;
    }

    .case_update_main_title .border_bottom_text span {
        font-size: 130%;
    }

    .case_update_main_title {
        font-size: 1.35em;
        line-height: 1.4;
        padding-bottom: 15px;
    }

    .case_update_dl dt {
        font-weight: bold;
        font-size: 1.25em;
        margin-bottom: 3px;
    }

    .case_update {
        padding-top: 50px;
    }

    .case_update_wrapper {
        padding: 30px 0 0px;
    }
}


/* ============================================================
   palent 動画ポップアップ用 追加CSS
   ============================================================ */

/* palent内のモーダルが親のoverflowで隠れないようにする */
.palent .child {
    overflow: visible !important;
}

/* palent内モーダル：既存の c-videos__modal と同じ挙動だが
   palent/child の z-index やposition の影響を受けないよう強制 */
.palent .c-videos__modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
}

.c-videos__name {
    padding: 0px !important;
}

.c-videos {
    margin-top: 0px;
}

.child {
    width: 374px;
}

@media screen and (max-width: 1250px) {
    .child {
        width: 31.2%
    }
}

@media screen and (max-width: 760px) {
    .child {
        width: 98%;
        height: 90%;
    }
}

.c-videos .c-videos__link {
    width: 100%;
}

.palent .child:nth-child(3n) {
    margin-right: 0 !important;
}


/* .case_update_content {
    max-height: 550px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.case_update_content::-webkit-scrollbar {
    width: 8px;
}

.case_update_content::-webkit-scrollbar-track {
    background: transparent;
}

.case_update_content::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 10px;
}

.case_update_content::-webkit-scrollbar-thumb:hover {
    background-color: #cbd5e1;
}

@media screen and (max-width: 768px) {
    .case_update_content {
        max-height: 480px;
    }
} */