.pc-only { display: block; }
.mo-only { display: none; }

.header-section {
  background-image: url("../img/company/company.jpg");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
 }

.parallax-banner {
  position: relative;
  min-height: 300px; 
  background-image: url("../img/company/company.jpg"); /* ✅ 배경 이미지 */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
 }

.parallax-banner .overlay {  position: absolute;  top: 0;  left: 0;  width: 100%;  height: 100%;  background: rgba(0, 0, 0, 0.2); /* ✅ 어두운 오버레이 */  z-index: 1; }
.parallax-banner-content {  position: relative;  z-index: 2;   }
.parallax-banner-content p {  font-size:30px;  margin: 0; }


/* */
.company-meal { }
.company-meal-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: end; justify-content: space-between; text-align: left; border-radius: 20px; }
.company-meal-text { flex: 1 1 40%;}
.company-meal-text strong{ font-size:30px;  margin:0px 0 30px;  display: inline-block;  line-height: 1.8em; color:#000; }
.company-meal-text p { font-size: 18px; line-height: 1.8em; }
.company-meal-image {  flex: 1 1 50%; /* 이미지 영역 더 크게 */  text-align: center;}
.company-meal-image img {  width: 100%;  height: auto;}

/* ✅ 패럴럭스 */
.bg-parallax {
  position: relative;
  height:30vh;
  overflow: hidden;
}

.bg-parallax .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/company-bottom.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateY(0);
  z-index: -1;
  will-change: transform;
}

.bg-overlay { position: relative; color: white; text-align: center; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 0 20px;}
.bg-overlay .highlight { font-size: 25px; max-width:1200px;}
.bg-parallax::after {  content: "";  position: absolute;  top: 0;  left: 0;  width: 100%;  height: 100%;  background: rgba(0, 0, 0, 0.5); /* 블랙 + 투명도 */  z-index: 0; /* 배경보다 위, 텍스트보다 아래 */}

.regulard-first { max-width: 1200px; margin: 0 auto 120px; text-align: center;}
.regulard-first .first-img { margin-bottom: 40px; }
.regulard-first .first-img img {  width: 500px; height: auto;  display: inline-block;}
.regulard-first .forst-text {  max-width: 800px;  margin: 0 auto;}
.regulard-first .line1 {  font-size: 28px; color:#000; }
.regulard-first .line2 {  font-size: 28px; margin-bottom: 10px; color:#000;}
.regulard-first .line3 {  font-size: 24px; color: #626262;}


.company-type {  padding: 120px 0; background-color: #f7f7f9;}

/* 상단 설명 문구 */
.company-type .company-desc {  margin: 0 auto 80px;  text-align: center;  font-size: 28px;  line-height: 1.7;  color: #000;  padding: 0 20px;}
.company-desc .line1 {  font-size: 24px; }
.company-desc .line2 {  font-size: 28px; padding:5px;}
.company-desc .line3 {  font-size: 24px; }
.company-type .type-wrap {  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 40px;  max-width: 1200px;  margin: 0 auto;  padding: 0 20px;}
.type-item-bg{background-color: #fff; padding:20px; border-radius: 10px;}
.company-type .type-item {  text-align: center;}
.company-type .type-img {  width: 100%;  height: 340px;  background-size: cover;  background-position: center;  border-radius: 10px;  margin-bottom: 20px;}
.company-type h3 { font-size: 25px;  font-weight: 700;  margin-bottom: 10px; }
.company-type .type-item p { font-size: 16px; line-height: 1.6;  color: #666; }

.company-with {  
  padding: 120px 0;
}

/* 카드 */
.company-with .with-item {
  text-align: center;
  padding: 10px;
}

/* 이미지 자르는 박스 */
.company-with .img-wrap {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 실제 배경 이미지 */
.company-with .with-img {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

/* hover 확대 */
.company-with .with-item:hover .with-img {
  transform: scale(1.08);
}

/* 상단 문구 */
.company-with .with-desc {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: #333;
  padding: 0 20px;
}

.company-with .with-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.company-with h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.company-with .with-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.company-end{ max-width: 1200px;  margin: 0 auto; text-align: center; margin-bottom: 120px;}
.company-end .end-text {font-size:25px; padding-top:60px; color: #000;}
.company-end .end-text .line3 {font-size:22px;  padding-top:10px; color: #535353; font-weight:600;}

@media (max-width: 1024px){
}

@media (max-width: 767px) {
.parallax-banner-content p { font-size:22px; }	

.regulard-first { padding: 80px 16px; }
.regulard-first .first-img img {  width: 80%; height: auto;  display: inline-block;}
.regulard-first .line1 { font-size: 14px; }
.regulard-first .line2 { font-size: 16px; }
	
.company-meal {  }
.company-meal h2 {    font-size: 20px;    margin:0 auto 100px;    line-height: 1.4;  }
.company-meal-container { flex-direction: column;    gap: 30px;	border-radius: 10px; }
.company-meal-text,
.company-meal-image { flex: 1 1 100%; text-align: left;	padding:0;}
.company-meal-text strong { font-size: 22px; margin:0 0 0; }
.company-meal-text p {font-size: 15px; line-height: 1.6; margin-bottom:10px; }
.company-meal-image img { width: 100%; height: auto; max-width: 100%;}	
	
.bg-overlay .highlight { font-size: 17px;}
.bg-overlay .highlight1 { padding-bottom: 18px;}
.bg-overlay .highlight2 { font-size:18px;}

.company-type { padding: 80px 0; }
.company-type .company-desc { font-size: 16px; margin-bottom: 80px; }
.company-type .type-wrap { grid-template-columns: 1fr;  gap: 50px; }
.company-type .type-img { height: 220px; }
.company-desc .line1 {  font-size: 18px; }
.company-desc .line2 {  font-size: 18px; padding:5px;}
.company-desc .line3 {  font-size: 18px; }	
.company-type h3 { font-size: 20px; }
.company-type .type-item p { font-size: 15px; }
	
.company-with { padding: 80px 0; }
.company-with .with-wrap { grid-template-columns: repeat(1, 1fr); gap: 0;}
.company-with .with-desc { font-size: 22px; margin-bottom: 40px;  }
.company-with .with-img { height: 200px; }
.company-with h3 { font-size: 20px; }
.company-with .with-item { padding:0 20px; }
.company-with .with-item p { font-size: 15px; margin-bottom: 30px;}	

.end-img img {width:280px; }
	
.company-end .end-text {font-size:18px; padding-top:60px; color: #000;}
.company-end .end-text .line3 {font-size:16px;  padding-top:10px; color: #535353; font-weight:600;}
	
.pc-only { display: none; }
.mo-only { display: block;}
	
}