@charset "utf-8";

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
main{
    margin-top: 20px;
}
.main-title{
    display: none;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.case-top-hl{
    color: #399998;
    letter-spacing: 0.1em;
    text-align: center;
    width: fit-content;

}
.case-top-hl span{
    display: block;
    color: #000;
    font-size: 0.6em;
    letter-spacing: 0.01em;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.case-list{
margin: 20px auto 80px;
display: flex;
flex-wrap: wrap;
gap: 40px 4%;
}
.case-box{
width: 48%;
}
.case-box a{
text-decoration: none;
}
.case-box a:hover{
opacity: 0.6;
}
.case-thum{
aspect-ratio: 16 / 9;
overflow: hidden;
}
.case-thum img{
width: 100%;
height: 100%;
object-fit: cover;
}
.case-tag{
width: fit-content;
min-width: 130px;
background-color: #399998;
clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
color: #fff;
font-weight: bold;
padding: 1px 25px;
margin: 20px 0 0;
}
.single-case .case-tag{
    margin: 50px auto 0;
    text-align: center;
}
.case-heading{
color: #000;
margin: 20px 0 0;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.case-kv{
    width: 60%;
    margin: 0 auto;
}
.case-kv img{
width: 100%;
height:auto;
}
.case-h1{
text-align: center;
margin: 20px 0 50px;
}

.case-tab-wrap{
display: flex;
align-items: center;
justify-content: center;
width: 865px;
max-width: 95%;
margin: 0 auto;
gap: 0 4%;
}
.case-tab{
width: 48%;
position: relative;
}
.case-tab a::after{
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 62px;
    height: 95px;
    background-image: url(/assets/case/img/icon_case01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    pointer-events: none;
}
.case-tab:nth-child(2) a::after{
    background-image: url(/assets/case/img/icon_case02.svg);
}
.case-tab a::before {
    position: absolute;
    content: "";
    vertical-align: middle;
    left: 49%;
    bottom: 5px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(135deg) translate(-70%, 0);
}
.case-tab a{
display: block;
padding: 20px;
background-color: #399998;
color: #fff!important;
font-weight: bold;
text-align: center;
border-radius: 15px 15px 0 0;
position: relative;
}
.case-tab:not(.on) a{
background-color: #e6e6e7;
}
.case-content{
background-color: #ebf5f4;
padding: 0 0 50px;
}
.case-inner{
width: 865px;
max-width: 95%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
gap: 0 4%;
}
.case-inner:not(:first-child){
margin-top: 30px;
}
.case-half{
width: 48%;
}
.case-detail{
background-color: #fff;
padding: 20px;
font-size: 0.9em;
}
.case-h2{
    /* width: 50%; */
/* margin: 0 0 30px; */
}
.case-h3{
margin: 0 0 15px;
color: #399998;
}
.case-text{

}
.case-text:not(:last-child){
margin: 0 0 40px;
}
.case-text-img:not(:last-child){
    margin-bottom: 40px;
}
.case-half:nth-child(2) .case-text-img:first-child{
    margin-top: -6em;
}
.case-text-img img{
    width: 100%;
}
.case-note-text{
    width: 100%;
    font-size: 0.8em;
    margin: 60px 0 0 ;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.pagination .wp-pagenavi span.current{
    background-color: #399998;
    border-color:#399998;
    color: #fff;
}
.pagination .wp-pagenavi a, .pagination .wp-pagenavi span{
width: 30px;
    height: 30px;
    box-sizing: border-box;
    padding: 0;
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    border-radius: 2px;  
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

@media screen and (max-width: 950px) {
    .case-top-hl{
        margin: 0 auto;
    }
    .case-list{
        display: block;
        padding: 0 20px;
        margin:  20px auto 40px;
    }
    .case-box{
        width: auto;
    }
    .case-box:not(:last-child){
        margin: 0 0 20px;
    }
    .pagination{
        padding: 0 20px 40px;
    }

    /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
    .case-h2{
        width: auto;
    }
    /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
    .case-kv{
        width: auto;
        padding: 0 20px;
    }
    .case-h1{
        font-size: 1.2em;
        padding: 0 20px;
        margin: 20px 0;
    }
    .case-tab-wrap{
        width: auto;
        max-width: none;
        padding: 0 20px;
    }
    .case-tab a::after{
    width: 45px;
    height: 85px;
    right: 10px;
    }
    .case-tab a{
        padding: 20px 20px;
        text-indent: -3em;
    }
    .case-inner{
        display: block;
        width: auto;
        padding: 0 20px;
    }
    .case-text{
        margin: 0 0 40px;
    }
    .case-half{
        width: auto;
        /* margin: 0 0 40px; */
    }
    .case-note-text{
            margin: 40px 0 0;
    }
    /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
    .case-half:nth-child(2) .case-text-img:first-child{
    margin-top: 0;
}
    /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
}