#ourClients {
    position: relative;
    overflow: hidden;
    padding: 80px 0 84px;
    background: #fff;
}
#ourClients .inner {
    /*max-width: 1001px;*/

width: calc(100% - 3.6rem);
    max-width: 1440px;
    margin: 0 auto;
}
#ourClients .head {
    margin: 0 0 57px;
}
#ourClients .head h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#ourClients .head h2 small {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.025em;
    color: #13b5b1;
    font-family: 'Bebas Neue', cursive;
    margin: 0 0 11px;
}
#ourClients .head h2 b {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0 0 0 11px;
}
#ourClients .head-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 98px;
}
#ourClients .head-flex .box {
    width: 100%;
    max-width: 480px;
    height: 90px;
    position: relative;
    background: #13b5b1;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

/*contents*/
#ourClients .schedule-box.box02 {
    border-radius: 20px;
    padding: 51px 0 71px 0;
}

#ourClients .schedule-box.box02 .image {
    width: 100%;
    max-width: 1174px;
    margin: 0 auto 0;
}
#ourClients .inner-flex {
    display: flex;
flex-wrap: wrap;
    justify-content: flex-start;
gap: 16px;
    padding: 0 48px 0 86px;
}
#ourClients .inner-flex .conts{
  box-sizing: border-box;
  flex: 0 0 calc((100% - 16px * 2) / 3); 
  /* 3列分の幅（gap 2つぶんを差し引き） */
  padding: 8px;
}



/*****/
#caseStudy {
    position: relative;
    overflow: hidden;
    padding: 80px 0 84px;
    background: #fff;
}
#caseStudy .inner {
    /*max-width: 1001px;*/

width: calc(100% - 3.6rem);
    max-width: 1440px;
    margin: 0 auto;
}
#caseStudy .head {
    margin: 0 0 57px;
}
#caseStudy .head h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#caseStudy .head h2 small {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.025em;
    color: #13b5b1;
    font-family: 'Bebas Neue', cursive;
    margin: 0 0 11px;
}
#caseStudy .head h2 b {
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0 0 0 11px;
}
#caseStudy .head-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 98px;
}
#caseStudy .head-flex .box {
    width: 100%;
    max-width: 480px;
    height: 90px;
    position: relative;
    background: #13b5b1;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

#caseStudy .area {
  width: 100%;
  display: flex;
  justify-content: center;
}


#caseStudy .area-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1400px; 
  justify-content: flex-start;
}
        
#caseStudy .card {
  width: 260px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0px;
    overflow: hidden;
  text-align: center;
  border: 1px solid var(--card-border);
box-shadow: rgba(0, 0, 0, 0.15) 0px 0.26vw 0.781vw 0px;
         width: calc((100% - (24px * 2)) / 3);
          /*flex: 1 1 calc(33.333% - 24px);
        max-width: calc(33.333% - 24px);*/
          flex: 0 0 calc((100% - 48px) / 3);
        /*max-width: calc((100% - 48px) / 3);*/
}
@media (max-width: 860px) {
  #caseStudy .area-flex {
    justify-content: center;
  }
  #caseStudy .card {
    flex: 1 1 calc(50% - 24px);
        /*max-width: calc(50% - 24px);*/
        width: calc((100% - 24px) / 2);
        /*max-width: calc((100% - 48px) / 3);*/
  }
}
@media (max-width: 640px) {
    #caseStudy .area-flex {
    justify-content: center;
  }
  #caseStudy .card {
    flex: 1 1 100%;
        /*max-width: 400px;*/
        width: 100%;
    max-width: 400px;
  }
}

#caseStudy .card .highlight {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.6;
background-color: #13B5B1;
    padding: 10px;
    color: #FFF;
}

#caseStudy .card .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#caseStudy .card .logo svg {
  width: 58px;
  height: 46px;
}

#caseStudy .card .star {
  fill: #f9c233;
  stroke: #f29a06;
  stroke-width: 2;
  transform-origin: center;
}

#caseStudy .card .logo__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
      padding: 0px 20px;
}

#caseStudy .card .logo__title {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 20px;
}

#caseStudy .card .company {
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 12px;
}
#caseStudy .card .meta {
  display: grid;
  grid-template-columns: 1fr 1fr;

      margin: 10px;
}

#caseStudy .card .pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 10px 0;
}

#caseStudy .card .pill__label {
  font-size: 11px;
  color: #FFFFFF;
  margin-bottom: 2px;
    background: #A2C1C1;
    border-radius: 999px;
    padding: 2px 9px;
    width: 50%;
}

#caseStudy .card .pill__value {
  font-size: 14px;
  font-weight: 600;
  color: #003E3C;
}



@media screen and (min-width: 769px) and (max-width: 1920px) {
    #ourClients {
        padding: 4.167vw 0 4.375vw;
    }
    #ourClients .inner {
        /*max-width: 52.135vw;*/
        max-width: 75vw;
    }
    #ourClients .head {
        margin: 0 0 2.969vw;
    }
    #ourClients .head h2 small {
        font-size: 1.563vw;
        margin: 0 0 0.573vw;
    }
    #ourClients .head h2 b {
        font-size: 2.813vw;
        margin: 0 0 0 0.573vw;
    }

    #ourClients .head-flex {
        margin: 0 0 5.104vw;
    }
    #ourClients .head-flex .box {
        max-width: 25vw;
        height: 4.688vw;
        border-radius: 2.604vw;
        margin: 0 1.042vw;
    }
/*contents*/
    #ourClients .schedule-box.box02 {
        border-radius: 1.042vw;
        padding: 2.656vw 0 3.698vw 0;
    }
    #ourClients .schedule-box.box02 .image {
        max-width: 61.146vw;
    }
    #ourClients .inner-flex {
        padding: 0 2.5vw 0 4.479vw;
    }



    #caseStudy {
        padding: 4.167vw 0 4.375vw;
    }
    #caseStudy .inner {
        /*max-width: 52.135vw;*/
        max-width: 75vw;
    }
    #caseStudy .head {
        margin: 0 0 2.969vw;
    }
    #caseStudy .head h2 small {
        font-size: 1.563vw;
        margin: 0 0 0.573vw;
    }
    #caseStudy .head h2 b {
        font-size: 2.813vw;
        margin: 0 0 0 0.573vw;
    }

    #caseStudy .head-flex {
        margin: 0 0 5.104vw;
    }
    #caseStudy .head-flex .box {
        max-width: 25vw;
        height: 4.688vw;
        border-radius: 2.604vw;
        margin: 0 1.042vw;
    }


}

