.indexD-rightint2 {
  position: relative;
}
.indexD-rightint2 .txt {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 90px;
  bottom: 0;
}
.indexD-rightint2 .txt em {
  text-align: center;
  font-size: clamp(16px, 1.9vw, 36px);
  color: var(--color-primary);
  line-height: 1;
  font-family: var(--font-family);
  font-weight: 700;
}
.indexD-rightint2 .txt h3 {
  font-size: clamp(24px, 1.9vw, 36px);
  margin: 5px 0;
}

.indexD-rightint2 .txt p {
  font-size: clamp(14px, 1.3vw, 24px);
  color: #333;
  line-height: 30px;
  margin-top: 15px;
}



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


  .indexD-rightint2 .txt h3::after {
    width: 250px;
    height: 6px;
    margin: 40px auto 0 0;
  }
  .indexD-rightint2 .txt p {
    line-height: 28px;
  }
}



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

  .indexD-rightint2 .txt p {
    line-height: 24px;
  }
}

@media screen and (max-width: 1200px) {
.indexD-rightint2 .txt { top: 40px;}
}

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

  .indexD-rightint2 .txt {
    text-align: center;
  }
  .indexD-rightint2 .txt em {
    letter-spacing: 2px;
  }
  .indexD-rightint2 .txt h3 {
    line-height: 1;
  }
  .indexD-rightint2 .txt h3::after {
    width: 150px;
    height: 3px;
    margin: 20px auto 0;
  }
  .indexD-rightint2 .txt p {
    line-height: 24px;
    margin: 20px auto 0 0;
  }
}


@media(max-width:767px){
  .indexD-rightint2 {display: flex;flex-direction: column-reverse;padding: 30px 0 20px 0;}
  .indexD-rightint2 .txt {position: static;}
}



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


  .indexD-rightint2 .txt h3 {
    margin: 15px 0 0;
  }
  .indexD-rightint2 .txt h3 br {
    display: none;
  }
  .indexD-rightint2 .txt h3::after {
    width: 120px;
    margin: 15px auto 0;
  }
  .indexD-rightint2 .txt p {
    line-height: 20px;
    max-height: 80px;
    overflow: hidden;
    margin: 15px auto 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}


