@charset "UTF-8";

:root {
  --main-color: #ffa500;
  --main-color2: #ffb347;
}

.title-banner {
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* 텍스트는 기본적으로 가운데 정렬 */
  flex-direction: column;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.about {
  background-image: url(
  "/main/img/about-title.jpg");
}

.intro {
  background-image: url("/main//img/intro-title.jpg");
}
.farm {
  background-image: url("/main//img/farm-title.jpg");
}
.fish {
  background-image: url("/main//img/fish-title.jpg");
}
.gear {
  background-image: url("/main//img/gear-title.jpg");
}
.contact {
  background-image: url("/main//img/contact-title.jpg");
}
.vision {
  background-image: url("/main//img/vision-title.jpg");
}
.about .title-txt h1,
.about .title-txt h3 {
  color: #111;
}
.intro .title-txt h1,
.intro .title-txt h3 {
  color: #111;
}
.fish .title-txt h1,
.fish .title-txt h3 {
  color: #111;
}
.gear .title-txt h1,
.gear .title-txt h3 {
  color: #111;
}
.title-txt {
  width: 100%;
  max-width: 1300px;
  text-align: left; /* 텍스트 왼쪽 정렬 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.title-txt h1 {
  width: 100%;
  font-size: 3rem;
  letter-spacing: -0.5px;
  line-height: 1.8;
  font-weight: 600;
  color: #fff;
}

.title-txt h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.6;
}

/* about */
#about-1 {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  letter-spacing: -0.5px;
}

.small {
  margin-bottom: 0.6em;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: #999;
}
.txt-wrap h2 {
  position: relative;
  margin-bottom: 1.25rem;
  padding-bottom: 5rem;
  font-size: 4.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.txt-wrap p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}
.txt-wrap {
  width: 50%;
  padding: 8rem 0;
}
.img-wrap {
  width: 50%;
  padding-left: 30px;
  overflow: hidden;
  /* border-radius: 30px; */
}
.img-wrap img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  object-fit: cover;
}
.img-wrap:hover img {
  transform: scale(1.05);
}
#about-2 {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  text-align: center;
  /* background-color: #f3f3f3; */
  padding: 5rem;
  letter-spacing: -0.5px;
  border-radius: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#about-2.visible {
  opacity: 1;
  transform: translateY(0);
}

#about-2 h2 {
  font-size: 3.25rem;
  font-weight: 600;
  position: relative;
  color: #0066cc;
}

#about-2 .h2-connector {
  content: "";
  position: relative;
  width: 1px;
  height: 3.75rem;
  background: #999;
  margin: 3rem 0;
}

#about-2 h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 0;
  line-height: 1.6;
}

#about-3 {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  text-align: center;
  background-color: #f3f3f3;
  padding: 5rem;
  letter-spacing: -0.5px;
  border-radius: 30px;
  margin-bottom: 8rem;
}
#about-3 h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.6;
}
.service-list {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin-top: 3rem;
  color: #fff;
}
.service-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  color: #fff;
  padding: 2rem;
}

/* 각 원형 카드별 그라데이션 */
.service-list li:nth-child(1) {
  background: linear-gradient(135deg, #4e944f, #3f5a2a);
}

.service-list li:nth-child(2) {
  background: linear-gradient(135deg, #4d4d4d, #2b2b2b);
}

.service-list li:nth-child(3) {
  background: linear-gradient(135deg, #3b7d74, #285d54);
}
.service-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-list li img {
  width: 90px;
  height: 90px;
  object-fit: contain; /* 이미지 비율 유지 */
  margin-bottom: 15px;
}
.service-list li:nth-child(2) img {
  padding: 0.6rem;
}

.service-list li > div {
  margin-bottom: 2.5rem;
}
.service-list h5 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.17857;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.service-list p {
  margin-top: 15px;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.5px;
}
.service-list li img {
  object-fit: contain; /* 이미지 비율 유지 */
  margin-bottom: 15px;
}

/* intro */
#sub-wrap {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  text-align: center;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 5rem;
  letter-spacing: -0.5px;
}
.intro-bg {
  background-image: url("/main//img/about-bg.jpg");
}
#sub-wrap h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.6;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}
.line {
  font-weight: 700;
  white-space: pre-wrap;
}
#sub-wrap h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0;
  line-height: 1.8;
  letter-spacing: -0.5px;
}
.small-title {
  position: relative;
  color: var(--main-color);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 50px;
}
.small-title:after {
  position: absolute;
  left: 50%;
  bottom: -50%;
  content: "";
  width: 30px;
  height: 2px;
  margin-left: -15px;
  background-color: var(--main-color);
}
.ceo{
padding:8rem;
}

/* vision */
#vision-1 {
  padding: 4rem 2rem;
  text-align: center;
}
#vision-1 h2 {
    position: relative;
    margin-bottom: 1.25rem;
    padding: 4rem;
    font-size: 4.25rem;
    font-weight: 600;
    line-height: 1.3;
}
 
#vision-1 p {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

#vision-2 {
  background: #f9f9f9;
  padding: 5rem 2rem;
}

#vision-2 h3 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  list-style: none;
}

.value-grid li {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  transition: transform 0.3s ease;
  background-color:var(--main-color);
}

.value-grid li:hover {
  transform: translateY(-4px);
}

