/* sub1 회사소개 */
.sub1_sect1 {
  background-image: url('../images/sub1_sect1.webp');
  height: 43vh;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sub1_sect2_box {
  padding: 24px;
  width: 340px;
  cursor: unset;
  /*min-height: 400px;*/
  min-height: 450px;
}
.sub1_sect2_box_title {
  height: 83px;
}
.sub1_sect2 {
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.068);
  background: white;
}

.sub1_sect3 {
  position: relative;
  background: #f6f6f6;
}

.sub1_sect2_box_txt{
  height: 105px;
  /*padding: 0 10px;*/
}
.sub1_sect2_box img{
  width:134px;
  height: 150px;
  object-fit: cover;
}

/* sub2 전기차충전기 */
.sub2_sect1 {
  background-image: url('../images/sub2.webp');
  height: 43vh;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sub2_sect2_box {
  width: 26%;
}

.sub2_sect2_box img {
  width:100%;
  border: 2px solid #fff;
  transition: all 0.3s ease-in-out;
}

.sub2_sect2_box img:hover {
  border: 2px solid #3a7cfd;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.popup {
  background-color: transparent;
  max-width: 73%;
  max-height: 780px;
  margin: auto;
  margin-top: 75px;
}

.popup-header {
  display: flex;
  margin-bottom: 15px;
}

.popup-title {
  width: 100%;
  position: relative;
}

.popup-content {
  background-color: white;
  padding: 20px;
  /* overflow-y: scroll;
  overflow-x: hidden; */
  border-radius: 20px;
  height: 75vh;
}

.popup-desc {
  flex: 1; /* 남은 공간 모두 차지 */
  overflow-y: scroll;
  overflow-x: hidden;
}

.popup-desc::-webkit-scrollbar {
  width: 8px;
}

.popup-desc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.popup-desc::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.popup-desc::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.pop_table_area div {
  min-height: 75px;
}

.overlay img{
  width: 500px;
}
#overlay3 img{
  width: 269px !important;
}

/* sub3설치사례 */
.sub3_sect1 {
  background-image: url('../images/sub3.webp');
  height: 43vh;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sub3_sect2_box {
  width: 31.5%;
}

.sub3_sect2_box_img {
  width: 100%;
  height: 16vw;
}

.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.image-popup img {
  width: 62%;
  max-height: 90vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* sub4설치문의 */
.sub4_sect1 {
  background-image: url('../images/sub4.webp');
  height: 43vh;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.input_text {
  padding: 14px;
}
.input_text::placeholder,
textarea::placeholder {
  color: #959595;
}

.required::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: #3c7efe;
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: super;
  margin-bottom: 7px;
}
.agree_btn {
  padding: 5px 10px;
}

input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 22px;
  border: 1px solid #ddd;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
}

input[type='radio']:checked {
  border-color: #090228;
}
input[type='radio']:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #090228;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 7px;
  height: 22px;
  border: 1.9px solid #d7d7d7;
  margin-right: 2px;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
}

input[type='checkbox']:checked::before {
  content: '\2713';
  font-size: 11px;
  color: white;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type='checkbox']:checked {
  background-color: #090228;
  border-color: #090228;
}

textarea {
  padding: 15px;
  min-height: 200px;
}
.submit_btn {
  padding: 20px 50px;
  background: linear-gradient(to right, #3d7ffe, #6a9af9);
}

/* sub5추천신청 */
.sub5_sect1 {
  background-image: url('../images/sub5.webp');
  height: 43vh;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sub5_sect2_box{
  padding:50px;
}
.sub5_sect2_black_box {
  background: linear-gradient(to right, #131212, #3c3c3b);
  border-radius: 62px;
  padding: 20px 38px;
}

.download_btn {
  padding: 20px 54px;
  background: linear-gradient(to right, #3d7ffe, #6a9af9);
}

/* mobile */
@media screen and (max-width: 767px) {
  .sub1_sect2_box {
    width: 85% !important;
    padding: 6vw;
    min-height: 390px;
  }
  .sub1_sect2_box_txt {
    height:unset;
  }

  .sub2_sect2_box img {
    width: 95%;
  }
  .sub1_sect2_box_title {
    height: 15vw;
    width: 90% !important;
  }
  .popup {
    background-color: transparent;
    max-width: 88%;
    max-height: 97vh;
    margin: auto;
    margin-top: 33px;
  }
  .popup-header {
    display: flex;
    margin-bottom: 18px;
  }

  .popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    height: 70vh;
  }
  .popup-title {
    margin-bottom: 0;
  }
  .pop1 .popup-desc img {
    /*margin-top: 787px;*/
  }
  .pop2 .popup-desc img {
    /*margin-top: 713px;*/
  }
  .pop3 .popup-desc img {
    /*margin-top: 1158px !important;*/
    width: 70% !important;
  }
  .m-bd-bottom-d7 {
    padding-bottom: 2%;
    border-bottom: 1px solid #d7d7d7;
  }
  .sub3_sect2_box .sub3_sect2_desc {
    width: 84% !important;
  }
  .sub1_sect1,
  .sub2_sect1,
  .sub3_sect1,
  .sub4_sect1,
  .sub5_sect1 {
    height: 25vh;
  }
  .sub3_sect2_box_img {
    width: 100%;
    height: 70vw;
  }
  .image-popup img {
    width: 93%;
  }
  .sub5_sect2_black_box {
    background: linear-gradient(to right, #131212, #3c3c3b);
    border-radius: 62px;
    padding: 15px 31px;
  }
  .download_btn img{
 object-fit: contain;
  }
  .download_btn {
    padding: 15px 25px;
    background: linear-gradient(to right, #3d7ffe, #6a9af9);
  }
  .sub5_sect2_box {
    padding: 25px;
  }
}

/* tablet 세로기준 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sub2_sect2_box img {
    width: 90%;
  }
  .popup {
    max-width: 93%;
  }
  .pop1 img {
    width: 78%;
  }
  .pop2 img {
    width: 78%;
  }
  .pop3 img {
    width: 38% !important;
  }
  .sub3_sect2_box {
    width: 49.5%;
  }
  .sub1_sect1,
  .sub2_sect1,
  .sub3_sect1,
  .sub4_sect1,
  .sub5_sect1 {
    height: 24vh;
  }
  .sub3_sect2_box_img {
    height: 31vw
  }
  .sub1_sect2_box {
    width: calc(100% / 3.6) !important;
  }
  .pop_table_area div {
    min-height: 55px;
  }
}

/* 태블릿 아이패드미니 가로부터 ~ , 노트북 : 11인치  ~ 15인치 */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .sub1_sect2_box,
  .sub2_sect2_box img {
    width: 90%;
  }
  .popup_content {
    height: 75vh !important;
  }
  .pop1 img {
    width: 78%;
  }
  .pop2 img {
    width: 78%;
  }
  .pop3 img {
    width: 38% !important;
  }

  .sub1_sect1,
  .sub2_sect1,
  .sub3_sect1,
  .sub4_sect1,
  .sub5_sect1 {
    height: 39vh;
  }
}
