.tab_wrap {
    padding:100px 0;
}

.tab_wrap .tab {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    font-weight: 500;
}

.tab_wrap .tab li {
    padding:12px 20px;
    border-radius:30px;
    cursor: pointer;
}

.tab_wrap .tab li:not(:last-child) {
    margin-right: 20px;
}

.tab_wrap .tab li.on {
    border:1px solid #000;
}

.cont {display: none;}
.cont.on {display: block;}

.cont01 {
    display: flex;
    align-items: center;
    background-position:center right;
    background-size:cover;
    background-repeat: no-repeat;
}

#consult01 .cont01 {
    height: 480px;
    background-image: url("/img/consult01_bg1.jpg");
}

#consult02 .cont01 {
    height: 413px;
    background-image: url("/img/consult02_bg1.jpg");
}

#consult03 .cont01 {
    height: 480px;
    background-image: url("/img/consult03_bg1.jpg");
}

#consult04 .cont01 {
    height: 413px;
    background-image: url("/img/consult04_bg1.jpg");
}

.cont01 .title_box {
    color:#fff;
}

.cont01 .title_box .context {
    font-weight: 400;
    color:#fff;
}

.cont02 {
    padding:120px 0;
}

.cont02 ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding:0;
    margin:0;
    margin-top: 50px;
}

.cont02 ol li {
    width: 32%;
    max-height: 470px;
    aspect-ratio: 0.8;
    border-radius:20px;
    padding:35px;
    margin-bottom: 2%;
    background-color: #000;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size:contain;
    position:relative;
    overflow: hidden;
}

.cont02 ol li::after {
    content:"";
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    position:absolute;
    top:0;
    left:0;
}

#consult01 .cont02 ol li:nth-child(1) {background-image:url("/img/consult01_card1.jpg")}
#consult01 .cont02 ol li:nth-child(2) {background-image:url("/img/consult01_card2.jpg")}
#consult01 .cont02 ol li:nth-child(3) {background-image:url("/img/consult01_card3.jpg")}
#consult01 .cont02 ol li:nth-child(4) {background-image:url("/img/consult01_card4.jpg")}
#consult01 .cont02 ol li:nth-child(5) {background-image:url("/img/consult01_card5.jpg")}
#consult01 .cont02 ol li:nth-child(6) {background-image:url("/img/consult01_card6.jpg")}
#consult01 .cont02 ol li:nth-child(7) {background-image:url("/img/consult01_card7.jpg")}
#consult01 .cont02 ol li:nth-child(8) {background-image:url("/img/consult01_card8.jpg")}
#consult01 .cont02 ol li:nth-child(9) {background-image:url("/img/consult01_card9.jpg")}
#consult01 .cont02 ol li:nth-child(10) {background-image:url("/img/consult01_card10.jpg")}

#consult02 .cont02 ol li:nth-child(1) {background-image:url("/img/consult02_card1.jpg")}
#consult02 .cont02 ol li:nth-child(2) {background-image:url("/img/consult02_card2.jpg")}
#consult02 .cont02 ol li:nth-child(3) {background-image:url("/img/consult02_card3.jpg")}

#consult03 .cont02 ol li:nth-child(1) {background-image:url("/img/consult03_card1.jpg")}
#consult03 .cont02 ol li:nth-child(2) {background-image:url("/img/consult03_card2.jpg")}
#consult03 .cont02 ol li:nth-child(3) {background-image:url("/img/consult03_card3.jpg")}

#consult04 .cont02 ol li:nth-child(1) {background-image:url("/img/consult01_card1.jpg")}
#consult04 .cont02 ol li:nth-child(2) {background-image:url("/img/consult01_card2.jpg")}
#consult04 .cont02 ol li:nth-child(3) {background-image:url("/img/consult01_card3.jpg")}
#consult04 .cont02 ol li:nth-child(4) {background-image:url("/img/consult01_card4.jpg")}
#consult04 .cont02 ol li:nth-child(5) {background-image:url("/img/consult01_card5.jpg")}
#consult04 .cont02 ol li:nth-child(6) {background-image:url("/img/consult01_card6.jpg")}
#consult04 .cont02 ol li:nth-child(7) {background-image:url("/img/consult01_card7.jpg")}

.cont02 ol li:not(:nth-child(3n)){
    margin-right: 2%;    
}

.cont02 ol li .txt_box {
    color:#fff;
    position:relative;
    z-index: 2;
}

.cont02 ol li .txt_box span {
    display: block;
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.3;
}

.cont02 ol li .txt_box .context {
    color:#a8a8a8;
    line-height: 1.5;
    margin-top: 15px;
}

.brand {
    padding:120px 0;
    background: #ebeeef;
}

.brand ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.brand ul li .img_box {
    width: 176px;
    height: 176px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 100%;
    padding:30px;
    margin:0 auto;
}

.brand ul li .txt_box {
    margin-top: 25px;
    text-align: center;
}

.brand ul li .txt_box .type {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
}

.brand ul li .txt_box .name {
    display: block;
    font-size: 0.9375rem;
    color:#858d90;
    margin-top: 5px;
}

.cont03 {
    display: flex;
    align-items: center;
}

#consult01 .cont03 {
    height: 443px;
    background: url("/img/consult01_bg2.jpg");
}

#consult02 .cont03 {
    height: 543px;
    background: url("/img/consult02_bg2.jpg");
}

#consult03 .cont03 {
    height: 543px;
    background: url("/img/consult03_bg2.jpg");
}

#consult04 .cont03 {
    height: 543px;
    background: url("/img/consult04_bg2.jpg");
}

.cont03 .title_box {
    color:#fff;
}

.cont03 .title_box .context {
    font-weight: 400;
    color:#fff;
}

.cont03 .title_box a {
    display: inline-block;
    font-size: 1.25rem;
    margin-top: 50px;
    background: #fff;
    color:#000;
    padding:20px 50px;
    border-radius:35px;
}


@media all and (max-width:1200px){
    .brand ul li .img_box {
        width: 135px;
        height: 135px;
    }
}

@media all and (max-width:960px){
    .brand ul li {
        width: 48%;
        margin-bottom: 4%;
    }
}

@media all and (max-width:780px){
    .tab_wrap {
        padding:70px 5%;
    }

    .tab_wrap .tab {
        justify-content: space-between;
    }

    .tab_wrap .tab li {
        width: 24%;
        padding:12px 0;
    }

    .tab_wrap .tab li:not(:last-child) {
        margin-right: 0;
    }
    
    .cont01 .title_box .context br {
        display: none;
    }

    .cont02 ol {
        justify-content: space-between;
    }

    .cont02 ol li {
        width: 100%;
        max-width: 370px;
        margin-left: auto;
        margin-right: auto !important;
    }

    .cont02 ol li:not(:nth-child(3n)){
        margin-right: 0;
    }
    
    .cont02 ol li:not(:last-child){
        margin-bottom: 20px;
    }

    .cont04 .title_box .context br {
        display: none;
    }
}