@charset "UTF-8";

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/******************** 메인 슬라이드 시작 ********************/

.main {
  position: relative;
}

.slick-slider {
  position: relative;
}

.slick-dots li button {
  font-size: 0;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.5;
  width: 16px;
  height: 16px;
}

.slide-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-align: center;
  height: 900px;
}

.slide-box-1 {
  background: url(../img/main.jpg);
  background-position: center;
  background-size: cover;
}

.text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
text-align: center;
  grid-gap: 70px;
  height: 100%;
  color: #fff;
}

.slide-box h2 {
  padding: 2rem 0;
  font-size: 66px;
  line-height: 69px;
  letter-spacing: -2px;
}

.slide-box h2 b {
  font-weight: 800;
}

.slide-box em {
  font-weight: 800;
}

.slide-box h3 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  letter-spacing: -4px;
}

.slide-box h3 b {
  font-weight: 800;
}

.slide-box p {
  font-size: 24px;
}

/* .slide.align-center .slide-box {
  display: flex;
  align-items: center;
  justify-content: center; 
} */

/******************** 슬라이드2 끝// ********************/

/* m_tit */
.m_tit {
  text-align: center;
  padding-bottom: 2rem;
}

.m_tit span {
  font-size: 16px;
  font-weight: 900;
  color: #074daf;
}

.m_tit h3 {
  font-size: 37px;
  letter-spacing: -2px;
}

.m_tit p {
  font-size: 19px;
  color: #00a246;
}
.m_tit b {
  color: #00a246;
}

/* 타이틀 */
.t50 {
  font-size: 47px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -2px;
}

.t40 {
  font-size: 40px;
  padding-top: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
}

.t35 {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -1px;
}

.t30 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}

.t25 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  font-family: "Pretendard";
}

.t20 {
  font-size: 20px;
  font-weight: 400;
  font-family: "Pretendard";
  letter-spacing: -1px;
}

.t19 {
  font-size: 19px;
  font-family: "Pretendard";
  letter-spacing: -1px;
}

.t17 {
  font-size: 17px;
  opacity: 0.7;
}

/* bar */
.main {
  position: relative;
}
.bar {
  font-family: "NIXGONM-Vb";
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #00000086;
  color: #fff;
}

.bar .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
  padding: 2rem 3rem;
}

.bar h3 {
  padding-top: 1px;
  font-size: 20px;
}

.bar .banner {
  display: flex;
  justify-content: center;
  grid-gap: 8px;
  align-items: center;
}

/* sec1 시작*/
.sec1 {  background-size: cover;
  padding: 90px 0px;
  overflow: hidden;
}

.sec1 .t35 {
  padding: 1rem 0 2rem;
  font-family: "S-CoreDream";
  color: #115a7b;
}
.sec1 .t20 {
  padding: 5px;
  border-bottom: 1px solid #ddd;
  font-family: "S-CoreDream";
}


.sec1 .box {
  color: #555;
  font-size: 16px;
  padding: 3rem 0 3rem;
}

.sec1 .box b,
.sec1 .t19 b {  color: #115a7b;
  font-size: 1.1em;
}

.t17 {
  padding-bottom: 10px;
}

.sec1 .img {
  background: url(../img/sec2_1.jpg) center;
  background-size: cover;
}

.sec1 .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 70px;
  padding-top: 2rem;
}

