@font-face {
  font-family: "Isamanru";
  font-weight: 700;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicBold.woff") format("woff");
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* 기본 텍스트 요소 여백 제거 */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

/* 메인 컨테이너 */
#my-mission-page {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #fff2f2;
  padding: 0;
  overflow: hidden;
  z-index: 0;
}


/* 최상단 Hero 섹션 */
.hero-section {
  height: 738px;
  background-image: url("./image/최상단_배경이미지.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  background-color: #fff2f2;
}


.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 10%;
  margin-bottom: 10%;
}


/* 말풍선 스타일 */
.hero-content .speech-bubble {
  position: relative;
  width: 176px;
  height: 53px;
  background-color: #ffbdb5;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin: 0 0 20px 0;
}

.hero-content .speech-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #ffbdb5;
}

.hero-content .speech-bubble span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #d2301b;
  white-space: nowrap;
}


/*헤드라인*/
.hero-content .head-line h1 {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  font-weight: bold;
  margin: 20px 0 10px;
  line-height: 1.2;
  color: #ffffff;
}

.hero-content .head-line p {
  font-family: "Pretendard", sans-serif;
  font-size: 23px;
  font-weight: bold;
  margin: 5px 0 10px;
  line-height: 1.2;
  color: #fffacf;
}

/* CTA 버튼 */
.hero-cta {
  margin-top: 84px;
  padding: 24.3px 48.7px;
  border: none;
  border-radius: 70px;
  cursor: pointer;
  background: linear-gradient(
        90deg,
        #ffadbb 0%,
        #fdeed6 33%,
        #ffe6c1 67%,
        #f5b29b 100%
      )
      padding-box,
    linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.6) 100%
      )
      border-box;
  border: 2px solid transparent;
}

.hero-cta a {
  font-family: "Pretendard", sans-serif;
  text-decoration: none;
  color: #d2301b;
  font-size: 26px;
  font-weight: bold;
}

/* 반려동물 타입 선택 */
.animal-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.animal-type p {
  font-family: "Pretendard", sans-serif;
  color: #000000;
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 28px;
}

.animal-type .pet-selection {
  display: flex;
  gap: 30px;
}

.pet-selection .pet-button {
  width: 266px;
  height: 266px;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  border: none;
  box-shadow: 0px 2px 4px 0px #dfc0be;
}

.pet-selection .pet-button img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 15%;
}
/* 이번 주 미션 */
.weekly-mission {
  height: 760px;
  width: 100%;
  background-image: url("./image/미션_블러배경.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.weekly-mission h2 {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  color: #000000;
  margin-bottom: 30px;
}

.weekly-mission .point-image {
  position: absolute;
  top: -90%;
  right: -20%;
  transform: scale(0.7);
  z-index: 1;
}

.text-background {
  position: relative;
  width: 80%;
  height: 400px;
  background-image: url("./image/미션텍스트배경_이미지.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.mission-text {
  width: 100%;
  text-align: center;
}

.mission-text .highlight {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: #d2301b;
  line-height: 1.2;

}

.mission-text .desc {
  font-family: "Pretendard", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 13px;
}

.mission-text .sub {
  font-family: "Pretendard", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #000000;
  margin-top: 13px;
}

.mission-text .point {
  color: #d2301b;
}

/* 참여 방법 */
.participation-info-section {
  text-align: center;
  padding: 60px 20px;
}

.participation-info-section h2 {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  margin-bottom: 150px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 40px;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  height: 5px;
  background-color: #ffb6ac;
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.quick-info-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 30px;
  width: 316px;
  height: 57px;
  background-color: #ffc2c4;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  text-align: center;
}


.quick-info-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid #ffc2c4;
}

.step-item .step-image {
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-item .step-image img {
  max-width: 90%;
  max-height: 90%;
}

.step-item p {
  font-family: "Pretendard", sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #333;
}

.note {
  margin-top: 70px;
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.note img {
  width: 28px;
  height: 32px;
}

/* 하단 배경 */
.bottom-section {
  position: relative;
  background: url("./image/하단배경.svg") center top / 100% 110% no-repeat;
  height: 2871px;
}

.bottom-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: #ffffff;
  z-index: -1;
}
/* 포인트 안내 */
.point-info-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 776px;
}

.point-info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 10%;
  padding-top: 30%;
}

