.sub-hero {
  width: 100%;
  height: 720px;
  position: relative;
  overflow: hidden;
}

.sub-hero.forest {
  background: url('/images/sub/forest-adfc352d82acbff2a552d0261a42ec37.png') center / cover no-repeat;
}

.sub-hero.diet {
  background: url('/images/sub/diet-12429de6210f7b2037ca14f1b707a6a5.png') center / cover no-repeat;
}

.sub-hero.program {
  background: url('/images/sub/program-7600e3603d5931ced5c3daab910352f3.png') center / cover no-repeat;
}

.sub-hero.board {
  background: url('/images/sub/board-fd8968f4b390c0d05d1540ae06761f5a.png') center / cover no-repeat;
}

.sub-hero.location {
  background: url('/images/sub/location-bd8c93c85f2f0e0b79a2ae95144e66e1.png') center / cover no-repeat;
}

.sub-hero.preparation {
  background: url('/images/sub/preparation-340c7e0f3d81dd1ad5b2647ee39ac69e.png') center / cover no-repeat;
}

.sub-hero.review {
  background: url('/images/sub/review-1b034777d06f3a273ac9ff8d086edf07.png') center / cover no-repeat;
}

.sub-hero.reservation {
  background: url('/images/sub/reservation-faeaaec400d8ffa4effd51c8ba1abdc8.png') center / cover no-repeat;
}

.sub-hero.video {
  background: url('/images/sub/video-ef0e5df7ff85df9992533192362a5b03.png') center / cover no-repeat;
}

.sub-hero.faq {
  background: url('/images/sub/faq-ac0e64e61959644433a32e72f13bea5b.png') center / cover no-repeat;
}

.sub-hero.event {
  background: url('/images/sub/event-a78d8ff9b37ebab1a7bf2e09ef067acf.jpg') center / cover no-repeat;
}

.sub-hero__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.sub-hero__overlay h2 {
  font-size: 32px;
  line-height: 38px;
  color: #FFFFFF;
  font-weight: 700;
}

.sub-hero__overlay .breadcrumb {
  font-size: 15px;
  line-height: 18px;
  color: #FFFFFF;
  margin-top: 36px;
  display: flex;
  gap: 0 12px;
}

.sub-hero__overlay .breadcrumb li {
  display: flex;
  align-items: center;
}

.sub-hero__overlay .breadcrumb li a:hover {
  text-decoration: underline;
  font-weight: 700;
  transition: all 0.3s;
}

.sub-hero__circle {
  width: 200%;
  height: 200%;
  position: absolute;
  top: -100%;
  left: -50%;
  border: 1px solid #fff;
  border-radius: 50%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.1);
}

.sub-hero-curve {
  position: relative;
  top: -45px;
  z-index: 2;
  background: transparent;
  line-height: 0;
}

/* 스토리 영역 */
.sub-story {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 0 40px;
}

.sub-story ~ .sub-story {
  margin-top: 135px;
}

.sub-story__title {
  font-size: 128px;
  color: #F5F5F5;
  font-weight: 900;
}

.sub-story__subtitle {
  color: #333;
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  margin-top: -70px;
}

.point-color {
  color: var(--point-color);
}

.sub-story__desc {
  color: #333;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  margin-top: 36px;
}

/* 꽃과나무 소개 페이지 */
.about-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 170px auto;
  padding: 0 40px;
  max-width: 820px;
}

.about-step {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #D9D9D9;
  padding: 30px 7px;
  max-width: 400px;
  max-height: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-step__icon {
  margin-top: -24px;
  aspect-ratio: 325 / 216;
}

.about-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.about-step h3 {
  color: var(--point-color);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.about-step p {
  color: #333;
  font-weight: 500;
}

/* 오시는 길 영역 */
.location-map-wrap {
  width: 100%;
  max-width: 1520px;
  margin: 137px auto;
  padding: 0 40px;
}

#map {
  width: 100%;
  height: 564px;
  overflow: hidden;
}

.location-info-wrap {
  display: flex;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1520px;
  margin: 40px auto 80px auto;
  border-top: 1px solid #eee;
  padding: 40px 40px 0 40px;
}

.location-info-left,
.location-info-right {
  flex: 1;
  min-width: 320px;
}

.info-row {
  display: flex;
  margin-bottom: 24px;
}

.info-title {
  font-weight: bold;
  width: 140px;
  min-width: 120px;
  color: #222;
  letter-spacing: 1px;
}

.info-content {
  color: #444;
  line-height: 1.7;
}


/* 다이어트 정보 페이지 */
.video-list-wrap {
  max-width: 1520px;
  margin: 67px auto 170px;
  padding: 0 40px;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 25px;
}

.video-item__title {
  margin-top: 28px;
  text-align: center;
}

.video-item__more {
  text-align: center;
  margin-top: 27px;
}

.video-item__more a {
  color: #333;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #dfdfdf;
  border-radius: 25px;
  padding: 3px 14px;
}

.info-list-wrap {
  max-width: 1520px;
  margin: 80px auto 170px;
  padding: 0 40px;
}

.info-item__link:hover .info-item__thumbnail img {
  transform: scale(1.05);
}

.info-item__link:hover .info-item__title {
  color: var(--point-color);
}

.info-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 85px 24px;
}

