.primary700 {
  color: var(--primary-700);
}
.border {
  font-weight: 700;
}
.com01 {
  position: relative;
}
.sublayout {
  width: 100%;
  height: 480px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.combg {
  background-image: url(../../img/combg.jpg);
}
.pdbg {
  background-image: url(../../img/pdbg.jpg);
}
.inqbg {
  background-image: url(../../img/inqbg.jpg);
}
.ntbg {
  background-image: url(../../img/ntbg.jpg);
}
.gallbg {
  background-image: url(../../img/gallbg.jpg);
}
.subbg_text {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    width: 80%;
    z-index: 1; /* 중요: 텍스트가 배경 위에 보이도록 */
}
.subbg_text h2{
    font-size: 4rem;
    line-height: 3;
    font-weight: 800;
}
.subbg_text p{
    font-size: 2rem;
    font-weight: 500;
}
.container {
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin: 140px auto 0;
}

h2 {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.5;
}

.sub_tab {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
  position: relative;
}
.sub_tab:after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: #ddd;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}
.sub_tab a{
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--font_color);
  padding: 30px;
  position: relative;
}
.sub_tab a.on{
  color: var(--hover_color);
  border-bottom: 1px solid var(--hover_color);
}
.sub_tab a.on:after{
  content: '';
  width: 100%;
  height: 2px;
  background-color: var(--hover_color);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.section_order {
  margin-bottom: 0 !important;
}
.section_order .order_wrap{
  width: 100%;
  text-align: center;
  padding: 4rem 0;
  background-color: var(--primary-500);
  color: white;
  font-size: 3rem;
  font-weight: 500;
}
.mid_img  {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mo_title {
  display: none;
  text-align: center;
  font-size: 2.4rem;
  color: #666;
}

@media (max-width:1440px) {
  .container {
    max-width: 1440px;
    width: 100%;
    height: 100%;
    padding: 0 2rem;
    margin: 140px auto 0;
  }
}
@media (max-width:1340px) {
  .sub_tab a{
    font-size: 1.4rem;
  }
}
@media (max-width:1170px) {
  .container {
    margin: 40px auto 0;
  }
  .sub_tab{
    display: none;
  }
  .mo_title {
    display: block;
  }
}
/* @media (max-width:680px) {
  .sub_tab a{
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--font_color);
    padding: 20px 10px;
    position: relative;
  }
} */


/* 회사소개 com01 CEO 소개 */
.com01 .section01{
  width: 100%;
}

.com01 .section01 h2 {
  text-align: center;
  margin-bottom: 40px;
}
.com .section01 h2 {
  text-align: center;
  margin-bottom: 40px;
}
.com01 .section01 img {
  width: 50%;

}
.com01 .section01 .content_wrap {
  display: flex;
  gap: 4rem;
}
.com01 .section01 .content_wrap p{
  font-size: 1.8rem;
  line-height: 1.5;
}

@media (max-width:980px) {
  .com01 .section01 img {
    width: 100%;
  
  }
  .com01 .section01 .content_wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}
/* 회사소개 com02 연혁 */

#timeline_section .timeline_container {
  position: relative;
  width: 900px;
  margin: 140px auto;
}

#timeline_section .timeline_line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #999;
  transform: translateX(-50%);
}

#timeline_section .timeline_block {
  display: flex;
  align-items: flex-start;
  margin: 60px 0;
}

#timeline_section .timeline_left,
#timeline_section .timeline_right {
  width: calc(50% - 30px);
  font-size: 14px;
  position: relative;
}
#timeline_section .timeline_left .timeline_img {
  position: absolute;
  top: 50%;
  right: -170%;
  transform: translateY(calc(-50% + 3.8rem));
}
#timeline_section .timeline_right .timeline_img {
  position: absolute;
  top: 50%;
  left: -170%;
  transform: translateY(calc(-50% + 3.8rem));
}
#timeline_section .timeline_img {
  width: auto;     /* 혹시 있다면 고정 width 제거 */
  max-width: 100vw; /* 💡 화면 기준으로 줄어들 수 있게 */
  overflow: hidden;
}
#timeline_section .timeline_img img {
  max-width: 60rem;
  max-height: 33rem;
  width: 100%;
  height: auto;
  display: block;
}


