/* 📌 공통 스타일 */
html, body {
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #111;
  box-sizing: border-box;
  overscroll-behavior: none;
}

.highlight {
  color: #ff4d6d;
  font-weight: bold;
}

/* top Section */
.top-section {
  position: relative;
  background: url('../images/top-section.png') no-repeat center center / cover;
  height: 680px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 0;
  overflow: hidden;
}

.top-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8); /* 80% 투명도 검정 */
  z-index: 1;
}

/* 글씨 컨테이너 */
.top-section-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.top-section-container h1 {
  font-size: 5vw;
  font-weight: bold;
}

.top-section-container p {
  font-size: 2.5vw;
}

/* 📌 Vision Section */
.vision {
  text-align: center;
  background-color: #f9f9f9;
  padding: 5vw 0;
}

.vision h2 {
  color: #ff4d6d;
  font-size: 2vw;
  margin-bottom: 3vw;
}

.vision-p1 {
  font-size: 3vw;
  margin: 0 0 0.5vw;
  line-height: 1.4;
}

.vision-p2 {
  font-size: 2vw;
  margin: 0 0 0.5vw;
  line-height: 1.5;
}

.vision-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-image {
  width: 90%;
  max-width: 843px;
  margin: 5vw 0;
}

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

/* Brand Story */
.brand-story {
  position: relative;
  background: url('../images/brand-story.png') no-repeat center center / cover;
  min-height: 997px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 0;
  overflow: hidden; 
}

.brand-story::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.brand-story-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2vw;
}

.brand-story h2 {
  font-size: 2vw;
  margin-bottom: 2vw;
  color: #ff4d6d;
}

.brand-story-p1 {
  font-size: 4vw;
  margin: 0 0 0.5vw;
  line-height: 1.4;
}

.brand-story-p2 {
  font-size: 2.5vw;
  margin: 0 0 0.5vw;
  line-height: 1.8;
}

/* Mission Section */
.mission {
  text-align: center;
  padding: 5vw 10vw;
  background-color: #fff;
}

.mission-container {
  /* 고정 높이를 제거해 콘텐츠에 따라 유동적으로 */
  padding-bottom: 2vw;
}

.mission h2 {
  color: #ff4d6d;
  font-size: 2vw;
}

.mission-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 3vw;
  margin-top: 3vw;
}

/* 미션 박스는 최소 너비를 지정하여 반응형으로 늘어남 */
.mission-box,
.mission-box2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 40px 40px 010px 40px;
  padding: 2vw;
  width: 400px;
  height: 172px;
}

.mission-box {
  background: #ff4d6d;
  color: white;
}

.mission-box2 {
  background: white;
  color: #ff4d6d;
  border: 2px solid #ff4d6d;
}

.mission-box h3,
.mission-box2 h3 {
  font-size: 2vw;
  margin: 0 0 0.5vw;
  line-height: 1.4;
}

.mission-box-p1,
.mission-box2-p1 {
  font-size: 1.5vw;
}

/* cooperation Section */
.cooperation {
  text-align: center;
  padding: 5vw 2vw;
  background-color: #f4f4f4;
}

.cooperation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cooperation h2 {
  font-size: 2vw;
  font-weight: bold;
  margin: 0.5em 0;
}

.cooperation .highlight {
  color: #ff4d6d; /* 강조 색상 필요시 지정 */
}

.cooperation-btn {
  display: inline-flex; /* inline-flex로 변경하면 내용 중심 기준 정렬 정확도 향상 */
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 520px;
  background: black;
  color: white !important; /* 색상 강제 지정 */
  border-radius: 20px;
  text-decoration: none;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-top: 2rem;
}


/* 미디어 쿼리 */
@media screen and (max-width: 1024px) {
  
  .mission-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3vw;
    margin-top: 3vw;
  }

  .mission-box,
  .mission-box2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 40px 40px 010px 40px;
    padding: 2vw;
    width: 33%;
    height: 172px;
  }

  .top-section {
    height: 500px;
    padding: 20px;
  }
  .top-section-container h1 {
    font-size: 8vw;
  }
  .top-section-container p {
    font-size: 4vw;
  }
  .vision h2 {
    font-size: 3vw;
  }
  .vision-p1 {
    font-size: 4vw;
  }
  .vision-p2 {
    font-size: 3vw;
  }
  .mission h2 {
    font-size: 3vw;
  }
  .mission-box h3,
  .mission-box2 h3 {
    font-size: 2.5vw;
  }
  .mission-box-p1,
  .mission-box2-p1 {
    font-size: 1.5vw;
  }
  .cta h2 {
    font-size: 3vw;
  }
}

@media screen and (max-width: 768px) {
  .mission-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw;
    margin-top: 3vw;
    align-items: center;
    flex-direction: column;
  }
    
  .top-section {
    margin-top: 50px;
    height: 250px;
    padding: 10px;
  }
  .top-section-container h1 {
    font-size: 10vw;
  }
  .top-section-container p {
    font-size: 5vw;
  }
  .vision h2 {
    font-size: 4vw;
  }
  .vision-p1 {
    font-size: 5vw;
  }
  .vision-p2 {
    font-size: 4vw;
  }
  .brand-story {
    min-height: auto;
    padding: 20px;
  }
  .brand-story-container {
    padding: 5vw;
  }
  .brand-story h2 {
    font-size: 5vw;
  }
  .brand-story-p1 {
    font-size: 7vw;
  }
  .brand-story-p2 {
    font-size: 2.7vw;
  }
  .mission {
    padding: 4vw 5vw;
  }
  .mission-box {
    width: 60%;
    padding: 4vw 2vw;
    border-radius: 50px 50px 10px 50px;
  }
  .mission-box2 {
    width: 60%;
    padding: 4vw 2vw;
    border-radius: 50px 50px 10px 50px;
  }
  .mission-box h3,
  .mission-box2 h3 {
    font-size: 5vw;
  }
  .mission-box-p1,
  .mission-box2-p1 {
    font-size: 3vw;
  }
  .cta h2 {
    font-size: 5vw;
  }

  .cooperation h2 {
    font-size: 5vw;
  }
  
  .cooperation-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    margin-top: 1.5rem;
  }
}


