/* 지구가족사랑1%운동 */
.sub-content.w1300.family_content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 섹션 간격 */
.family_cont1,
.family_cont2 {
  margin-bottom: 130px;
}

.family_cont3 {
  margin-bottom: 0;
}

/* 이미지 박스 */
.imgBox {
  margin-bottom: 70px;
}

.imgBox img {
  width: 100%;
  height: auto;
  display: block;
}

/* 콘텐츠 박스 */
.contBox {
  margin-bottom: 60px;
}

.contBox h4 {
  font-size: 35px;
  font-weight: 700;
  color: #146e79;
  line-height: 1.4;
  margin-bottom: 40px;
  word-break: keep-all;
}

.contBox p {
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

/* 텍스트 박스 */
.txtBox {
  margin-bottom: 55px;
}

.txtBox h4 {
  font-size: 35px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  word-break: keep-all;
}

.txtBox p {
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

/* 버튼 박스 */
.buttonBox {
  margin-top: 0;
  margin-bottom: 0;
}

.buttonBox a {
  display: block;
  text-decoration: none;
}

.buttonBox .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 30px;
  background-color: #146e79;
  color: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.buttonBox .flex:hover {
  background-color: #0f545d;
}

.buttonBox .flex span {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-right: 25px;
  white-space: nowrap;
}

.buttonBox .flex img {
  width: auto;
  height: auto;
  display: block;
}

.buttonBox .flex.j_c_center {
  justify-content: center;
}

.buttonBox .flex.j_c_center a {
  margin-right: 25px;
}

.buttonBox .flex.j_c_center a:last-child {
  margin-right: 0;
}

/* 테이블 박스 */
.tableBox {
  margin-bottom: 0;
}

.tableBox .flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.tableBox .leftBox,
.tableBox .rightBox {
  flex: 1;
  width: 50%;
}

.tableBox table {
  width: 100%;
  border-collapse: collapse;
}

.tableBox table th {
  background-color: #f7f7f7;
  padding: 17px 0 !important;
  text-align: center;
  border: 1px solid #eaeaea;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.tableBox table td {
  padding: 22px 12px !important;
  text-align: left;
  border: 1px solid #eaeaea;
  font-size: 18px;
  color: #555;
}

.tableBox table * {
  border-color: #eaeaea;
}

.border_t2 {
  border-top: 2px solid transparent;
}

.border_b {
  border-bottom: 1px solid #eaeaea;
}

.border_r {
  border-right: 1px solid #eaeaea;
}

/* 유틸리티 클래스 */
.fs35 {
  font-size: 35px;
}

.fs20 {
  font-size: 20px;
}

.fs18 {
  font-size: 18px;
}

.fw700 {
  font-weight: 700;
}

.fw500 {
  font-weight: 500;
}

.main_color1 {
  color: #146e79;
}

.black_2 {
  color: #333;
}

.black_0 {
  color: #000;
}

.black_5 {
  color: #555;
}

.w_color {
  color: #fff;
}

.main_bgColor1 {
  background-color: #146e79;
}

.lh14 {
  line-height: 1.4;
}

.lh18 {
  line-height: 1.8;
}

.mb130 {
  margin-bottom: 130px;
}

.mb70 {
  margin-bottom: 70px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb55 {
  margin-bottom: 55px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb80 {
  margin-bottom: 80px;
}

.mr25 {
  margin-right: 25px;
}

.flex {
  display: flex;
}

.a_i_center {
  align-items: center;
}

.a_i_start {
  align-items: flex-start;
}

.j_c_center {
  justify-content: center;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .sub-content.w1300.family_content {
    padding: 0 15px;
  }

  .family_cont1,
  .family_cont2 {
    margin-bottom: 60px;
  }

  .imgBox {
    margin-bottom: 40px;
  }

  .contBox {
    margin-bottom: 40px;
  }

  .contBox h4 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .contBox p {
    font-size: 16px;
    line-height: 1.7;
  }

  .txtBox {
    margin-bottom: 40px;
  }

  .txtBox h4 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .txtBox p {
    font-size: 16px;
    line-height: 1.7;
  }

  .buttonBox {
    margin-bottom: 40px;
  }

  .buttonBox .flex {
    padding: 15px 20px;
    min-width: auto;
    width: 100%;
  }

  .buttonBox .flex span {
    font-size: 16px;
    margin-right: 15px;
  }

  .buttonBox .flex img {
    width: 16px;
    height: 16px;
  }

  .buttonBox .flex.j_c_center {
    flex-direction: column;
    gap: 15px;
  }

  .buttonBox .flex.j_c_center a {
    width: 100%;
    margin-right: 0;
  }

  .buttonBox .flex.j_c_center a .flex {
    width: 100%;
  }

  .tableBox .flex {
    flex-direction: column;
    gap: 20px;
  }

  .tableBox .leftBox,
  .tableBox .rightBox {
    width: 100%;
    flex: none;
  }

  .tableBox table th {
    font-size: 16px;
    padding: 15px 0 !important;
  }

  .tableBox table td {
    font-size: 16px;
    padding: 18px 0 !important;
  }

  /* 유틸리티 클래스 모바일 */
  .fs35 {
    font-size: 24px;
  }

  .fs20 {
    font-size: 16px;
  }

  .fs18 {
    font-size: 16px;
  }

  .mb130 {
    margin-bottom: 60px;
  }

  .mb70 {
    margin-bottom: 40px;
  }

  .mb60 {
    margin-bottom: 40px;
  }

  .mb55 {
    margin-bottom: 40px;
  }

  .mb40 {
    margin-bottom: 30px;
  }

  .mb30 {
    margin-bottom: 20px;
  }

  .mb80 {
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .sub-content.w1300.family_content {
    padding: 0 10px;
  }

  .family_cont1,
  .family_cont2 {
    margin-bottom: 40px;
  }

  .imgBox {
    margin-bottom: 30px;
  }

  .contBox {
    margin-bottom: 30px;
  }

  .contBox h4 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contBox p {
    font-size: 14px;
    line-height: 1.6;
  }

  .txtBox {
    margin-bottom: 30px;
  }

  .txtBox h4 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .txtBox p {
    font-size: 14px;
    line-height: 1.6;
  }

  .buttonBox {
    margin-bottom: 30px;
  }

  .buttonBox .flex {
    padding: 12px 15px;
  }

  .buttonBox .flex span {
    font-size: 14px;
    margin-right: 10px;
  }

  .buttonBox .flex img {
    width: 14px;
    height: 14px;
  }

  .tableBox table th {
    font-size: 14px;
    padding: 12px 0 !important;
  }

  .tableBox table td {
    font-size: 14px;
    padding: 15px 0 !important;
  }

  /* 유틸리티 클래스 모바일 */
  .fs35 {
    font-size: 20px;
  }

  .fs20 {
    font-size: 14px;
  }

  .fs18 {
    font-size: 14px;
  }

  .mb130 {
    margin-bottom: 40px;
  }

  .mb70 {
    margin-bottom: 30px;
  }

  .mb60 {
    margin-bottom: 30px;
  }

  .mb55 {
    margin-bottom: 30px;
  }

  .mb40 {
    margin-bottom: 20px;
  }

  .mb30 {
    margin-bottom: 15px;
  }

  .mb80 {
    margin-bottom: 40px;
  }
}

