.sct_sub_txt {
  font-size: 17px;
  color: #555;
  font-weight: 300;
  padding: 5px 0 10px 0;
}

/*section01*/
.section01 {
  padding: 30px 10px;
  padding-bottom: 50px;
}
.section01 .s1_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
}
.section01 .s1_wrap .left {
  width: 49%;
  margin-right: 1%;
}
.section01 .s1_wrap .left img {
  width: 100%;
}
.section01 .s1_wrap .right {
  width: 49%;
  margin-left: 1%;
}
.section01 .s1_wrap .right img {
  width: 100%;
}

.section01 picture,
.section01 picture img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.section01 picture img {
  height: auto;
}

@media screen and (max-width: 980px) {
  .section01 .inner li {
    width: 50%;
  }
}
@media screen and (max-width: 640px) {
  .section01 {
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 576px) {
  .section01 .s1_wrap .left h2,
  .section01 .s1_wrap .right h2 {
    font-size: 28px;
  }
  .section01 .s1_wrap .left h3,
  .section01 .s1_wrap .right h3 {
    font-size: 20px;
  }
  .section01 li {
    width: 100%;
  }

  .section01 .s1_wrap .left,
  .section01 .s1_wrap .right {
    width: 100%;
    margin: 0 0 14px 0;
  }

  .section01 .s1_wrap .left img,
  .section01 .s1_wrap .right img {
    display: block;
    width: 100%;
  }
}
/*section01*/

.section02 {
  padding: 0px 10px;
  padding-bottom: 50px;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  margin: 0 auto;
  box-sizing: border-box;
}

/* 1~3번 공통 가로형 스타일 */
.card-item {
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #467fd7;
  border-radius: 20px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 127px;
}

/* 4번 전용: 상단(아이콘+2줄)과 하단(1줄)을 세로로 쌓기 위함 */
.card-item.type-special {
  flex-direction: column;
  align-items: center; /* 세로축 중앙 정렬 */
  justify-content: center; /* 가로축 중앙 정렬 */
  text-align: center; /* 텍스트 중앙 정렬 */
}
/* 4번 카드 상단 (아이콘 + 제목뭉치) 가로 정렬 시 중앙 정렬 추가 */
.card-item.type-special .card-top-row {
  display: flex;
  align-items: center;
  justify-content: center; /* 아이콘과 텍스트 뭉치를 가로 중앙으로 */
  width: 100%;
}
.card-item:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* 4번 카드 내 상단 영역 (아이콘 + 텍스트 2줄 가로배치) */
.card-top-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.card-icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon {
  width: 64px;
  height: auto;
}

.card-text-area {
  margin-left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.7pt;
  color: #111;
  margin: 0 0 4px 0;
}

.card-link {
  font-size: 14px;
  font-weight: 400;
  color: #464646;
  text-decoration: none;
  display: inline-block;
  position: relative;
  letter-spacing: -0.7pt;
}

.card-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 47px;
  height: 1px;
  background-color: #868e96;
}

/* 4번 하단 안내 문구 영역 */
.card-bottom-info {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  width: 100%;
}

.card-bottom-info b {
  font-weight: bold;
}
@media screen and (max-width: 976px) {
  .section02 .photo {
    width: 100%;
    min-height: 229px;
    clear: both;
    float: none;
  }
  .section02 .photo .li {
    min-height: 229px;
  }
  .section02 .txt {
    width: 100%;
    clear: both;
    float: none;
    min-height: 229px;
  }
}

@media screen and (max-width: 576px) {
  .section02 .txt {
    padding: 45px;
  }
  .section02 .txt h2 {
    font-size: 28px;
  }
  .section02 .txt span {
    width: 100%;
  }
  .card-container {
    grid-template-columns: repeat(2, 1fr); /* 480px에서도 2열 유지 */
    gap: 10px;
  }
  .card-item,
  .card-item.type-special {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    height: auto;
    justify-content: flex-start;
  }
  .card-item.type-special .card-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-icon {
    width: 50px;
  }
  .card-icon-area {
    margin-bottom: 6px;
  }
  .card-text-area {
    margin-left: 0;
  }
  .card-title {
    font-size: 17px;
  }
  .card-link {
    font-size: 13px;
  }
  .card-link::after {
    width: 48px;
  }
  .card-bottom-info {
    margin-top: 10px;
    text-align: left;
  }
}

/* section03 */

.section03 {
  padding: 0px 10px;
  padding-bottom: 0px;
  margin-top: 50px;
}

/* ===== 강사진 카드 전용 영역 ===== */
.main-tutor-section * {
  box-sizing: border-box;
}

.main-tutor_title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.7pt;
  color: #000;
}
.main-tutor-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 60px 0 100px;
}

.main-tutor-card {
  position: relative;
  padding-bottom: 45px; /* 파란박스 내려올 공간 */
  transition: transform 0.3s ease;
}
.main-tutor-card:hover {
  transform: translateY(-5px);
}

.main-tutor-img img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 20px;
}

/* 🔵 이미지 아래로 걸치는 파란 박스 */
.main-tutor-badge {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translate(-50%, 50%);
  width: 80%;
  height: 70px;
  background: #467fd7;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.main-tutor-name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.7pt;
  margin: 0;
}

