@charset "utf-8";

/**
 * sh_process.css
 * 제조공정 페이지 공통 CSS (business2~5.php)
 * - 원형 게이지 프로세스 그리드
 * - Swiper 슬라이더 스타일
 * - Production Line 섹션 스타일
 */

/* =========================== 공통 변수 =========================== */
:root {
  --process-primary: #3EC890;
  --process-text: #333;
  --process-muted: #888;
  --process-bg: #f1f1f1;
}

/* =========================== 타이틀 영역 =========================== */
.process_tit_area {
  text-align: center;
  padding-top: 40px;
}

.process_tit_area .step_label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--process-primary);
  margin-bottom: 5px;
}

.process_tit_area .sec_title {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.process_tit_area .sec_line {
  width: 35px;
  height: 2px;
  background: var(--process-primary);
  margin: 0 auto 25px;
}

.process_tit_area .sec_desc {
  font-size: 18px;
  color: #666;
}

.process_tit_area .sec_desc b {
  color: var(--process-primary);
}

/* =========================== 공정 그리드 =========================== */
.process_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 100px auto;
  gap: 15px;
}

.process_item {
  width: 220px;
  text-align: center;
  margin-bottom: 50px;
}

/* =========================== 원형 게이지 박스 =========================== */
.circle_box {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fff;
  background-origin: border-box;
  background-clip: content-box, border-box;
}

/* 실제 게이지를 그리는 가상 요소 */
.circle_box::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  z-index: -1;
  background: var(--process-bg);
}

/* 내부 화이트 영역 (테두리 두께 조절) */
.circle_box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 50%;
  z-index: -1;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================== 8단계 게이지 (비누) =========================== */
.step-8 .step01::before { background: conic-gradient(var(--process-primary) 45deg, var(--process-bg) 0deg); }
.step-8 .step02::before { background: conic-gradient(var(--process-primary) 90deg, var(--process-bg) 0deg); }
.step-8 .step03::before { background: conic-gradient(var(--process-primary) 135deg, var(--process-bg) 0deg); }
.step-8 .step04::before { background: conic-gradient(var(--process-primary) 180deg, var(--process-bg) 0deg); }
.step-8 .step05::before { background: conic-gradient(var(--process-primary) 225deg, var(--process-bg) 0deg); }
.step-8 .step06::before { background: conic-gradient(var(--process-primary) 270deg, var(--process-bg) 0deg); }
.step-8 .step07::before { background: conic-gradient(var(--process-primary) 315deg, var(--process-bg) 0deg); }
.step-8 .step08::before { background: conic-gradient(var(--process-primary) 360deg, var(--process-bg) 0deg); }

/* =========================== 12단계 게이지 (액상/화장품) =========================== */
.step-12 .step01::before { background: conic-gradient(var(--process-primary) 30deg, var(--process-bg) 0deg); }
.step-12 .step02::before { background: conic-gradient(var(--process-primary) 60deg, var(--process-bg) 0deg); }
.step-12 .step03::before { background: conic-gradient(var(--process-primary) 90deg, var(--process-bg) 0deg); }
.step-12 .step04::before { background: conic-gradient(var(--process-primary) 120deg, var(--process-bg) 0deg); }
.step-12 .step05::before { background: conic-gradient(var(--process-primary) 150deg, var(--process-bg) 0deg); }
.step-12 .step06::before { background: conic-gradient(var(--process-primary) 180deg, var(--process-bg) 0deg); }
.step-12 .step07::before { background: conic-gradient(var(--process-primary) 210deg, var(--process-bg) 0deg); }
.step-12 .step08::before { background: conic-gradient(var(--process-primary) 240deg, var(--process-bg) 0deg); }
.step-12 .step09::before { background: conic-gradient(var(--process-primary) 270deg, var(--process-bg) 0deg); }
.step-12 .step10::before { background: conic-gradient(var(--process-primary) 300deg, var(--process-bg) 0deg); }
.step-12 .step11::before { background: conic-gradient(var(--process-primary) 330deg, var(--process-bg) 0deg); }
.step-12 .step12::before { background: conic-gradient(var(--process-primary) 360deg, var(--process-bg) 0deg); }

