@charset "UTF-8";
@import url("./font/font.css");
section {
  width: 100%;
}
section > div {
  display: block;
  position: relative;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.sec-title {
  padding-top: 40px;
  padding-left: 14px;
  padding-bottom: 90px;
  background: url("../img/main/main_bg.svg") no-repeat bottom right;
  background-size: 150px 143px;
}
.sec-title > h2 {
  font-family: YeogiOttaeJalnanGothic;
  font-weight: 400;
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -2%;
  margin-bottom: 10px;
}
.sec-title > h3 {
  font-family: Pretendard;
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -1%;
  color: #555d65;
}

/* sec2 */
.sec2-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #77b8ff;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0px 2px 4px 0px #00000029;
  background-color: #f8fcff;
  height: 128px;
  padding: 0 20px;
}
.sec2-top-left > h3 {
  font-family: YeogiOttaeJalnanGothic;
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -2%;
  margin-bottom: 2px;
}
.sec2-top-left > p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -1%;
}
.sec2-top-right > a {
  width: 100px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  font-family: YeogiOttaeJalnanGothic;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -1%;
  color: #fff;
  border-radius: 50px;
}
.sce2-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sce2-flex-box {
  width: 50%;
  height: 156px;
  padding: 20px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0px 2px 4px 0px #00000029;
}
.sce2-flex  .sce2-flex-box:first-child {
  background-color: #209dc5;
}
.sce2-flex .sce2-flex-box:last-child {
  background-color: var(--color-primary);
}
.sce2-flex:last-child .sce2-flex-box:nth-child(1) {
  background-color: #8875fc;
}
.sce2-flex:last-child .sce2-flex-box:nth-child(2) {
  background-color: #2fb37a;
}
.sce2-flex-box > p {
  color: #fff;
  font-family: YeogiOttaeJalnanGothic;
  font-weight: 400;
  font-size: 20px;
  line-height: 25px;
  letter-spacing: -1%;
}
.sce2-flex-box > div {
  position: absolute;
  bottom: 14px;
  right: 20px;
}

/* sec4 */
.sec4 {
  width: 100%;
  padding-top: 24px;
}
.sec-def-box {
  width: 100%;
  box-shadow: 0px 0px 10px 2px #0000000a;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}
.sec-def-box1 {
  background-color: #ff6a38;
}
.sec-def-box2 {
  background-color: #5573f1;
  margin-top: 20px;
}
.sec-def-box3 {
  background-color: #8875fc;
}
/* 보험금 청구 방법 / 서류 안내 카드 */
.sec-def-box4 {
  background-color: #2fb37a;
}
.sec-def-box5 {
  background-color: #209dc5;
}
.sec-def-box > h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -2%;
  color: #fff;
  margin-bottom: 4px;
}
.sec-def-box > p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -1%;
  color: #f8f9fa;
  margin-bottom: 16px;
}
.sec-def-box > a {
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50px;

  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -1%;
}
.sec-def-box > div {
  position: absolute;
}
.sec-def-box > div > img {
  max-width: 100%;
  max-height: 100%;
}
.sec-def-box.sec-def-box1 > div {
  width: 167px;
  height: 200px;
  right: -7px;
  bottom: -22px;
}
.sec-def-box.sec-def-box2 > div {
  width: 120px;
  height: 125px;
  right: 15px;
  bottom: 20px;
}
.sec-def-box.sec-def-box3 > div {
  width: 120px;
  height: 118px;
  right: 12px;
  bottom: 30px;
}
.sec-def-box.sec-def-box4 > div {
  width: 150px;
  height: 113px;
  right: 12px;
  bottom: 30px;
}
.sec-def-box.sec-def-box5 > div {
  width: 110px;
  height: 103px;
  right: 12px;
  bottom: 26px;
}

/*  */
.ad-swiper1 {
  width: 100%;
  box-shadow: 0px 2px 4px 0px #00000029;
  margin: 10px 0 36px;
  border-radius: 24px;
  overflow: hidden;
  height: auto;
}

.ad-swiper1-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

}

.ad-swiper1-slide > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.ad-swiper1-wrap {
  position: relative;
}
.ad-swiper1-wrap .ad-swiper1-bullet {
  position: absolute;
  width: 100%;
  height: fit-content;
  bottom: -24px !important;
  z-index: 99;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
}
.swiper-pagination-bullet-active {
  background-color: #2e3338;
}

/* 좁은 화면(380px 이하): 주황 테마 카드 이미지가 글자를 덮지 않도록 축소 */
@media (max-width: 380px) {
  .sec-def-box.sec-def-box2 > div{
    width: 100px;
    height: auto;
  }
  .sec-def-box.sec-def-box3 > div {
    width: 105px;
    height: 103px;
    right: 10px;
  }
  .sec-def-box.sec-def-box4 > div {
    width: 100px;
    height: auto;
    bottom: 45px;
  }
  .sec-def-box.sec-def-box5 > div {
    width: 96px;
    height: 90px;
  }
}
