.container {
  max-width: 146rem;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 1rem;
  }
}
.com section {
  margin-top: 4rem;
}
.pd section {
  margin-top: 4rem;
}

.combg {
  background-image: url(../../img/combg.jpg);
}
.pdbg {
  background-image: url(../../img/pdbg.jpg);
}
.ntbg {
  background-image: url(../../img/ntbg.jpg);
}
.qtbg {
  background-image: url(../../img/qtbg.jpg);
}
.lcbg {
  background-image: url(../../img/lcbg.jpg);
}

.sublayout {
  width: 100%;
  height: 480px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.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;
}
.top_flow {
  display: flex;
  gap: 0.8rem;
  font-size: 2rem;
  margin-bottom: 6rem;
}

h2.page_title {
  margin-bottom: 2rem;
  position: relative;
  font-size: 2.4rem;
  color: var(--primary-500);
}
h3.com_title {
  color: var(--font_color);
}
.gray_text {
  color: #999;
}

/* pd01 */
.pd_top_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin: 4rem 0;
}
.pd_select_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  padding: 4rem 0;
}
.pd_select a{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pd_select a span{

}
.select_img {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #dedede;
  max-height: 32rem;
  height: 100%;
}
.select_img img {
  width: 100%;
}
.pd_name {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}
.pd_major {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding: 4rem 8rem;
  background-color: var(--primary-500);
  border-radius: 4rem;
  margin-top: 6rem;
}
.pd_major span{
  font-size: 2rem;
  font-weight: 600;
  white-space: nowrap;
  color: white;
}
.pd_major p{
  font-size: 1.8rem;
  font-weight: 400;
  color: white;
}
.pd_bottom_wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 6rem;
}
.pd_bottom_wrap p{
  display: inline-block;
  font-size: 3.2rem;
  font-weight: 600;
}
.pd_bottom_wrap ul li span{
  color: var(--primary-500);
  font-size: 2.2rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}
.pd_bottom_wrap ul li p{
  font-size: 2.2rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}
.pd_check::before {
  content: "\2714";
  color: var(--primary-500);
  margin-right: 8px;
  font-size: 2.2rem;
}
.pd_mid {
  display: flex;
  gap: 6rem;
}
.pd_mid .pd_left p{
  font-size: 3rem;
  font-weight: 600;
}
.pd_mid .pd_left span{
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary-500);
}
.pd_mid .pd_left b{
  display: block;
  margin-top: 4rem;
  font-size: 2.8rem;
  font-weight: 600;
}
.pd_mid img{
  width: 32rem;
}
.pd_major2 {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 2rem 4rem;
  background-color: var(--primary-500);
  border-radius: 2rem;
  margin-top: 4rem;
}
.pd_mid .pd_left .pd_major2 span{
  font-size: 2rem;
  font-weight: 600;
  white-space: nowrap;
  color: white;
}
.pd_mid .pd_left .pd_major2 p{
  font-size: 1.8rem;
  font-weight: 400;
  color: white;
}


@media (max-width: 860px) {
  .pd_top_wrap {
    gap: 2rem;
  }
  .pd_select_wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
  }
  .pd_major {
    flex-direction: column;
    gap: 2rem;
  }
  .pd_mid {
    flex-direction: column;
  }
}

/* -------- com01 --------*/
.com_title {
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--primary-500);
  text-align: center;
  margin-bottom: 4rem;
}
.content_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}
.content_wrap img {
  width: 60%;
  height: 100%;
}
.content_wrap span{
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-500);
}
.content_wrap p{
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
}
.sign_wrap {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  align-items: center;
}
.sign_wrap img {
  max-width: 20rem;
  width: 100%;
}

@media (max-width: 860px) {
  .content_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .main .company_wrap .comapany_article_wrap {
    width: 100%;
  }
  .main .company_wrap .comapany_location_img {
    display: none;
  }
}

/* ----- com02 ------*/
.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;
}
.cer_article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cer_article p{
  font-size: 2rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .cer_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal img {
    max-width: 80%;
  }
}
@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: 30%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  cursor: pointer;
}

/* ----- com04 ---------*/
.com04 p.location{
  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: 100%;
  height: 100%;
  border: 0;
}
.map_content {
  display: flex;
  margin-top: 4rem;
}
.map_content_left, .map_content_right {
  width: 50%;
}
.com04 p{
  font-size: 2rem;
}
.com04 p.num{
  font-size: 3.2rem;
}

@media (max-width:800px) {
  .map_wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}




/* 코멘트 */
.comment {
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 300;
}
li.number {
  margin-bottom: 4rem;
}
li.number b{
  background-color: var(--red-500);
  padding: 0.2rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 2rem;
  color: white;
  margin-right: 1rem;
  vertical-align: center;
  

}
li.number span{
  color: var(--red-500);
  font-size: 2rem;
  font-weight: 600;
  line-height: 2;
}

.manual_title {
  margin-top: 6rem;
  font-size: 4rem;
  font-weight: 600;
}
.manual_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.manual {
  border: 2px solid var(--red-500);
  border-radius: 2rem 0;
}
.manual_head {
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid var(--red-500);
}
.manual_content {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--red-500);
  text-align: center;
  padding: 4rem;
  line-height: 1.5;
}
b.under {
  text-decoration: underline;
}
span.circle {
  display: inline-flex;
  align-items: center;   /* 세로 가운데 */
  justify-content: center; /* 가로 가운데 */
  background-color: var(--red-500);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.8rem;
  color: white;
  margin: 0 0.4rem;
  letter-spacing: -1px; /* 기본보다 1px 좁게 */
  text-align: center;
}

.non_img   {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (max-width: 860px) {
  .pd_title { font-size: 3.4rem; font-weight: 900;
    margin-bottom: 3rem; }
    .pd_content {
      font-size: 1.4rem;
    }
    .feature_title {
      padding: 1rem 2rem;
      font-size: 2rem;
      font-weight: 600;
      white-space: nowrap;
    }
    .feature_top {
      padding: 4rem 4rem 2rem;
    }
    .feature_top li {
      font-size: 1.4rem;
      line-height: 1.5;
    }
    .feature_article {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(2, 2fr);
      gap: 4rem;
    }
    .structure_wrap {
      margin: 6rem 0;
      display: grid;
      grid-template-columns: repeat(1, 4fr);
      gap: 4rem;
    }
}
@media (max-width: 660px) {
  .pd_title { font-size: 2.8rem; font-weight: 900;
    margin-bottom: 3rem; }
    .pd_content {
      font-size: 1.4rem;
    }
    .feature_title {
      padding: 1rem 2rem;
      font-size: 1.6rem;
      font-weight: 600;
    }
    .feature_article {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(1, 3fr);
      gap: 2rem;
    }
    .feature_article article p {
      font-size: 1.4rem;
    }
    .spec_title {
      font-size: 2.8rem;
    }
}

/* ------- notice 고객센터 -------*/
section.section_notice {
  margin-top: 4rem;
  padding: 0px 20px 80px;
  font-family: 'Pretendard', sans-serif;
}

.notice_wrap h2 {
  margin-bottom: 6rem;
}

.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;
}
.not_con section.seciton_notice {
  margin-top: 2rem;
}
.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;
  }
}

/* -------- quote ---------*/


section.section_inquiry {
  padding: 80px 20px;
  margin: 0;
}

.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: 0px 20px 80px;
}
section.section_quote {
  margin-top: 4rem;
}



#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;
    }

}