.point-info-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.point-info-text h2 {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  margin-bottom: 10px;
}

.point-info-text p {
  font-family: "Pretendard", sans-serif;
  font-size: 30px;
  font-weight: 600;
}

.point-info-message {
  display: flex;
  gap: 20px;
  margin-top: 200px;
  z-index: 10;
}

.point-info-message .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 180px;
  background-color: rgba(255, 241, 222, 0.8);
  border-radius: 70px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.point-info-message .card p {
  font-family: "Pretendard", sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #000;
}

.point-info-message .point-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: #f35f4c;
  border: #f9afa5 solid 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 35px;
  color: #ffffff;
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/*하단 무늬 */
.bottom2-section {
  margin-top: 100px;
  background: url("./image/하단배경무늬.svg") center top / 100% auto no-repeat;
  height: 1223px;
  text-align: center;
}

.recent-post-section h2 {
  padding-top: 100px;
  font-family: "Isamanru", sans-serif;
  font-size: 60px;
  margin-bottom: 90px;
}

/* 슬라이더 */
.swiper-wrapper-container {
  width: 100%;
  overflow: hidden;
}

.recent-post-swiper {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
  position: relative;
}

/* 각 슬라이드(카드)의 크기 */
.recent-post-swiper .swiper-slide {
  width: 450px;
  height: 450px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* 활성 슬라이드(가운데) 강조 */
.recent-post-swiper .swiper-slide-active {
  z-index: 2;
}

/* 슬라이드 내부의 카드 스타일 */
.recent-post-swiper .list-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #f2e9e9;
  border-radius: 30px;
  box-shadow: 0px 2px 8px 0px #f35f4c33;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.recent-post-swiper .swiper-slide-active .list-box {
  transform: scale(1.1);
}

.recent-post-swiper .img-box {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  overflow: hidden;
}

.recent-post-swiper .content-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-swiper .mb-profile-img {
  position: absolute;
  top: calc(66.66% - 60px);
  left: 15px;
  width: 120px;
  height: 120px;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 5;
}

.recent-post-swiper .content-cate {
  position: absolute;
  left: 15px;
  top: 10px;
  width: 60px;
}

.recent-post-swiper .mark {
  position: absolute;
  right: 10px;
  top: 10px;
}

.recent-post-swiper .heart-box {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #00000099;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}

.recent-post-swiper .txt-box {
  padding: 20px 20px 10px;
  background-color: #fff;
  text-align: right;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  height: auto;
}

.recent-post-swiper .txt1 {
  font-size: 20px;
  color: #858894;
}

.recent-post-swiper .txt2 {
  padding: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: 700;
}

.recent-post-swiper .txt3 {
  width: auto;
  height: auto;
  letter-spacing: -0.5px;
  color: #858894;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
  font-size: 20px;
  font-weight: 600;
}

.recent-post-swiper .txt3 img {
  width: 20px;
  }

/* 참여하기 */
.participation-section {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
}

.participation-section h2 {
  font-family: "Isamanru", sans-serif;
  font-size: 64px;
  color: #000000;
  margin-bottom: 59px;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.participation-card {
  background-color: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 30px;
  width: 438px;
  height: 538px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.participation-card img {
  width: 360px;
  height: 360px;
}

.participation-card p {
  font-family: "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #000;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 20px;
}

.participation-card:hover {
  background-color: #f35f4c;
  backdrop-filter: none;
}

.participation-card:hover p {
  color: #ffffff;
}

/*<a> 태그로 인한 변경 */
.participation-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.participation-card a:hover {
  color: inherit;
  text-decoration: none;
}