/* ========================================
   공통 설정
======================================== */
body {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  background-color: #fff;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


.spacer {
  height: 60px;
}

.slider {
  position: relative;
  top: 80px;  /* 또는 margin-top: 80px 으로도 가능 */
}

/* ========================================
   Header & Navigation
======================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}

.hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.hd-logo img {
  height: 40px;
}

.gnb {
  list-style: none;
  display: flex;
  gap: 50px;
  padding: 0;
  margin: 0;
}

.gnb li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* ========================================
   ICT 페이지 전용
======================================== */
/* page.css */

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
}

.hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.hd-logo img {
  height: 40px;
}

.gnb {
  display: flex;
  gap: 20px;
  font-size: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  padding-top: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.top-message {
  text-align: center;
  font-size: 2.0em;
  margin-bottom: 20px;
}

.top-message span {
  color: #0a9d5e;
  font-weight: bold;
}

.works-group .top {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.list-works {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-works li {
  margin-bottom: 40px;
}

.img-group {
  max-width: 800px;
  margin: 0 auto;
}

.thumb-wrapper {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* contain으로 바꾸면 잘리지 않음 */
}

.txt-group {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

.txt-group .tit {
  margin-top: 0;
  padding-top: 0;
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0px;
}

.txt-group .tit img {
  height: 30px;
  vertical-align: middle;
}

.txt-group .txt {
      margin-top: 0;
  padding-top: 0;
    text-align: center;
  font-size: 1em;
  line-height: 1;
}

.logo-scroll-title-section {
  background-color: #e6efe4;
  padding: 0px 0px 0px 0px;
  margin-top: -50px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.logo-scroll-title {
    text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #000;
}

/* 커피박펠렛 효율적 섹션 */
.coffee-box {
  background-color: #e8f2e5;
  padding: 40px 0;
}

.coffee-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 800px;        /* ✅ 위쪽 이미지 폭과 정확히 맞추기 */
  margin: 0 auto;          /* 중앙 정렬 */
  padding: 0 20px;         /* 살짝 여백 */
  box-sizing: border-box;
}

.coffee-box .txt-group {
  flex: 1 1 45%;
  text-align: left;
}

.coffee-box .txt-group .tit {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.coffee-box .txt-group .txt {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}

.coffee-box .img-group {
  position: relative; /* 자식 요소의 절대 위치 기준 */
}

.coffee-box .thumb-img {
  width: 80%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.coffee-box .release-date {
  position: absolute;
  bottom: -20px;       /* 이미지 아래 살짝 여백 */
  right: 10px;         /* 이미지 오른쪽 끝에서 10px */
  font-size: 0.9em;
  color: #333;
}

/* ✅ 모바일 대응 */
@media (max-width: 768px) {
  .coffee-inner {
    flex-direction: column;
    text-align: center;
    max-width: 50%;
  }

  .coffee-box .txt-group {
    text-align: center;
  }

  .coffee-box .release-date {
    text-align: center;
  }
}

body {
  background-color: #e8f0e6;
}


@keyframes scrollBanner {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100% 0;
  }
}

.banner-scroll {
  height: 150px; /* 높이도 조정 (너무 크면 여백처럼 보임) */
  margin: 0;
  margin-top: -30px;
  margin-bottom: -30px;
  padding: 0;
  line-height: 0;
  background-image: url('../img/Supported_by-removebg-preview.png');
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: auto 150px;
  animation: scrollBanner 20s linear infinite;
}

.footer {
  background-color: #f9f9f9;
  padding: 0px 0px;
  font-size: 0.9em;
}

.company-info p {
  margin: 0px 0;
}

.company-info > div {
  margin-bottom: 15px;
}


@media (max-width: 768px) {
  .top-message {
    font-size: 1.5em;
  }

  .logo-scroll-title {
    font-size: 1.5em;
  }

  .img-group .thumb {
    height: 200px;
  }
}

/* ========================================
   IT 모바일 전용 (body.it-mobile)
======================================== */
body.it-mobile {
  background-color: #000;
  margin: 0;
  overflow-x: hidden;
}

body.it-mobile .slide-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

body.it-mobile .slide {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.it-mobile .slide.active {
  opacity: 1;
}

@keyframes scrollBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100% 0;
  }
}


/* ========================================
   Footer
======================================== */
.footer {
  background-color: #f5f5f5;
  margin-top: 0;
  padding-top: 0;
  padding: 0px 0px;
  font-size: 0.9em;
  color: #333;
}

.company-info p {
    margin-top: 0;
  padding-top: 0;
  text-align: center;
}