#timeline_section .timeline_left {
  text-align: right;
  padding-right: 40px;
}

#timeline_section .timeline_right {
  text-align: left;
  padding-left: 40px;
}

#timeline_section .timeline_center {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#timeline_section .marker {
  width: 2.4rem;
  height: 2.4rem;
  background-color: #00A84F;
  transform: rotate(45deg);
  margin-top: 0;
}

#timeline_section .year_label {
  font-weight: 800;
  font-size: 3.2rem;
  margin-bottom: 3.8rem;
  color: var(--hover_color);
  white-space: nowrap;
}

#timeline_section .items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#timeline_section .item_row {
  display: flex;
  gap: 4rem;
  line-height: 2.8;
  font-size: 2rem;
}

/* ✅ 오른쪽 항목 (year → text) */
#timeline_section .items.right .item_row {
  flex-direction: row;
  justify-content: flex-start;
}

/* ✅ 왼쪽 항목 (text → year) */
#timeline_section .items.left .item_row {
  flex-direction: row;
  justify-content: flex-end;
}

#timeline_section .year {
  color: #666;
  font-weight: 600;
  white-space: nowrap;
}

#timeline_section .text {
  white-space: nowrap;
}

@media (max-width:1440px) {
  #timeline_section .timeline_left .timeline_img {
    position: absolute;
    top: 50%;
    right: -130%;
    transform: translateY(calc(-50% + 3.8rem));
  }
  #timeline_section .timeline_right .timeline_img {
    position: absolute;
    top: 50%;
    left: -140%;
    transform: translateY(calc(-50% + 3.8rem));
  }
  #timeline_section .timeline_img img {
    max-width: 50rem;
    max-height: 27rem;
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 1050px) {
  #timeline_section .timeline_container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 140px auto;
  }
  /* ✅ 세로선, 마커 숨기기 */
  #timeline_section .timeline_line,
  #timeline_section .marker {
    display: none;
  }

  /* ✅ 블럭: 양쪽 지그재그 배치 유지 */
  #timeline_section .timeline_block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 30px 0;
  }

  /* ✅ 양쪽 블럭 비율 동일하게 유지 (DOM은 유지!) */
  #timeline_section .timeline_left,
  #timeline_section .timeline_right {
    width: 90%;
    padding: 0;
    font-size: 1.8rem;
  }

  /* ✅ 양쪽 정렬 분리 */
  #timeline_section .timeline_left {
    text-align: right;
  }
  #timeline_section .timeline_right {
    text-align: left;
  }
  

  /* ✅ 아이템 정렬 통일 (연도 → 텍스트) */
  /* #timeline_section .items.left .item_row,
  #timeline_section .items.right .item_row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
    line-height: 2.2;
  } */

  /* ✅ 줄바꿈 허용 + 연도 최소 너비 보정 */
  #timeline_section .text {
    white-space: normal;
  }
  #timeline_section .year {
    min-width: 4rem;
    font-weight: 600;
    white-space: nowrap;
  }

  /* ✅ 이미지 완전 제거 */
  #timeline_section .timeline_img {
    display: none !important;
  }
  
  #timeline_section .timeline_right.empty_right,
  #timeline_section .timeline_left.empty_left {
    display: none !important;
  }
  #timeline_section .timeline_center {
    display: none;
  }
}


/* com03 */
.cer_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4등분 */
  gap: 4rem; /* 이미지 간격 */
  padding: 4rem 0;
}

.cer_wrap img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .cer_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cer_wrap {
    grid-template-columns: 1fr;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  cursor: pointer;
}


/* com04 */
.com04 p {
  font-size: 2rem;
  text-align: center;
}
.map_wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 4rem auto 0;
}

.map_wrap iframe {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  border: 0;
}

@media (max-width:800px) {
  .map_wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}




