* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
 
}
body {
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #272324;
  text-align: center;
  
}


.special-gothic-expanded-one-regular {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
}



header {
  position: fixed;
  top: 0;
  width: 100%;
  
  color: #fff;
  z-index: 1000;
  
}





/* 기본 nav 스타일 */
header {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background: white;

}

nav {
display: flex;
justify-content: space-between;

padding: 0;
background-color: white;
height: 60px;
}
nav a {
color: #272324;
text-decoration: none;
margin: 0 1rem;
font-weight: bold;
transition: color 0.3s ease;
}
nav a:hover {
color: #3cb64d;
}

.logo {

padding: 1.5rem 1rem 1rem 1rem;
background-color: white;
border-radius: 0px 0px 20px 20px;
}
nav img {
width: 100px;
height: auto;
}
.nav-button {
background: white;
margin-top: 18px;
margin-right: 30px;
}

.submenu {
position: absolute;
top: 100%;
right: 0;
background: rgba(255, 255, 255, 0.95);
padding: 1.5rem 2rem;
border-radius: 5px;
line-height: 2rem;
white-space: nowrap;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);

/* 초기 상태 (숨김) */
opacity: 0;
visibility: hidden;
transform: translateY(10px);
pointer-events: none;

/* 트랜지션 */
transition: all 0.3s ease;
z-index: 999;
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
opacity: 1;
visibility: visible;
transform: translateY(0);
pointer-events: auto;}

.menu-item {
position: relative;
display: inline-block;
}




section {
  padding: 0px 20px;
  min-height: 100vh;
  animation: fadeIn 1s ease-in-out;
}


.sub-section{
  padding: 120px 20px;
  animation: fadeIn 1s ease-in-out;
}

.sub-section p {
line-height: 160%;
}
.sub1 {
  background-image: url(img/building-grn.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;

}


.sub1 h3 {
font-size: 3rem;
line-height: 4rem;
color: white;
margin-top: 15px;
}



.sub2 {
  background-image: url();
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.sub2 h1{ 
  font-size: 3rem; 
  line-height: 3.5rem; 
  color: #3cb64d;
}
.sub2 h3{
font-size: 1.5rem;
line-height: 160%;
font-weight: 600;
}

.sub3 {
  background-image: url(img/2022-2-blk.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.sub3 h1 {
  color: white;
  font-size: 3rem;
  line-height: 3.5rem;
}

#main {
  background-color: #ffffff;
  background-image: url(img/main-img-2.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size : cover;


}
#product {
  padding: 0;
}
#company {
  padding: 0;
}
#main-product {
  background-color: #ffffff;
  background-image: url(img/product-main2.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size : cover;
 
}

#main-company {
  background-color: #ffffff;
  background-image: url(img/company-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size : cover;
 
}

.container-center-vertical {
  position: absolute;
  top: 35%;
  left: 10%;
  text-align: left;
}
.container-center-vertical2 {
  position: absolute;
  top: 113%;
  left: 10%;

}
.main h1 {
  font-size: 8rem;
  line-height: 8rem;
  margin-top: 30px;
}

.main h3 {
  font-size: 2rem;
}





@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
h2, h3 {
  color: #272324;
}
.buttons a {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #3cb64d;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.buttons a:hover {
  background-color: #137a1c;
}




.icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 120px auto 0;
}
.icons div {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icons div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.icons div img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.contact {
  background: #ffffff;
  color: #3cb64d;
  padding: 3rem 2rem;
  text-align: center;
  min-height: fit-content;
}
.contact h4 {
  margin-top: 30px;
}
.contact p {
  margin: 1rem 0;
}

.contact img {
  width: 100px;
}

.label {
display: inline-flex; 
align-items: center;
}
.grid2-con {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto ;
  overflow: hidden;
  gap: 2vw;
}
.center-con {
  margin: 40px auto;
}
.center {
display: block;
}
.fun {
margin-top: 120px;
}
.jb-a {
  
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  align-items: center;
}
.jb-b {
  width: 100%;
}
.jb-c {
  
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.jb-a:hover .jb-c {
  display: block;
  opacity: 1;
}

.carousel2 {
  margin: 120px auto 0;
  max-width: 80vw;
  overflow: hidden;
  display: flex;
  > * {
    flex: 0 0 100%;
  }
  &:hover .group {
    animation-play-state: paused;
  }
  
}

.card {
  width: 100%;
  color: white;
  border-radius: 24px;
 
  padding: 20px;
  font-size: xx-large;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  
  &:nth-child(1) {
    background: #ffffff;
  }

  &:nth-child(2) {
    background: #ffffff;
  }

  &:nth-child(3) {
    background: #ffffff;
  }
}

.card img {
  margin: auto;
  display: block;
  width: 200px;
}

.group {
  display: flex;
  gap: 20px;
  /* 마지막 카드와 첫 번째 카드 사이에 여백을 만들기 위해 우측에 패딩을 추가합니다. */
  padding-right: 20px;
  will-change: transform; /* 브라우저에 애니메이션할 것을 미리 알려 친절하게 대하세요. */
  animation: scrolling 10s linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.contact h4 {
  color: #272324;
}

.product-name {
  font-size: 3rem;
}
.product-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto ;
  overflow: hidden;
  gap: 2vw;
  margin-top: 120px;
}
.product-box{
  background-color: #f2f2f24f;
  padding: 20px;
  border-radius: 20px;
  
}
.product-box img {
  width: 100%;
  height: auto;
}

.product-box h1 {
  font-size: 1.5rem;
}
.product-box p {
  font-size: 1rem;
}

.sticky-buttons {
  display: flex;
  justify-content: space-around;
  width: 80vw;
  max-width: 800px;
  min-width: 300px;
  margin: 2rem auto;
  transition: all 0.3s ease;
  z-index: 999;
}

.sticky-buttons a {
  flex: 1;
  padding: 0.8rem 1rem;
  margin: 0 0.5rem;
  background-color: #3cb64d;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.sticky-buttons a:hover {
  background-color: #2b9440;
}

.sticky {
  position: fixed;
  top: 35px; /* 네비게이션바 아래로 조정 */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  
  padding: 1rem;
}

#cr-top {
  width: 100%; 
  height: 40vh;
  margin: 60px auto 30px; 
  max-width: 1200px;
  border-radius: 25px 25px 0 0;
  background-image: url(img/cr-main.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#pu-top {
  width: 100%; 
  height: 40vh;
  margin: 60px auto 30px; 
  max-width: 1200px;
  border-radius: 25px 25px 0 0;
  background-image: url(img/pu-main.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#acrylic-top {
  width: 100%; 
  height: 40vh;
  margin: 60px auto 30px; 
  max-width: 1200px;
  border-radius: 25px 25px 0 0;
  background-image: url(img/acrylic-main.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#speaker-top {
  width: 100%; 
  height: 40vh;
  margin: 60px auto 30px; 
  max-width: 1200px;
  border-radius: 25px 25px 0 0;
  background-image: url(img/speaker-main.jpg);
  background-size : cover;
  background-repeat: no-repeat;
  background-position: center center;
}


#ceo {
  
  width: 100%;
  max-width: 1200px;
  margin: 120px auto;
  padding: 120px 30px 0;
}
#cert {
  padding-top: 120px;
}
#history {
  margin: 120px auto 60px;
  padding-top: 120px;
}
#history h1 {
  font-size: 3rem;
}
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: #3cb64d;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .content {
  position: relative;
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
}

