.news__header {
  color: #2f2f2f;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: start;

  margin-bottom: 28px;
}

.news__title {
  display: flex;
  margin-bottom: 20px;
}

.swiper2 {
  max-height: 700x;
  overflow: clip;
  width: calc(100% - 100px); /* 컨테이너의 패딩을 제외한 너비 */
  margin: 0 auto;
}

.newsSwiper .swiper-slide .slide__caption .caption {
// width: 459px;
  flex-wrap: wrap;
}

.slide__caption strong {
  color: #2f2f2f;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

/*---------------------------- contact section ----------------------------------*/

#contact {
  display: grid;
  place-items: center;
}

/* .contact {
  height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px 662px;
  gap: 28px;
} */

.contact__text {
  color: #2f2f2f;
  font-size: 40px;
  font-weight: 800;
  line-height: normal;
  margin-bottom: 28px;
}

.contact__text__pc {
  color: #2f2f2f;
  font-size: 40px;
  font-weight: 800;
  line-height: normal;
  margin-bottom: 28px;
  margin-top: 40px;
}

.contact__text__mobile {
  color: #2f2f2f;
  font-size: 40px;
  font-weight: 800;
  line-height: normal;
  margin-bottom: 28px;
}

.contact__strong__pc {
  color: #b6262f;
  font-size: 40px;
  font-weight: 800;
}

.contact__strong__mobile {
  color: #b6262f;
  font-size: 28px;
  font-weight: 800;
}

.contact__btn__container {
  display: inline-flex;
}

.contact__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #fee500;
  border: none;
  border-radius: 12px;
  padding: 16px 115px 16px 125px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  cursor: pointer;
}

.contact__btn img {
  position: absolute; /* 절대 위치 설정 */
  left: 24px; /* 왼쪽에서 20px 떨어진 곳에 위치 */
}

.contact__btn span {
  margin-left: auto; /* 왼쪽 여백 자동 조정 */
  margin-right: auto; /* 오른쪽 여백 자동 조정 */
}
/*---------------------------- 반응형 ----------------------------------*/

@media all and (min-width: 1350px) {
  .contact__text__mobile__top,
  .contact__strong__mobile__top{
    display: none;
  }

  .contact__text__mobile__bottom,
  .contact__strong__mobile_bottom {
    display: none;
  }
}

@media (max-width: 1350px) and (min-width: 1025px) {
  .news__header {
    margin-top: 100px;
    font-size: 28px;
  // margin-left: 28px;
    margin-bottom: 20px;
  }
  #contact {
    min-height: 530px;
    height: 100%;
    padding: 100px 28px 94px 28px;
  }

  .contact__btn {
    padding: 16px 115px 16px 125px
  }

  .newsSwiper .swiper-slide .slide__caption .caption {
    width: auto;
    flex-wrap: wrap;
  }

  .news__date {
    font-size: 16px;
  }

  .slide__caption strong {
    font-size: 20px;
    line-height: 24px;
  }

  .contact__text__mobile__top,
  .contact__strong__mobile__top{
    display: none;
  }

  .contact__text__mobile__bottom,
  .contact__strong__mobile_bottom {
    display: none;
  }

}

/* 태블릿 (768px ~ 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .news__header {
    margin-top: 100px;

  // margin-left: 28px;
    margin-bottom: 20px;
  }
  #contact {
    min-height: 530px;
    height: 100%;
  }
}

@media (max-width: 768px) {
  #contact {
    max-height: 350px;
  }

  .news__header {
    margin-left: 0px;
    font-size: 28px;
  }

  .contact__text,
  .contact__strong {
    font-size: 28px;
    line-height: 40px;
  }

  .contact__text__pc,
  .contact__strong__pc {
    display: none;
  }

  .contact__text__mobile__top {
    font-size: 28px;
    color: #2F2F2F;
    line-height: 40px;
    font-weight: 800;
  }

  .contact__strong__mobile__top {
    font-size: 24px;
  }

  .contact__text__mobile__bottom {
    font-size: 20px;
    color: #AAAAAA;
    line-height: 32px;
    font-weight: 700;
    margin-top: 30px;
  }

  .contact__strong__mobile_bottom {
    font-size: 24px;
  }

  .contact__btn {
    padding: 16px 95px 16px 105px;
    margin-top: 30px;
  }

  .contact__btn span {
    color: #3c1e1e;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 150% */
  }
}

@media (max-width: 360px) {
  .contact__btn{
    padding: 16px 85px 16px 95px;
  }
}