@media screen and (min-width: 769px) {
    .SP {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .PC {
        display: none;
    }
}

.post #visual {
    height: 6vw;
    margin-bottom: 0;
}

#case_index #caseStudy {
    margin-top: -20vw;
    background: none;
}

#case_index #caseStudy .head {
    margin-bottom: 14vw;
}

#case_index #caseStudy .head h2 b {
    color: #fff;
}

#case_index #caseStudy .head h2 small {
    color: #fff;
}

#case_index #visual {
    height: 22vw;
    margin-bottom: 40px;
}

#post_freearea {
    max-width: 75vw;
    margin: 0 auto;
    font-size: min(1.6vw, 18px);
    line-height: 1.8;
}

#post_freearea h2 {
    font-size: 120%;
    font-weight: bold;
    margin: 0.5em 0 1em;
}

#post_freearea .flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 3vw;
}

#post_freearea .head-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0 70px;
    gap: 15px;

}

#post_freearea .head-flex .box {
    width: 100%;
}

#post_freearea .head-flex .box a {
    width: 100%;
    max-width: 25vw;
    height: 4.688vw;
    position: relative;
    background: #13b5b1;
    border-radius: 2.604vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.042vw;
}

#post_freearea .head-flex .box a:hover {
    transition: all 0.5s;
    background: #999;
}

#post_freearea .head-flex .box p {
    text-align: center;
}

#post_freearea .head-flex .box p b {
    font-size: 70px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Bebas Neue', cursive;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);

}

#post_freearea .head-flex .box p small {
    font-size: 1.354vw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #fff;
    text-align: center;
}

#post_freearea .head-flex .post_next small::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2vw;
    width: 0.8em;
    height: 0.8em;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

#post_freearea .head-flex .post_prev small::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2vw;
    width: 0.8em;
    height: 0.8em;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: translateY(-50%) rotate(-45deg);
}

#portfolio .point {
    padding: 3.052vw 0;
    margin: -2vw 0 4vw
}

#portfolio .inner-flex {
    align-items: center;
}

#portfolio>.inner>.arrowArea>.arrow {
    display: none;
}

#portfolio {
    overflow-x: hidden;
}

#portfolio .client h2 {
    font-size: 1.6vw;
    -webkit-transform: unset;
    transform: unset;
}

#portfolio .arrow {
    max-width: 4vw;
}

#portfolio .arrowArea p {
    font-size: 2.5vw;
    margin-top: 1em;
    white-space: wrap;
}

.kadai .flex .list ul li::before {
    width: 0.8em;
    height: 0.8em;

}

.kadai .flex .list ul li {
    padding-left: 1.1em;
    font-weight: bold;
}

.kadai .flex .kadaititle {
    font-size: min(1.875vw, 24px);
    font-weight: bold;
    width: 20%;
    gap: 0;
    margin: 0;
    padding-left: 2vw;
}

.point .flex .pointtitle {
    font-size: min(1.875vw, 24px);
    font-weight: bold;
    width: 20%;
    gap: 0;
    margin: 0;
    white-space: nowrap;
    padding-left: 2vw;
}

.point .flex .list ul li::before {
    width: 1em;
    height: 1em;
}


/*一覧*/
#caseStudy .inner {
    max-width: unset;
}

#caseStudy .card .highlight {
    min-height: 5.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vw;
    line-height: 1.3;
}

#caseStudy .card a:hover .highlight {
    background: #999;
    transition: all 0.3s;
}

#caseStudy .card .meta {
    align-items: start;
}

#caseStudy .card {
    min-width: 300px;
}

#case_post #caseStudy .area-flex {
    justify-content: center;
}

#case_post #caseStudy .area-flex {
    flex-wrap: nowrap;
}

.head_riesan {
    position: absolute;
    left: 2vw;
    top: 3vw;
    width: 15vw;
}

#caseStudy .card .company {
    padding: 0 2vw;
}

#caseStudy .card .logo {
    display: block;
}

#caseStudy .card .logo__text img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

#case_post .card .logo__text img {
    max-width: 150px;
}

#case_post #caseStudy {
    background: #e4f2f1;
}

#caseStudy .card .pill__value {
    line-height: 1.4;
    padding-top: 0.5em;
}

#case_post .table-box td:first-child {
    width: 7em;
}

#caseStudy .card .company {
    font-size: 1.2vw;
}

#caseStudy .card .pill__label {
    font-size: 1vw;
}

#caseStudy .card .pill__value {
    font-size: 1.3vw;
}

/*トップページ*/
#ourClients .schedule-box.box02 {
    padding: 3vw;
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    align-items: center;
}

#ourClients .schedule-box.box02 .image {
    width: 200px;
    max-width: unset;
    text-align: center;
}

#caseStudy .area-flex {
    max-width: 75vw;
    gap: 2vw;
}

#caseStudy .card {
    width: calc((100% - (4vw * 2)) / 3);
    flex: 0 0 calc((100% - 8vw) / 3);
}

#caseStudy .area-flex {
    max-width: 75vw;
}

