/* 별도의 커스텀 reset과 공통 클래스를 지정하는 파일입니다. */

:root {
  --color-primary: #054499;
  --color-secondary: #038a45;
}

.color_primary {
  color: var(--color-primary);
}

@media screen and (max-width: 1480px) {
  html,
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 760px) {
  html,
  body {
    font-size: 12px;
  }
}

/* 공통 클래스 */
.si_inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

@media screen and (max-width: 1420px) {
  .si_inner {
    padding: 0 20px;
  }
}

/* 헤더 */
#si_header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 80px;
  color: #fff;
  display: flex;
  align-items: center;
  transition: 0.3s all ease;
}

#si_header .si_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#si_header .si_gnb ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#si_header .utils {
  display: flex;
  color: #fff;
  align-items: center;
  gap: 30px;
}

#si_header .utils .cta_tell a {
  display: flex;
  align-items: center;
  color: #fff;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
}

#si_header .si_gnb a {
  font-size: 1.125rem;
  color: #fff;
  padding: 24px 20px;
  transition: 0.3s all;
}

#si_header .si_gnb a:hover {
  opacity: 0.7;
}

#si_header .hamburger {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
  width: 24px;
  height: 17px;
  cursor: pointer;
  position: relative;
  text-align: right;
  z-index: 999;
}

#si_header .hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: 0.3s all;
}

#si_header .hamburger span:nth-child(2) {
  width: 18px;
}

#si_header .hamburger:hover span:nth-child(1),
#si_header .hamburger:hover span:nth-child(3) {
  width: 18px;
}

#si_header .hamburger:hover span:nth-child(2) {
  width: 100%;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

#si_header.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#si_header.active .si_gnb a {
  color: #121212;
}

#si_header.active .hamburger span {
  background-color: #121212;
}

#si_header .hamburger.active span {
  background: #fff;
}

#si_header.active .utils {
  color: #121212;
}

#si_header.active .utils img {
  filter: invert(1);
}

#si_header.active .utils .cta_tell a {
  color: #121212;
}

@media screen and (max-width: 1200px) {
  #si_header h1 img {
    width: 70%;
  }

  .cta_tell {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  #si_header .si_gnb a {
    padding: 24px;
  }

  #si_header .si_gnb ul {
    display: none;
  }
}

@media screen and (max-width: 760px) {
  #si_header {
    height: 60px;
  }

  #si_header h1 img {
    width: 80%;
  }

  .si_gnb {
    display: none;
  }
}

/* 사이드 & 모바일 메뉴 */
.side_menu_wrap {
  background: #121212;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: -100vh;
  right: 0;
  transition: top 0.4s ease;
  z-index: 99;
}

.side_menu_wrap.active {
  top: 0;
}

.side_menu_wrap nav {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.side_menu_wrap nav a {
  color: #fff;
  font-size: 2.5rem;
  display: block;
  padding: 12px 0;
  transition: 0.3s all;
}
V .side_menu_wrap nav a:hover {
  color: #fd7430;
}

.side_menu_wrap.active nav {
  opacity: 1;
  transform: translateY(0);
}

/* 푸터 */
#si_footer {
  padding: 80px 0;
  background: #121212;
  color: #fff;
  font-size: 1.125rem;
}

#si_footer .top_bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

#si_footer .top_bar ul {
  display: flex;
  gap: 60px;
}

#si_footer .top_bar a {
  color: #fff;
}

#si_footer .infomation p {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

#si_footer .infomation .copy {
  margin-top: 10px;
  font-size: 1rem;
  color: #999;
}

#si_footer .admin_btn {
  color: #999;
}

@media screen and (max-width: 512px) {
  #si_footer {
    padding: 50px 0;
  }

  #si_footer img {
    width: 40%;
  }

  #si_footer .top_bar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 0;
  }

  #si_footer .top_bar ul {
    margin: 20px 0;
    gap: 20px;
  }

  #si_footer .infomation p {
    flex-direction: column;
    gap: 10px;
  }
}