.info-item {
  border-bottom: 1px solid #d9d9d9;
}

.info-item__thumbnail {
  max-width: 342px;
  max-height: 342px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.info-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.info-item__title {
  margin-top: 20px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: color 0.3s;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.info-item__date {
  margin: 17px 0;
  font-size: 15px;
  text-align: center;
}


/* 프로그램 소개 페이지 */
.program-list-wrap {
  max-width: 1520px;
  margin: 93px auto;
  padding: 0 40px;
}

/* 다이어트 프로그램 3단 구성 */
.diet-program-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0 24px;
  position: relative;
}

.diet-program-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diet-program-img {
  margin-bottom: 36px;
  max-width: 464px;
  max-height: 420px;
}

.diet-program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diet-program-label {
  color: #d9d9d9;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.diet-program-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 23px;
}

.diet-program-desc {
  color: #333;
  text-align: center;
}

.diet-program-plus {
  position: absolute;
  width: 40px;
  height: 40px;
  text-align: center;
  top: 30%;
  left: 33%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  background-color: var(--point-color);
  color: #fff;
  font-weight: 900;
  line-height: 0.75;
  border-radius: 50%;
}

.diet-program-plus:nth-of-type(2) {
  top: 30%;
  left: 66%;
  transform: translate(-15%, -50%);
}

.diet-program-summary {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-top: 90px;
  word-break: keep-all;
}

.diet-program-summary .point-color {
  color: var(--point-color);
}

/* 꽃과나무를 선택해야 하는 3가지 이유 */
.program-choice-wrap {
  max-width: 1520px;
  margin: 170px auto 0;
  padding: 0 40px;
}

.program-choice-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 60px;
  word-break: keep-all;
}

.program-choice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
  justify-content: center;
}

