.about-services{
  width: 100%;
  padding: 5% 0 15% 0;
  max-width: 1500px;
  margin: 0 auto;
}

.about-services-content{
  display: flex;
  flex-direction: column;
  z-index: 1; /* 前面に配置 */
  margin-left: 10%;
  margin-top: 100px;
  height: 100%;
}

.about-services-content-text {
  position: relative;
  width: 90%;
  flex-direction: column;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.about-services-content-text small {
  display: flex;
  margin-top: 40px;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.57px; /* 142.85% */
}

.about-services-content-title-text{
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  align-items: center;
  color: #8C8C8C;
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.service-cards{
  display: flex;
  z-index: 1;
  gap: 10%;
  justify-content: center;
  margin-top: 70px;
}

.service-cards-left,
.service-cards-right{
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 100px;
}

.service-cards-right{
  margin-top: 200px;
}

.service-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border-radius: 24px;
  border: 6px solid #FF9727;
  background-color: #FFF;
  box-shadow: 20px 20px 36px 0px rgba(0, 0, 0, 0.25);
  padding: 20px 10px;
}

.service-card-title{
  color: #8C8C8C;
  font-family: 'Roboto', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.service-card-text{
  color: #222;
  width: 90%;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.57px; /* 119.042% */
}

.service-card-image{
  width: 50%;
}

.icons{
  display: flex;
  gap: 15%;
  align-items: center;
  justify-content: center;
}

.sumika-icon{
  height: 150px;
}

@media (max-width: 768px) {
  .service-cards{
    display: flex;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  .service-cards-left,
  .service-cards-right{
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 50px;
  }

  .service-cards-right{
    margin-top: 50px;
  }

  .service-card-title{
    font-size: 20px;
  }
  
  .service-card-text{
    color: #222;
    width: 90%;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15.57px; /* 119.042% */
  }

  .icons{
    display: none;
  }

  .about-services-content{
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 10%;
    gap: 0;
  }

  .about-services-image{
    position: relative;
    width: 80%;
    left: 0;
    top: 0;
    margin-top: 30px;
  }

  .about-services-content-text {
    width: 90%;
    font-size: 18px;
  }

  .about-services-content-text small {
    font-size: 12px;
  }

  .about-services-content-title{
    margin-top: 10px;
    display: flex;
    justify-content: flex-start; 
    width: 90%;
  }

  .about-services-content-title-text{
    display: flex;
    gap: 10px;
    font-size: 25px;
  }
  
  figure.title-dot{
    position: relative;
    margin: 0;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background-color: rgba(255, 154, 44, 0.75);
    border-radius: 50%;
  }
}

/* タブレット向けスタイル */
@media (min-width: 768px) and (max-width: 1199px) {
  .about-services-content{
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 5%;
    gap: 0;
  }

  .service-cards{
    display: flex;
    z-index: 1;
    gap: 10%;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 0 5%;
  }

  .service-cards-left,
  .service-cards-right{
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 50px;
  }

  .about-services-content-title{
    margin-top: 10px;
    display: flex;
    justify-content: flex-start; 
    width: 90%;
  }

  .about-services-content-title-text{
    display: flex;
    gap: 10px;
    font-size: 30px;
  }
  
  figure.title-dot{
    position: relative;
    margin: 0;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-color: rgba(255, 154, 44, 0.75);
    border-radius: 50%;
  }
}