.wrap {
  display: flex;
  justify-content: center;
  width: 100vw;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}
.inner {
/*   height: 100vh; */
  width: 1200px;
}
.header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu {
  position: relative;
  display: flex;
  gap: 30px;
  font-size: 16px;
  height: 100%;
  align-items: center;
}
.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 10px 20px;
}
.menu > li:hover > a {
  color: #18bebc;
  font-weight: 600;
}
.menu > li:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%; /* a 태그 바로 아래 */
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 150px;
}

.submenu li {
  padding: 10px 0;
  text-align: center;
  font-size: 15px;
}

.submenu li:hover {
  background-color: #f3f6fb;
}

.banner {
  display: flex;
  justify-content: space-between;
}
.swiper {
  width: 65%;
  height: 340px;

  border-radius: 20px;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.swiper-slide h1 {
  color: #fff;
  padding: 130px 50px;
  z-index: 9999;
  font-size: 26px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.swiper-pagination {
  text-align: center;
  padding-top: 10px;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background-color: #17bebb !important;
  border-radius: 50%;
  opacity: 1; 
  transition: all 0.3s;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background-color: #17bebb !important;
  width: 30px !important;
  border-radius: 15px !important;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.sv1 {
  background-image: url("../img/sv1.jpg");
}
.sv2 {
  background-image: url("../img/sv2.jpg");
}
.sv3 {
  background-image: url("../img/sv3.jpg");
}

.side-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32%;
  height: 340px;
  background-image: url("../img/side-banner.jpg");
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.side-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background 0.3s ease;
  border-radius: 20px;
}
.side-banner:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

.side-banner h2 {
  font-size: 21px;
  line-height: 30px;
  padding: 55px 0px 10px 40px;
}
.side-banner p {
  font-size: 14px;
  padding-left: 40px;
}

.button-wrap {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}
.side-banner:hover .button-wrap {
  opacity: 1;
  visibility: visible;
}
.more-button {
  width: 49%;
  height: 65px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  display: FLEX;
  justify-content: CENTER;
  align-items: CENTER;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.more-button:hover {
  background-color: #18bebc;
  color: #fff;
  font-weight: 700;
}
.more-button > a {
  display: flex;
  justify-content: center;
}
.more-button span {
  font-size: 14px;
  margin-left: 5px;
}
.section-1 {
  justify-content: space-between;
  display: flex;
  margin: 24px 0px;
}
.section-1 ul {
  justify-content: space-between;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  width: 65%;
}

.section-1 li {
  position: relative;
  background-color: #f4f6fa;
  width: 25%;
  height: 220px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 3px solid #f4f6fa;
}
.section-1 li:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-10px);
  background-color: #f1fcf4;
  border: 3px solid #d4f4dd;
}

.section-1 li img {
  width: 26%;
}
.section-1 li h2 {
  padding: 15px;
}
.section-1 li span {
  font-size: 14px;
}
.content-1 {
}
.notice {
  width: 32%;
  height: 220px;
  background-color: #ebfcf0;
  border-radius: 20px;
}

.notice1 {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  align-items: center;
}

.notice1-1 {
  display: flex;
  align-items: center;
}

.notice1-1 h2 {
  margin-left: 10px;
}

.notice1-2 {
  font-size: 14px;
  font-weight: 500;
}

.notice2-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;

  box-sizing: border-box;
}

.notice2-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.notice2-slide {
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 0px 30px 20px 30px;
  box-sizing: border-box;
}

.notice2-1 {
  position: relative;
  padding-left: 15px;
}

.notice2-1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background-color: #333;
  border-radius: 50%;
}

.notice2-2 {
  white-space: nowrap;
}

.notice2-dots {
  text-align: center;
  padding-top: 10px;
}

.notice2-dots .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background-color: #17bebb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.notice2-dots .dot.active {
  background-color: #17bebb;
  width: 30px;
  border-radius: 15px;
}

.section-2 {
  justify-content: space-between;
  display: flex;
}
.section-2 ul {
  justify-content: space-between;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  width: 65%;
}
.section-2 li {
  position: relative;
  background-color: #373738;
  width: 50%;
  height: 158px;
  border-radius: 20px;
}
.hospital {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.hospital .text {
  position: absolute;
  z-index: 10;
  color: #fff;
  padding: 35px 0px 0px 40px;
}
.text span {
  display: block;
  font-size: 15px;
  margin-top: 10px;
}
.hospital img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hospital:hover img {
  transform: scale(1.1);
}
.call {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.call .text {
  position: absolute;
  z-index: 10;
  color: #fff;
  padding: 35px 0px 0px 40px;
}

.call img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.call:hover img {
  transform: scale(1.1);
}
.overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.section-2 .time {
  width: 32%;
  height: 158px;
  background-image: url("../img/time.jpg");
  border-radius: 20px;
  display: flex;
  color: #fff;
  flex-direction: column;
}
.time-txt {
  display: flex;
  padding: 35px 40px 0px 40px;
  justify-content: space-between;
}
.time-txt p {
  font-size: 18px;
}

.footer {
    width: 100vw;
    background-color: #4A5158;
    text-align: center; 
    padding: 20px 0; 
}
.footer img {
    display: inline-block;
}