/*---관리자버튼---*/
.hd_admin {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 999;
  font-size: 1rem;
}
.hd_admin a {
  padding: 0 20px;
  display: inline-block;
  line-height: 40px;
  background: #d12323;
  color: #fff;
}
.hd_admin a:hover {
  background: #ff0000;
}

/* 공통 줄바꿈 */
@media screen and (min-width: 760px) {
  br.br_t {
    display: none;
  }
}

@media screen and (min-width: 512px) {
  br.br_m {
    display: none;
  }
}

/* 이용약관, 개인정보 처리방침 */
.k_pop_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
}

.k_pop_wrap button {
  outline: 0;
  border: none;
  background: #fff;
}

.k_pop_wrap i {
  font-style: normal;
}

.k_pop_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background: #fff;
  box-shadow: 5px 5px 13px rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 20px;
}
.pop_content {
  position: relative;
}
.pop_content h4 {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: -0.045em;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}
.pop_content p {
  max-height: 350px;
  overflow-y: scroll;
  font-size: 14px;
}
.pop_content p i {
  display: block;
}
.pop_content p i b {
  font-weight: 500;
}
.pop_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  z-index: 3;
}
.pop_close span {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #222;
  transition: transform 0.3s;
}
.pop_close span:nth-child(1) {
  transform: rotate(45deg);
}
.pop_close span:nth-child(2) {
  transform: rotate(-45deg);
}
.pop_close:hover span {
  transform: rotate(0);
}

/* 퀵메뉴 */
.quick_inquiry {
  position: fixed;
  right: 80px;
  bottom: 80px;
  z-index: 999;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--color-primary);
}

.quick_inquiry strong {
  color: var(--color-primary);
  display: block;
  padding: 10px 10px 0 10px;
  text-align: center;
}

.quick_inquiry ul {
  padding: 5px;
}

.quick_inquiry ul li {
  padding: 10px 5px;
}

.quick_inquiry ul li img {
  width: 16px;
  height: 16px;
}

.quick_inquiry ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 1.125rem;
  font-weight: 500;
}

.quick_inquiry ul li i {
  font-size: 1.25rem;
}

.quick_inquiry ul li .quick_tell_txt {
  margin-bottom: 5px;
  color: #555;
}

