.case-fv-container{
    background-color: rgb(57, 87, 151, 0.05);
}

.case-fv-wrapper{
    padding-top: calc(100vw * 224 / 1366);
    padding-bottom: calc(100vw * 205 / 1366);
}

.case-fv-content{
    padding-left: calc(100vw * 100 / 1366);
}

.case-fv-content h2{
    font-size: calc(100vw * 64 / 1366);
    color: #1D3A78;
    border-bottom: 1px solid #1D3A78;
    display: inline-block;
    line-height: calc(100vw * 77 / 1366);
}

.case-fv-content p{
    font-size: calc(100vw * 24 / 1366);
    color: #1D3A78;
    line-height: calc(100vw * 29 / 1366);
    margin-top:calc(100vw * 5 / 1366);
}

.case-fv-content{
    opacity: 0;
    transform: translateY(18px);
    animation: caseFvIntro .9s cubic-bezier(.2,.8,.2,1) .15s forwards;
}

.case-fv-content h2{
    opacity: 0;
    transform: translateY(10px);
    animation: caseFvIntro .9s cubic-bezier(.2,.8,.2,1) .22s forwards;
}

.case-fv-content p{
    opacity: 0;
    transform: translateY(10px);
    animation: caseFvIntro .9s cubic-bezier(.2,.8,.2,1) .32s forwards;
}