/* 제품소개*/
.pd01 .section01 {
  width: 100%;
  height: 800px;
  background-color: #eeeeee;
}
.pd01 .section01 .container{
  margin: 0px auto 80px;
  padding-top: 140px;
}
.pd01 .section02 .container{
  margin: 140px auto 80px;
}
.pd01 
.top_content {
  display: flex;
  justify-content: space-between;
}
.text_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 40px;
}
.text_wrap h2 {
  font-size: 4.2rem;
  line-height: 6rem;
  font-weight: 800;
  color: var(--font_color);
}
.text_wrap span{
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 2;
}
.content_text span{
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 2;
  color: var(--primary-700);
}
.content_text span.point_title {
  padding: 1.2rem 2.4rem;
  color: white;
  background-color: var(--primary-700);
  border-radius: 1rem;
  font-size: 2.4rem;
  display: inline-block;
  font-weight: 500;

  margin-bottom: 10px;
}
.text_wrap p, .text_wrap ul{
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
}
.content_text p{
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
}

.icon_wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 620px;
}
article.icon {
  width: 300px;
  height: 300px;
  background-color: white;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  border-radius: 12px;
  transition: 0.5s;
}
article.icon:hover {
  background-color: var(--icon_hover_color);
}
article.icon h3 {
  font-size: 2.4rem;
  line-height: 3rem;
  font-weight: 600;
  color: var(--font_color);
  text-align: center;
}
article.icon p {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--font_color);
  text-align: center;
}
article.icon:hover h3{
  color: white;
}
article.icon:hover p{
  color: white;
}
.icon_img {
  width: 100px;
  height: 100px;
}
.point_title {
  padding: 1.2rem 2.4rem;
  color: white;
  background-color: var(--primary-700);
  border-radius: 1rem;
  font-size: 2.4rem;
  display: block;
  font-weight: 500;
}
.bottom_content_wrap p {
  font-size: 2rem;
  
}
.pd_title {
  text-align: center;
  width: 100%;
  padding: 2rem 0;
  background-color: var(--primary-700);
  color: white;
}
.section02 .pd_title h2 {
  color: white;
} 


.i_img01 {
  background-image: url(../../img/icon01.png);
  width: 100px;
}
article.icon:hover .i_img01 {
  background-image: url(../../img/icon01_h.png);
}
.i_img02 {
  background-image: url(../../img/icon02.png);
  width: 100px;
}
article.icon:hover .i_img02 {
  background-image: url(../../img/icon02_h.png);
}
.i_img03 {
  background-image: url(../../img/icon03.png);
  width: 100px;
}
article.icon:hover .i_img03 {
  background-image: url(../../img/icon03_h.png);
}
.i_img04 {
  background-image: url(../../img/icon04.png);
  width: 100px;
}
article.icon:hover .i_img04 {
  background-image: url(../../img/icon04_h.png);
}
.i_img05 {
  background-image: url(../../img/icon05.png);
  width: 100px;
}
article.icon:hover .i_img05 {
  background-image: url(../../img/icon05_h.png);
}
.i_img06 {
  background-image: url(../../img/icon06.png);
  width: 100px;
}
article.icon:hover .i_img06 {
  background-image: url(../../img/icon06_h.png);
}
.i_img07 {
  background-image: url(../../img/icon07.png);
  width: 100px;
}
article.icon:hover .i_img07 {
  background-image: url(../../img/icon07_h.png);
}
.i_img08 {
  background-image: url(../../img/icon08.png);
  width: 100px;
}
article.icon:hover .i_img08 {
  background-image: url(../../img/icon08_h.png);
}
.i_img09 {
  background-image: url(../../img/icon09.png);
  width: 100px;
}
article.icon:hover .i_img09 {
  background-image: url(../../img/icon09_h.png);
}
.i_img10 {
  background-image: url(../../img/icon10.png);
  width: 100px;
}
article.icon:hover .i_img10 {
  background-image: url(../../img/icon10_h.png);
}
.i_img11 {
  background-image: url(../../img/icon11.png);
  width: 100px;
}
article.icon:hover .i_img11 {
  background-image: url(../../img/icon11_h.png);
}
.i_img12 {
  background-image: url(../../img/icon12.png);
  width: 100px;
}
article.icon:hover .i_img12 {
  background-image: url(../../img/icon12_h.png);
}
.i_img13 {
  background-image: url(../../img/icon13.png);
  width: 100px;
}
article.icon:hover .i_img13 {
  background-image: url(../../img/icon13_h.png);
}
.i_img14 {
  background-image: url(../../img/icon14.png);
  width: 100px;
}
article.icon:hover .i_img14 {
  background-image: url(../../img/icon14_h.png);
}
.i_img15 {
  background-image: url(../../img/icon15.png);
  width: 100px;
}
article.icon:hover .i_img15 {
  background-image: url(../../img/icon15_h.png);
}
.i_img16 {
  background-image: url(../../img/icon16.png);
  width: 100px;
}
article.icon:hover .i_img16 {
  background-image: url(../../img/icon16_h.png);
}

