/* index.php CSS 파일 */

/* ========================================================================== */
/* SECTION : section1                                                           */
/* ========================================================================== */
.main-banner__container {
  /* margin-top: 75px; */
  padding-top: 75px;
  border-top: 1px solid var(--background-beige);
}

.main-banner__title-wrap {
  color: var(--background-beige);
  margin-bottom: 48px;
}

.main-banner__title {
  margin-bottom: 10px;
  font-size: 47px;
  font-weight: 500;
  line-height: 1.2;
}

.main-banner__desc {
  font-size: 18px;
  line-height: 1.3;
}

.main-banner__badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 45%;
  color: var(--background-beige);
  font-weight: 400;
  font-size: 16px;
}

.main-banner__badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--background-beige);
  border-radius: 30px;
}

/* ========================================================================== */
/* SECTION : section1                                                           */
/* ========================================================================== */

/* ========================================================================== */
/* SC2                                                                         */
/* ========================================================================== */

.sc2 {
  padding: 100px 0;
}



.sc2-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.sc2-item {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: #f5f5f5;
  border-radius: 16px;
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}

.sc2-item:hover {
  background: #eee;
}

/* width modifiers */
.sc2-item--70 { width: 70%; }
.sc2-item--30 { width: 30%; }
.sc2-item--100 { width: 100%; }
.sc2-item--40 { width: 40%; }
.sc2-item--60 { width: 60%; }


.sc2-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sc2-item__desc {
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
  
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}


/* ========================================================================== */
/* SC3                                                                         */
/* ========================================================================== */

.sc3-header {
  text-align: center;
  margin-bottom: 100px;
}

.sc3-header__title {
  color: #222;
}

.sc3-cards {
  display: flex;
  gap: 36px;
  width: 100%;
  height: 100%;
}

.sc3-card {
  width: calc(33.333% - 24px);
  height: 350px;
  position: relative;
  border-radius: 15px;
}
/* 이건 div 모두에 줘야해서 어쩔 수 없는듯? */
.sc3-card div {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  width: 100%;
  height: 100%;
}

/* 앞면 */
.sc3-card__front {
  opacity: 1;
  transform: rotateY(0);
}

.sc3-card__label {
  margin-top: 40px;
  margin-left: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* 뒷면 */
.sc3-card__back {
  padding: 40px 24px;
  background: #fff;
  opacity: 0;
  transform: rotateY(180deg);
}

.sc3-card__title {
  font-size: 1.5rem;
  color: #4FC3F7;
  margin-bottom: 32px;
}

.sc3-card__desc {
  font-size: 1.125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

/* hover */
.sc3-card:hover .sc3-card__front {
  opacity: 0;
  transform: rotateY(180deg);
}

.sc3-card:hover .sc3-card__back {
  opacity: 1;
  transform: rotateY(0);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}


/* ========================================================================== */
/* SC4                                                                         */
/* ========================================================================== */


.sc4-header {
  margin-bottom: 24px;
}

.sc4-header__title {
  color: #fff;
}

.sc4-cards {
  display: flex;
}

.sc4-card {
  position: relative;
  width: 10%;
  height: 500px;
  margin-right: 15px;
  cursor: pointer;
  transition: 0.5s;
}
.sc4-card__title {
  color: #fff;
}
.sc4-card__desc {
  color: #fff;
}
.sc4-card--active {
  width: 60%;
}

.sc4-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.sc4-card__label {
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Roboto", sans-serif;
}

.sc4-card--active .sc4-card__label {
  opacity: 0;
}

.sc4-card__content {
  position: absolute;
  top: 30px;
  left: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
}

.sc4-card--active .sc4-card__content {
  opacity: 1;
}

.sc4-card__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;

}

.sc4-card__desc {
  color: #fff;  
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 보여줄 줄 수 */
  text-overflow: ellipsis;
   overflow: hidden;   
  font-size: 1.25rem;
  font-weight: 500;
  background-color: #c9c9c9;
  width: 100%;
  padding: 0px 8px 0px 8px;
}
.info-slide__desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}


/* sc5 ============================================= */
.sc5 .swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.info-slide__title{
  margin-bottom: 8px;
}
.sc5 .swiper-slide {
  position: relative;
  width: 360px;
  height: 300px;
  padding: 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}

/* 상단 메인컬러 포인트 바 */
.sc5 .swiper-slide {
  position: relative;
  width: 360px;
  height: 300px;
  padding: 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: none; /* 박스쉐도우 제거 */
  transition: transform .3s ease;
  overflow: hidden;
}

/* 상단 메인컬러 포인트 */
.sc5 .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-color);
}

/* hover 인터랙션 */
.sc5 .swiper-slide:hover {
  transform: translateY(-6px);
}


.sc5 .swiper-slide img {
  display: block;
  width: 100%;
}

/* qna ============================================= */
/* 질문 버튼 */
.qna__question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-size: 20px;
  font-weight: 600;
  padding-right: 40px;
  position: relative;
  cursor: pointer;
    padding: 30px 0;
}

/* 화살표 */
.qna__question::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s;
}

/* 열렸을 때 */
.qna__tab-panel-item.active .qna__question::after {
  content: "－";
}

/* 답변 */
.qna__answer {
  display: none;
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0;
}


/* 열림 */
.qna__tab-panel-item.active .qna__answer {
  display: block;
}

/* 카드 정리 */
.qna__tab-panel-item {
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}




/* sc6 ============================================= */
.sc6 {
  /* background-color: var(--background-black); */
}

.sc6 .section-header {
  text-align: center;
}

.sc6 .section-header__title,
.sc6 .section-header__subtitle {
  /* color: #fff; */
}

.sc6 .section-header__title {
  font-weight: 600;
}

.sc6 iframe {
  /* width: auto;
  height: auto;
  aspect-ratio: 16 / 9; */
  width: 100%;
}

.sc6__youtube-wrap {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.sc6__youtube-title {
  display: block;
  font-size: 18px;
  margin-top: 15px;
  font-weight: 500;
  /* color: #fff; */
  text-align: center;
}

.sc6__youtube-item {
  text-align: center;
}

.sc6__video-wrap video {
  max-width: 350px;
  margin: 0 auto;
}

.sc6__btn-link-wrap {
  margin-top: 30px;
  text-align: center;
}

.sc6__btn-link {
  font-size: 22px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
}

/* sc7 ============================================= */
.news-feed {
  padding: 120px 0;
  background: #f6f7f9;
}

/* 헤더 */
.news-feed__header {
  margin-bottom: 70px;
}

.news-feed__title {
  font-size: 44px;
  font-weight: 700;
}

.news-feed__subtitle {
  margin-top: 14px;
  font-size: 18px;
  color: #666;
}

/* 리스트 */
.news-feed__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 카드 공통 */
.news-feed__item a {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-feed__item a:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,.08);
}

/* 대표 카드 */
.news-feed__item--hero a {
  grid-template-columns: 1fr 360px;
}

.news-feed__item--hero .news-feed__headline {
  font-size: 28px;
}

/* 텍스트 */
.news-feed__headline {
  font-weight: 600;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-feed__summary {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 이미지 */
.news-feed__media {
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
}

.news-feed__item--hero .news-feed__media {
  height: 220px;
}

.news-feed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* sc8 ============================================= */
.sc8 {
  text-align: center;
}

.sc8__social-media-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.sc8__social-media-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.sc8__social-media-link img {
  width: 40px;
}

.sc8__social-media-link.youtube img {
  width: 43px;
}

.sc8__social-media-link.naver-blog img {
  width: 43px;
}

.sc8__social-media-link.tiktok img {
  width: 36px;
}
