
.criteria-text {
  font-size: clamp(18px, 3vw, 36px);
  text-align: center;
  font-weight: bold;
  margin-top: 140px;
  line-height: 1.5;
}

.criteria-set {
    display: flex;
    justify-content: space-between;
    margin: 80px 180px 120px;
    gap: 70px;
    align-items: flex-start;
}

.criteria-set img {
  display: block;        
  width: 100%;      
  height: auto;   
  max-width: 400px; 
  min-width: 150px;    
  object-fit: unset; 
}
.criteria-set p{
    font-size: clamp(16px, 2vw, 18px);
    width: 500px;
    line-height: 2;
}

.criteria-last {
  font-size: clamp(16px, 3vw, 20px);
  text-align: center;
  margin: 100px 300px 200px 300px;
  line-height: 1.5;
  font-weight: bold;
  z-index: 100;
}
main {
  position: relative;
  min-height: 100vh;
}
html, body {
  height: 100%;
}
.bubble-left-kasou {
  top: 70vh;
}
.bubble-right-kasou {
  top: 110vh;
}


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

  .criteria-text {
    margin-top: 80px;
  }

  .criteria-set {
    flex-direction: column;
    margin: 40px 30px 60px;
    gap: 30px;
    align-items: center;
  }

  .criteria-set img {
    height: auto;
    width: 80%; /* 画面幅に合わせる */
    max-width: 300px;
  }

  .criteria-set p {
    width: 100%;
    line-height: 1.8;
  }

  .criteria-last {
    margin: 60px 30px 100px 30px;
}
}
@media screen and (max-width: 768px) {
.criteria-text{
  margin: 0 30px;
}

}