.timeline-item .circle {
  width: 10px;
  height: 10px;
  background: #3cb64d;
  border-radius: 50%;
  position: absolute;
  top: 20px;
}

.timeline-item.left .circle {
  right: -26px;
}

.timeline-item.right .circle {
  left: -26px;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item h1 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #333;
}

.timeline-item p {
  margin: 0;
  font-size: 16px;
  color: #666;
}




.carousel-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
}

.carousel-item {
  flex: 0 0 33.333%;
  opacity: 0.5;
  transform: scale(0.8);
  text-align: center;
  transition: all 0.5s ease;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-item a{
  text-decoration: none;
}
.carousel-item img {
  width: 100%;
  
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}

.caption {
  margin-top: 10px;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  background-color: #3cb64d;
  padding: 1rem;
  border-radius: 10px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 20px;
  cursor: pointer;
  z-index: 2;
}

.arrow.prev {
  left: 10vw;
}

.arrow.next {
  right: 10vw;
}

.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #3cb64d;
}




.factory-compare {
  display: flex;
  width: 80vw;
  max-width: 1200px;
  height: 60vh;
 
  overflow: hidden;
  border-radius: 25px;
  margin: 120px auto;
}

.factory-item {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: flex 0.6s ease, filter 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.factory-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  transition: background 0.4s;
}

.factory-item .info {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.factory-item h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #7ae188;
}