.value-grid li:nth-child(1) {
  background: linear-gradient(135deg, #1e5f5b, #3a8f8a);
}
.value-grid li:nth-child(2) {
  background: linear-gradient(135deg, #3a6e74, #5aa2a2);
}
.value-grid li:nth-child(3) {
  background: linear-gradient(135deg, #2f6b4f, #65c8a3);
}
.value-grid li:nth-child(4) {
  background: linear-gradient(135deg, #4e7f73, #98d0bd);
}
#vision-3 {
  padding: 4rem 2rem;
  text-align: center;
}

#vision-3 .small {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.5rem;
}

#vision-3 h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

#vision-3 .service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}

#vision-3 .service-list li {
  list-style: none;
  width: 250px;
}

#vision-3 .service-list img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

#vision-3 .service-list h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#vision-3 .service-list p {
  font-size: 0.95rem;
  color: #555;
}

#vision-4 {
  padding: 10rem 2rem;
  text-align: center;
  background-image: url("/main//img/vision-img.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color:#fff;
}

#vision-4 h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

#vision-4 p {
  margin-top: 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* 반응형 */
@media (max-width: 768px) {
#vision-2 {
    padding: 5rem 1rem;
}
 .value-grid {
    grid-template-columns: 1fr;
}
 .value-grid li{
	padding: 1rem;
}

  #vision-3 .service-list {
    flex-direction: column;
    align-items: center;
  }

  #vision-3 .service-list li {
    width: 100%;
    max-width: 300px;
  }
}

/* farm */
.flex-wrap {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  flex-wrap: wrap;
  padding: 5rem 0;
}

.image-box {
  flex: 1;
  width: 800px;
  overflow: hidden;
  height: 550px;
  border-radius: 30px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-box img:hover {
  transform: scale(1.05);
}

.content-box {
  flex: 2;
}

.content-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content-box h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.content-box ul {
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.content-box li {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.content-box li::before {
  content: "✔";
  color: var(--main-color);
  font-size: 0.8em;
  top: 0.5em;
  padding: 10px;
}

.content-box p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-contact {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background-color: var(--main-color2);
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: var(--main-color);
}

.highlight-box {
  background-color: #f5f5f5; /* 연한 회색 */
  padding: 1.5rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  text-align: left; /* 원하면 center로 변경 가능 */
}

/* 반응형 처리 */
@media (max-width: 768px) {
  .title-banner {
    height: 35vh;
  }
   .title-txt h1 {
    font-size: 2.25rem;
   }
   .title-txt h3 {
    font-size: 16px;
  }
  #about-1 {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .txt-wrap {
    width: 100%;
    padding: 4rem 0 2rem;
    text-align: center;
  }

  .txt-wrap h2 {
    font-size: 2.25rem;
    padding-bottom: 2rem;
  }

  .txt-wrap p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .img-wrap {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .img-wrap img {
    width: 90%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  #about-2 {
    padding: 3rem 1rem;
  }

  #about-2 h2 {
    font-size: 2rem;
  }

  #about-2 .h2-connector {
    height: 2.5rem;
    margin: 2rem 0;
  }

  #about-2 h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    padding: 0 1rem;
  }
  #vision-1 h2 {
    font-size: 2.25rem;
    padding: 2rem;
  }
  #sub-wrap {
    padding: 1rem;
  }
  .small-title {
    margin-top: 30px;
  }
	.ceo{
	padding:0;
	}

  .flex-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    gap: 0;
    padding: 2rem 0;
  }

  .image-box {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .image-box img {
    width: 100%; /* 이미지가 부모 요소에 맞춰서 크기가 조정되도록 */
    height: 300px; /* 비율을 유지하면서 크기 조정 */
    object-fit: cover;
  }

  .content-box {
    width: 100%;
    text-align: center;
    padding: 1rem; /* 자식 요소에도 패딩을 추가 */
    box-sizing: border-box; /* padding 포함된 크기 계산 */
  }

  .content-box p {
    padding: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .content-box li {
    text-align: left;
  }
  #sub-wrap h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    letter-spacing: -0.8px;
  }
  #sub-wrap h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 0;
    line-height: 1.6;
    letter-spacing: -0.8px;
    margin-bottom: 30px;
  }
}

/* 견적문의 */
#online-wrap {
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  width: 50%;
  border: 1px solid #ddd;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #d1d1d1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 900px;
}

.form-description {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.required-note {
  font-size: 13px;
  color: #c7000b;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.input-group label {
  font-size: 15px;
  margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
  padding: 10px;
  border: 1px solid #d1d1d1;
  background-color: #f5f5f5;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
}

.input-group textarea {
  height: 150px;
  resize: vertical;
}

.input-group input[type="text"]:focus,
.input-group textarea:focus {
  border-color: #458117;
  outline: none;
}

.privacy-policy {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.privacy-policy ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-policy ul li {
  margin-bottom: 10px;
}

.privacy-policy input[type="checkbox"] {
  margin-right: 5px;
}

.submit-button {
  text-align: center;
  margin-top: 30px;
}

.submit-button button {
  background-color: #458117;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom:5rem;
}

.submit-button button:hover {
  background-color: #3b6e13;
}

.captcha-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.captcha-list li {
  margin-right: 10px;
}

#captcha_img {
  width: 80px;
  display: none;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  #online-wrap {
    width: 90%;
    padding: 3rem 1rem; 
  }

  .form-container {
    padding: 20px;
  }

  .input-group label {
    font-size: 14px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 14px; 
  }

  .submit-button button {
    font-size: 14px;
    padding: 10px 25px;
  }

  .privacy-policy ul {
    font-size: 13px;
  }

  /* 캡차 이미지와 입력 필드를 수평으로 배치 */
  .captcha-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .captcha-list li {
    margin-right: 0;
    margin-bottom: 10px; 
  }

  .input-group {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }

  .input-group input,
  .input-group textarea {
    font-size: 13px;
  }

  .submit-button button {
    font-size: 13px;
    padding: 8px 20px;
  }
}