.program-choice-item {
  max-width: 435px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.program-choice-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.program-choice-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.program-choice-item:hover .program-choice-item-img img {
  transform: scale(1.05);
}

.program-choice-item-title {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-choice-item-title h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.program-choice-item-title p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  word-break: keep-all;
}

/* 프로그램 효과 */
.program-effect-wrap {
  max-width: 1920px;
  margin: 170px auto 0;
  background: url('/images/sub/program-effect-8b4f15066d66b791ba29e3b9b602b533.png') no-repeat right center / cover;
}

.program-effect-title {
  padding-top: 183px;
  font-size: 30px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

.program-effect-list {
  max-width: 435px;
  margin: 67px auto 0;
  padding-bottom: 183px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.program-effect-item {
  display: flex;
  align-items: center;
  gap: 20px;
  word-break: keep-all;
}

.program-effect-item-check {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('/images/icon/icon-check-392e7982978775149308e0cba74a75e7.svg') no-repeat center / cover;
}

/* 1달 약속 */
.program-promise-wrap {
  max-width: 1520px;
  margin: 170px auto 0;
  padding: 0 40px;
}

.program-ruler-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.program-ruler-wrap img:nth-of-type(2) {
  margin-left: -1px;
}

.program-ruler-wrap.bottom img {
  transform: rotate(180deg);
}

.program-promise-wrap img {
  width: 100%;
  object-fit: contain;
}

.program-promise-title {
  margin: 90px 0;
  text-align: center;
  font-size: 30px;
}

.program-promise-title h2 {
  font-weight: 700;
  font-size: 40px;
  color: var(--point-color);
}

.program-promise-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 60px 0 90px 0;
  flex-wrap: wrap;
}

.program-promise-item {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  width: 300px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 10px 32px 10px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s;
}

.program-promise-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.promise-text {
  flex: 1;
  display: flex;
  align-items: center;
}

.promise-text p {
  font-size: 20px;
  color: #333;
  letter-spacing: -2px;
  line-height: 1.5;
}

.promise-icon {
  width: 50px;
  height: 50px;
  background: var(--point-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-top: -60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.promise-icon img {
  width: 32px;
  height: 32px;
}


/* 1달 플랜 안내 */
.program-plan-wrap {
  max-width: 1520px;
  margin: 170px auto 0;
  padding: 0 40px;
}

.program-plan-wrap img {
  width: 100%;
  object-fit: contain;
}


/* 1달치 구성 */
.program-composition-wrap {
  max-width: 1520px;
  margin: 170px auto;
  padding: 0 40px;
}

.program-composition-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 90px;
}
.program-composition-title span {
  color: var(--point-color);
  font-weight: 700;
}

.program-composition-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.composition-item {
  border-radius: 20px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.composition-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.composition-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.composition-label {
  color: #333;
  margin-bottom: 10px;
  z-index: 1;
}

.composition-title {
  font-size: 30px;
  color: #333;
  font-weight: 700;
  z-index: 1;
}


/* 예약방법 */
.program-reservation-wrap {
  max-width: 1920px;
  margin: 100px auto 170px;
  background: url('/images/sub/program-reservation-82a94ea456ea29554eb8c4ce3ad1fa0b.png') no-repeat center / cover;
  padding: 110px 16px;
}

.program-reservation-title {
  text-align: center;
  color: #fff;
  font-size: 20px;
  word-break: keep-all;
}

.program-reservation-title span {
  font-size: 30px;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

.program-reservation-tel {
  margin: 60px auto 0;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  border: 1px solid #f5f5f5;
  padding: 15px 50px;
  max-width: 330px;
  display: flex;
  align-items: center;
  gap: 0 30px;
  cursor: pointer;
}

.program-reservation-tel:hover {
  background-color: #fff;
  transition: all 0.3s;
  color: var(--point-color);
}

.program-reservation-text {
  background-color: rgba(255, 255, 255, 0.6);
  max-width: 835px;
  margin: 60px auto 0;
  padding: 22px 64px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.program-reservation-text span {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}

/* 자주하는 질문 */
.program-faq-wrap {
  max-width: 1520px;
  margin: 50px auto 170px;
  padding: 0 40px;
}

.program-faq-desc {
  color: #333;
  font-size: 20px;
  margin-bottom: 45px;
  text-align: center;
  word-break: keep-all;
}

.faq-tab-list {
  display: flex;
  justify-content: center;
  gap: 0 24px;
  margin-bottom: 80px;
}

.faq-tab {
  background: #f5f5f5;
  border: none;
  border-radius: 10px;
  padding: 9px 15px;
  text-align: center;
  color: #333;
  transition: background 0.2s, color 0.2s;
  width: 288px;
  word-break: keep-all;
}
.faq-tab.active {
  background: var(--point-color);
  color: #fff;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-bottom: 1px solid #f5f5f5;
  background: #fafafa;
  transition: background 0.2s;
}
.faq-item.open .faq-question {
  color: var(--point-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  padding: 28px 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 7px;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item.open .faq-question {
  color: #ff5a7b;
}

.faq-question span:nth-of-type(1) {
  word-break: keep-all;
}

.faq-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url('/images/icon/icon-arrow-down-c123bff4a0eec098785e32b3aecdd050.svg') no-repeat center / contain;
  transition: transform 0.2s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: url('/images/icon/icon-arrow-up-ca4de1dd19902f3e04369d30cd325c58.svg') no-repeat center / contain;
}

.faq-answer {
  display: none;
  font-size: 16px;
  color: #444;
  padding: 0 130px 28px 90px;
  line-height: 1.7;
  word-break: auto-phrase;
}
.faq-item.open .faq-answer {
  display: block;
}


@media (max-width: 1280px) {
  /* 꽃과나무 소개 페이지 */
  .about-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
    max-width: 740px;
  }
}

@media (max-width: 1024px) {
  /* 다이어트 정보 페이지 */
  .info-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 프로그램 소개 페이지 */
  .diet-program-plus {
    display: none;
  }

  .program-choice-list {
    gap: 30px;
  }

  .program-choice-item-title {
    padding: 25px;
  }

  .program-choice-item-title h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
}


@media (max-width: 1024px) {
  .faq-question {
    padding: 20px 40px;
  }

  .faq-answer {
    padding: 0 40px 20px 40px;
  }
}


@media (max-width: 768px) {
  .sub-story {
    padding: 0 16px;
  }

  .sub-story__title {
    font-size: 64px;
  }

  .sub-story__subtitle {
    font-size: 20px;
    margin-top: -45px;
  }

  .sub-story__desc {
    font-size: 20px;
  }

  /* 오시는 길 영역 */
  .location-map-wrap {
    padding: 0 16px;
    margin-top: 70px;
    margin-bottom: 80px;
  }

  .location-info-wrap {
    flex-direction: column;
    padding: 40px 16px;
  }

  .info-title {
    width: 120px;
  }

  /* 꽃과나무 소개 페이지 */
  .about-steps {
    display: flex;
    margin-top: 120px;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }

  .about-step {
    max-width: 320px;
  }

  /* 다이어트 정보 페이지 */
  .info-list-wrap {
    padding: 0 16px;
  }

  .info-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 다이어트 정보 페이지 */
  .video-list-wrap {
    padding: 0 16px;
  }

  .video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 15px;
  }

  /* 프로그램 소개 페이지 */
  .program-list-wrap {
    padding: 0 16px;
  }

  .diet-program-steps {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .diet-program-label {
    font-size: 20px;
    margin-bottom: 0;
  }
  .diet-program-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .diet-program-desc {
    font-size: 13px;
  }

  .diet-program-summary {
    font-size: 22px;
  }

  .program-effect-wrap {
    padding: 0 16px;
  }

  .program-effect-title {
    padding-top: 85px;
    font-size: 21px;
  }

  .program-effect-list {
    margin-top: 40px;
    padding-bottom: 80px;
  }

  .program-effect-item {
    gap: 15px;
  }

  .program-effect-item-check {
    width: 20px;
    height: 20px;
  }

  .program-promise-wrap {
    padding: 0 16px;
  }

  /* 1달 약속 */
  .program-promise-wrap {
    margin-top: 120px;
    padding: 0 16px;
  }

  .program-promise-title {
    margin: 60px 0;
    font-size: 24px;
  }

  .program-promise-title h2 {
    font-size: 32px;
  }

  .program-promise-item {
    min-height: 300px;
  }

  .promise-text p {
    font-size: 17px;
  }

  /* 1달 플랜 안내 */
  .program-plan-wrap {
    margin-top: 120px;
    padding: 0 16px;
  }

  /* 1달치 구성 */
  .program-composition-wrap {
    margin-top: 120px;
    padding: 0 16px;
  }

  .program-composition-title {
    font-size: 24px;
    margin-bottom: 70px;
  }

  .program-composition-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .composition-title {
    font-size: 24px;
  }


  /* 시작 전 준비사항 */
  .program-reservation-wrap {
    padding: 90px 16px;
  }

  .program-reservation-title {
    font-size: 17px;
  }

  .program-reservation-title span {
    font-size: 24px;
  }

  .program-reservation-text {
    padding: 22px;
  }

  /* 자주하는 질문 */
  .program-faq-wrap {
    margin: 50px auto 170px;
    padding: 0 16px;
  }

  .program-faq-desc {
    font-size: 16px;
  }

  .faq-tab-list {
    gap: 0 10px;
    margin-bottom: 50px;
  }

  .faq-tab {
    font-size: 14px;
    padding: 7px;
  }

  .faq-question {
    padding: 10px 16px;
    font-size: 16px;
  }

  .faq-arrow {
    width: 14px;
    height: 14px;
  }

  .faq-answer {
    padding: 16px;
    font-size: 14px;
  }

  /* 꽃과나무를 선택해야 하는 3가지 이유 */
  .program-choice-wrap {
    padding: 0 20px;
    margin-top: 100px;
  }

  .program-choice-title {
    font-size: 21px;
    margin-bottom: 40px;
  }

  .program-choice-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /* 다이어트 정보 페이지 */
  .info-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .info-item__thumbnail {
    margin: 0 auto;
  }

  /* 다이어트 정보 페이지 */
  .video-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
  }

  /* 자주하는 질문 */
  .faq-tab {
    font-size: 11px;
  }
}