#first-section {
  background-color: var(--color-background);
  width: 100%;
  height: 100%;
  max-height: 2400px;
  padding-bottom: 80px;
  /* gap: 84px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  align-self: stretch;
}

#second-section {
  display: flex;
  width: 100%;
  max-height: 2400px;
  padding: 28px 28px 0px 28px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--White, #fff);
}

.second-inner {
  max-width: 1120px;
  margin: 0 auto;
}

#missionayrSwiper .swiper-pagination {
  width: 8px;
  height: 8px;
  bottom: 0;
  top: 100%;
  .swiper-pagination-bullet-active {
    background: var(--color-text) !important;
  }

  .swiper-pagination-bullet {
    background: var(--color-grey);
  }
}

.missionary-pagination {
  bottom: -5% !important;
}

#missionarySwiper .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  /* bottom: 0; */
}

.youtube-background {
  width: 100%;
  background-position: center 0;
  /* background-size: contain; */
  background-size: cover;
  object-fit: cover;
  background-repeat: no-repeat;
  background: url("/contents/images/bg-logo.svg");
}

.bg-logo {
  height: auto;
  width: 100%;
  flex: 1;
  object-fit: cover;
  mix-blend-mode: color-burn;
  flex-shrink: 0;
}

.key-visual {
  position: relative;
  width: 100%;
  height: 421px;
}

.key-visual-youtube {
  height: 368px;
  width: 700px;
  position: absolute;
  /* margin: 0 !important; */
  /* top: 0; */
  right: 50%;
  transform: translateX(50%);
  object-fit: cover;
  z-index: 1;
}

.text-gradient {
  background: var(--Gradient, linear-gradient(90deg, #6ba6f6 0%, #256ed0 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#first-section .title {
  /* height: 157px; */
  position: relative;
  letter-spacing: -0.01em;
  line-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-container {
  display: flex;
  width: 100%;
  padding: 28px 28px 40px 28px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: var(--White, #fff);
}

.status-notice {
  background: var(--color-secondary-6);
}

.status-photo {
  background: var(--color-secondary-4);
}

.status-event {
  background: var(--color-secondary-2);
}

.essay-date {
  white-space: nowrap;
  color: var(--color-sub-2);
  text-align: right;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.list_tb {
  text-align: start;
  border-collapse: collapse;
}

.list_tb td {
  cursor: pointer;
  padding: 12px 8px;
  vertical-align: middle;
}

.list_tb .status_icon {
  display: inline-flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  color: white;
  white-space: nowrap;
  text-align: left;
}

.list_tb .essay-date {
  color: var(--color-sub-2);
  text-align: right;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.missionary-card {
  width: 336px;
  min-height: 309px;
}

.book-swiper {
  background: white;
  margin: 0;
  height: auto;
  /* height: 800px; */
  position: relative;
}

.book-swiper-pagination {
  bottom: -7% !important;
  width: 8px;
  /* height: 8px; */
  .swiper-pagination-bullet-active {
    background: var(--color-text) !important;
  }

  .swiper-pagination-bullet {
    background: var(--color-grey);
  }
}

#webBookSwiper .swiper-wrapper {
  align-items: center;
}

#webBookSwiper .swiper-slide {
  transform: scale(0.7);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  /* width: auto; */
  width: 80%;
  /*  슬라이드 전체 너비를 100%로 설정 */
  padding-left: 20px;
  padding-right: 20px;
  > img {
    object-fit: cover;
    width: 100%;
  }
}

#webBookSwiper .swiper-slide-active {
  transform: scale(1.0);
  width: 100%;
  height: 100%;
  /* max-width: 382px; */
  /* min-height: 500px; */
  /* min-width: 258px;
  min-height: 360px; */
  > img {
    object-fit: scale-down;
    height: 100%;
    width: 100%;
  }
}

#webBookSwiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.6;
  > img {
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.16);
  }
}

/* 슬라이더 이동 버튼 스타일 */
.book-swiper .btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translate(0, -50%);
  cursor: pointer;
}
.book-swiper .btn img {
  width: 100%;
}
.book-swiper .btn.btn_prev {
  padding: 0;
  right: 50%;
  margin-right: 10%;
}
.book-swiper .btn.btn_next {
  padding: 0;
  left: 50%;
  margin-left: 10%;
}