@media screen and (max-width: 1280px) {
    #caseStudy .area-flex {
        max-width: 1100px;
    }
}

@media screen and (max-width: 768px) {
    .inner {
        max-width: unset;
        width: 100%;
    }

    #portfolio>.inner {
        max-width: unset;
        width: 100%;
        padding: 0 4vw;
    }

    .post #visual {
        height: 12vw;
        padding: 0;
        margin-bottom: 6vw;
    }

    #portfolio .arrowArea p {
        white-space: wrap;
        font-size: 5vw;
    }

    #portfolio .client h2 {
        font-size: 4vw;
        padding: 0 4vw;
    }

    #portfolio .inner-flex {
        padding: 0;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 15px;
    }

    #portfolio .inner-flex>.conts {
        width: 80%;
    }

    #portfolio .oval {
        font-size: 4vw;
    }

    #portfolio .table-box td:last-child {
        font-size: 4vw;
       line-height:1.5;
    }
    .logoanddata{
        margin:1vw 0;
    }

    #portfolio .table-box td {
        display: table-cell;
        padding:0;

    }

    .kadai {
        border-radius: 4vw;
    }

    .kadai .flex .kadaititle {
        gap: 0;
        font-size: max(4vw, 20px);
        width: 100%;
    }

    .kadai .flex {}

    .kadai .flex .list ul {
        font-size: 4vw;
        line-height: 1.6;
    }

    #portfolio .arrow {
        max-width: 12vw;
    }

    #portfolio .point {
        border-radius: 4vw;
    }

    .point .flex {
        gap: 0;
    }

    .point .flex .pointtitle {
        font-size: max(4vw, 20px);
        width: 100%;
    }

    .point .flex .list ul {
        font-size: 4vw;
        line-height: 1.6;
    }

    .point .flex .list ul li::before {
        width: max(4vw, 20px);
        height: max(4vw, 20px);
    }

    .point .flex .list ul li {
        padding-left: max(4.2vw, 25px);
    }

    #post_freearea {
        padding: 0 4vw;
        font-size: 4vw;
        max-width: unset;
    }

    #post_freearea .head-flex {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 0px;
    }

    #post_freearea .head-flex .box {
        border-radius: 21.604vw;
        max-width: 31vw;
        height: 15vw;
        margin: 0 0.4vw;

    }

    #post_freearea .head-flex .box a {
        max-width: unset;
        height: 100%;
        border-radius: 21vw;
    }

    #post_freearea .head-flex .box p small {
        font-size: 4.5vw;
    }

    #caseStudy .head h2 b {
        font-size: 6vw;
    }

    #post_freearea .head-flex .box_prev {
        order: 1;
        min-width: calc(49% - 10px);
    }

    #post_freearea .head-flex .box_next {
        order: 2;
        min-width: calc(49% - 10px);
    }

    #post_freearea .head-flex .box_all {
        order: 3;
        min-width: 100%;
    }

    #post_freearea .head-flex .post_next small::after {
        right: 4vw;
    }

    #post_freearea .head-flex .post_prev small::before {
        left: 4vw;
    }

    #post_freearea .flex {
        flex-wrap: wrap;
    }

    #caseStudy .card .highlight {
        font-size: 4vw;
    }

    #case_index #visual {
        height: 40vw;
        margin-bottom: 0;
    }

    #case_index #caseStudy {
        margin-top: -44vw;
    }

    #case_index #caseStudy .head {
        margin-bottom: 23vw;
    }

    #case_index #caseStudy .head h2 b {
        font-size: 7.467vw;
    }

    #case_index #caseStudy .head h2 small {
        font-size: 5.333vw;
        margin-bottom: 0.4em;
    }

    #caseStudy .area-flex {
        gap: 6vw;
    }

    #case_post #caseStudy .area-flex {
        flex-wrap: wrap;
    }

    .logoanddata .conts img {
        width: 100%;
    }

    .kadai .list {
        padding: 0 2vw;
    }

    #case_post #caseStudy {
        padding: 40px 0;
        margin-top: 40px;
    }

    #caseStudy .head h2 small {
        font-size: 5.333vw;
        margin: 0 0 1.067vw;
    }

    .head_riesan {
        top: 23vw;
        width: 24vw;
    }

    #caseStudy .card .company {
        font-size: 4.2vw;
    }

    #caseStudy .card .pill__label {
        font-size: 4vw;
    }

    #caseStudy .card .pill__value {
        font-size: 4.3vw;
    }

    /*top page*/
    #ourClients {
        padding: 40px 0;
    }

    #ourClients .head {
        margin-bottom: 2em;
    }

    #ourClients .head h2 b {
        font-size: 7.467vw
    }

    #ourClients .head h2 small {
        font-size: 5.333vw;
        margin: 0 0 1.067vw;
    }

    #home #caseStudy {
        padding: 40px 0;
    }

    #home #caseStudy .head {
        margin-bottom: 2em;
    }

    #home #caseStudy .area-flex {
        gap: 6vw;
    }

    #ourClients .schedule-box.box02 .image {
        width: 47%;
    }
}

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