@charset "utf-8";

/* 인사말 */
.greeting-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  gap: 60px;
  align-items: flex-start;
}

/* 왼쪽 타일 그리드 이미지 영역 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: repeat(4, 110px);
  gap: 10px;
  flex-shrink: 0;
}

.tile {
  border-radius: 10px;
  /* 실제 사용 시 아래 경로를 원본 장비 이미지 경로로 변경하세요 */
  background-image: url('../img/greeting_bg.jpg'); 
  background-size: 270px 470px; /* 그리드 전체 너비(130*2+10) 및 높이(110*4+30)에 맞춤 */
  background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 각 타일별 배경 이미지 위치 조정 (하나의 이미지를 8조각으로 분할 표시) */
.tile-1 { background-position: 0px 0px; }
.tile-2 { background-position: -140px 0px; }
.tile-3 { background-position: 0px -120px; }
.tile-4 { background-position: -140px -120px; }
.tile-5 { background-position: 0px -240px; }
.tile-6 { background-position: -140px -240px; }
.tile-7 { background-position: 0px -360px; }
.tile-8 { background-position: -140px -360px; }

/* 오른쪽 인사말 텍스트 영역 */
.text-content {
  flex: 1;
  padding-top: 5px;
}

.greeting-title {
  font-size: 32px;
  font-weight: 500;
  color: #1f4e78;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.greeting-lead {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 24px;
}

.greeting-paragraph {
  font-size: 14px;
  color: #555555;
  line-height: 1.75;
  margin-bottom: 22px;
  word-break: keep-all;
}

.signature {
  margin-top: 40px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.signature .company-role {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.signature .ceo-name {
  font-size: 26px;
  font-weight: 500;
  color: #222222;
  letter-spacing: 2px;
}

/* 찾아오시는 길 */
.location-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
  color: #333333;
}

.location-container * {
  box-sizing: border-box;
}

/* 상단 지도 박스 */
.location-container .map-wrap {
  width: 100%;
  height: 450px;
  border: 0px solid #e0e0e0;
  margin-bottom: 35px;
  overflow: hidden;
}

.location-container .map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* 하단 2단 안내 그리드 */
.location-container .transport-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding: 0 5px;
}

.location-container .transport-title {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.location-container .transport-sub {
  font-size: 15px;
  font-weight: 700;
  color: #365f4a; /* 녹색 포인트 컬러 */
  margin: 0 0 10px 0;
}

.location-container .transport-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
}

/* 제품문의 */
.inquiry-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
}

.inquiry-container * {
  box-sizing: border-box;
}

/* 상단 문의 테이블 */
.inquiry-container .inquiry-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #111111;
  margin-bottom: 18px;
}

.inquiry-container .inquiry-table th,
.inquiry-container .inquiry-table td {
  border: 2px solid #111111;
  height: 80px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 700;
}

/* 좌측 항목 셀 (이메일 문의, 유선 문의) */
.inquiry-container .inquiry-table th {
  width: 34%;
  background-color: #b8cce4;
  color: #222222;
}

/* 우측 내용 셀 */
.inquiry-container .inquiry-table td {
  width: 66%;
  background-color: #dbe5f1;
  color: #2b4c7e;
}

.inquiry-container .inquiry-table td a {
  color: #2b4c7e;
  text-decoration: none;
}

.inquiry-container .inquiry-table td a:hover {
  text-decoration: underline;
}

/* 하단 로고 박스 */
.inquiry-container .partner-box {
  width: 100%;
  border: 2px solid #111111;
  background-color: #f2f2f2;
  padding: 25px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
}

.inquiry-container .partner-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inquiry-container .partner-item img {
  max-height: 160px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* 모바일 반응형 처리 */
@media (max-width: 768px) {
  /* 인사말 */
  .greeting-container {
	flex-direction: column;
	align-items: center;
	gap: 35px;
  }
  
  .greeting_br_none {display:none}
  
  .location-container .map-wrap {
    height: 320px;
    margin-bottom: 25px;
  }

  /* 찾아오시는 길 */
  .location-container .transport-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* 제품문의 */
  .inquiry-container .inquiry-table th,
  .inquiry-container .inquiry-table td {
    height: 60px;
    font-size: 16px;
  }

  .inquiry-container .partner-box {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .inquiry-container .partner-item img {
    max-height: 80px;
  }
}