/* ----- 서브 공통 ----- */
/* 서브 비주얼 */
.sub_visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  color: #fff;
}

.sub_visual.sub_visual_bg01 {
  background-image: url("/img/sub/sub_visual_bg01.jpg");
}
.sub_visual.sub_visual_bg02 {
  background-image: url("/img/sub/sub_visual_bg03.jpg");
}
.sub_visual.sub_visual_bg03 {
  background-image: url("/img/sub/sub_visual_bg02.jpg");
}
.sub_visual.sub_visual_bg04 {
  background-image: url("/img/sub/sub_visual_bg04.jpg");
}
.sub_visual.sub_visual_bg05 {
  background-image: url("/img/sub/sub_visual_bg05.jpg");
}

/* 게시판 페이지 */
.j_section_con {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 0;
  text-align: center;
}

/* 공통 박스 */
.sub_container {
  padding: 120px 0;
}

.s_inner {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

@media screen and (max-width: 1300px) {
  .sub_container,
  .j_section_con {
    padding: 80px 0;
  }
}

@media screen and (max-width: 760px) {
  .sub_container,
  .j_section_con {
    padding: 50px 0;
  }

  .sub_visual {
    height: 200px;
  }
}

/* 타이틀 */
.sub_title {
  text-align: center;
}

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

.sub_title p {
  font-size: 1.25rem;
  margin-bottom: 50px;
}

/* ----- 서브페이지 ----- */
/* 회사소개 */
.sub_company .description_box p {
  line-height: 1.8em;
}

.sub_company .slogan_box {
  width: 100%;
  height: 300px;
  background: url("/img/sub/company_bg.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.sub_company .slogan_box .slogan_txt {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 80px;
  font-weight: 700;
  opacity: 0.1;
  transform: translateX(0%);
}

.sub_company .history_box {
  padding-top: 100px;
}

.sub_company .history_box h3 {
  font-size: 40px;
  text-align: center;
}

.sub_company .history_box ul {
  margin-top: 80px;
  padding-left: 60px;
  border-left: 1px solid #eaeaea;
}

.sub_company .history_box li {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.sub_company .history_box li::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  background: var(--color-primary);
  border-radius: 50%;
  top: 50%;
  left: -68px;
  transform: translateY(-50%);
}

.sub_company .history_box li::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: -65px;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.8;
}

.sub_company .history_box h4 {
  font-weight: 700;
  font-size: 40px;
  color: #121212;
}

.sub_company .history_box p {
  padding: 30px;
  font-size: 20px;
  background: #f7f7f7;
  border-radius: 15px;
}

.sub_company .cert_box {
  margin-top: 80px;
  tect-align: center;
}

.sub_company .cert_box h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 50px;
}