@keyframes caseFvIntro{
    0%{
        opacity: 0;
        transform: translateY(18px);
        filter: blur(6px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce){
    .case-fv-content,
    .case-fv-content h2,
    .case-fv-content p{
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 768px){
    .case-fv-wrapper{
        padding-top: calc(100vw * 72 / 375);
        padding-bottom: calc(100vw * 64 / 375);
    }

    .case-fv-content{
        padding-left: calc(100vw * 18 / 375);
        padding-right: calc(100vw * 18 / 375);
    }

    .case-fv-content h2{
        font-size: calc(100vw * 26 / 375);
        line-height: calc(100vw * 34 / 375);
        border-bottom: 1px solid #1D3A78;
        display: inline-block;
        word-break: break-word;
    }

    .case-fv-content p{
        font-size: calc(100vw * 14 / 375);
        line-height: calc(100vw * 20 / 375);
        margin-top: calc(100vw * 10 / 375);
    }
}

.case-sv-wrapper{
    margin-top: calc(100vw * -125 / 1366);
}

.case-sv-content{
    width: calc(100vw * 1264 / 1366);
}

.case-sv-content img{
    width: 100%;
    height: calc(100vw * 250 / 1366);
    object-fit: cover;
	border-radius: 0 40px 40px 0;
}

@media(max-width:768px){
    .case-sv-wrapper{
        margin-top: calc(100vw * -24 / 375);
    }

    .case-sv-content{
        width: 100%;
        padding-left: calc(100vw * 18 / 375);
        padding-right: calc(100vw * 18 / 375);
    }

    .case-sv-content img{
        width: 100%;
        height: calc(100vw * 168 / 375);
        border-radius: calc(100vw * 12 / 375);
        object-fit: cover;
    }
}

.case_container{
    background: #F5F5F5;
    padding-top: calc(100vw * 70 / 1366);
    padding-bottom: calc(100vw * 90 / 1366);
}

.case_wrapper{
    width: calc(100% - calc(100vw * 40 / 1366));
    max-width: 1166px;
    margin: 0 auto;
}

.case_tabs{
    display: flex;
    gap: calc(100vw * 20 / 1366);
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: calc(100vw * 26 / 1366);
    -webkit-overflow-scrolling: touch;
}

.case_tab{
    flex: 0 0 auto;
    height: calc(100vw * 70 / 1366);
    padding: 0 calc(100vw * 26 / 1366);
    border: 1px solid #007DC9;
    border-radius: calc(100vw * 10 / 1366);
    background: #ffffff;
    color: #007DC9;
    font-size: calc(100vw * 18 / 1366);
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease, color .25s ease;
}

.case_tab.is-active{
    background: linear-gradient(90deg, #007DC9, #23A0ED);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 calc(100vw * 10 / 1366) calc(100vw * 24 / 1366) rgba(13, 70, 120, .18);
}

.case_grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(100vw * 26 / 1366);
}

.case_card{
    background: #ffffff;
    border-radius: calc(100vw * 14 / 1366);
    box-shadow: 0 calc(100vw * 8 / 1366) calc(100vw * 22 / 1366) rgba(0,0,0,.08);
    overflow: hidden;
}

.case_card_link{
    display: block;
    height: 100%;
}

.case_thumb{
    width: 100%;
}

.case_thumb_img,
.case_thumb_ph{
    width: 100%;
    aspect-ratio: 1200 / 630;
    height: auto;
    display: block;
    object-fit: cover;
    background: #EDEDED;
}

.case_body{
    padding: calc(100vw * 18 / 1366) calc(100vw * 18 / 1366) calc(100vw * 22 / 1366);
}

.case_title{
    margin: 0;
    font-size: calc(100vw * 22 / 1366);
    font-weight: 900;
    color: #007DC9;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.case_text{
    margin: calc(100vw * 12 / 1366) 0 0;
    font-size: calc(100vw * 16 / 1366);
    line-height: 1.7;
    color: rgba(17,17,17,.82);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.case_card:hover{
    transform: translateY(-2px);
    transition: transform .2s ease;
}

.case_card:hover .case_title{
    text-decoration: underline;
}

.case_empty{
    margin-top: calc(100vw * 18 / 1366);
    font-size: calc(100vw * 18 / 1366);
    color: rgba(17,17,17,.72);
}

.case_pager{
    margin-top: calc(100vw * 40 / 1366);
    display: flex;
    justify-content: center;
}

.case_pager .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: calc(100vw * 44 / 1366);
    height: calc(100vw * 44 / 1366);
    padding: 0 calc(100vw * 14 / 1366);
    margin: 0 calc(100vw * 6 / 1366);
    border-radius: calc(100vw * 10 / 1366);
    border: 1px solid rgba(0,125,201,.35);
    color: #007DC9;
    font-weight: 800;
    background: #ffffff;
    text-decoration: none;
}

.case_pager .page-numbers.current{
    background: linear-gradient(90deg, #007DC9, #23A0ED);
    color: #ffffff;
    border-color: transparent;
}

@media (max-width: 768px){
    .case_container{
        padding-top: calc(100vw * 48 / 375);
        padding-bottom: calc(100vw * 64 / 375);
    }

    .case_wrapper{
        width: calc(100% - calc(100vw * 36 / 375));
    }

    .case_tabs{
        gap: calc(100vw * 10 / 375);
        padding-bottom: calc(100vw * 18 / 375);
    }

    .case_tab{
        height: calc(100vw * 54 / 375);
        padding: 0 calc(100vw * 14 / 375);
        border-radius: calc(100vw * 10 / 375);
        font-size: calc(100vw * 14 / 375);
    }

    .case_grid{
        grid-template-columns: 1fr;
        gap: calc(100vw * 18 / 375);
    }

    .case_card{
        border-radius: calc(100vw * 14 / 375);
        box-shadow: 0 calc(100vw * 8 / 375) calc(100vw * 22 / 375) rgba(0,0,0,.08);
    }

    .case_body{
        padding: calc(100vw * 16 / 375) calc(100vw * 16 / 375) calc(100vw * 18 / 375);
    }

    .case_title{
        font-size: calc(100vw * 18 / 375);
    }

    .case_text{
        margin-top: calc(100vw * 10 / 375);
        font-size: calc(100vw * 14 / 375);
        -webkit-line-clamp: 3;
    }

    .case_pager{
        margin-top: calc(100vw * 30 / 375);
    }

    .case_pager .page-numbers{
        min-width: calc(100vw * 44 / 375);
        height: calc(100vw * 44 / 375);
        border-radius: calc(100vw * 10 / 375);
        padding: 0 calc(100vw * 14 / 375);
        margin: 0 calc(100vw * 6 / 375);
    }
}