.frame {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.frame .div {
  display: flex;
  flex-direction: column;
  height: 1080px;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.frame .frame-wrapper {
  display: flex;
  flex-direction: column;
  height: 1080px;
  align-items: flex-start;
  gap: 8px;
  padding: 467px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-image: url(./img/frame-5.png);
  background-size: cover;
  background-position: 50% 50%;
}

.frame .div-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  margin-bottom: -60.00px;
}

.frame .text-wrapper {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "S-Core Dream-6Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 56px;
  text-align: center;
  letter-spacing: 0;
  line-height: 70px;
}

.frame .are-you-dreaming-of {
  position: relative;
  align-self: stretch;
  font-family: "S-Core Dream-4Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
}

.frame .div-3 {
  display: flex;
  width: 100%; /* 기존: 1920px */
  height: 100px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #ffffff80;
}

.frame .div-4 {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  position: relative;
  flex: 0 0 auto;
}

.frame .image {
  position: relative;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.frame .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: "S-Core Dream-5Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 40px;
  white-space: nowrap;
}

.frame .button {
  display: inline-flex; /* flex인데 width 고정 제거 */
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background-color: #539e61;
  border-radius: 8px;
  white-space: nowrap; /* 줄바꿈 방지 */
  color: white; /* 텍스트 색상 */
}

.frame .button a {
  color: white; /* 링크 색상 */
  text-decoration: none;
  font-family: "S-Core Dream-5Medium", Helvetica;
  font-size: 16px;
  font-weight: 500;
}

.frame .div-5 {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  position: relative;
  flex: 0 0 auto;
}

.frame .text-wrapper-3 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "S-Core Dream-4Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  white-space: nowrap;
}

.frame .text-wrapper-3-1 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "S-Core Dream-6Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  white-space: nowrap;
}

.frame .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "S-Core Dream-4Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: 30px;
  white-space: nowrap;
}

.frame .div-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 120px 5%; /* 반응형 여백으로 변경 */
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #ffffff;
}

.frame .div-6 {
  display: flex;
  flex-direction: column;
  width: 100%; /* 고정 해제 */
  max-width: 1208px; /* 최대 너비 제한 */
  margin: 0 auto;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  position: relative;
}

.frame .div-7 {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f8f8f8;
  border-radius: 32px;
}

.frame .div-8 {
  display: flex;
  flex-direction: column;
  width: 593px;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.frame .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "S-Core Dream-5Medium", Helvetica;
  font-weight: 500;
  color: #539e61;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
}

.frame .p {
  position: relative;
  align-self: stretch;
  font-family: "S-Core Dream-6Bold", Helvetica;
  font-weight: 700;
  color: #444444;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 37.5px;
}

.frame .group {
  background-color: #deefe1;
  position: relative;
  width: 487px;
  height: 289px;
  border-radius: 32px;
}

.frame .element {
  position: absolute;
  width: 405px;
  height: 212px;
  top: 38px;
  left: 41px;
  object-fit: cover;
}

.frame .element-wrapper {
  background-color: #dfefe2;
  position: relative;
  width: 487px;
  height: 289px;
  border-radius: 32px;
}

.frame .img {
  position: absolute;
  width: 228px;
  top: 50%;
  transform: translateY(-50%);
  left: 130px;
  object-fit: cover;
}

.frame .element-2 {
  position: absolute;
  width: 241px;
  top: 50%;
  transform: translateY(-50%);
  left: 123px;
  object-fit: cover;
}

.frame .start-building-a-new-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 180px 5%;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-image: url(./img/frame-18.png);
  background-size: cover;
  background-position: center;
}

.frame .start-building-a-new {
  position: relative;
  text-align: center;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "S-Core Dream-4Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 56px;
  letter-spacing: 0;
  line-height: 90px;
}

.frame .the-ho-in-languase-wrapper {
  display: flex;
  height: 260px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 109px 5%; /* 기존: 798px 고정 패딩 → % 처리 */
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #171917;
}

.frame .the-ho-in-languase {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Pretendard-Regular", Helvetica;
  font-weight: 400;
  color: #bfbfbf;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}
