.visual,
.visual2 {
  width: 100%;
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.visual {
  background-image: url(/images/legacy-css/396bd3fd0c8b48f19e659a7a63b935ea.webp);
}

.visual2 {
  background-image: url(/images/legacy-css/d6f01a4e05cd49d38faccd4d0d9e6594.webp);
}

.visual.fixed,
.visual2.fixed {
  position: fixed;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.visual-text,
.visual-text2 {
  position: absolute;
  width: 100%;
  height: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.visual-text.fixed,
.visual-text2.fixed {
  position: fixed;
  height: 100%;
  left: 50%;
}

.visual-text .inner-wrap {
  height: 100%;
}

.visual-text .inner-wrap .txt-box {
  height: 100%;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.visual-text2.fixed .inner-wrap .txt-box {
  height: 50%;
}

.visual-text .inner-wrap .txt-box p {
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  letter-spacing: -1px;
  color: #957f6a;
}

.dr-trinity,
.trinity-space {
  width: 100%;
  height: 200vh;
  position: relative;
}

.dr-trinity .background-area,
.trinity-space .background-area {
  height: calc(100% / 2);
  background-color: #2f3a2d;
  position: sticky;
  left: 0;
  top: 0;
  overflow: hidden;
}

.dr-trinity .background-area .t-move-target.up,
.trinity-space .background-area .t-move-target.up {
  position: relative;
  top: 200px;
}

.dr-trinity .background-area .t-move-target.down,
.trinity-space .background-area .t-move-target.down {
  position: relative;
  bottom: 200px;
}

.dr-trinity .background-area .txt-box {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  font-size: 50px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  box-sizing: border-box;
  padding: 50px 0;
}

.trinity-space .background-area .txt-box {
  position: absolute;
  width: 100%;
  height: calc(50% + 100px);
  bottom: 0;
  left: 0;
  color: #fff;
  font-size: 50px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  box-sizing: border-box;
  padding: 50px 0;
}

.dr-trinity .background-area .txt-box > p,
.trinity-space .background-area .txt-box > p {
  font-weight: 700;
  font-size: 25px;
  line-height: 31px;
  text-align: center;
  letter-spacing: -1px;
}

.dr-trinity .background-area .txt-box > div h3,
.trinity-space .background-area .txt-box > div h3 {
  font-family: "Nanum Myeongjo", sans-serif;
  font-size: 100px;
  padding-bottom: 20px;
}

.trinity-space .background-area .txt-box > div h3 {
  font-weight: 400;
}

.dr-trinity .background-area .txt-box > div .docter-view-link,
.trinity-space .background-area .txt-box > div .docter-view-link {
  width: 230px;
  height: 35px;
  line-height: 35px;
  display: block;
  text-align: center;
  border: 1px solid #fff;
  font-size: 15px;
  border-radius: 35px;
  color: #fff;
  margin: 0 auto;
  --animate-delay: 1.5s;
}

.dr-trinity .background-area .txt-box > div .docter-view-link:hover,
.trinity-space .background-area .txt-box > div .docter-view-link:hover {
  background-color: #fff;
  color: #000;
}

.dr-trinity .background-area .bg,
.trinity-space .background-area .bg {
  height: 100%;
  max-width: 100%;
  width: 1300px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
}

.dr-trinity .background-area .bg > div,
.trinity-space .background-area .bg > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.dr-trinity .background-area .bg > div > div,
.trinity-space .background-area .bg > div > div {
  overflow: hidden;
}

.dr-trinity .background-area .bg > div > div img,
.trinity-space .background-area .bg > div > div img {
  will-change: transform;
  object-fit: cover;
  object-position: 50% 50%;
}

.section02 {
  height: 470px;
  background-color: rgba(213, 180, 149, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section02 p {
  font-size: 30px;
  line-height: 38px;
}

.section02 .review-link-btn {
  font-size: 15px;
  font-weight: bold;
  display: block;
  width: 270px;
  height: 35px;
  line-height: 35px;
  border-radius: 50px;
  border: 1px solid #000000;
  color: #000000;
  margin-top: 20px;
}

.section02 .review-link-btn:hover {
  background-color: #000;
  color: #fff;
}

.section02 a:hover {
  background-color: #000;
  color: #fff;
}

@keyframes fadeOut {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.5);
  }
}

.section03 {
  padding: 100px 0;
}

.section03 .top-area {
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  padding-bottom: 80px;
}

.section03 .top-area .sc03-bg {
  width: 860px;
  background: url(/images/legacy-css/5cf5d09f369e41eea5b413d266b2d364.webp)
    no-repeat center / cover;
  height: 460px;
}

.section03 .top-area .txt-box {
  position: relative;
  width: calc(100% - 860px);
  background-color: #957f6a;
  padding: 35px;
  box-sizing: border-box;
}

.section03 .top-area .txt-box > p {
  color: #fff;
  font-size: 25px;
  line-height: 31px;
  padding-bottom: 30px;
}

.section03 .top-area .txt-box ul {
  display: flex;
  gap: 10px;
}

.section03 .top-area .txt-box ul li {
  font-family: "Nanum Gothic", sans-serif;
  background-color: #fff;
  border-radius: 16px;
  width: calc(33.333333% - 20px / 3);
  padding: 10px;
  text-align: center;
}

.section03 .top-area .txt-box ul li span {
  position: relative;
  font-size: 14px;
  font-weight: 900;
}

.section03 .top-area .txt-box ul li span:after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background-color: #000;
  margin: 5px auto 20px;
}

.section03 .top-area .txt-box ul li p {
  font-size: 18px;
  font-weight: 700;
  color: #957f6a;
}

.section03 .top-area .txt-box > span {
  position: absolute;
  bottom: 30px;
  width: calc(100% - 70px);
  margin-top: auto;
  color: #fff;
  border-bottom: 1px solid #fff;
  display: block;
  padding-bottom: 5px;
  font-size: 20px;
}

.section03 .trinity-column {
  display: flex;
}

.section03 .trinity-column > div:nth-child(1) {
  width: calc(100% - 940px);
}

.section03 .trinity-column > div:nth-child(1) h3 {
  font-size: 25px;
  color: #957f6a;
  border-bottom: 1px solid #957f6a;
  padding-bottom: 5px;
  display: inline-block;
  margin-bottom: 30px;
}

.section03 .trinity-column > div:nth-child(1) p {
  font-size: 25px;
  padding-bottom: 40px;
}

.section03 .trinity-column > div:nth-child(1) .column-more-btn {
  width: 230px;
  height: 35px;
  line-height: 35px;
  display: block;
  text-align: center;
  border: 1px solid #000;
  font-size: 15px;
  border-radius: 35px;
  color: #000;
}

.section03 .trinity-column > div:nth-child(1) .column-more-btn:hover {
  color: #fff;
  background-color: #000;
}

.section03 .trinity-column > div:nth-child(2) {
  width: 940px;
}

.section03 .trinity-column > div:nth-child(2) ul {
  width: 100%;
  display: flex;
  gap: 20px;
}

.section03 .trinity-column > div:nth-child(2) ul li {
  width: calc(33.333333% - 40px / 3);
  font-size: 18px;
  font-family: "Nanum Gothic", sans-serif;
}

.section03 .trinity-column > div:nth-child(2) ul li a {
  color: #363636;
}

.section03 .trinity-column > div:nth-child(2) ul li img {
  width: 100%;
  margin-bottom: 20px;
}

.section03 .trinity-column > div:nth-child(2) ul li .cl-title {
  font-weight: bold;
  padding-bottom: 5px;
}

.section03-1 .trinity-media {
  display: flex;
  gap: 40px;
}

.section03-1 {
  background: #f7f7f7;
  padding: 100px 0;
}

.section03-1 .trinity-media > div:nth-child(1) {
  width: 860px;
}

.section03-1 .trinity-media > div:nth-child(1) > div:first-child {
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
  gap: 10px;
}

.section03-1 .trinity-media > div:nth-child(1) > div:first-child > img {
  max-width: 500px;
}

.section03-1 .trinity-media > div:nth-child(1) > div:first-child > a img {
  max-width: 40px;
}

.section03-1 .trinity-media > div:nth-child(2) {
  width: calc(100% - 860px);
  display: flex;
  flex-direction: column;
  padding-top: 77px;
  align-self: stretch;
}

.section03-1 .trinity-media > div:nth-child(2) > div:first-child {
  display: flex;
  margin-left: auto;
  gap: 10px;
}

.section03-1 .trinity-media > div:nth-child(2) > div a img {
  max-width: 40px;
}

.youtube-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  overflow: hidden;
  background: #0f0f0f;
}

.youtube-iframe-wrap iframe,
.youtube-iframe-wrap .yt-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.yt-facade {
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}

.yt-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 14px;
  background: #f00;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.yt-facade__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}

.yt-facade:hover .yt-facade__play,
.yt-facade:focus-visible .yt-facade__play {
  background: #c00;
  transform: scale(1.06);
}

.yt-facade:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.youtube-media-list {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 20px;
}

.youtube-media-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.youtube-media-list li {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: "Nanum Gothic", sans-serif;
  cursor: pointer;
}

.youtube-media-list img {
  width: 200px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.youtube-list-prev img,
.youtube-list-next img {
  cursor: pointer;
  width: 40px;
  height: auto;
  transition: opacity 0.2s;
}

.youtube-list-prev img:hover,
.youtube-list-next img:hover {
  opacity: 0.7;
}

.youtube-media-list li p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section05 {
  font-family: "Nanum Gothic", sans-serif;
  padding: 150px 0;
}

.section05 .inner-wrap {
  display: flex;
  gap: 20px;
}

.section05 .inner-wrap > div {
  border-top: 2px solid #967f6d;
}

.section05 .inner-wrap .map-info {
  width: 750px;
}

.section05 .inner-wrap .map-info .wrap_controllers {
  display: none;
}

.section05 .inner-wrap .map-info .lower-txt {
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #967f6d;
  color: #fff;
  font-size: 15px;
}

.section05 .inner-wrap .contact-area {
  position: relative;
  width: calc(100% - 770px);
  background-color: #2f3a2d;
  padding: 30px 30px 90px;
  color: #967f6d;
  font-size: 15px;
  box-sizing: border-box;
}

.section05 .inner-wrap .contact-area .clinic-hours {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 2px solid #957f6a;
  margin-bottom: 20px;
  padding-bottom: 18px;
  overflow: visible;
}

.section05 .inner-wrap .contact-area .clinic-hours__label {
  flex: 0 0 auto;
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  color: #c8ad98;
}

.section05 .inner-wrap .contact-area .clinic-hours__list {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 8px 12px;
  margin: 0;
}

.section05 .inner-wrap .contact-area .clinic-hours__item {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.section05 .inner-wrap .contact-area .clinic-hours__item dt,
.section05 .inner-wrap .contact-area .clinic-hours__item dd {
  display: inline;
  width: auto;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.6px;
  white-space: nowrap;
  color: #c8ad98;
}

.section05 .inner-wrap .contact-area .clinic-hours__item dt {
  flex: 0 0 auto;
  font-weight: 400;
}

.section05 .inner-wrap .contact-area .clinic-hours__item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 900;
}

/* 우측 상담 박스가 좁은 데스크톱: 1열로 전환해 잘림 방지 */
@media (max-width: 1480px) and (min-width: 1025px) {
  .section05 .inner-wrap .contact-area .clinic-hours__list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 6px 0;
  }

  .section05 .inner-wrap .contact-area .clinic-hours__item {
    justify-content: space-between;
    gap: 12px;
  }

  .section05 .inner-wrap .contact-area .clinic-hours__item dt,
  .section05 .inner-wrap .contact-area .clinic-hours__item dd {
    font-size: 14px;
  }
}

.section05 .inner-wrap .contact-area .contact-form-area .form-box label {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
  justify-content: space-between;
}

.section05 .inner-wrap .contact-area .contact-form-area .form-box label:last-child {
  margin-bottom: 0;
  align-items: flex-start;
}

.section05 .inner-wrap .contact-area .contact-form-area .form-box label p {
  width: calc(100% - 350px);
  font-weight: 900;
}

.section05 .inner-wrap .contact-area .contact-form-area .form-box label input {
  width: 350px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background-color: #fff;
  text-indent: 10px;
}

.section05
  .inner-wrap
  .contact-area
  .contact-form-area
  .form-box
  label
  textarea {
  width: 350px;
  height: 80px;
  border-radius: 8px;
  border: none;
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
}

.section05 .inner-wrap .contact-area .contact-form-area .contact-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #967f6d;
  color: #fff;
  font-size: 15px;
}

.section05 .inner-wrap .contact-area .contact-form-area .contact-btn a {
  display: block;
  color: #fff;
}

.animate-control {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.animate-control.aos-animate {
  opacity: 1;
}

@media (max-width: 1024px) {
  .visual-text .inner-wrap .txt-box p {
    font-size: 20px;
  }
  .dr-trinity .background-area .txt-box > p,
  .trinity-space .background-area .txt-box > p {
    font-size: 20px;
  }
  .dr-trinity .background-area .txt-box > div h3,
  .trinity-space .background-area .txt-box > div h3 {
    font-size: 50px;
    text-align: center;
  }

  .dr-trinity .background-area .bg > div:nth-child(2),
  .trinity-space .background-area .bg > div:nth-child(2) {
    display: none;
  }
  .dr-trinity .background-area .bg > div,
  .trinity-space .background-area .bg > div {
    justify-content: center;
    gap: 0;
  }

  .section02 {
    height: 250px;
  }
  .section03 {
    padding: 50px 0;
  }
  .section03 .top-area {
    flex-wrap: wrap;
  }
  .section03 .top-area .txt-box {
    width: 100%;
  }
  .section03 .top-area .txt-box > p {
    font-size: 22px;
  }
  .section03 .top-area .txt-box > span {
    width: 100%;
    position: static;
    padding-top: 20px;
  }
  .section03 .top-area .sc03-bg {
    height: 206px;
  }
  .section02 p {
    font-size: 20px;
  }

  .section03 .trinity-column {
    flex-wrap: wrap;
  }
  .section03 .trinity-column > div:nth-child(1) .column-more-btn {
    margin: 0 auto 40px;
  }
  .section03 .trinity-column > div:nth-child(2) ul li img {
    max-height: 300px;
    object-fit: cover;
  }
  .section03 .trinity-column > div:nth-child(1) {
    width: 100%;
    text-align: center;
  }
  .section03 .trinity-column > div:nth-child(2) ul {
    flex-wrap: wrap;
  }
  .section03 .trinity-column > div:nth-child(2) ul li {
    width: 100%;
  }
  .section03-1 {
    padding: 50px 20px;
  }
  .section03-1 .trinity-media {
    flex-direction: column;
    gap: 30px;
  }
  .section03-1 .trinity-media > div:nth-child(1),
  .section03-1 .trinity-media > div:nth-child(2) {
    width: 100%;
  }
  .section03-1 .trinity-media > div:nth-child(2) {
    padding-top: 0;
  }
  .section03-1 .trinity-media > div:nth-child(2) > div:first-child {
    margin-left: unset;
    width: 100%;
    justify-content: space-between;
  }
  .section03-1 .trinity-media > div:nth-child(2) > div a img {
    max-width: 30px;
  }
  .section03-1 .trinity-media > div:nth-child(1) > div:first-child {
    gap: 10px;
  }
  .section03-1 .trinity-media > div:nth-child(1) > div:first-child > img {
    max-width: 50%;
    height: auto;
  }
  .section03-1 .trinity-media > div:nth-child(1) > div:first-child > a img {
    max-width: 30px;
  }
  .section03-1
    .trinity-media
    > div:nth-child(1)
    > div:first-child
    > a:first-of-type {
    margin-left: auto;
  }
  .youtube-media-list ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  .youtube-media-list li {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .youtube-media-list img {
    width: 100%;
  }
  .youtube-media-list li p {
    white-space: normal;
    margin-top: 5px;
    font-size: 12px;
  }

  .trinity-space .background-area .txt-box {
    padding: 0 0 50px;
  }
  .trinity-space .background-area .txt-box > div h3 {
    text-align: center;
  }

  .section05 {
    padding: 50px 0;
  }
  .section05 .inner-wrap {
    flex-wrap: wrap;
  }
  .section05 .inner-wrap .map-info {
    width: 100%;
  }
  .root_daum_roughmap {
    width: 100% !important;
    height: 250px;
  }
  .root_daum_roughmap .wrap_map {
    height: 250px !important;
  }
  .section05 .inner-wrap .contact-area {
    width: 100%;
    padding-bottom: 140px;
  }
  .section05 .inner-wrap .contact-area .clinic-hours {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
  }
  .section05 .inner-wrap .contact-area .clinic-hours__label {
    font-size: 16px;
  }
  .section05 .inner-wrap .contact-area .clinic-hours__list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 0;
  }
  .section05 .inner-wrap .contact-area .clinic-hours__item {
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(149, 127, 106, 0.45);
  }
  .section05 .inner-wrap .contact-area .clinic-hours__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .section05 .inner-wrap .contact-area .clinic-hours__item dt,
  .section05 .inner-wrap .contact-area .clinic-hours__item dd {
    font-size: 15px;
  }
  .section05 .inner-wrap .contact-area .contact-form-area .form-box label {
    flex-wrap: wrap;
  }
  .section05 .inner-wrap .contact-area .contact-form-area .form-box label p {
    width: 100%;
    margin-bottom: 3px;
  }
  .section05
    .inner-wrap
    .contact-area
    .contact-form-area
    .form-box
    label
    input {
    width: 100%;
  }

  footer {
    padding: 50px 0 130px !important;
  }
}