.quick_inquiry ul li .quick_tell_button {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.quick_inquiry .kakao_contact {
 background: #fbe300;
 padding: 5px;
 display: block;
 border-radius: 10px;
 color: #3b1e1e;
}

@media screen and (max-width: 1024px) {
  .quick_inquiry {
    right: 20px;
    bottom: 20px;
  }

  .quick_inquiry ul a {
    padding: 10px;
  }
}

@media screen and (max-width: 512px) {
  .quick_inquiry {
    right: 10px;
    bottom: 10px;
  }

  .quick_inquiry ul li{
    padding: 0;
  }

  .quick_inquiry ul li .quick_tell_button {
    display: none;
  }

  .quick_inquiry ul li b {
    display: none;
  }

  .quick_inquiry ul li i {
    font-size: 1.5rem;
  }
}

/* ------------------ 메인 ------------------  */

/* 메인 공통 */

.main_section {
  position: relative;
  padding: 150px 0;
  line-height: 1.8em;
}

.main_title h2 {
  font-size: 2.875rem;
  font-weight: 700;
  font-family: "Raleway", "pretentious", sans-serif;
  letter-spacing: -0.045em;
}

.main_title p {
  font-size: 1.25rem;
}

.view_more {
  display: inline-flex;
  align-self: center;
  justify-content: space-between;
  width: 190px;
  padding: 10px 20px;
  border-radius: 100px;
  color: #fff;
  background: var(--color-primary);
  transition: 0.3s all;
  font-family: "Raleway";
}

.view_more:hover {
  width: 200px;
  background: var(--color-secondary);
}

@media screen and (max-width: 1024px) {
  .main_section {
    padding: 100px 0;
  }

  .main_title h2 {
    font-size: 2.5rem;
  }

  .main_title p {
    font-size: 1.125rem;
  }

  .view_more {
    width: 160px;
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 512px) {
  .main_section {
    padding: 80px 0;
  }
}

/* 비주얼 */
.main_visual {
  position: relative;
}

.main_visual .main_slide {
  width: 100%;
  height: 920px;
}

.main_visual .swiper-slide {
  width: 100%;
  height: 100%;
}

.main_visual .main_slide_01 {
  background: url("/img/main/main_slide01.jpg") no-repeat center/cover;
}

.main_visual .main_slide_02 {
  background: url("/img/main/main_slide02.jpg") no-repeat center/cover;
}

.main_visual .main_slide_03 {
  background: url("/img/main/main_slide03.jpg") no-repeat center/cover;
}

.main_visual .slide_txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

.main_visual .slide_txt h2,
.main_visual .slide_txt p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.main_visual .slide_txt strong {
  display: inline-block;
  padding: 10px 26px;
  background: #fff;
  color: #121212;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.main_visual .slide_txt h2 {
  font-size: 4.375rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.main_visual .slide_txt p {
  font-size: 1.25rem;
  line-height: 1.8em;
}

.swiper-slide-active .slide_txt h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.swiper-slide-active .slide_txt p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.main_visual .swiper-button-prev,
.main_visual .swiper-button-next {
  width: 60px;
  height: 60px;
  padding: 15px;
  border-radius: 50%;
  border: 1px solid #fff;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.main_visual .swiper-button-prev {
  left: 20px;
  background-image: url("/img/icon/mainvisual_prev.png");
}

.main_visual .swiper-button-next {
  right: 20px;
  background-image: url("/img/icon/mainvisual_next.png");
}

.main_visual .nav-btn::after {
  display: none;
}

.custom-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aaa;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 27%;
  transform: translateX(-50%);
}

.slide-numbers {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 1.25rem;
}

.slide-numbers span {
  position: relative;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.slide-numbers span.active {
  color: #fff;
  opacity: 1;
}

.custom-pagination .progress-bar-wrap {
  opacity: 1;
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
}

.custom-pagination .progress-bar-fill {
  width: 0%;
  height: 2px;
  overflow: 1;
  background: #fff;
  transition: width 0s;
  display: block;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.scroll-text {
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.scroll-line {
  width: 3px;
  height: 90px;
  background: linear-gradient(to bottom, white 50%, transparent 50%);
  background-size: 100% 200%;
  animation: scrollLineAnimReverse 1.5s infinite;
  position: relative;
}

.scroll-line::before {
  width: 3px;
  height: 90px;
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: 0;
  top: 0;
  content: "";
}

@keyframes scrollLineAnimReverse {
  0% {
    background-position: 0 100%;
  }
  100% {
    background-position: 0 0;
  }
}

@media screen and (max-width: 1600px) {
  .main_visual .main_slide {
    height: 800px;
  }

  .custom-pagination {
    top: 30%;
  }

  .main_visual .slide_txt strong {
    padding: 8px 14px;
    font-size: 1.5rem;
  }

  .main_visual .slide_txt h2 {
    font-size: 3.75rem;
  }

  .main_visual .swiper-button-prev,
  .main_visual .swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .main_visual .slide_txt strong,
  .main_visual .slide_txt h2 {
    margin-bottom: 20px;
  }

  .main_visual .slide_txt h2 {
    font-size: 3.25rem;
  }
}

@media screen and (max-width: 768px) {
  .custom-pagination {
    top: 33%;
  }
}

@media screen and (max-width: 512px) {
  .custom-pagination {
    top: 26%;
  }
  .main_visual .main_slide {
    height: 600px;
  }
  .main_visual .slide_txt {
    padding: 0 20px;
  }
}

/* 회사소개 */
.main_company {
  background: #fafafa;
}

.main_company .main_title h2 {
  margin-bottom: 40px;
}

.main_company ul {
  margin-top: 70px;
  display: flex;
  gap: 20px;
}

.main_company ul li {
  width: 100%;
  border-radius: 30px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 60px 50px;
}

.main_company ul li h3 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: "Raleway";
}

.main_company ul li h3 .ko {
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 1.25rem;
}

.main_company ul li p {
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 300;
}

.main_company .txt {
  display: flex;
  justify-content: space-between;
}

.main_company .sub_txt h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5em;
}

.main_company .sub_txt p {
  margin-top: 40px;
  font-size: 1.25rem;
  color: #666666;
  line-height: 1.8em;
}

@media screen and (max-width: 1200px) {
  .main_company ul li {
    padding: 40px;
  }

  .main_company ul li h3 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 1024px) {
  .main_company ul li {
    padding: 30px;
  }

  .main_company .txt {
    display: block;
  }

  .main_company .main_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }

  .main_company .view_more,
  .main_company .main_title h2 {
    margin: 0;
  }

  .main_company ul li h3 {
    font-size: 2rem;
  }

  .main_company .sub_txt p {
    margin-top: 30px;
  }

  .main_company ul li p {
    font-size: 1rem;
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .main_company ul {
    gap: 10px;
  }

  .main_company ul li h3 {
    font-size: 1.75rem;
  }

  .main_company ul li {
    padding: 15px;
    border-radius: 10px;
  }

  .main_company ul li h3 .ko {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 512px) {
  .main_company ul {
    flex-direction: column;
  }

  .main_company .main_title {
    margin-bottom: 30px;
  }
}

/* 제품소개 */
.main_product {
  background: url("/img/main/main_product_bg.jpg") no-repeat top center/cover;
  height: 820px;
}

.main_product .si_inner {
  display: flex;
  height: 100%;
  align-items: center;
}

.main_product .slide_area {
  width: 100%;
  max-width: 1040px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.main_product .product_slide {
  padding: 100px 0;
}

.main_product .main_title h2 {
  margin-bottom: 30px;
}

.main_product .main_title p {
  margin-bottom: 50px;
  font-size: 1.25rem;
  color: #666666;
  line-height: 1.8em;
}

.main_product .product_slider_indicater {
  margin-top: 30px;
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.main_product .total {
  color: var(--color-secondary);
}

.main_product .swiper-pagination-numbers {
  display: flex;
  gap: 20px;
}

.main_product .swiper-button-next,
.main_product .swiper-button-prev {
  position: unset;
  inset: 0;
  margin: 0;
  color: #121212;
}

.main_product .swiper-button-next::after,
.main_product .swiper-button-prev::after {
  display: none;
}

.main_product .swiper-slide {
  width: 100%;
  height: 500px;
  padding: 50px 0;
  border-radius: 30px;
  transition: 0.3s all;
  opacity: 0.3;
}

.main_product .swiper-slide-active,
.main_product .swiper-slide-next {
  opacity: 1;
}

.main_product .swiper-slide-active {
  box-shadow: 25px 43px 50px rgba(0, 0, 0, 0.2);
}

.main_product .swiper-slide:hover {
  border-radius: 300px;
}

.main_product .swiper-slide a {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  height: 100%;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s;
}

.main_product .swiper-slide h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.main_product .swiper-slide-active a,
.main_product .swiper-slide-next a {
  opacity: 1;
  transform: translateY(0);
}

.main_product .swiper-slide.product_01 {
  background: url("/img/main/product_01.png") no-repeat center/cover;
}
.main_product .swiper-slide.product_02 {
  background: url("/img/main/product_02.png") no-repeat center/cover;
}
.main_product .swiper-slide.product_03 {
  background: url("/img/main/product_03.png") no-repeat center/cover;
}
.main_product .swiper-slide.product_04 {
  background: url("/img/main/product_04.png") no-repeat center/cover;
}
.main_product .swiper-slide.product_05 {
  background: url("/img/main/product_05.png") no-repeat center/cover;
}

@media screen and (max-width: 1400px) {
  .main_product {
    height: auto;
    padding-bottom: 0;
  }

  .main_product .view_more {
    align-self: unset;
  }

  .main_product .slide_area {
    position: static;
    max-width: unset;
    transform: none;
    top: unset;
    right: unset;
  }

  .main_product .si_inner {
    display: block;
  }

  .main_product .main_title {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    align-items: flex-end;
    justify-content: space-between;
  }

  .main_product .product_slide {
    margin-top: -50px;
  }

  .main_product .swiper-slide {
    height: 400px;
  }
}

@media screen and (max-width: 512px) {
  .main_product .swiper-slide {
    height: 320px;
  }
}

/* 문의하기 */
.main_contact {
  background: url("/img/main/main_contact_bg.png") no-repeat center/cover;
  max-width: 1680px;
  width: 100%;
  height: 300px;
  border-radius: 150px;
  text-align: center;
  margin: 150px auto;
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main_contact h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 2rem;
}

.main_contact p {
  color: #fff;
  margin-bottom: 30px;
  font-size: 1.25rem;
}

@media screen and (max-width: 1400px) {
  .main_contact {
    width: 90%;
    margin: 0 auto 120px;
  }
}

@media screen and (max-width: 1024px) {
  .main_contact {
    margin: 0 auto 100px;
  }

  .main_contact h2 {
    margin-bottom: 10px;
  }

  .main_contact h2,
  .main_contact p {
    line-height: 1.5em;
  }
}

@media screen and (max-width: 512px) {
  .main_contact {
    margin: 0 auto 80px;
    border-radius: 50px;
  }
}

/* 시공사례 */
.main_project {
  padding: 0;
}

.main_project .main_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main_project ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.main_project ul figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

.main_project ul figure img {
  width: 100%;
}

.main_project ul h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 20px;
}

@media screen and (max-width: 512px) {
  .main_project ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 커뮤니티 */
.main_community .main_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main_community ul {
  border-top: 1px solid #eaeaea;
  margin-top: 30px;
}

.main_community ul li {
  border-bottom: 1px solid #eaeaea;
}

.main_community ul li a {
  display: grid;
  padding: 20px 0;
  gap: 40px;
  grid-template-columns: 440px 1fr;
  align-items: center;
}

.main_community .image_box {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.main_community .image_box img{
display: block;
 width: 100%;
}

.main_community h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.main_community p {
  margin-bottom: 15px;
  color: #666666;
  line-height: 1.5em;
}

.main_community ul span {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  width: 235px;
  height: 38px;
  border: 1px solid #eaeaea;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .main_community ul li a {
  grid-template-columns: 30% 70%;
  gap: 10px;
  }


  .main_community ul span {
    width: auto;
  }


  


}

/* ------------------ 서브 ------------------  */

/* 서브 공통 */
.sub_content_wrap {
  padding: 120px 0;
}

.sub_content_wrap .sub_title h2 {
  text-align: center;
  font-size: 2.5rem;
}

.sub_title {
  margin-bottom: 80px;
}

@media screen and (max-width: 760px) {
  .sub_content_wrap {
    padding: 80px 0;
  }
}

/* 비주얼 */
.sub_visual {
  width: 100%;
  height: 500px;
  background-size: cover;
  color: #fff;
}

.sub_visual .si_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  height: 100%;
}

.sub_visual span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Raleway";
  display: block;
  margin-bottom: 20px;
  letter-spacing: 1em;
}

.sub_visual h2 {
  font-size: 3.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sub_visual p {
  font-size: 1.25rem;
  line-height: 1.8em;
  color: rgba(255, 255, 255, 0.8);
}

.sub_visual.sub_visual_bg01 {
  background: url("/img/sub/sub_visual_01.jpg") no-repeat center/cover;
}

.sub_visual.sub_visual_bg02 {
  background: url("/img/sub/sub_visual_02.jpg") no-repeat center/cover;
}

.sub_visual.sub_visual_bg03 {
  background: url("/img/sub/sub_visual_03.jpg") no-repeat center/cover;
}

.sub_visual.sub_visual_bg04 {
  background: url("/img/sub/sub_visual_04.jpg") no-repeat center/cover;
}

.sub_visual.sub_visual_bg05 {
  background: url("/img/sub/sub_visual_05.jpg") no-repeat center/cover;
}

@media screen and (max-width: 512px) {
  .sub_visual {
    height: 300px;
  }
}

/* 회사소개 */

.sub_company .company_greeting_bg {
  background: url("/img/sub/sub_company_bg.jpg") no-repeat center/cover;
  width: 100%;
  height: 400px;
}

.sub_company .greeting_txt {
  display: flex;
  justify-content: flex-end;
}

.sub_company .greeting_txt > div {
  margin-top: -120px;
  background: #fff;
  padding: 50px;
  width: 60%;
  font-size: 1.125rem;
  line-height: 1.8em;
}

.sub_company .greeting_txt h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sub_company .company_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
}

.sub_company .company_info h3 {
  margin-top: 80px;
  line-height: 1.5em;
  font-size: 1.75rem;
}

.sub_company .company_info h3 strong {
  color: var(--color-primary);
}

.company_map {
  display: flex;
}

.map_txt {
  width: 40%;
  padding: 70px 150px;
  background: var(--color-primary);
  color: #fff;
}

.map_txt h3 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
}

.map_txt h3::after {
  content: "";
  display: block;
  margin-top: 40px;
  width: 30px;
  height: 2px;
  background: #fff;
}

.map_txt ul li {
  padding: 15px 0;
  font-size: 1.25rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.map_txt p {
  margin-top: 30px;
  font-size: 1.125rem;
  line-height: 1.5em;
}

.map_iframe {
  width: 60%;
}

.map_iframe .cont {
  display: none;
}

.map_iframe .root_daum_roughmap_landing {
  width: 100%;
}

@media screen and (max-width: 1600px) {
  .map_txt {
    padding: 80px;
  }
}

@media screen and (max-width: 1200px) {
  .sub_company .company_greeting_bg {
    height: 300px;
  }

  .sub_company .greeting_txt > div {
    width: 80%;
  }

  .company_map {
    flex-direction: column;
  }

  .map_iframe {
    width: 100%;
  }

  .map_txt {
    width: 100%;
    padding: 50px;
  }
}

@media screen and (max-width: 768px) {
  .sub_company .greeting_txt > div {
    width: 95%;
    padding: 30px;
  }

  .sub_company .company_info img {
    width: 100%;
  }

  .map_txt ul li {
    padding: 10px 0;
  }
}

/* 제품소개 */

.sub_product .menu_nav ul {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  font-size: 1.125rem;
  font-weight: 400;
}

.sub_product .menu_nav li a {
  display: block;
  padding: 20px 30px;
  border-bottom: 2px solid #ccc;
  color: #666;
}

.sub_product .menu_nav li a.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.sub_product .sub_product_bg {
  height: 300px;
  border-radius: 150px;
}

.menu_tab_content {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
  word-break: keep-all;
}

.menu_tab_content.show {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.menu_tab_content > h4 {
  font-size: 1.75rem;
  margin-bottom: 50px;
}

.menu_tab_content .image_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.menu_tab_content .image_box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.menu_tab_content .description_box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.menu_tab_content .description_box .description {
  width: 100%;
}

.menu_tab_content .description_box h3 {
  font-size: 1.5rem;
  padding: 20px 0;
  border-bottom: 2px solid #121212;
}

.menu_tab_content .description_box ul {
  display: flex;
  flex-direction: column;
}

.menu_tab_content .description_box ul li {
  padding: 20px;
  border-bottom: 1px solid #ccc;
  line-height: 1.5em;
}

@media screen and (max-width: 960px) {
  .sub_product .menu_nav ul {
    gap: 8px;
    flex-wrap: wrap;
  }

  .sub_product .menu_nav li a {
    padding: 10px 20px;
  }
}

@media screen and (max-width: 768px) {
  .menu_tab_content > h4 {
    margin-bottom: 30px;
  }

  .sub_product .sub_product_bg {
    height: 200px;
  }
  .sub_product .menu_nav ul {
    margin-bottom: 50px;
  }

  .menu_tab_content .info {
    flex-wrap: wrap;
  }

  .menu_tab_content .info .box {
    width: 100%;
  }

  .menu_tab_content .image_box {
    grid-template-columns: repeat(1, 1fr);
  }
}