/* =========================== 단계 번호/타이틀/설명 =========================== */
.step_num {
  background: var(--process-primary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 34px;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(62, 200, 144, 0.3);
}

.step_tit {
  font-size: 22px;
  font-weight: 800;
  color: var(--process-text);
  margin: 5px 0 2px;
}

.sub_info {
  font-size: 12px;
  color: var(--process-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.step_desc {
  font-size: 14px;
  color: var(--process-muted);
  line-height: 1.5;
  padding: 0 10px;
}

/* =========================== 화살표 =========================== */
.next_arrow {
  font-size: 24px;
  color: var(--process-primary);
  opacity: 0.3;
  padding-top: 80px;
}

/* =========================== Swiper 슬라이더 (Production Line) =========================== */
.panorama_container {
  position: relative;
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.mySwiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 50%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  filter: brightness(0.6) blur(2px);
  transform: scale(0.85);
}

.swiper-slide-active {
  filter: brightness(1) blur(0);
  transform: scale(1);
  z-index: 2;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--process-primary) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

/* =========================== 슬라이더 텍스트 영역 =========================== */
.cont_text_area {
  text-align: center;
  margin-top: 30px;
  color: #555;
  line-height: 1.8;
  font-size: 17px;
}

.btn_box {
  margin-top: 40px;
}

.list_view_btn {
  display: inline-block;
  padding: 8px 40px;
  border: 2px solid var(--process-primary);
  color: var(--process-primary);
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.list_view_btn:hover {
  background: var(--process-primary);
  border-color: var(--process-primary);
  color: #fff;
}

/* =========================== Production Line (business5) =========================== */
.production_line .tit_area {
  text-align: center;
  padding-top: 40px;
}

.production_line .sec_title {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.production_line .sec_line {
  width: 35px;
  height: 2px;
  background: var(--process-primary);
  margin: 0 auto 25px;
}

.production_line .sec_desc {
  font-size: 18px;
  color: #666;
}

.production_line .sec_desc b {
  color: var(--process-primary);
}

.production_line .panorama_container {
  position: relative;
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.production_line .mySwiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.production_line .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 50%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  filter: brightness(0.6) blur(2px);
  transform: scale(0.85);
}

.production_line .swiper-slide-active {
  filter: brightness(1) blur(0);
  transform: scale(1);
  z-index: 2;
}

.production_line .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production_line .swiper-button-next,
.production_line .swiper-button-prev {
  color: var(--process-primary) !important;
}

.production_line .swiper-button-next:after,
.production_line .swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

/* =========================== 반응형 =========================== */
@media (max-width: 1024px) {
  .next_arrow {
    display: none;
  }
  .process_item {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 85%;
    height: 300px;
  }
  .production_line .swiper-slide {
    width: 85%;
    height: 300px;
  }
  .production_line .sec_desc {
    font-size: 15px;
    padding: 0 20px;
    margin: 0 auto;
  }

  /* 모바일 하단 여백 추가 */
  #production_line {
    padding-bottom: 40px;
  }

  .btn_box {
    margin-bottom: 30px;
  }

  /* 프로세스 그리드 모바일 */
  .process_grid {
    padding: 0 15px;
    margin: 50px auto;
    gap: 20px 10px;
  }

  .process_item {
    width: 45%;
    margin-bottom: 20px;
  }

  .circle_box {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
  }

  .circle_box::before {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
  }

  .step_num {
    width: 28px;
    height: 28px;
    font-size: 11px;
    line-height: 28px;
    top: -8px;
  }

  .step_tit {
    font-size: 14px;
    margin: 3px 0 2px;
  }

  .sub_info {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .step_desc {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .process_grid {
    padding: 0 20px;
    gap: 15px 10px;
  }

  .process_item {
    width: 44%;
    margin-bottom: 15px;
  }

  .circle_box {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .step_num {
    width: 24px;
    height: 24px;
    font-size: 10px;
    line-height: 24px;
    top: -6px;
  }

  .step_tit {
    font-size: 13px;
  }

  .sub_info {
    font-size: 8px;
  }
}

/* =========================== 페이지별 배경 이미지 =========================== */
/* business2.php - 비누제조공정 */
.business2 #shSub {
  background: url(../img/sub/business2_bg.jpg) center no-repeat;
  background-size: cover;
}

/* business3.php - 액상제조공정 */
.business3 #shSub {
  background: url(../img/sub/business3_bg.jpg) center no-repeat;
  background-size: cover;
}

/* business4.php - 화장품제조공정 */
.business4 #shSub {
  background: url(../img/sub/business4_bg.jpg) center no-repeat;
  background-size: cover;
}

/* business5.php - 해외무역 */
.business5 #shSub {
  background: url(../img/sub/business5_bg.jpg) center no-repeat;
  background-size: cover;
}

/* product5.php - OEM/ODM */
.product5 #shSub {
  background: url(../img/sub/product1_bg.jpg) center no-repeat;
  background-size: cover;
}

/* =========================== OEM/ODM 탭 스타일 =========================== */
.oem_odm_tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0 30px;
}

.oem_odm_tabs .tab_btn {
  padding: 18px 50px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--process-primary);
  background: #fff;
  color: var(--process-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 320px;
}

.oem_odm_tabs .tab_btn:hover {
  background: rgba(62, 200, 144, 0.1);
}

.oem_odm_tabs .tab_btn.active {
  background: var(--process-primary);
  color: #fff;
}

/* 탭 콘텐츠 */
.tab_content {
  display: none;
}

.tab_content.active {
  display: block;
}

/* 탭 설명 영역 */
.tab_desc_area {
  text-align: center;
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tab_title {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin-bottom: 15px;
}

.tab_title span {
  font-size: 14px;
  font-weight: 400;
  color: var(--process-muted);
}

.tab_desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* =========================== 6단계 게이지 (OEM) =========================== */
.step-6 .step01::before { background: conic-gradient(var(--process-primary) 60deg, var(--process-bg) 0deg); }
.step-6 .step02::before { background: conic-gradient(var(--process-primary) 120deg, var(--process-bg) 0deg); }
.step-6 .step03::before { background: conic-gradient(var(--process-primary) 180deg, var(--process-bg) 0deg); }
.step-6 .step04::before { background: conic-gradient(var(--process-primary) 240deg, var(--process-bg) 0deg); }
.step-6 .step05::before { background: conic-gradient(var(--process-primary) 300deg, var(--process-bg) 0deg); }
.step-6 .step06::before { background: conic-gradient(var(--process-primary) 360deg, var(--process-bg) 0deg); }

/* =========================== 7단계 게이지 (ODM) =========================== */
.step-7 .step01::before { background: conic-gradient(var(--process-primary) 51.4deg, var(--process-bg) 0deg); }
.step-7 .step02::before { background: conic-gradient(var(--process-primary) 102.8deg, var(--process-bg) 0deg); }
.step-7 .step03::before { background: conic-gradient(var(--process-primary) 154.2deg, var(--process-bg) 0deg); }
.step-7 .step04::before { background: conic-gradient(var(--process-primary) 205.7deg, var(--process-bg) 0deg); }
.step-7 .step05::before { background: conic-gradient(var(--process-primary) 257.1deg, var(--process-bg) 0deg); }
.step-7 .step06::before { background: conic-gradient(var(--process-primary) 308.5deg, var(--process-bg) 0deg); }
.step-7 .step07::before { background: conic-gradient(var(--process-primary) 360deg, var(--process-bg) 0deg); }

/* 긴 텍스트용 작은 폰트 */
.step_tit_sm {
  font-size: 16px;
  font-weight: 800;
  color: var(--process-text);
  margin: 5px 0 2px;
  line-height: 1.3;
}

.sub_info_sm {
  font-size: 10px;
  color: var(--process-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* 버튼 센터 정렬 */
.btn_box_center {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 60px;
  flex-wrap: wrap;
}

.btn_box_center .list_view_btn {
  min-width: 180px;
  padding: 16px 45px;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
}

.btn_box_center .list_view_btn.primary {
  background: var(--process-primary);
  color: #fff;
}

.btn_box_center .list_view_btn.primary:hover {
  background: #2fb37c;
  border-color: #2fb37c;
}

/* =========================== 반응형 (OEM/ODM) =========================== */
@media (max-width: 768px) {
  .process_tit_area {
    padding: 30px 20px 20px;
  }

  .process_tit_area .sec_title {
    font-size: 22px;
  }

  .process_tit_area .sec_desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .oem_odm_tabs {
    gap: 10px;
    padding: 0 15px;
  }

  .oem_odm_tabs .tab_btn {
    padding: 14px 25px;
    font-size: 13px;
    min-width: auto;
  }

  .tab_desc_area {
    padding: 20px 15px;
  }

  .tab_title {
    font-size: 20px;
  }

  .tab_title span {
    display: block;
    margin-top: 5px;
  }

  .tab_desc {
    font-size: 14px;
  }

  .step_tit_sm {
    font-size: 14px;
  }

  .sub_info_sm {
    font-size: 9px;
  }

  .btn_box_center {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .btn_box_center .list_view_btn {
    width: 100%;
    max-width: 280px;
  }
}

/* =========================== OEMODM 인트로 섹션 (product5) =========================== */
.oemodm-intro {
  text-align: center;
  padding: 60px 20px 40px;
}

.oemodm-label {
  font-size: 14px;
  letter-spacing: 3px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
}

.oemodm-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--process-primary);
  margin: 15px auto 40px;
}

/* 히어로 카드 */
.oemodm-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/sub/company3_bg.jpg) center/cover no-repeat;
  border-radius: 20px;
  padding: 60px 50px 50px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner {
  margin-bottom: 35px;
}

.hero-inner h4 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.hero-copy {
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.95);
}

.hero-copy .line {
  display: block;
}

.hero-copy .line1 {
  margin-bottom: 5px;
}

.hero-copy .line3 {
  margin-top: 5px;
}

.hero-copy b {
  color: var(--process-primary);
  font-weight: 700;
}

/* 히어로 탭 버튼 */
.oemodm-heroTabs {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.heroTab {
  padding: 16px 35px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.heroTab:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.heroTab.is-active {
  background: var(--process-primary);
  border-color: var(--process-primary);
  color: #fff;
}

/* 패널 영역 */
.oemodm-panels {
  max-width: 800px;
  margin: 40px auto 0;
}

.oemodm-panel {
  display: none;
  text-align: center;
  padding: 30px;
}

.oemodm-panel.is-active {
  display: block;
}

.oemodm-panel h5 {
  font-size: 24px;
  font-weight: 800;
  color: var(--process-primary);
  margin-bottom: 15px;
}

.oemodm-panel p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* =========================== 반응형 (OEMODM 인트로) =========================== */
@media (max-width: 768px) {
  .oemodm-intro {
    padding: 40px 15px 30px;
  }

  .oemodm-label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .oemodm-line {
    margin: 12px auto 30px;
  }

  .oemodm-hero {
    padding: 40px 20px 35px;
    border-radius: 15px;
  }

  .hero-inner {
    margin-bottom: 25px;
  }

  .hero-inner h4 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-copy .line1,
  .hero-copy .line3 {
    margin: 0;
  }

  .oemodm-heroTabs {
    gap: 10px;
  }

  .heroTab {
    padding: 12px 18px;
    font-size: 12px;
  }

  .oemodm-panels {
    margin-top: 30px;
  }

  .oemodm-panel {
    padding: 20px 15px;
  }

  .oemodm-panel h5 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .oemodm-panel p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-inner h4 {
    font-size: 22px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .heroTab {
    padding: 10px 14px;
    font-size: 11px;
  }
}