@media (max-width:1440px) {
  .text_wrap h2 {
    font-size: 4.2rem;
    line-height: 6rem;
    font-weight: 800;
    color: var(--font_color);
    text-align: center;
  }
}
@media (max-width:1160px) {
  .pd01 .section01 .container{
    margin: 0px auto 40px;
    padding-top: 40px;
  }
  .text_wrap h2 {
    font-size: 3rem;
    line-height: 4rem;
    font-weight: 800;
    color: var(--font_color);
    text-align: center;
  }
  .pd01 .section01 {
    width: 100%;
    height: auto;
    background-color: #eeeeee;
    padding-bottom: 2rem;
  }
  .top_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
}

@media (max-width:680px) {
  article.icon {
    max-width: 600px;
    max-height: 600px;
    width: 100%;
    height: 100%;
  }
}

/* pd01  */
.section02 h2 {
  font-size: 4.2rem;
  line-height: 6rem;
  font-weight: 800;
  color: var(--font_color);
  text-align: center;
}

.comparison_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.4rem;
  max-width: 120rem;
  margin: 4rem auto;
  font-family: 'Pretendard', sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.column {
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
  padding: 0 0 1.6rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.column .head {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 1.6rem;
  color: #fff;
  padding: 1.6rem 0;
  width: 100%;
  border-radius: 1.6rem 1.6rem 0 0;
  line-height: 1.4;
}

.column .head.gray {
  background: #888;
}

.column .head.green {
  background: var(--primary-500)
}

.column > div:not(.head):not(.vs_text) {
  padding: 1rem 0;
  width: 100%;
  font-size: 1.8rem;
}

.column .weak {
  color: #d00000;
  font-weight: 500;
}

.column .strong {
  color: #007700;
  font-weight: 600;
}
.column.right{
  font-weight: 600;
}

.column .crop {
  font-style: italic;
  font-size: 1.4rem;
}

@media (max-width: 820px) {
  .comparison_grid {
    grid-template-columns: 1fr;
  }
}


/* ✅ 가운데 VS 전용 스타일 */
.vs_text {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  padding: 6rem 0;
}

.pd01 .section03 .content_wrap {
  display: flex;
  justify-content: space-between;
}
.pd01 .section03 .content_wrap img{
  max-width: 70rem;
  width: 100%;
}
.pd01 .section03 .content_wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.pd01 .section03 .content_wrap .content_text_wrap{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (max-width:1440px) {
  .pd01 .section03 .content_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 2rem;
  }
}


.pd_content_wrap{
  display: flex;
}
.pd_content_wrap img{
  width: 40%;
  height: 40rem;
}
.pd_content_wrap .pd_content{
  width: 60%;
  background-color: #eee;
  padding: 40px 120px;
}
.pd_content_wrap .pd_content ul{
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 2;
}
.pd_content_wrap .pd_content ul li{
  list-style: disc;
  padding-left: 1rem; 
}
.pd_content_wrap .pd_content ul li.border{
  font-weight: 700;
}
.pd_icon_wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  margin-top: 6rem;
}
.pd_icon_wrap .pd_icon{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.pd_icon_wrap .pd_icon .pd_icon_img{
  background-color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  width: 16rem;
  height: 16rem;
}
.pd_icon_wrap .pd_icon .pd_icon_img img{
  width: 10rem;
  height: 10rem;
}
.pd_icon_wrap .pd_icon .pd_icon_text {
  font-size: 2.4rem;
  line-height: 1.5;
  text-align: center;
}
.pd_icon_wrap .pd_icon .pd_icon_text span{
  font-weight: 600;
}

@media (max-width:1260px) {
  .pd_content_wrap .pd_content{
    width: 60%;
    background-color: #eee;
    padding: 40px 30px;
  }
  
  .pd_content_wrap .pd_content ul{
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2;
  }
}
@media (max-width:1160px) {
  .pd_icon_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin-top: 6rem;
  }
}
@media (max-width:770px) {
  .pd_content_wrap{
    display: flex;
    flex-direction: column;
  }
  .pd_content_wrap img{
    width: 100%;
    height: 40rem;
  }
  .pd_content_wrap .pd_content{
    width: 100%;
    background-color: #eee;
    padding: 20px 30px;
  }
  .pd_content_wrap .pd_content ul{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
  }
  .pd_icon_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    margin-top: 6rem;
  }
  .layer_wrap .layer_detail_text  {
    min-width: auto;
  }
}