@media (max-width: 1120px) {
  .book-swiper .btn.btn_prev {
    margin-right: 16%;
  }
  .book-swiper .btn.btn_next {
    margin-left: 16%;
  }
}

@media (max-width: 768px) {
  .book-swiper .btn_prev,
  .book-swiper .btn_next {
    display: none;
  }

  /* 모바일 디바이스에서 슬라이드 UI를 위한 스타일 */

  #webBookSwiper .swiper-slide {
    padding-left: 56px;
    padding-right: 56px;
    width: 100%; /* 슬라이드 너비를 100%로 설정하여 한 장만 보이도록 */
    margin: 0; /* 여백 제거 */
  }

  #webBookSwiper .swiper-slide-active {
    transform: none;
    max-width: 100%;
    width: 100%;
    height: 100%;
    /* min-width: 258px;
    min-height: 360px; */
    > img {
      object-fit: scale-down;
      height: 100%;
      width: 100%;
    }
  }

  .book-swiper-pagination {
    display: block;
  }
}
@media (min-width: 769px) {
  .book-swiper-pagination {
    display: none;
  }

  #webBookSwiper .swiper-pagination {
    display: none;
  }
}

#missionayrSwiper {
  width: 100%;
  height: auto;
}

#missionayrSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.missionary-card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.contact_btn {
  cursor: pointer;
  width: 261px;
  height: 48px;
  display: inline-flex;
  padding: 12px 36px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: var(--Gradient, linear-gradient(90deg, #6ba6f6 0%, #256ed0 100%));
  box-shadow: 0px 17px 5px 0px rgba(41, 41, 41, 0),
    0px 11px 4px 0px rgba(41, 41, 41, 0.04),
    0px 6px 4px 0px rgba(41, 41, 41, 0.12),
    0px 3px 3px 0px rgba(41, 41, 41, 0.2),
    0px 1px 1px 0px rgba(41, 41, 41, 0.24);
}

.sitcky_btn {
  width: 100%;
  z-index: 100;
  /* left: 50%; */
  top: 85%;
  right: 50%;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  position: fixed;
}

.moblie-essay {
  overflow: hidden;
  text-overflow: ellipsis;
}

.m_text-start {
  text-align: center;
}

@media (max-width: 1440px) {
  #first-section {
    padding-bottom: 96px;
  }

  #second-section {
    padding: 0;
  }

  .second-inner {
    width: 100%;
    padding: 24px;
  }

  .m_text-start {
    text-align: start;
  }

  .status-notice {
    color: var(--color-secondary-6);
    background: none;
  }

  .status-photo {
    color: var(--color-secondary-4);
    background: none;
  }

  .status-event {
    color: var(--color-secondary-2);
    background: none;
  }

  .list_tb .status_icon {
    font-size: 12px;
    /* width: 80px; */
  }
  .list_tb .essay-date {
    font-size: 12px;
  }

  .moblie {
    display: block;
  }

  .web {
    display: none;
  }

  .key-visual {
    height: 50vw;
  }

  .key-visual-youtube {
    width: 90vw;
    height: 50vw;
    margin-bottom: 6vw;
    position: absolute;
    /* margin: 0 !important; */
    right: 50%;
    transform: translateX(50%);
    object-fit: cover;
    z-index: 1;
  }

  .missionary-card {
    padding-top: 20px;
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }

  .missionary-info {
    padding-bottom: 38px;
  }

  #missionayrSwiper img {
    width: 100%;
  }

  .contact_btn {
    display: flex;
    width: 312px;
    height: 52px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background: var(
      --Gradient,
      linear-gradient(90deg, #6ba6f6 0%, #256ed0 100%)
    );
    box-shadow: 0px 17px 5px 0px rgba(41, 41, 41, 0),
      0px 11px 4px 0px rgba(41, 41, 41, 0.04),
      0px 6px 4px 0px rgba(41, 41, 41, 0.12),
      0px 3px 3px 0px rgba(41, 41, 41, 0.2),
      0px 1px 1px 0px rgba(41, 41, 41, 0.24);
  }
}
