/* 각 세션 css */

@keyframes shine {
  100% {
    left: 125%;
  }
}

.section {
  width: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#section1 {
  background-image: url(/img/section01_back.png);
}

#section2 {
  background-image: url(/img/section02_back.png);
}

#section3 {
  background-image: url(/img/section03_back.png);
}

#section4 {
  background-image: url(/img/section05_back.png);
}

#section5 {
  background-image: url(/img/section06_back.png);
}

.section_back {
  width: 100%;
}

.section_inner {
  width: 1170px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 0 100px;
  flex-direction: column;
  gap: 80px;
  position: relative;
}

#section1 .section_inner {
  padding: 200px 0 0;
  gap: 8%;
  flex-direction: row;
}

.section1_left {
  margin-top: -70px;
}

.section1_left img {
  width: 100%;
  display: block;
}

/* #section1 .section1_btn {
  display: block;
  width: 220px;
  height: 45px;
  border: 1px solid #333;
  line-height: 45px;
  text-align: center;
  font-weight: 600;
  margin-top: 50px;
  transition: all .2s ease-in;
} */

/* #section1 .section1_btn:hover {
  border-color: rgb(75,130,255);
  background-color: rgb(75,130,255);
  color: #fff;
} */

#section1 .section1_btn {
  display: block;
  margin-top: 50px;
  width: 220px;
  height: 50px;
  background: url('../img/section1_button.png') no-repeat 0 0;
  background-size: contain;
  transition: background .3s ease-in;
}

#section1 .section1_btn:hover {
  background: url('../img/section1_button_on.png') no-repeat 0 0;
  background-size: contain;
}

.section1_right img {
  width: 100%;
}

.section02_02 {
  width: auto;
  margin-top: 50px;
  margin-left: 110px;
}

.section2_bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}

.section2_bottom .title {
  margin-bottom: 100px;
}

.section2_bottom .chatbot_effect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.chatbot_effect_list {
  align-self: baseline;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

#section3 .section_inner {
  padding: 150px 0;
  flex-direction: column;
  gap: 50px;
}

#section3 .section_inner .flex_image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: -1000px;
}

#section3 .section_inner .flex_image img {
  width: 100%;
}

.section.section3_2 {
  padding: 80px 0;
  background-color: #fff;
}

.section04_01 {
  width: 85%;
  margin: 0 auto;
}

.pc.section04_01 {
  width: 60%;
}

.section04_02 {
  width: 100%;
  margin-top: 30px;
}

#section4 .chatbot_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}

#section4 .chatbot_list .img_gard {
  position: relative;
  overflow: hidden;
}

#section4 .chatbot_list .img_gard.active::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  top: 0;
  left: -75%;
  z-index: 2;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .3) 100%);
  transform: skew(-25deg);
}

#section4 .chatbot_list div:hover .img_gard.active::before {
  animation: shine 1s;
}

#section4 .chatbot_list img {
  transition: all 1s ease-in-out;
}

#section4 .chatbot_list div:hover .img_gard.active img {
  transform: scale(1.05);
}

#section4 .chatbot_list .chatbot_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

#section4 .chatbot_list span {
  color: #333;
  font-weight: bold;
}

#section4 .chatbot_list a {
  font-size: 14px;
  height: 27px;
  line-height: 27px;
  padding: 0 5px;
  font-weight: 600;
  border: 1px solid #000;
  transition: all .5s;
}

#section4 .chatbot_list a:hover {
  background-color: #333;
  color: #fff;
}

#section5 .subsidy_list {
  display: flex;
  gap: 20px;
}

#section5 .subsidy {
  transition: all .5s;
}

#section5 .subsidy:hover {
  transform: scale(1.03);
}

#section5 .button_group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#section5 .inquiry {
  width: 270px;
  height: 55px;
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  font-size: 26px;
}


@media (max-width: 500px) {
  #section5 .inquiry {
    width: 150px;
    height: 31.56px;
    font-size: 13px;
    border: 1px solid #fff;
  }
}

/* #section5 .subsidy::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  top: 0;
  left: -75%;
  z-index: 2;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, .3) 100%);
  transform: skew(-25deg);
}

#section5 .subsidy:hover::before {
  animation: shine 1s;
} */

@media screen and (max-width: 1170px) {
  #section1 .section1_btn {
    width: 160px;
  }

  .section1_left {
    margin-top: 0;
  }

  .section3_2 {
    padding: 0;
  }

  .section_inner {
    width: 90%;
    gap: 50px;
  }

  #section2 .section02_02 {
    margin-left: 0;
    width: 100%;
  }

  .section2_bottom {
    width: 100%;
  }

  .section2_bottom .chatbot_effect {
    width: 100%;
  }

  .section2_bottom .chatbot_effect>img {
    width: 450px;
  }

  .section2_bottom .chatbot_effect_list {
    width: 100%;
  }

  .section2_bottom .chatbot_effect_list img {
    width: 100%;
  }

  #section5 .subsidy {
    border-radius: 15px;
  }

  .subsidy_list img {
    width: 250px;
  }
}