.sub_company .cert_box .image_box {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.sub_company .cert_box .image_box img {
  width: 100%;
}

@media screen and (max-width: 1300px) {
  .sub_company .slogan_box .slogan_txt {
    font-size: 4rem;
  }

  .sub_company .history_box h4 {
    font-size: 32px;
  }

  .sub_company .history_box ul {
    padding-left: 40px;
  }

  .sub_company .history_box li {
    gap: 30px;
  }

  .sub_company .history_box li::before {
    left: -48px;
  }

  .sub_company .history_box li::after {
    left: -45px;
  }
}

@media screen and (max-width: 1080px) {
  .sub_company .description_box p {
    word-wrap: keep-all;
  }

  .sub_company .history_box p {
    padding: 20px;
    font-size: 16px;
    line-height: 1.5em;
  }
}

@media screen and (max-width: 760px) {
  .sub_company .slogan_box {
    height: 200px;
  }

  .sub_company .slogan_box .slogan_txt {
    font-size: 3rem;
  }

  .sub_company .history_box h4 {
    font-size: 28px;
  }

  .sub_company .history_box ul {
    padding-left: 30px;
  }

  .sub_company .history_box p {
    padding: 12px;
  }

  .sub_company .history_box li {
    gap: 20px;
  }

  .sub_company .history_box li::before {
    left: -38px;
  }

  .sub_company .history_box li::after {
    left: -35px;
  }
}

/* 제품소개 */
.sub_product .sub_title {
  margin-bottom: 80px;
}

.sub_product .image_box {
  width: 100%;
  text-align: center;
}

.sub_product .image_box img {
  width: 100%;
}

.sub_product .product_desc {
  margin-top: 80px;
}

.sub_product .product_desc:first-child {
  margin-top: 30px;
}

.sub_product .product_desc h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.sub_product .product_desc p {
  line-height: 1.8em;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.sub_product .product_desc ul {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sub_product .product_desc ul h4 {
  font-weight: 700;
  font-size: 1.75rem;
  margin: 30px 0 20px;
}

.sub_product .product_desc ul p {
  padding: 20px;
  color: #fff;
  background: var(--color-primary);
  font-size: 1.125rem;
}


.sub_product .product_desc .product_moreview {
  display: inline-flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 30px;
  border: 1px solid #eaeaea;
  font-size: 1.125rem;
  margin-top: 50px;
  transition: 0.3s all;
}

.sub_product .product_desc .product_moreview:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.sub_product .product_desc .product_another_list {
  border-top: 2px solid #121212;
  border-bottom: 1px solid #121212;
  gap: 0;
  margin-top: 30px;
}

.sub_product .product_desc .product_another_list ul {
  margin: 0;
}

.sub_product .product_another_list h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.sub_product .product_another_list > li > div {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #121212;
  border-bottom: 1px solid #eaeaea;
}

.sub_product .product_another_list > li .product_info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sub_product .product_another_list > li > ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.sub_product .product_another_list > li > ul.open {
  max-height: 8000px;
  opacity: 1;
}

.sub_product .product_another_list ul li {
  text-align: center;
  padding: 20px;
}

.sub_product .product_another_list ul li img {
  width: 100%;
}

.fa-chevron-down.rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

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

.product_another_list .product_image_box img {
  width: 100%;
}

.product_image_1ea {
  margin-top: 20px;
}

.product_image_1ea img {
  width: 100%;
}

@media screen and (max-width: 760px) {
  .product_another_list .product_image_box {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub_product .sub_title {
    margin-bottom: 50px;
  }
}

/* 사업자모집 컨설팅 */
.sub_business01 .s_inner h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

.sub_business01 .sub_slogan {
  margin-top: 50px;
  text-align: center;
  border-radius: 20px;
  background: url("/img/sub/sub_slogan_bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 40px 0;
  font-size: 1.25rem;
}

.sub_business01 .sub_slogan img {
  display: block;
  margin: 0 auto 20px;
}

.sub_business01 .benefit_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.sub_business01 .benefit_list li {
  width: calc((100% - 60px) / 4);
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub_business01 .benefit_list h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
  font-weight: 500;
}

.sub_business01 .benefit_list p {
  line-height: 1.5em;
}

.sub_business01 .benefit_list b {
  font-weight: 500;
}

.sub_business01 .sub_flow {
  margin-top: 120px;
  padding: 100px 0;
  text-align: center;
  background: url("/img/sub/sub_flow_bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.sub_business01 .sub_flow .s_inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.sub_business01 .sub_flow .title_box {
  text-align: left;
  width: 40%;
}

.sub_business01 .sub_flow .title_box p {
  margin-top: 20px;
  line-height: 1.8em;
  font-size: 1.125rem;
}

.sub_business01 .sub_flow .flow_list {
  display: flex;
  justify-content: center;
}

.sub_business01 .sub_flow .flow_list:last-child {
  margin-top: -30px;
}

.sub_flow .flow_list li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 270px;
  height: 270px;
  background: linear-gradient(
    rgba(255, 255, 255, 0.4),
    rgba(90, 137, 255, 0.1)
  );
  color: #fff;
  border-radius: 50%;
  margin-left: -20px;
  font-size: 1.5rem;
  line-height: 1.5em;
  font-weight: 400;
}

.sub_flow .flow_list li.active {
  background: linear-gradient(rgba(18, 194, 55, 0.9), rgba(255, 255, 255, 0.2));
  color: #fff;
}

.sub_business01 .sub_title h2 {
  font-size: 2.5rem;
}

.sub_business01 .sub_salse {
  margin-top: 120px;
  text-align: center;
}

.sub_business01 .sub_salse h2 {
  margin-bottom: 20px;
}

.sub_business01 .table_box {
  margin-top: 30px;
}

.sub_business01 .supply_table {
  width: 100%;
  border-collapse: collapse;
}

.sub_business01 .supply_table tr {
  border-bottom: 1px solid #eaeaea;
}

.sub_business01 .supply_table th,
.sub_business01 .supply_table td {
  padding: 25px;
  font-size: 1.125rem;
}

.sub_business01 .supply_table th {
  background: #f7f7f7;
  border-top: 1px solid #121212;
  font-weight: 500;
}

.sub_business01 .supply_table td span {
  font-weight: 500;
  color: var(--color-primary);
}

.sub_contact {
  background: url("/img/sub/sub_contact_bg.jpg") no-repeat center/cover;
  padding: 50px 0;
  color: #fff;
  margin-top: 120px;
  text-align: center;
}

.sub_business01 .sub_contact h2 {
  font-size: 1.75rem;
}

.sub_business01 .sub_contact p {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.5em;
}

.sub_business01 .sub_contact .view_btn {
  margin-top: 40px;
}

@media screen and (max-width: 1300px) {
  .sub_business01 .sub_salse img {
    width: 100%;
  }

  .sub_business01 .benefit_list li {
    width: calc((100% - 40px) / 3);
  }

  .sub_business01 .sub_flow .s_inner {
    flex-direction: column;
    align-items: center;
  }

  .sub_business01 .sub_flow .title_box {
    width: 100%;
    text-align: center;
  }

  .sub_business01 .sub_flow .flow_list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sub_business01 .sub_flow .flow_list li {
    margin-left: -10px;
  }
}

@media screen and (max-width: 1080px) {
  .sub_business01 .benefit_list li {
    width: calc((100% - 40px) / 2);
  }

  .sub_flow .flow_list li {
    width: 180px;
    height: 180px;
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 600px) {
  .sub_business01 .sub_slogan {
    margin-top: 30px;
  }

  .sub_business01 .benefit_list li {
    width: 100%;
  }

  .sub_flow .flow_list li {
    width: 110px;
    height: 110px;
  }

  .sub_business01 .supply_table th,
  .sub_business01 .supply_table td {
    padding: 15px;
  }

  .sub_business01 .sub_flow {
    padding: 80px 0;
  }

  .sub_contact,
  .sub_business01 .sub_flow,
  .sub_business01 .sub_salse {
    margin-top: 80px;
  }

  .sub_contact {
    padding: 30px 20px;
  }
}

/* 분양대행 */
.sub_business02 .sales_content {
  margin-top: 80px;
}

.sub_business02 .sales_content:first-child {
  margin-top: 0;
}

.sub_business02 .sales_content h3 {
  padding: 20px 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}

.sub_business02 .sales_content h3::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 5px solid var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
}

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

.sub_business02 .sales_content .image_box img {
  width: 100%;
}

@media screen and (max-width: 760px) {
  .sub_business02 .sales_content .image_box {
    grid-template-columns: repeat(1, 1fr);
  }
}
