@import "./reset.css";

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (min-width: 1001px) {
  body {
    background: #ddd;
  }
  .page-wrap {
    width: 1024px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  }
  .float_inquiry {
    display: none;
  }
  footer {
    padding-bottom: 80px;
  }
}

header{
  background: #0C4491;
  display: flex;
  justify-content: center;
  padding: 30px;
}
header img{
  width: 65%;
  max-width: 521px;
}
.txt{
  color: #0C4491;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}
.main_txt{
  position: absolute;
  left: 45px;
  bottom: 70px;
  background: rgba(87, 140, 236, 0.7);
  padding: 30px;
}
.main_txt div{
  border: 5px solid #fff;
  padding: 40px;
  font-size: 70px;
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
}

.sec1_txt{
  padding: 50px 0;
}

.link_wrap{
  display: flex;
  justify-content: center;
}
.link_wrap > div{
  width: 50%;
}

.sec_review {
  padding: 60px 40px 70px;
  background: #fff;
}
.sec_review_title {
  color: #0C4491;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 36px;
}
.review_slider {
  max-width: 720px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #F1F6FF;
  border: 2px solid #C8DFFF;
  box-shadow: 0 4px 20px rgba(12, 68, 145, 0.08);
}
.review_slider_track {
  transition: transform 0.6s ease-in-out;
}
.review_item {
  height: 200px;
  padding: 28px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review_stars {
  color: #FFB800;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review_text {
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review_info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.review_tag {
  background: #0C4491;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.review_name {
  color: #666;
  font-size: 14px;
}

.sec2{
  padding: 140px 60px 60px;
  background: #C8DFFF;
}
.sec2 .img_wrap{
  display: flex;
  justify-content: space-between;
}
.sec2 .img_wrap img{
  width: calc(50% - 10px);
  margin-bottom: 50px;
}

.sec3{
  padding: 100px 90px;
  padding-bottom: 20px;
}
.sec3 .mySwiper{
  margin-bottom: 50px;
}
.sec4.txt{
  color: #fff;
  background: #0C4491;
  padding: 20px 0;
}
.sec5{
  padding: 70px 120px;
}
.sec5 .title{
  font-size: 80px;
  font-weight: 800;
}
.sec5 .title_wrap{
  margin-bottom: 30px;
}
.sec5 .list_wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sec5 .list_wrap .list{
  width: calc(50% - 30px);
  border-radius: 0px 0px 20px 20px;
  background: #F1F1F1;
  margin-bottom: 30px;
}
.sec5 .list_wrap .list .list_title{
  color:#0C4491;
  text-align: center;
  font-size: 50px;
  line-height: 1.6;
  font-weight: 700;
}
.sec5 .list_wrap .list .list_content{
  color:#0C4491;
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  padding: 20px;
}

.sec6_txt{
  position: absolute;
  left:50%;
  top:50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 60px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}
.sec6_txt a{
  font-size: 100px;
  font-weight: bold;
}
.sec7{
  padding: 140px 70px;
  display: flex;
  justify-content: space-between;
}
.sec7 .list{
  background: #0C4491;
  color: #fff;
  padding: 50px 40px;
  width: calc(25% - 20px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 40px;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.sec7 .list .num{
  background: #fff;
  color: #1D93FE;
  font-weight: 800;
  padding: 5px 30px 0;
  border-radius: 100px;
  margin-bottom: 50px;
}
.sec7 .list .list_txt{
  margin-bottom: 50px;
}
.sec7 .list img{
  width: auto;
  height: 150px;
}
.sec8{
  padding: 40px 70px;
  background: #0C4491;
}
.sec8 .title{
  color: #fff;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
}
.sec8 .input_wrap{
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.sec8 .input_wrap input{
  display: block;
  border: none;
  width: 30%;
  text-align: center;
  font-size: 30px;
  padding: 20px 0;
  border-radius: 10px;
}
.btn_wrap{
  text-align: center;
}
.btn_wrap button{
  border-radius: 20px;
  background: #1D93FE;
  border: none;
  width: 100%;
  max-width: 380px;
  color: #fff;
  text-align: center;
  font-size: 30px;
  padding: 20px 0;
  border-radius: 10px;
}

footer{
  padding: 80px;
  padding-bottom: 140px;
  background: #343434;
  color: #9D9D9D;
  font-size: 20px;
  letter-spacing: -0.64px;
}
footer .footer_row{
  display: flex;
  margin-bottom: 20px;
}
footer .footer_row div{
  width: calc(100% / 3);
}

.float_inquiry {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 20px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 24px rgba(12, 68, 145, 0.18);
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.float_inquiry.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.float_inquiry_btn {
  width: 100%;
  max-width: 480px;
  padding: 18px 0;
  border: none;
  border-radius: 12px;
  background: #1D93FE;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(29, 147, 254, 0.4);
}
.float_inquiry_btn:active {
  background: #0C4491;
}

.inquiry_loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 68, 145, 0.45);
  justify-content: center;
  align-items: center;
}
.inquiry_loading.is-active {
  display: flex;
}
.inquiry_loading_box {
  background: #fff;
  border-radius: 16px;
  padding: 36px 48px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.inquiry_loading_spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 4px solid #C8DFFF;
  border-top-color: #1D93FE;
  border-radius: 50%;
  animation: inquiry_spin 0.8s linear infinite;
}
.inquiry_loading_box p {
  color: #0C4491;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
@keyframes inquiry_spin {
  to { transform: rotate(360deg); }
}

@media screen and (max-width: 1000px){

  .txt{font-size: 24px;}
  .main_txt{
    padding: 8px;
    left:20px;
    bottom: 30px;
  }
  .main_txt div{
    padding: 15px 25px 15px 8px;
    font-size: 16px;
  }
  .sec1_txt{padding: 40px 0; font-size: 18px;}
  .link_wrap{
    display: block;
  }
  .link_wrap > div{
    width: 100%;
  }

  .sec_review {
    padding: 40px 20px 50px;
  }
  .sec_review_title {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .review_slider {
    height: 180px;
  }
  .review_item {
    height: 180px;
    padding: 20px 18px;
  }
  .review_stars {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .review_text {
    font-size: 14px;
    margin-bottom: 12px;
    -webkit-line-clamp: 4;
  }
  .review_tag {
    font-size: 11px;
    padding: 3px 10px;
  }
  .review_name {
    font-size: 12px;
  }

  .sec2{padding: 50px 45px;}
  .sec2 .img_wrap{
    display: block;
  }
  .sec2 .img_wrap img{
    width: 100%;
    margin-bottom: 30px;
  }

  .sec3{padding: 50px 0 20px;}
  .sec3 .mySwiper{margin-bottom:20px;}

  .sec4.txt{font-size: 26px;}

  .sec5{padding: 40px 10px;}
  .sec5 .title{font-size: 40px;}
  .sec5 .list_wrap .list {
    width: calc(50% - 7px);
  }
  .sec5 .list_wrap .list .list_title{font-size: 20px;}
  .sec5 .list_wrap .list .list_content{
    font-size: 14px;
    padding:0;
    padding-bottom: 10px;
  }

  .sec6_txt{font-size: 16px;}
  .sec6_txt a{font-size: 40px;}

  .sec7{padding:50px 15px 36px;flex-wrap: wrap;}
  .sec7 .list{
    width: calc(50% - 7px);
    padding: 18px 0 30px;
    margin-bottom: 14px;
  }
  .sec7 .list .num{
    font-size: 16px;
    padding: 6px 15px 3px;
    margin-bottom: 10px;
  }
  .sec7 .list .list_txt{
    font-size: 22px;
    margin-bottom: 10px;
  }
  .sec7 .list img{
    height: 60px;
  }
  .sec8{padding: 30px;}
  .sec8 .title{
    font-size: 32px;
    margin-bottom: 30px;
  }
  .sec8 .input_wrap{display: block;}
  .sec8 .input_wrap input{
    width: 100%;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .btn_wrap button{
    font-size: 14px;
  }

  .float_inquiry {
    display: flex;
    padding: 10px 15px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .float_inquiry_btn {
    font-size: 18px;
    padding: 16px 0;
    border-radius: 10px;
  }

  .inquiry_loading_box {
    padding: 28px 36px;
    margin: 0 20px;
  }
  .inquiry_loading_box p {
    font-size: 16px;
  }

  footer{
    padding: 20px 15px 90px;
    font-size: 14px;
  }
  footer .footer_row{
    display: block;
    margin-bottom:0;
  }
  footer .footer_row div{
    width: 100%;
    margin-bottom: 15px;
  }
}