/* pd02 */
.layer_wrap  {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 6rem;
}

/* .layer_wrap .layer_content  {
  display: flex;
}
.layer_wrap .layer_content .layer_detail_img .detail_title{
  background-color: var(--primary-700);
  color: white;
  padding: 1.4rem 0;
  text-align: center;
  font-size: 3.2rem;
  font-weight: 600;
} */
.layer_wrap .layer_detail_img_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}


.layer_wrap .layer_detail_img img {
  height: 50rem;
}
.layer_wrap .layer_content_wrap {
  display: flex;
  gap: 1rem 8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.layer_wrap .layer_img  {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 70rem; /* 필요 시 최대 너비 제한 */
}
.layer_wrap .layer_img img {
  width: 100%;
  height: auto;
  display: block;
}
.layer_wrap .layer_3d_img  {
  display: flex;
  align-items: center;
  position: relative;
}
.layer_wrap .layer_3d_img img{
  max-width: 66rem;
  width: 100%;
}
.layer_wrap .layer_img .layer_name{
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-700);
  color: white;
  padding: 1rem 2rem;
  font-size: 2.4rem;
  font-weight: 500;
}

.layer_wrap .layer_img .fire_wrap {
  position: absolute;
  width: 8rem;
  height: 10rem; /* 글자까지 포함한 전체 높이 */
  bottom:2rem;
  left: 2rem;
}

.layer_wrap .layer_img .fire {
  position: absolute;
  bottom: 2rem; /* 텍스트 공간 확보 */
  left: 2rem;
  width: 8rem;
  height: 8rem;
  background-color: white;
  border-radius: 50%;
  border: 2px solid #666;
  padding: 1rem;
  overflow: hidden; /* 선 잘리게 */
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

.layer_wrap .layer_img .fire.with_line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 141%;
  height: 2px;
  background-color: #666;
  transform: rotate(45deg);
  transform-origin: top left;
  pointer-events: none;
}

.layer_wrap .layer_img .fire_label {
  position: absolute;
  top: 100%; /* 원 아래에 붙이기 */
  left: 6rem;
  transform: translate(-50%, -1.4rem);
  font-size: 2rem;
  color: var(--font_color);
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
}

.layer_wrap .layer_detail_text  {
  min-width: 66rem;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 2;
}
.layer_wrap .layer_detail_text span {
  font-size: 3rem;
  line-height: 3;
}
.horizontal_list {
  padding: 0;
  margin: 0;
  list-style: none; /* 기본 점 제거 */
}

.horizontal_list li {
  display: inline-block;
  min-width: 66rem;
}

@media (max-width:1440px) {
  .horizontal_list li {
    display: block;
  }
  
}
@media (max-width:770px) {

  .layer_wrap .layer_detail_text  {
    min-width: auto;
    width:100%;
  }
  
}
/* pd03 */
.text_title {
  margin-bottom: 4rem;
}
.text_title:nth-child(2) {
  margin-top: 8rem;
  margin-bottom: 2rem;
}
.text_title h2{
  font-size: 4.2rem;
  line-height: 6rem;
  font-weight: 800;
  color: var(--font_color);
  text-align: center;
}

