@charset "UTF-8";

/* ==========================================
   NEOK JAPAN - ごあいさつ 전용 스타일 (greeting.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);
}

/* 슬래시 기호 양옆에 여유 공간(margin) 부여 */
.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 (상하 여백 및 배경 없음)
   ------------------------------------------ */
.greeting-banner-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--white);
  padding-bottom: 60px;
}

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

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

/* ------------------------------------------
   3. 인사말 본문 & 서명 Section
   ------------------------------------------ */
.greeting-content-section {
  background-color: var(--white);
  padding-top: 0; 
}

.greeting-text-box {
  max-width: 860px;
  margin: 0 auto 60px;
}

.greeting-paragraph {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text-dark);
  margin-bottom: 35px;
  /* [수정] 모바일 화면 넘어침 방지 및 부드러운 줄바꿈 처리 */
  white-space: normal;
  word-break: break-word;     /* 긴 단어나 연속 문장도 폭에 맞게 부드럽게 줄바꿈 */
  overflow-wrap: break-word;
}

.greeting-paragraph:last-child {
  margin-bottom: 0;
}

/* 대표이사 직인 / 서명 블록 */
.greeting-signature-block {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-top: 1px solid #e2e8f0;
  padding-top: 40px;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--main-navy);
  margin-bottom: 8px;
}

.ceo-title-sign {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ceo-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.sign-img-wrapper {
  height: 45px;
  display: flex;
  align-items: center;
}

.sign-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

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

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

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

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

  .greeting-text-box {
    margin-bottom: 40px;
  }

  .greeting-paragraph {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 25px;
  }

  .greeting-signature-block {
    padding-top: 30px;
  }

  .company-name {
    font-size: 15px;
  }

  .ceo-title {
    font-size: 14px;
  }

  .sign-img-wrapper {
    height: 38px;
  }
}

/* PC용 기본 설정 */
.pc-only-br {
  display: inline;
}

/* 768px 이하 모바일 반응형 */
@media (max-width: 768px) {
  /* 모바일에서는 PC용 강제 줄바꿈(<br>)을 숨겨서 문장이 흐르듯 자동 줄바꿈되게 함 */
  .pc-only-br {
    display: none;
  }
}