html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  box-sizing: border-box;
  color: #ffffff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 24px;
}

h1 {
  font-size: 2rem;
  color: #333;
  margin-top: 100px;
  text-align: center;
  font-weight: 700;
}

/* .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 860px;
  background-color: rgb(255, 255, 255);
  padding: 0;
} */

.container {
  width: 100%;
  max-width: 860px;
  background-color: rgb(255, 255, 255);
  margin: 0 auto;
}

.container p {
  font-size: 1.0rem;
  color: #333;
  line-height: 1.0;
  text-align: center;
  /* margin-bottom: 100px; */
}


.main-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
  margin-top: 30px;
  padding: 0;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}


/* 상담신청 접수 하기 */
.bottom-button {
  width: 50%;
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 100px;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

/* .bottom-button-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  margin-top: 24px;
  margin-bottom: 40px;
  transition: transform 0.2s ease-in-out;
} */



.footer {
  width: 100%;
  padding: 20px 0;
  background-color: #333;
  color: #aaa;
  font-size: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content {
  max-width: 860px;
  width: 100%;
}

.footer-content p {
  margin: 4px 0;
}

.detail-item {
  padding: 12px;
  background-color: #222;
  border-radius: 8px;
  text-align: center;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
  /* color: #ffca45; */
  /* font-size: 1rem; */
}

/* .horizontal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
} */

.vertical-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* align-items: center; */
  gap: 16px;
  text-align: center;
  /* text-align: left; */
}

.icon-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* .text-group {
  flex: 1;
} */

.title-text {
  font-weight: 500;
  font-size: 1rem;
  color: #ffca45;
  /* margin-bottom: 2px; */
  text-align: center;
}

.desc-text {
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
  text-align: left;
}


/* 상단 추가 */
.top-hero {
  position: relative;
  width: 100%;
  /* height: auto; */
  background: url('../images/top_background_img_01.jpg') no-repeat center top / cover;
  padding-top: 500px;
  /* 16:9 비율 유지 */
}

.top-hero .hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: auto;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 16px;
  width: 100%;
}

.hero-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #ffb700;
}

/* 반응형 설정 */
@media (max-width: 768px) {

  html,
  body {
    font-size: 16px;
  }

  .wrapper {
    padding: 16px;
  }

  /* .bottom-button-link {
    margin-bottom: 30px;
  } */

  .text-section h1 {
    font-size: 22px;
  }

  .text-section p {
    font-size: 16px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .top-hero .hero-logo {
    width: 90px;
    top: 16px;
    left: 16px;
  }
}