/* 상세페이지 */
#section_new01 {
  margin-top: 20rem;
}
#section_new01 h2{
  font-size: 5.4rem;
  line-height: 3;
  font-weight: 800;
}
#section_new01 .container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#section_new01 .container img {
  max-width: 105rem;
  width: 100%;
}
#section_new02 {
  margin-top: 20rem;
}
#section_new02 h2{
  font-size: 5.4rem;
  line-height: 3;
  font-weight: 800;
}
#section_new02 .container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
#section_new02 .container img {
  max-width: 105rem;
  width: 100%;
}


/* 홍보센터 */
/* 모달 전체: 정중앙 정렬 + 배경 클릭 가능 */
.video_modal[hidden] { display: none; }
.video_modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.6);   /* 바깥 영역 클릭 닫기용 영역 */
}

/* 콘텐츠 박스: 화면의 70% */
/* === YouTube modal 강제 사이즈 & 중앙 정렬 === */
.video_modal[hidden]{display:none;}
.video_modal{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.6);
}

/* 화면의 70% 박스, 16:9 비율, 중앙 */
.video_modal[hidden]{display:none;}
.video_modal{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.6);
}

/* 핵심: 한 쪽만 계산하고, 나머지는 aspect-ratio로 맞춤 */
/* 오버레이 + 중앙 정렬 */
.modal2 { 
  position: fixed; inset: 0; z-index: 9999;
  display: none;                      /* 기본 숨김 */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.6);
}
.modal2.is_open { display: flex; }

/* 콘텐츠 박스: 항상 16:9, 화면의 최대 70% */
.modal_content{
  width: min(70vw, calc(70vh * 16 / 9));
  aspect-ratio: 16 / 9;
  background:#000; 
  border-radius:12px; 
  overflow:hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 0;                         /* 내부 여백 제거 */
}

/* iframe을 박스 꽉 채우기 (전역 규칙 덮어쓰기) */
.modal_content iframe{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  border:0 !important;
}

/* 닫기 버튼 */
.close_btn{
  position:absolute; right:10px; top:8px;
  font-size:28px; line-height:1;
  background:none; border:0; color:#fff; cursor:pointer;
}

/* 모바일 보정 */
@media (max-width:640px){
  .modal_content{ width: min(92vw, calc(60vh * 16 / 9)); }
}



/* 폴백 링크 */
.yt_fallback { margin-top: 10px; font-size: 14px; color: #00A0A7; text-decoration: underline; }

.gallery_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4등분 */
  gap: 4rem; /* 이미지 간격 */
  padding: 4rem 0;
}

.gallery_wrap img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: cover;
}
.gallery_text {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1.6rem;
  font-weight: 500;
}
.gallery_title {
  max-width: 25rem;
  width: 100%;
  white-space: nowrap;        /* 줄바꿈 없이 한 줄 표시 */
  overflow: hidden;           /* 넘치는 부분 숨김 */
  text-overflow: ellipsis;    /* 말줄임표(...) 적용 */
}
.gallery_date {
  max-width: 8rem;
  width: 100%;
}
@media (max-width: 1024px) {
  .cer_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cer_wrap {
    grid-template-columns: 1fr;
  }
  .gallery_wrap {
    grid-template-columns: 1fr;
  }
}



/* 문의 사항*/

.section_inquiry {
  padding: 80px 20px;
}

.section_inquiry h2 {
  text-align: center;
}
.section_quote h2 {
  text-align: center;
}

.inquiry_wrap {
  width: 100%;
  margin: 4rem auto 0;
  background-color: white;
  padding: 0;
  border-top: 1px solid #222;
}

.inquiry_form {
  width: 100%;
}


/* 각 행 - 라벨 + 필드 구조 */
.inquiry_form .form_row {
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  padding: 12px 0;
}