@media screen and (max-width: 900px) {
  .section {
    padding: 0 30px;
  }

  #section1 .section1_left {
    width: 100%;
  }

  #section1 .section1_left img {
    width: 100%;
  }

  #section1 .section1_right {
    width: 100%;
  }

  #section1 .section1_right img {
    width: 100%;
  }

  #section2 .section02_01 {
    width: 100%;
  }

  .section2_bottom .chatbot_effect {
    gap: 15px;
  }

  .section2_bottom .chatbot_effect>img {
    width: 60%;
  }

  #section4 .chatbot_list {
    width: 100%;
    gap: 5px;
  }

  #section4 .chatbot_list img {
    width: 100%;
  }

  #section4 .chatbot_list span {
    font-size: 12px;
  }

  #section4 .chatbot_list a {
    font-size: 10px;
    height: 20px;
    line-height: 20px;
  }

  .section5_title {
    width: 90%;
  }

  .subsidy_list img {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {

  .section {
    padding: 0 20px;
  }

  #section1 {
    background-image: url(/img/section01_mo_back.png);
  }

  #section2 {
    background-image: url(/img/section02_mo_back.png);
  }

  #section3 {
    background-image: url(/img/section03_mo_back.png);
  }

  #section4 {
    background-image: url(/img/section05_back.png);
  }

  #section5 {
    background-image: url(/img/section06_back.png);
  }

  .section_inner {
    width: 100%;
    padding: 50px 0;
    gap: 30px;
  }

  #section1 .mo img {
    width: 75%;
  }

  .section1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
  }

  #section1 .section_inner {
    padding: 100px 0 50px;
  }

  #section1 .section1_btn {
    margin-top: 0;
  }

  #section2 .section02_01 {
    width: 100%;
  }

  .section02_02 {
    margin-top: 0;
  }

  .section .title {
    margin-top: 50px;
    margin-bottom: 0;
    width: 200px;
  }

  .section2_bottom .chatbot_effect {
    gap: 15px;
  }

  .chatbot_effect_list {
    gap: 10px;
  }

  #section3 {
    padding: 50px 0;
  }

  #section3 .section_inner {
    padding: 0;
  }

  .section3_robot {
    width: 230px;
  }

  #section3 .section_inner .flex_image {
    margin-top: -580px;
  }

  .section3_2 .section_inner {
    display: none;
  }

  #section4 {
    padding: 0;
  }

  .section4_text {
    width: 90%;
  }

  #section4 .chatbot_list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  #section4 .chatbot_list span {
    font-size: 12px;
  }

  #section4 .chatbot_list a {
    font-size: 10px;
  }

  #section4 .chatbot_list .chatbot_info {
    padding: 5px;
  }

  .section5_btn {
    width: 150px;
  }
}


/* btn */

.experience-btn {
  position: absolute;
  width: 12%;
  top: 65%;
  left: 19.5%;

}

.detail-btn1 {
  position: absolute;
  width: 9%;
  top: 67%;
  left: 60.2%;

}

.detail-btn2 {
  position: absolute;
  width: 9%;
  top: 67%;
  left: 30.8%;
}

.example-btn {
  width: 18%;
  position: absolute;
  bottom: 28%;
  right: 41%;
}

.example-btn2 {
  position: absolute;
  width: 14%;
  height: 25%;
  bottom: 39.8%;
  right: 35.3%;
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;

}

.example-btn3 {
  position: absolute;
  width: 14%;
  height: 25%;
  bottom: 39.8%;
  right: 50.9%;
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;

}

.shortcut-btn1 {
  position: absolute;
  bottom: 41.1%;
  right: 51.8%;
  z-index: 5;
  cursor: pointer;
}

.inquiry.quick {
  position: fixed;
  right: .8%;
  bottom: 42%;
  width: 80px;
  height: 80px;
  background-color: #796bff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .inquiry.quick {
    width: 40px;
    height: 40px;
    font-size: 12px;
    right: 6%;
    bottom: 26.5%;
  }
}

/* 도입문의 팝업 */
.popup_area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 710px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 50px 0;
  z-index: 1;
}

/* 닫기 버튼 스타일 */
.popup .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.popup .close-btn img {
  width: 30px;
}

/* 폼 스타일 */
.popup .form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}


.popup .form label {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #515151;
}

.popup .form label .red {
  color: #ff0b72;
}

.popup .form input[type="text"],
.popup .form textarea {
  width: 280px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  font-family: 'NotoSans';
}

.popup .form textarea {
  height: 80px;
  resize: none;
  margin-bottom: 0;
}

.popup .form .form-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 개인정보 수집 동의 스타일 */
.popup .form-right {
  display: flex;
  flex-direction: column;
}

.popup .form-right .terms {
  width: 280px;
  height: 253px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  overflow-y: scroll;
  box-sizing: border-box;
}

.popup .form .checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.popup .form .checkbox input {
  margin-right: 5px;
}

.popup .form .checkbox label {
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
}

/* 등록 버튼 스타일 */
.popup .submit-btn {
  width: 240px;
  height: 46px;
  background-color: #0e83ff;
  color: #fff;
  border: none;
  border-radius: 23px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
}

