.caseStudy-detail-content ul,
.caseStudy-detail-content ol{
  list-style:auto;
  margin:2em;
}

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

  .caseStudy-detail-content p{
    margin-bottom: 1.875rem;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 2;
    color: #383838;
  }
  .caseStudy-detail-content h2{

    margin-bottom: 1.9375rem;
    background-image: url("../images/caseStudy-detail/sp-caseStudy-detail-title-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.5;
    color: white;
    padding: 5px 0.25rem;

  }

  .caseStudy-detail__main>p+h2{
    margin-top:2.5rem;
  }
}


@media screen and (min-width: 768px){
  .caseStudy-detail-content p{
    font-size:0.9375rem;;
    line-height:30px;
    margin-top: 2.5rem;
  }
  .caseStudy-detail-content h2{

    background-image: url("../images/caseStudy-detail/sp-caseStudy-detail-title-bg.webp");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight: bold;
    color: white;
    margin-bottom: 2.5rem;
    font-size: 1.625rem;
    line-height: 1.3461538462;
    padding: 5px 1.25rem;

  }

  .caseStudy-detail-content>p+h2{
    margin-top:2.5rem;
  }
}