/* 유학피플 회사소개 CSS */
.ch_intro_history_visual {
  margin-bottom: 64px;
}

.ch_timeline_wrap {
  position: relative;
  margin-left: 0;
  padding-left: 24px; /* ← 점과 내용 사이 간격 확보 */
  border-left: 3px solid #1c3c70;
}


.ch_timeline_item {
  position: relative;
  margin-bottom: 36px;
}

.ch_timeline_item::before {
  content: '';
  position: absolute;
  left: -6px;         /* 선 기준 위치 조정 */
  top: 6px;
  width: 12px;
  height: 12px;
  background: #1c3c70;
  border-radius: 50%;
  border: 2px solid #fff;
}

.ch_year {
  font-weight: 700;
  font-size: 16px;
  color: #003366;
  margin-bottom: 6px;
  padding-left: 10px; /* ← 점과 텍스트 사이 여백 */
  line-height: 1.4;
}

.ch_event {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-left: 0;            /* 불필요한 들여쓰기 제거 */
}






.ch_company-intro {
  padding: 60px 0;
  background-color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 0.8;
}

.ch_company-intro .container {
  max-width: 1120px;  /* 기존: 880px */
  margin: 0 auto;
  padding: 0 0px;
}

.ch_intro_slogan {
  text-align: center;
  margin-bottom: 40px;
}

.ch_intro_slogan .ch_h1_title {
  font-size: 28px;
  font-weight: 600;
  color: #1c3c70;
}

.ch_paragraph {
  margin-bottom: 48px;
}

.ch_paragraph h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #003366;
  font-weight: 600;
}

.ch_paragraph p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.ch_list-style {
  list-style: none;     /* ✔ 중복 방지 */
  padding-left: 0;
}

.ch_list-style li {
  padding-left: 12px;
  position: relative;
}

.ch_list-style li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1c3c70;
}


.ch_list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 20px;
  list-style: none;
  padding-left: 0;
}

.ch_list-grid li {
  background: #f5f7fa;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ch_timeline li {
  border-left: 3px solid #1c3c70;
  padding-left: 12px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
  position: relative;
}

.ch_timeline li strong {
  display: inline-block;
  min-width: 60px;
  color: #1c3c70;
}

.ch_intro_cta {
  background: #f0f4fb;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ch_intro_cta p {
  font-size: 16px;
  margin-bottom: 12px;
}

.ch_cta_contact {
  font-size: 18px;
  font-weight: 600;
  color: #003366;
  margin-top: 16px;
}


.ch_gallery_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ch_gallery_wrap img {
  width: calc(33.333% - 6.66px);
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.ch_gallery_wrap img:hover {
  transform: scale(1.03);
}
.ch_gallery_block {
  margin-top: 20px;
  margin-bottom: 40px;
}

.ch_gallery_title {
  font-size: 17px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 12px;
}

.ch_gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.ch_gallery_grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.ch_gallery_grid img:hover {
  transform: scale(1.03);
}



.ch_feature_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.ch_feature_card {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s ease-in-out;
}

.ch_feature_card:hover {
  transform: translateY(-3px);
}

.ch_feature_card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ch_feature_number {
  font-size: 22px;
  font-weight: 700;
  color: #1c3c70;
  margin-bottom: 10px;
}

.ch_feature_title {
  font-size: 17px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 8px;
}

.ch_feature_desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.ch_service_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2개씩 한 행에 정렬 */
  gap: 20px;
  margin: 40px 0;
}

.ch_service_card {
  padding: 24px 20px;
  margin: 0;
  border-radius: 10px;
  background-color: #f8f9fb;
  border: 1px solid #d9e1ec;       /* ✔ 얇은 테두리 추가 */
  box-shadow: none;                /* 필요시 그림자 제거해 더 깔끔하게 */
}

.ch_service_card:hover {
  border-color: #003366;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);  /* 미세한 강조 */
}

.ch_service_title {
  font-size: 18px;               /* 기존보다 약간 더 키움 */
  font-weight: 800;              /* 더 두껍게 */
  color: #1c3c70;                /* 더 선명한 컬러 */
  margin-bottom: 12px;
  border-left: 4px solid #1c3c70;  /* 왼쪽 라인으로 시각적 강조 */
  padding-left: 12px;
}

.ch_service_desc {
  font-size: 15px;
  color: #333;
  flex-grow: 1;
  margin-bottom: 16px;
  line-height: 1.6;
}

.ch_service_btn {
  display: block;
  width: 100%;
  margin-top: 2rem;                   /* 더 여유 있는 위 여백 */
  padding: 1rem 1.5rem;               /* 버튼 내부 여백 확대 */
  background-color: #003366;
  color: white;
  line-height: 1.4;                   /* 줄간격 살짝 여유 있게 */
  text-align: center;
  font-size: 1.2rem;    /* = 18px (더 선명하게) */	
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);  /* 버튼 그림자 추가로 떠 보이게 */
}

.ch_service_btn:hover {
  background-color: #00274d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);  /* 호버 시 그림자 강조 */
}


.ch_dual_feature_section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.ch_feature_list {
  list-style: disc;
  list-style-position: outside;  /* 점을 li 바깥에 위치시킴 */
  padding-left: 1.5em;           /* 전체 리스트 들여쓰기 조절 */
  margin: 0;
}

.ch_feature_list li {
  margin-left: 0;
  padding-left: 0.1em;           /* 점과 텍스트 간 간격 확보 */
  line-height: 1.6;
}

/* 모바일 전용 (768px 이하에서만 표시) */
.only-mobile {
  display: block;
}
.only-pc {
  display: none;
}

@media (min-width: 769px) {
  /* PC 전용 (768px 초과일 때 표시) */
  .only-mobile {
    display: none;
  }
  .only-pc {
    display: block;
  }
}



@media (max-width: 768px) {
  .ch_feature_list {
    padding-left: 1em;     /* 기존보다 여백 줄이기 */
  }

  .ch_feature_list li {
    padding-left: 0;       /* 불필요한 내부 들여쓰기 제거 */
  }
}

@media (max-width: 768px) {
  .ch_service_grid {
    grid-template-columns: 1fr; /* ✅ 모바일에서는 1개씩 */
  }
}


@media (max-width: 768px) {
  .ch_company-intro .container {
    padding: 0 16px;
  }
  }
}


@media (max-width: 768px) {
 .ch_gallery_grid {
    grid-template-columns: 1fr; /* ✅ 모바일은 1개씩 세로 정렬 */
    gap: 12px;
    padding: 0 10px;
  }


  .ch_gallery_grid img {
    width: 100%;
    aspect-ratio: 4 / 3;      /* ✅ 비율 유지 */
    object-fit: cover;
    min-height: 160px;        /* ✅ 너무 작게 줄어드는 것 방지 */
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
}

@media (max-width: 768px) {
  .ch_gallery_wrap img {
    width: calc(50% - 5px);
  }
}



/* 반응형 */
@media (max-width: 768px) {
  .ch_intro_slogan .ch_h1_title {
    font-size: 22px;
  }
  .ch_paragraph h2 {
    font-size: 20px;
  }
  .ch_cta_contact {
    font-size: 16px;
  }
}