/* 팝업창 뒷배경 */
.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 767px) {
  .popup {
    width: 100%;
    transform: none;
    top: auto;
    left: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    padding: 60px 20px;
    box-sizing: border-box;
    display: none;
  }

  .popup .form .form-left {
    width: 100%;
  }

  .popup .form input[type="text"],
  .popup .form textarea {
    width: 100%;
    height: 35px;
  }

  .popup .form textarea {
    height: 70px;
  }

  .popup .form label {
    font-size: 15px;
  }

  .popup .form-right .terms {
    width: 100%;
    height: 80px;
  }

  .popup .submit-btn {
    width: 100%;
    border-radius: 0;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 767px) {
  .shortcut-btn1 {
    width: 20px;
  }
}

.shortcut-btn2 {
  position: absolute;
  bottom: 41.1%;
  right: 36.2%;
  z-index: 5;
  cursor: pointer;
}

@media (max-width: 767px) {
  .shortcut-btn2 {
    width: 20px;
  }
}

.saengki-btn {
  position: absolute;
  width: 16%;
  height: 9.4%;
  bottom: 16%;
  right: 31%;
  display: none;
}

@media (max-width: 767px) {
  .saengki-btn {
    display: block;
  }
}

.dain-btn {
  position: absolute;
  width: 16%;
  height: 9.4%;
  bottom: 16%;
  right: 50%;
  display: none;
}

@media (max-width: 767px) {
  .dain-btn {
    display: block;
  }
}

.helpsong-btn {
  position: absolute;
  width: 11.7%;
  height: 12.7%;
  bottom: 37%;
  right: 25%;
}

.dain-text1 {
  border-radius: 9%;
  background-color: #3119b4;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

@media (max-width: 767px) {
  .dain-text1 {
    display: none;
  }
}


.saengki-text2 {
  border-radius: 9%;
  bottom: 50%;
  right: 50%;
  background-color: #044e33;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

@media (max-width: 767px) {
  .saengki-text2 {
    display: none;
  }
}

/* 하단 사이드 상담 & 스크롤업 */

#call-drsong {
  background-image: url(/img/call.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 30%;
  right: 0.8%;
  z-index: 8;
}

@media (max-width: 767px) {
  #call-drsong {
    background-image: url(/img/call.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;

    position: fixed;
    bottom: 20.5%;
    right: 6%;
    z-index: 8;
  }
}

.chatbot-icon {
  background-image: url(/img/bot.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 18%;
  right: 0.8%;
  z-index: 8;
}

@media (max-width: 767px) {
  .chatbot-icon {
    background-image: url(/img/bot.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 14%;
    right: 6%;
    z-index: 8;
  }
}

#to-top {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  color: royalblue;
  border: 2px solid #fff;
  border-color: royalblue;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 8%;
  right: -100px;
  z-index: 8;
  align-items: center;
  transition: all .5s;
}

#to-top.show {
  right: 1.4%;
}

@media (max-width: 767px) {
  #to-top {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: royalblue;
    border: 2px solid #fff;
    border-color: royalblue;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 8%;
    right: -100px;
    z-index: 8;
    align-items: center;
  }

  #to-top.show {
    right: 7%;
  }
}

/* 닥터챗봇 하단 위젯 */

.iframe1 {
  position: fixed;
  height: 686px;
  bottom: 30px;
  width: 370px;
  right: 134px;
  z-index: 99;
  background-color: #fff;
  opacity: 0;
  -webkit-transform: rotate(0) scale(0);
  transform: rotate(0) scale(0);
  display: none;
}

@media (max-width: 767px) {
  .iframe1 {
    position: fixed;
    height: 100%;
    bottom: 0px;
    width: 100%;
    right: 0px;
    z-index: 99;
    background-color: #fff;
  }
}

@media (min-width: 767px) {
  .close-icon {
    background-image: url(/img/bot_close.png);
    width: 80px;
  }
}

@media (min-width: 767px) {
  .mclose-icon {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mclose-icon {
    height: 22px;
    width: 22px;
    position: fixed;
    top: 13px;
    left: 26px;
    z-index: 999;
    opacity: 0;
    -webkit-transform: rotate(0) scale(0);
    transform: rotate(0) scale(0);
    display: none;
  }
}

.ishow {
  opacity: 1;
  -webkit-transform: rotate(0) scale(1);
  transform: rotate(0) scale(1);
  display: block;
}


.popup-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.popup-content {
  width: 90%;
  height: 500px;
  max-width: 1200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.popup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-image {
  width: 100%;
  max-width: 500px;
}

.popup-image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.popup-button-group {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.popup-button-group .popup-button {
  padding: 5px 15px;
  border: none;
  outline: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.popup-button-group .popup-button:first-child {
  border-right: 1px solid #eee;
}

@media (max-width: 767px) {

  /* 모바일 팝업 스타일 */
  .popup-content {
    flex-direction: column;
  }

  .popup-item {
    position: relative;
  }

  .popup-item:first-child {
    z-index: 2;
  }

  .popup-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}