/* sec2 시작 */
.sec2 {
  position: relative;
  padding: 100px 0 100px;
  background-size: cover;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.sec2 .t19, .t40 {
  text-align: center;
}
.step-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  padding: 60px 00px 0 0;
  margin: 0 auto;
  gap: 0px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "S-CoreDream";
}
.step h4 {
  font-size: 24px;
  font-weight: 500;
  padding-top: 1.7rem;
}
.step p {
  font-size: 17px;
  opacity: 0.7;
  font-weight: 300;
  padding: 0.6rem 30px 0;
}
.icon-circle {
  width: 130px;
  height: 130px;
  background: #f2f2f2;
  border-radius: 50%;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes iconBounce {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.icon-circle img {
  animation: iconBounce 0.5s ease;
  animation-delay: 0.3s;
}
.icon-circle img {
  width: 55px;
}

.badge-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: #ddd;
  margin: 16px 0 24px;
}

.badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  font-size: 0.75rem;
  color: #fff;
  background: #006675;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 1;
  line-height: 1.34;

  /* ✨ 여기에 애니메이션 추가 */
  opacity: 0;
  transform: translate(-50%, -40%);
  animation: fadeUpBadge 0.6s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeUpBadge {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.badge b {
  font-size: 1.2em;
}

.badge.black {
  background: #333;
}

@media (max-width: 768px) {

  .sec2 {
    position: static;
  }
  .step-flow {
    flex-direction: column;
    gap: 40px;
  }

  .badge-line {
    
  }

  .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: #ccc;
    transform: translateX(-50%);
  }

  .step:first-child::before {
    display: none;
  }
  .step {
    width: 100%;
  }

  .step h4 {
    padding-top: 0rem;
    font-size: 21px;
  }
  .step p {
    font-size: 16.5px;
  }
}


/* gym */
.gym {
  padding: 480px 0 140px;
  color: #fff;
  text-align: center;
  background: url(../img/gym_bg.jpg);
}

.t60 {
  font-size: 60px;
  letter-spacing: -2px;
}

.gym .t20 {
  margin: 0 auto;
  max-width: 1000px;
  padding-top: 3rem;

}

/* sec3 시작 */
.sec3 {
  padding: 80px 0 50px;
  overflow: hidden;
}

.slide_bg {
  padding: 0px 0;
}

.slide2 .slick-list {
  margin: 0 -20px;
}

.slide2 .slick-slide {
  margin: 0 120px;
  width: 850px !important; /* 슬라이드 가로 크기 고정 */
}

.slide2-box {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  padding-bottom: 4rem;
  margin: 20px 0;
}

.slide2 .slide-item {
  filter: grayscale(100%) contrast(42%) brightness(130%);
  transition: 0.8s;
}

/* 텍스트박스 */
.slide2 .text {
  background: #fff;
  padding: 2rem;
  width: 90%;
  margin: 0 auto;
  margin-top: 1rem;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
}

.slick-active.slick-center {
  filter: grayscale(0%);
}

.slick-center .text {
  margin-top: 0;
  opacity: 1;
  transition: 0.9s;
  transform: translateY(0px);
  box-shadow: 0 5px 19px #a7a7a74b;
}

.slide2-box h3 {
  font-size: 28px;
  font-weight: 700;
  background: url(../img/arrow_g.png) no-repeat left center;
  background-size: 20px;
  padding-left: 29px;
  margin-bottom: 1rem;
}

.slide2-box p {
  font-size: 18px;
  opacity: 0.8;
}

.slide2 .slick-prev {
  background: url(images/btn_prev.png);
  height: 36px;
  width: 36px;
  left: 20px;
}

.slide2 .slick-next {
  background: url(images/btn_next.png);
  height: 36px;
  width: 36px;
  right: 20px;
}

.slide2 .slick-dots {
  bottom: 10px;
}

.slide2 .slick-dots .slick-active button {
  background: rgb(216, 65, 98);
  display: none;
}

.slide2 .slick-dots li + li {
  margin-left: 10px;
}

.slide2 .slick-dots li button {
  font-size: 0;
  border-radius: 50%;
  background-color: green;
  width: 10px;
  height: 10px;
  display: none;
}

.slide2-box-1 {
  background: url(../img/new_1.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-2 {
  background: url(../img/new_2.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-3 {
  background: url(../img/new_3.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-4 {
  background: url(../img/new_4.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-5 {
  background: url(../img/new_5.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

.slide2-box-6 {
  background: url(../img/new_6.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

/* slide3 */

.slide3-box {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.slide3-box p {
  width: 100%;
  background: #0000008e;
  padding: 10px;
  text-align: center;
  color: #fff;
}
.slide3 .slide-item {
  margin: 0 10px;
}

.slide3-box-1 {
  background: url(../img/g1.jpg);
  background-size: 100%;
  background-size: cover;
  background-position: center;
}

.slide3-box-2 {
  background: url(../img/g2.jpg);
  background-size: cover;
  background-position: center;
}

.slide3-box-3 {
  background: url(../img/g2.jpg);
  background-size: cover;
  background-position: center;
}

.slide3-box-4 {
  background: url(../img/g2.jpg);
  background-size: cover;
  background-position: center;
}


/* 연락처 섹션 */
.sec6 {
background: url(../img/sec4_bg.jpg) no-repeat bottom center;
padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.sec6 .content {
  max-width: 900px;
  margin: 0 auto;
}

.sec6 .content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.3;
}

.sec6 .content p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #006675, #0891a7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(53, 173, 220, 0.3);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.info-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.info-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #006675;
  margin-bottom: 0.5rem;
}

.info-card span {
  font-size: 0.9rem;
  color: #666;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #006675;
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 1.2rem 2.5rem;
  border: 2px solid #fdfdfd;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #006675;
  color: white;
  transform: translateY(-2px);
}
/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  /**메인 슬라이드 시작**/

  .slide-box {
    height: 700px;
  }

  .slide-box h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .slide-box p {
    font-size: 16px;
  }

  .slide-box span {
    font-size: 16px;
  }

  /**메인 슬라이드 끝**/

  /* .sec2 */
  .sec2 {
  }

  .sec2 .container {
    grid-template-columns: 1fr;
    width: 100%;
    grid-gap: 0px;
  }

  .sec2 .img {
    height: 340px;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 767
*******************************************************************************************************************************/
@media (max-width: 767px) {
  /**메인 슬라이드 시작**/
  .slide-box {
    height: 530px;
  }

  .slide-box-1 {
    background-size: cover;
  }

  .slick-dots li button {
    width: 10px;
    height: 10px;
  }

  .slick-arrow {
    display: none;
  }

  .text-group {
    padding: 120px 30px 0;
    grid-gap: 0px;
    flex-direction: column;
    text-shadow: 0 0 6px #000;
  }

  .slide-box h2 {
    font-size: 32px;
    letter-spacing: normal;
    line-height: 38px;
  }
  .slide-box h3 {
    font-size: 26px;
    letter-spacing: normal;
    line-height: 30px;
  }

  .slide-box p {
    font-size: 15px;
  }

  /* m_tit */
  .m_tit {
    flex-wrap: wrap;
    grid-gap: 20px;
  }

  .m_tit h3 {
    font-size: 29px;
  }

  .m_tit p {
    font-size: 15px;
  }

  /* 타이틀 */
  .t50 {
    font-size: 35px;
    font-weight: 500;
    padding-top: 0.7rem;
  }

  .t40 {
    font-size: 30px;
    font-weight: 700;
    padding-top: 1rem;
    line-height: 1.3;
  }

  .t35 {
    font-size: 26px;
    font-weight: 700;
  }
  .t30 {
    font-size: 22px;
    font-weight: 700;
  }

  .t25 {
    font-size: 20px;
  }

  .t20 {
    font-size: 17px;
  }

  .t19 {
    font-size: 16px;
  }

  .t17 {
    font-size: 15px;
    opacity: 0.7;
  }

  /*   .bar */
  .bar .container {
    padding: 10px;
    padding-bottom: 7px;
    grid-gap: 15px;
  }
  .bar img {
    width: 12px;
  }

  .bar h3 {
    font-size: 13px;
    padding-bottom: 6px;
  }

  /* sec1 */
  .sec1 {
    background-size: cover;
    padding: 60px 0;
  }

  /* 섹션2 */
  .sec2 {
    padding: 40px 0;
  }

  .sec2 .t30 br {
    display: none;
  }

 .sec2 section {
    grid-template-columns: 1fr 1fr;
  }

.sec2 section .item h3 {
    font-size: 21px;
  }

  /* gym */
  .gym {
    background-position: center;
    padding: 160px 20px 100px;
  }

  .t60 {
    font-size: 38px;
  }

  /* 섹션4 */
  .sec4 {
    padding: 60px 0;
  }

  .sec4 .container {
    grid-template-columns: 1fr;
  }
  .sec4 .container .m_tit {
    justify-content: center;
  }

  .sec4 .container .banner {
    align-items: center;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .slide-box-1 {
    background-position-x: 58%;
  }
  .text-group h2 {
    text-shadow: 0 0 11px #000000;
    font-size: 31px;
    letter-spacing: -2px;
  }
  .slide-box-1 strong {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .more {
    padding: 1rem 2.2rem;
    font-size: 14px;
  }

  /* 공통 */
  .t50 {
    font-size: 30px;
  }

  /* sec1 */
  .sec1 {
    background-size: 100%;
    padding: 55px 0 50px;
  }

    .sec1 .container {
      grid-template-columns: 1fr;
      grid-gap: 0;
      padding: 0 25px;
    }

  /* sec3 */
  .sec3 {
    padding: 50px 0;
  }

  /* 슬라이드 */

  .slide2 .slick-slide {
    margin: 0 10px;
    width: 100vw !important; /* 슬라이드 가로 크기 고정 */
  }

  .slide2-box {
    background-size: 115% !important;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    padding-bottom: 0rem;
    margin: 00px 0 20px;
  }
  .slide2 .text {
    transform: translateY(0px);
  }
  .slide2-box h3 {
    font-size: 20px;
  }
  .slide2-box p {
    font-size: 16px;
  }

  /* cs */
  .icon-circle {
    width: 100px;
    height: 100px;
  }

  .icon-circle img {
    width: 45px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .sec6 .content p br {
    display: none;
  }
}