.inquiry_form .form_row:first-child {
  border-top: none;
}
.inquiry_form .form_row:nth-last-child(2){
  border-bottom: 1px solid #ddd;
}

/* 라벨 (좌측 고정 너비) */
.inquiry_form label {
  padding: 2rem 0;
  width: 20rem;
  min-width: 120px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-right: 10px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
}

/* 인풋, 텍스트에어리어, 셀렉트 */
.inquiry_form input,
.inquiry_form textarea,
.inquiry_form select {
  flex: 1;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

/* 포커스 효과 */
.inquiry_form input:focus,
.inquiry_form textarea:focus {
  border-color: var(--primary-300);
  outline: none;
}

/* 텍스트에어리어 고정 높이 */
.inquiry_form textarea {
  height: 150px;
  resize: vertical;
}

/* 파일 입력 */
.inquiry_form input[type="file"] {
  font-size: 14px;
  padding: 8px 0;
}

/* 버튼 */
.inquiry_form button {
  background-color: var(--primary-500);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: 10px;
}

.inquiry_form button:hover {
  background-color: var(--primary-700);
}

/* 버튼 행 정렬 */
.inquiry_form .form_row:last-child {
  justify-content: center;
  border: none;
  padding-top: 30px;
}

/* 견적 문의 섹션 */
.section_quote {
  padding: 80px 20px;
}



#name,
#email,
#phone {
  flex: none;
  width: 100%;
  max-width: 400px;
}
#quote_name,
#quote_email,
#quote_phone {
  flex: none;
  width: 100%;
  max-width: 400px;
}

@media (max-width:640px) {

    #name,
    #email,
    #phone {
      flex: none;
      width: auto;
      max-width: auto;
    }
    #quote_name,
    #quote_email,
    #quote_phone {
      flex: none;
      width: auto;
      max-width: auto;
    }

}

/* 고객센터 */
.section_notice {
  padding: 80px 20px;
  font-family: 'Pretendard', sans-serif;
}

.notice_wrap h2 {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.notice_table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 16px;
  margin-top: 2rem;
}

.notice_table thead th {
  font-weight: 700;
  padding: 14px 10px;
  border-bottom: 2px solid #222;
}

.notice_table tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid #ccc;
}

.notice_table tbody tr:hover {
  background-color: #f9f9f9;
  transition: background-color 0.2s;
}
.notice_table .t1 {
  width: 10%;
}
.notice_table .t2 {
  width: 50%;
}
.notice_table .t3,
.notice_table .t4 {
  width: 20%;
}

.not_con .container {
  margin: 0 auto 60px;
}

.inq_content {
  margin-top: 4rem;
}

.notice_view {
  font-size: 16px;
  line-height: 1.6;
}

.notice_header {
  background-color: #ddd;
  font-weight: bold;
  padding: 15px;
  border-bottom: 2px solid #555;
}

.notice_file {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.notice_body {
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

.notice_footer {
  text-align: center;
  padding: 20px;
}

.notice_footer button {
  padding: 8px 20px;
  border: 1px solid #555;
  background: white;
  cursor: pointer;
}
.notice_view .notice_file a.n_down { 
  background-color: #dedede; 
  border: 1px solid #666; 
  padding: 0.2rem 1rem;
  margin-left: 1rem;
 }


@media (max-width:640px) {
  .notice_table {
    font-size: 14px;
  }
  .notice_table thead th {
    padding: 14px 4px;
  }
}

/* 스와이퍼 */
.swiper-button-prev,
.swiper-button-next {
  width: 30px;
  height: 30px;
  background: none;     /* ✅ 배경 제거 */
  border: none;         /* ✅ 테두리 제거 */
  border-radius: 0;     /* ✅ 둥글기 제거 */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

/* Swiper 기본 아이콘 제거 */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* ◀ 왼쪽 삼각형 */
.swiper-button-prev::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 28px solid rgba(43, 107, 51, 0.8);
}

/* ▶ 오른쪽 삼각형 */
.swiper-button-next::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 28px solid rgba(43, 107, 51, 0.8);
}

/* 위치 조정 예시 */
.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

