.case-tab-heading{
    display: none;
}

.case-container {
    display: flex;
}

.case-content {
    display: none;
}

.case-left {
    width: 12.75%;
    background-color: #F0EDE6;
    padding-top: 80px;
    position: relative;
    margin-left: -20px;
    padding-right: 20px;
    min-width: 120px;
}

.display-case-name h1 {
    /* font-family: 'Myriad Pro Bold'; */
    font-family: 'Myriad Pro';
    font-weight: 700;
    font-size: 58px;
    line-height: 1.2;
    letter-spacing: normal;
    color: #3B3A3A;
    margin: 0;
    text-align: center;
}

.case-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.case-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.case-list span {
    /* font-family: 'Myriad Pro Bold'; */
    font-family: 'Myriad Pro';
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: normal;
    color: #303030;
}

.case-button.active {
    background-color: #5A5A5A;
}

.case-button {
    background-color: #C3C3C3;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    width: max-content;
    height: auto;
    min-width: 44px;
    aspect-ratio: 1/1;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

.case-right {
    width: 87.25%;
    background-color: #F9F7F1;
    padding-top: 80px;
}

.case-right .container {
    padding-left: 40px;
    padding-right: 0;
}

.case-left-background-color {
    background-color: #F0EDE6;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: calc(100% + 200px);
}

.next-case,
.prev-case {
    display: none;
    background-repeat: no-repeat;
    background-size: auto;
    width: 8px;
    height: 20px;
    border: none;
    cursor: pointer;
}

.next-case {
    background-image: url(../icon/arrow_right.png);
}

.prev-case {
    background-image: url(../icon/arrow_left.png);
}

.case-button-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
    position: sticky;
    top: 20px;
}

@media only screen and (max-width:1440px) {
    .display-case-name h1 {
        font-size: 42px;
    }

    .case-button,
    .case-list span {
        font-size: 21px
    }
}

@media only screen and (max-width:1024px) {
    .display-case-name h1 {
        font-size: 42px;
    }

    .case-button,
    .case-list span {
        font-size: 21px
    }
}

@media only screen and (max-width:850px) {}

@media only screen and (max-width:768px) {
    .case-button-wrapper {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 20px;
    }

    .case-container {
        flex-direction: column;
    }

    .case-left-background-color {
        display: none;
    }

    .case-right {
        padding-top: 50px;
    }

    .case-left {
        display: flex;
        padding-left: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        position: sticky;
        top: 0px;
        z-index: 12;
    }

    .case-left,
    .case-right {
        width: 100%;
    }

    .case-button-group {
        flex-direction: row;
        overflow: auto;
        padding: 10px 0;
        gap: 10px;
        overflow: hidden;
    }

    .case-list {
        flex-direction: row;
        margin-top: 0;
        gap: 15px;
        min-width: 230px;
        flex: 1 1 auto;
    }

    .case-right .container {
        padding-left: 35px;
    }

    .case-button {
        width: 35px;
        font-size: 18px;
        min-width: 35px;
    }

    .display-case-name{
        flex: 100 1 auto;
    }

    .display-case-name h1 {
        text-wrap-mode: nowrap;
        text-align: left;
    }

    .next-case,
    .prev-case {
        display: block;
    }
}

@media only screen and (max-width:500px) {
    .display-case-name h1 {
        font-size: 28px;
    }

    .case-right {
        padding-top: 35px;
    }

    .case-left {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .case-list span {
        font-size: 18px;
    }

    .case-button {
        width: 30px;
        font-size: 16px;
        min-width: 30px;
    }

    .is-layout-flex,
    .case-right .container {
        padding-left: 0px;
    }
}