.main-tutor-more {
  font-size: 14px;
  letter-spacing: -0.7pt;
  position: relative;
}

.main-tutor-more::after {
  content: '';
  display: block;
  width: 65px;
  height: 1px;
  background: #fff;
  margin: 0 auto 0;
}

@media screen and (max-width: 576px) {
  .section03 {
    margin-top: 20px;
  }

  .main-tutor-name {
    font-size: 16px;
  }
  .main-tutor-more {
    font-size: 12px;
  }
  .main-tutor-more::after {
    margin: 1px auto 0;
  }
  .main-tutor_title {
    font-size: 24px;
  }
  .main-tutor-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* section03 */

/* PC 메뉴 드롭다운 레이어 보정 */
#hd,
#gnb,
#gnb .gnb_wrap,
#gnb #gnb_1dul,
#gnb .gnb_1dli {
  position: relative;
  z-index: 1000;
}

#gnb .gnb_2dul {
  z-index: 1100;
}

.section04,
.pf-grid,
.pf-card {
  position: relative;
  z-index: 1;
}

.section04 {
  padding: 0px 10px;
  padding-bottom: 50px;
  padding-top: 50px;
  background-color: #edf1fb !important;
}

.pf-container {
  padding: 100px 0;
}

.pf-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #000;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 40px) / 3));
  gap: 20px;
  margin-bottom: 30px;
}

.pf-card {
  background-image: url('/img/Union.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  /*border-radius: 20px;*/
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease;
  aspect-ratio: 396 / 280;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

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

.pf-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 23px;
  position: relative;
  z-index: 2;
}

.pf-card-title {
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
}

.pf-detail-link {
  color: #464646;
  text-decoration: underline;
  text-decoration-color: #868e96;
  text-underline-offset: 3px;
  font-size: 14px;
  transition: all 0.3s ease;
  line-height: 1;
  position: relative;
  z-index: 3;
}

.pf-detail-link:hover {
  color: #000;
}

.pf-card-content {
  position: relative;
  height: calc(100% - 50px);
}

/* 협회활동 카드 전용 텍스트 영역 */
.pf-card-content-text {
  padding: 18px 0 0 30px;
  position: relative;
  z-index: 2;
}

.pf-list-item {
  padding: 10px 0;
  color: #467fd7;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-list-item:before {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url('/img/check_icon.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.pf-card-image {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.pf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 협회활동 카드 전용 스타일 */
.pf-card.pf-activity-card .pf-card-content {
  position: relative;
  background: #f1f4f9;
  border-radius: 12px;
  overflow: hidden;
  height: calc(100% - 50px);
  margin-top: 0;
  display: flex;
  align-items: center;
}

.pf-card.pf-activity-card .pf-card-content-text {
  width: 100%;
  padding: 0 24px;
}

.pf-card.pf-activity-card .pf-card-image {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.pf-card.pf-activity-card .pf-card-image img {
  display: none;
}

.pf-card.pf-activity-card .pf-list-item {
  border-bottom: 1px solid #c8d9f0;
  padding: 11px 0;
}

.pf-card.pf-activity-card .pf-list-item:last-child {
  border-bottom: 1px solid #c8d9f0;
}

@media screen and (max-width: 576px) {
  .pf-grid {
    grid-template-columns: 1fr;
  }
  .pf-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .pf-list-item {
    font-size: 18px;
    padding: 5px 0;
  }
  .pf-list-item:before {
    width: 18px;
    height: 18px;
  }
  .pf-card-content-text {
    padding: 10px 0 0 15px;
  }
  .pf-card-header {
    margin-bottom: 16px;
  }
}

/* section04 responsive override */
@media screen and (max-width: 1024px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-card {
    aspect-ratio: auto;
    min-height: 280px;
  }
  .pf-card.pf-activity-card .pf-list-item {
    font-size: 18px;
    line-height: 1.35;
  }
}

@media screen and (max-width: 760px) {
  .pf-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .section04 {
    padding: 36px 14px 44px;
  }
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
  }
  .pf-card {
    /* background-image: none; */
    /* background-color: #fff; */
    /* border: 1px solid #b8c4d6; */
    /* border-radius: 18px; */
    padding: 18px;
    /* min-height: auto; */
  }
  .pf-card-content {
    height: auto;
  }
  .pf-card.pf-activity-card .pf-card-content-text {
    padding: 16px 24px;
  }
  .pf-card.pf-activity-card .pf-list-item {
    font-size: 17px;
    line-height: 1.35;
    padding: 8px 0;
  }
  .pf-card.pf-activity-card .pf-card-content {
    height: auto;
  }
  .pf-card.pf-activity-card .pf-card-image {
    display: none;
  }
}

.sct_img {
  overflow: hidden;
}
.sct_img img {
  transition: all 0.2s linear;
}

.btn_wish {
  color: #c1c4c6;
}
.button_on .fa-heart-o,
.style_class .fa-heart-o {
  color: red;
}

/*하단 컨텐츠*/
.left_box {
  position: absolute;
  right: 110px;
  padding-right: 50px;
}
.btn-more2 {
  position: absolute;
  right: -85px;
  transform: rotate(90deg);
  margin-top: -208px;
}
.more_arrow {
  padding-left: 10px;
}
.middle_text01 {
  padding-bottom: 20px;
}
