.how-introduction-background{
  background: linear-gradient(119deg, #FAAE5C 32.17%, #FFF 110.95%);
}

.how-introduction{
  padding: 5% 0 15% 0;
  max-width: 1500px;
  margin: 0 auto;
}

.how-introduction-content{
  display: flex;
  flex-direction: column;
  margin-left: 10%;
}

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

figure.title-dot.white{
  position: relative;
  margin: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #FFF;
  border-radius: 50%;
}

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

.introduction-cards{
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 90px;
}

.introduction-card{
  width: 65%;
  border-radius: 20px;
  background-color: #FFF;
  box-shadow: 8px 8px 36px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  padding: 40px 70px;
  gap: 10%;
}

.introduction-card-content{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20%;
}

.introduction-card-content-title{
  color: #5F5F5F;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  align-items: center;
  gap: 20px;
}

figure.introduction-card-content-title-dot{
  margin: 0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #FF9727;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* 数字の色を白に設定 */
  font-size: 20px; /* 必要に応じて数字のサイズを調整 */
  font-family: 'Roboto', sans-serif;
}

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

@media (max-width: 768px) {
  .how-introduction-content{
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 10%;
    gap: 0;
  }

  .how-introduction-content-text {
    width: 90%;
    font-size: 18px;
  }

  .how-introduction-content-text small {
    font-size: 12px;
  }

  .how-introduction-content-title{
    display: flex;
    justify-content: flex-start; 
    width: 90%;
  }

  .how-introduction-content-title-text{
    display: flex;
    gap: 10px;
    font-size: 25px;
  }
  
  figure.title-dot.white{
    position: relative;
    margin: 0;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background-color: white;
    border-radius: 50%;
  }

  .introduction-cards{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    gap: 50px;
  }

  .introduction-card{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .introduction-card-image{
    position: relative;
    width: 70%;
    left: 0;
    top: 0;
    margin-top: 30px;
  }

  figure.introduction-card-content-title-dot{
    width: 20px;
    height: 20px;
    font-size: 10px; /* 必要に応じて数字のサイズを調整 */
  }

  .introduction-card-content-title{
    font-size: 20px;
    margin-bottom: 15px
  }

  .introduction-card-content-text{
    font-size: 12px;
    line-height: 12.57px; /* 119.042% */
  }
  
}


/* タブレット向けスタイル */
@media (min-width: 768px) and (max-width: 1199px) {
  .how-introduction-content{
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin: 0;
    align-items: center;
  }

  .introduction-card{
    width: 75%;
    border-radius: 20px;
    background-color: #FFF;
    box-shadow: 8px 8px 36px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    padding: 40px 70px;
    gap: 10%;
  }

  .how-introduction-content-title{
    margin-top: 10px;
    display: flex;
    justify-content: flex-start; 
    width: 90%;
    margin-left: 0;
  }

  .how-introduction-content-title-text{
    display: flex;
    gap: 10px;
    font-size: 30px;
  }
  
  figure.title-dot.white{
    position: relative;
    margin: 0;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-color: white;
    border-radius: 50%;
  }
}