@charset "UTF-8";

/* ==========================================
   NEOK JAPAN - 会社概要 전용 스타일 (company.css)
   ========================================== */

/* ------------------------------------------
   1. 상단 브레드크럼 & 타이틀 Header
   ------------------------------------------ */
.page-header {
  padding: 40px 0 50px;
  background-color: var(--white);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--text-gray);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--main-navy);
}

.breadcrumb .separator {
  margin: 0 10px;
  color: #cbd5e0;
  font-weight: 300;
}

.breadcrumb .current {
  color: var(--main-navy);
  font-weight: 600;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-navy);
  letter-spacing: -0.5px;
}

/* ------------------------------------------
   2. 메인 배너 이미지 Section
   ------------------------------------------ */
.company-banner-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--white);
  padding-bottom: 60px;
}

.company-banner-img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-banner-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ------------------------------------------
   3. 会社概要 테이블 Section
   ------------------------------------------ */
.company-info-section {
  background-color: var(--white);
  padding-bottom: 100px;
}

.info-table-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e2e8f0;    /* 표 상단 선 */
  border-bottom: 1px solid #e2e8f0; /* 👈 이 줄을 추가해주시면 표 맨 아래에도 선이 생깁니다! */
}

.info-table th,
.info-table td {
  padding: 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.info-table th {
  width: 22%;
  background-color: #f8fafc;
  color: var(--main-navy);
  font-weight: 700;
  vertical-align: top;
  white-space: nowrap;
}

.info-table td {
  color: var(--text-dark);
}

.info-table td a {
  color: var(--text-dark);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.info-table td a:hover {
  color: var(--main-navy);
}

/* ------------------------------------------
   4. 모바일 반응형 (768px 이하)
   ------------------------------------------ */
@media (max-width: 768px) {
  .page-header {
    padding: 25px 0 30px;
  }

  .page-title {
    font-size: 24px;
  }

  .company-banner-section {
    padding-bottom: 40px;
  }

  .company-banner-img {
    padding: 0;
  }

  .company-banner-img img {
    border-radius: 0;
    max-height: 260px;
  }

  .company-info-section {
    padding-bottom: 60px;
  }

  /* 테이블을 블록 형태로 전환하고 각 행마다 위/아래로 선이 지나가도록 설정 */
  .info-table {
    border-top: 1px solid #e2e8f0;    /* 최상단 선 */
    border-bottom: 1px solid #e2e8f0; /* 최하단 선 */
  }

  .info-table tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0; /* 각 항목 사이의 구분선 */
  }

  /* 마지막 행은 중복 선이 생기지 않도록 내부 선 처리 */
  .info-table tr:last-child {
    border-bottom: none; 
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none; /* 기존 테이블 기본 테두리 제거 */
  }

  .info-table th {
    background-color: transparent;
    font-size: 13px;
    color: var(--main-navy);
    margin-bottom: 6px; /* 타이틀과 내용 사이 미세한 간격 */
  }

  .info-table td {
    font-size: 15px;
    color: var(--text-dark);
  }
}