.factory-item .desc {
  display: none;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.factory-item:hover {
  flex: 2;
}

.factory-item:hover .desc {
  display: block;
  opacity: 1;
}

.factory-item:hover .overlay {
  background: rgba(0,0,0,0.2);
}

.factory-item:not(:hover) {
  flex: 1;
}

.factory-item:not(:hover) .desc {
  display: none;
  opacity: 0;
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #3cb64d;
}

.contact-card p {
  font-size: 1rem;
  word-break: break-all;
}

.map-section {
  padding: 4rem 1rem;
  background-color: #f5f5f5;
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.map-section p {
  margin-bottom: 2rem;
  color: #555;
  font-size: 1rem;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}




.site-footer {
  background-color: #1e1e1e;
  color: #ddd;
  padding: 2rem 1rem;
  font-size: 0.8rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-left {
  flex: 1 1 200px;
}

.footer-logo {
  width: 70px;
  margin-bottom: 1rem;
}

.footer-right {
  flex: 2 1 300px;
}

.footer-right p {
  margin: 0.3rem 0;
  text-align: left;
}

.footer-right a {
  color: #3cb64d;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.language-select {
  margin-top: 1rem;
  text-align: left;
}

.language-select label {
  margin-right: 0.5rem;
  font-weight: bold;
}

.language-select select {
  padding: 0.4rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* 스크롤 업 버튼 */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 90px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #3cb64d;
  color: white;
  cursor: pointer;
  
  border-radius: 50%;
  

  width: 48px;
  height: 48px;
  font-size: 20px;


  display: none;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #2a9640;
}
/* 오른쪽 하단 고정 버튼 컨테이너 */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 9999;
}

.scroll-top, .language-icon {
  background-color: #3cb64d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  
  transition: background 0.3s;
}

.scroll-top:hover,
.language-icon:hover {
  background-color: #2a9c3a;
}

.language-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 1rem;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 150px;
}

.language-menu a {
  padding: 0.5rem;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.language-menu a:hover {
  color: #3cb64d;
}

.close-lang-menu {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  text-align: right;
  cursor: pointer;
  margin-bottom: 0.5rem;
  align-self: flex-end;
}


.bible-verse {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: #777;
  margin-top: 1.5rem;
  padding: 0;
  line-height: 1.6;
}

.bible-verse span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #aaa;
}
@media (max-width: 768px) {
  body p{
    font-size: 1rem;
  }

  .floating-buttons {
    right: 15px;
    bottom: 20px;

  }

  #scrollToTopBtn {
    right: 70px;
    bottom: 20px;
  
  }

  .language-menu {
    width: 130px;
  }


  nav {
    padding: 0.5rem 1rem;
    align-items: center;
  }
  nav a {
    margin: 0 0.5rem;
    font-size: 0.8rem; 
  }

.logo {
    width: 50px;
    height: auto;
    padding: 0;
    background-color: none;
    border-radius: 0;
  }
.nav-button {
  margin-top: 0;
  margin-right: 0;
}

  .menu-item:hover .submenu {
    display: none;
  }

  .lang-select {
    margin: 1rem 0;
  }


  section {
    padding: 0;
  }
  .container-center-vertical {
    left: 0%;
    width: 100%;
    overflow: hidden; 
    text-align: center;
  }
  .container-center-vertical2 {
    
    width: 100%;
    overflow: hidden; 
    left: 0;
  }
    .main h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  margin-top: 5px;
}
.main h3 {
  font-size: 1.2rem;
  
}


.sub1 h3 {
  font-size: 2rem;
  line-height: 2.6rem;

}


 .sub2 h1 {
  font-size: 2rem;
  line-height: 2.5rem;
  
 }
  .sub2 h3{
      font-size: 1.3rem;
      line-height: 1.8rem;
  }

  .label {
    display: inline-block; 
    align-items: center;
  }
  .grid2-con {
    display: grid;
    grid-template-columns: 1fr;
    width: 80vw;
    
    margin: 0 auto ;
    overflow: hidden;
    
  }
  .fun {
    margin-top: 0;
  }
  .jb-a:hover .jb-c {
    display: block;
    opacity: 0;
  }
  .icons {
    
    grid-template-columns: repeat(2, 1fr);
    gap: 1vw;
    margin: 0 auto;
  }

  .icons div {
    
    padding: 1rem;

  }

  .icons p {
    font-size: 0.8rem;
  }
  .product-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 90vw;
    margin: 0 auto ;
    overflow: hidden;
    gap: 1vw;
    margin-top: 120px;
  }
  .product-box h1 {
    font-size: 1rem;
  }
  .product-box p {
    font-size: 0.8rem;
  }
  .sticky-buttons {
    flex-wrap: wrap;
    width: 100%;
    gap: 0.3rem;
    padding: 0.5rem;
  }
  .sticky-buttons a{
    font-size: 0.8rem;
    line-height: 120%;
    padding: 0.3rem;
    margin: 0;

  }
  .sticky {
    top: 20px;
    padding: 1rem;
  }

  .timeline {
    padding: 50px 0;
  }

  .timeline-item {
    padding: 20px;
  }
  

  .timeline-item h1 {
    font-size: 20px;
  }

  .timeline-item p {
    font-size: 14px;
  }

  .factory-compare {
    flex-direction: column;
    height: auto;
  }

  .factory-item {
    width: 100%;
    height: auto;
    flex: none;
    min-height: 40vh;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
  }

  .factory-item:hover {
    flex: none;
    transform: none;
  }

  .factory-item .overlay {
    display: none; /* 어두운 배경 제거 */
  }

  .factory-item .desc {
    display: block !important;
    opacity: 1 !important;
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .factory-item h2 {
    font-size: 1.8rem;
  }

  .factory-item .info {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    color: #fff;
    text-align: center;
  }

 .arrow {
  top: 40%;
  padding: 10px;
 }

 .caption {
  font-size: 0.8rem;
  padding: 0.5rem;
 }
 .contact-title {
  font-size: 2rem;
}
.contact-card {
  padding: 1.5rem;
}
iframe {
  height: 300px;
}


.footer-container {
  
  text-align: center;
}
.footer-container p {
  font-size: 0.8rem;
}

.footer-left, .footer-right {
  flex: 1 1 100%;
}

.footer-logo {
  margin: 0 auto 1rem;
  width: 70px;
}
}



