/* ========================= 섹션1 ==================== */
#main .sec1.sec_hero_swiper {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

#main .sec1_swiper {
  width: 100%;
  height: 100%;
}

#main .sec1_slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  background-blend-mode: luminosity, multiply, screen;
}

/* 슬라이드 배경 */
#main .sec1_slide.sec1_slide_bg1 {
  background-image:
    url(/img/main/main_slider_bg1.jpg), url(/img/main/main_slider_bg1.jpg),
    linear-gradient(lightgray, lightgray);
}

#main .sec1_slide.sec1_slide_bg2 {
  background-image:
    url(/img/main/main_slider_bg2.png), url(/img/main/main_slider_bg2.png),
    linear-gradient(lightgray, lightgray);
}

#main .sec1_slide.sec1_slide_bg3 {
  background-image:
    url(/img/main/main_slider_bg3.png), url(/img/main/main_slider_bg3.png),
    linear-gradient(lightgray, lightgray);
}

#main .sec1_slide.sec1_slide_bg4 {
  background-image:
    url(/img/main/main_slider_bg4.png), url(/img/main/main_slider_bg4.png),
    linear-gradient(lightgray, lightgray);
}

#main .sec1_slide::before {
  display: none;
}

#main .sec1_inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  overflow: visible;
}

@keyframes sec1_left_slide {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#main .sec1_left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#main .sec1_left.sec1_left--animate {
  animation: sec1_left_slide 0.7s ease 0.1s both;
}

#main .sec1_subtit {
  color: #171717;
  font-family: "NanumMyeongjoOTF", "Nanum Myeongjo", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-transform: capitalize;
  margin-bottom: 8px;
}

#main .sec1_tit_main {
  font-size: 50px;
  line-height: 130%;
  /* 65px */
  letter-spacing: -1px;
  margin-bottom: 16px;
}

#main .sec1_slide_bg4 .sec1_tit_main {
  margin-bottom: 24px;
}

/* 타이틀 */
#main .sec1_tit {
  color: #171717;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.6px;
  text-transform: capitalize;
  margin-bottom: 40px;
}

#main .sec1_tit br {
  display: block;
}

/* PC: 모바일 전용 줄바꿈 숨김 */
#main .br-mobile {
  display: none;
}

/* PC 전용 줄바꿈 (모바일에서 숨김) */
#main .sec1_tit br.br-pc,
#main .sec4_desc br.br-pc {
  display: block;
}

/* 타이틀 강조  */
#main .sec1_tit_em {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: inherit;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -1px;
  text-transform: capitalize;
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 설명 */
#main .sec1_txt {
  color: #262626;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 160%;
  letter-spacing: -0.44px;
  text-transform: capitalize;
  margin-bottom: 60px;
}

#main .sec1_progress_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#main .sec1_progress_num {
  color: #262626;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

#main .sec1_progress {
  flex: 1;
  max-width: 240px;
  height: 4px;
  background: #33333333;
  border-radius: 4px;
  overflow: hidden;
}

#main .sec1_progress_bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%), #262626;
  border-radius: 4px;
  transition: width 0s linear;
}

#main .sec1_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 1000px;
  border: none;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  text-transform: capitalize;
  width: fit-content;
  background: linear-gradient(to right, #8e5b48, #1f0d06);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.4s ease-in-out;
}

#main .sec1_btn:hover {
  color: #fff;
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: none;
}

#main .sec1_btn_icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #262626;
  transition: color 0.4s ease-in-out;
}

#main .sec1_btn:hover .sec1_btn_icon {
  color: #fff;
}

#main .sec1_btn_icon svg {
  display: block;
}

#main .sec1_btn_icon svg path {
  transition: fill 0.5s ease-in-out;
}

#main .sec1_btn:hover .sec1_btn_icon svg path {
  fill: #fff;
}

#main .sec1_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(to right, #8e5b48, #1f0d06);
  transition: opacity 0.5s ease-in-out;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

#main .sec1_nav {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

#main .sec1_nav .sec1_nav_btn {
  pointer-events: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

#main .sec1_nav .sec1_nav_btn:hover {
  opacity: 0.85;
}

#main .sec1_nav .sec1_nav_btn:active {
  opacity: 0.7;
}

#main .sec1_nav .sec1_nav_btn img {
  display: block;
  width: auto;
  height: auto;
  vertical-align: middle;
}

#main .sec1_right {
  position: absolute;
  z-index: 1;
  right: 0px;
  top: 0;
  bottom: 0;
  height: 100%;
}

@media screen and (min-width: 1920px) {
  #main .sec1_right {
    right: 55px;
  }

  #main .sec1_gif2 {
    right: 105px;
  }

  #main .sec1_gif3 {
    right: 40px;
  }
}

#main .sec1_img_wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

#main .sec1_img_wrap .sec1_img_inner {
  position: relative;
  width: 100%;
  height: 100%;
  /* transform: scale(0.88); */
  transform-origin: bottom;
}

#main .sec1_gif {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom;
  border-radius: 12px;
  transform: scale(0.88);
  transform-origin: bottom;
}

#main .sec1_img_wrap .sec1_gif {
  transform: scale(0.92);
}

#main .sec1_img_wrap .sec1_gif.sec1_gif--down1 {
  position: relative;
  top: 74px;
}

#main .sec1_img_wrap .sec1_gif.sec1_gif--down2 {
  position: relative;
  top: 200px;
}

#main .sec1_img_wrap .sec1_gif.sec1_gif--scale104 {
  transform: scale(1.04);
}

#main .sec1_img_wrap .sec1_gif.sec1_gif--scale108 {
  transform: scale(1.15);
}

#main .sec1_slide_bg4 .sec1_img_wrap .sec1_gif {
  object-position: bottom;
  transform: none;
}

#main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
  transform: scale(0.75);
  transform-origin: bottom;
}

/* 4번 슬라이드: PC에서는 모바일용 이미지 숨김 */
#main .sec1_slide_bg4 .sec1_gif--mobile {
  display: none;
}

/* 1920→1024 구간 이미지 축소 */
@media screen and (max-width: 1600px) {
  #main .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.82);
  }

  #main .sec1_gif {
    transform: scale(0.82);
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.7);
  }
}

@media screen and (max-width: 1360px) {
  #main .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.76);
  }

  #main .sec1_gif {
    transform: scale(0.76);
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.65);
  }
}

@media screen and (max-width: 1200px) {
  #main .sec1_img_wrap .sec1_gif.sec1_gif--down1,
  #main .sec1_img_wrap .sec1_gif.sec1_gif--down2 {
    top: 0;
  }

  #main .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.7);
  }

  #main .sec1_gif {
    transform: scale(0.7);
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.6);
  }
}

@media screen and (max-width: 1100px) {
  #main .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.66);
  }

  #main .sec1_gif {
    transform: scale(0.66);
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.56);
  }
}

@media screen and (max-width: 1024px) {
  /* 네비게이션 숨김 */
  #main .sec1_nav {
    display: none;
  }

  #main .sec1_img_wrap .sec1_gif.sec1_gif--down1,
  #main .sec1_img_wrap .sec1_gif.sec1_gif--down2 {
    top: 0;
  }

  #main .sec1_inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 24px 0;
    text-align: left;
  }

  #main .sec1_left {
    max-width: 100%;
    min-width: 0;
    align-self: flex-start;
    text-align: left;
  }

  #main .sec1_subtit {
    font-size: 20px;
  }

  #main .sec1_tit {
    font-size: clamp(28px, 5vw, 42px);
  }

  #main .sec1_txt {
    font-size: 18px;
  }

  #main .sec1_progress_wrap {
    justify-content: flex-start;
  }

  #main .sec1_right {
    position: static;
    right: auto;
    width: 100%;
    max-width: fit-content;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    align-self: center;
    border-radius: 12px;
  }

  #main .sec1_img_wrap .sec1_img_inner {
    transform: none;
    transform-origin: unset;
  }

  #main .sec1_gif {
    transform: none;
    transform-origin: unset;
    border-radius: 12px 12px 0 0;
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.85);
    transform-origin: bottom;
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_gif {
    object-position: bottom;
    border-radius: 12px 12px 0 0;
  }
}

@media screen and (max-width: 768px) {
  /* 모바일: 전용 줄바꿈 표시 */
  #main .br-mobile {
    display: inline;
  }

  #main .br-mobile br {
    display: block;
  }

  /* 모바일: PC 전용 줄바꿈 숨김 */
  #main .sec1_tit br.br-pc,
  #main .sec4_desc br.br-pc {
    display: none !important;
  }

  #main .sec1.sec_hero_swiper {
    overflow: visible;
    min-height: 0;
    height: 100svh;
    max-height: 800px;
  }

  #main .sec1_nav {
    bottom: 24px;
  }

  #main .sec1_nav .sec1_nav_btn img {
    max-width: 44px;
    max-height: 44px;
  }

  #main .sec1_swiper {
    height: auto;
    /* min-height: 100vh; */
  }

  #main .sec1_slide {
    height: auto;
    /* min-height: 100vh; */
    align-items: stretch;
  }

  #main .sec1_inner {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    /* min-height: 100svh; */
    padding: 100px 0 0;
    gap: 0;
  }

  /* 상단 영역 50% – 텍스트 */
  #main .sec1_left {
    flex: 1 1 50%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
  }

  /* 하단 영역: 높이 고정 */
  #main .sec1_right {
    flex: 0 0 auto;
    height: 65%;
    /* min-height: 320px; */
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    width: 100%;
    /* margin-bottom: -40px; */
  }

  #main .sec1_gif3 {
    margin-bottom: 0px;
  }

  #main .sec1_gif3 .sec1_img_wrap img {
    transform: scale(1.01);
  }

  /* 모바일: 모든 슬라이드 이미지 영역 높이 고정 */
  #main .sec1_img_wrap {
    width: 100%;
    display: block;
    overflow: hidden;
  }

  #main .sec1_img_wrap .sec1_img_inner {
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
  }

  /* 4번 슬라이드 */
  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_gif--pc {
    display: none !important;
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_gif--mobile {
    display: block !important;
  }

  #main .sec1_gif {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: bottom;
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: none;
    transform-origin: bottom;
  }

  #main .sec1_subtit {
    font-size: 16px;
  }

  #main .sec1_tit_main {
    font-size: 34px;
    font-weight: 700;
    line-height: 130%;
    /* 44.2px */
    letter-spacing: -0.68px;
    text-transform: capitalize;
    margin-bottom: 8px;
  }

  #main .sec1_tit_main .online_tit {
    font-weight: 300;
  }

  #main .sec1_tit {
    font-size: 18px;
    color: #171717;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    /* 23.4px */
    letter-spacing: -0.36px;
    text-transform: capitalize;
  }

  #main .sec1_txt {
    /* font-size: 16px; */
    /* margin-bottom: 20px; */
    display: none;
  }

  #main .sec1_progress_wrap {
    margin-bottom: 20px;
  }

  #main .sec1_progress {
    max-width: 160px;
  }

  #main .sec1_btn {
    padding: 8px 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 1.5) {
  #main .sec1_gif {
    object-position: center top !important;
    object-fit: contain !important;
    transform: scale(0.72) translateY(-50px);
  }

  #main .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.72);
  }

  #main .sec1_slide_bg4 .sec1_img_wrap {
    width: 100%;
  }

  #main .sec1_slide_bg4 .sec1_img_wrap .sec1_img_inner {
    transform: scale(0.8);
    width: 100%;
  }

  #main .sec1_slide_bg4 .sec1_gif {
    object-fit: contain !important;
    object-position: center bottom !important;

    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;

    margin: 0 auto;
    display: block;
    transform: none !important;
  }

  /* 하단 정렬 제거 */
  #main .sec1_img_wrap .sec1_gif.sec1_gif--down1,
  #main .sec1_img_wrap .sec1_gif.sec1_gif--down2 {
    top: 0 !important;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  #main .sec1_gif {
    object-position: center top !important;
    transform: scale(0.68) translateY(-50px);
  }

  /* 4번 슬라이드 */
  #main .sec1_slide_bg4 .sec1_gif {
    object-fit: contain !important;
    object-position: center bottom !important;

    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;

    margin: 0 auto;
    display: block;
    transform: none !important;
  }
}

/* =============== 섹션2: 대표원장 소개 =============== */
#main .sec2 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  /* 수정전: display flex / align-items center / justify-content center 없었음 */
  /* 아래 3줄 수정 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  */
#main .sec2_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#main .sec2_bg_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 배경 로고 3개  */
#main .sec2_logos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#main .sec2_logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 1;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

#main .sec2_logo img {
  /* max-width: 280px; */
  /* max-height: 70%; */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 반포 */
#main .sec2_logo--1 {
  inset: auto;
  top: -1%;
  left: 5%;
  right: auto;
  bottom: auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}

#main .sec2_logo--1 img {
  opacity: 0.2;
  width: 25vw;
  display: none;
}

/* 20000  */
#main .sec2_logo--2 {
  inset: auto;
  top: 8%;
  left: 33%;
  right: auto;
  bottom: auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  width: 25vw;
}

/* in_banpo*/
#main .sec2_logo--3 {
  inset: auto;
  top: 28%;
  left: auto;
  right: 5%;
  bottom: auto;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  width: 45vw;
}

#main .sec2_inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  box-sizing: border-box;
  max-width: 1700px;
  padding-inline: 32px;
  /* 수정 */
  padding-block: 180px;
}

#main .sec2_left {
  flex: 0.65;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 0;
}

#main .sec2_photo_wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main .sec2_photo {
  /* width: 100%; height: auto; object-position: bottom; transform: scale(0.95); transform-origin: bottom; */
  /* margin: 0 auto; / width: 65%; margin-right: auto; (주석) */
  /* display: block; */
  /* object-fit: contain; */
  max-width: 100%;

  width: auto;
  height: 100%;
  max-height: 100%;
  /* object-position: center; */
  /* transform-origin: center; */
  mix-blend-mode: soft-light;
  transform: scale(0.9);
  z-index: 2;
}

#main .sec2_right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* 수정 */
  align-self: stretch;
}

#main .sec2_info_wrap {
  padding-left: 40px;
}

/* 텍스트 */
#main .sec2_tit {
  color: #fff;
  /* font-size: 50px; */
  font-size: 2.6vw;
  font-weight: 300;
  line-height: 130%;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

#main .sec2_desc {
  color: #fff;
  /* font-size: 26px; */
  font-size: 1.4vw;
  font-weight: 300;
  line-height: 160%;
  letter-spacing: -0.52px;
  text-align: right;
  margin-bottom: 45px;
}

#main .sec2_role {
  color: #fff;
  /* font-size: 20px; */
  font-size: 1.04vw;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

#main .sec2_name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 39px;
}

#main .sec2_name_main {
  color: #fff;
  /* font-size: 38px; */
  font-size: 2.04vw;
  font-weight: 600;
  letter-spacing: -1.52px;
}

#main .sec2_name_sub {
  color: #fff;
  /* font-size: 26px; */
  font-size: 1.3vw;
  font-weight: 300;
  letter-spacing: -1.04px;
}

/* 하단 3열: 학력/연혁, 학회 활동, Media */
#main .sec2_cols {
  display: grid;
  grid-template-columns: auto auto auto;
  /* gap: 40px; */
  gap: 2.08vw;
  margin-bottom: clamp(28px, 2.5vw, 40px);
}

#main .sec2_col_tit {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

#main .sec2_list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #f3f3f3;
  font-size: 18px;
  /* font-size: 1.04vw; */
  font-weight: 300;
  line-height: 160%;
  letter-spacing: -0.36px;
}

#main .sec2_list li {
  position: relative;
  padding-left: 1em;
}

#main .sec2_list li::before {
  content: "-";
  position: absolute;
  left: 0;
}

#main .sec2_list li + li {
  margin-top: 6px;
}

#main .sec2_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: 1px solid #fff;
  background: transparent;

  color: #fff;
  text-decoration: none;

  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border-radius: 1000px;
  padding: 12px 30px;

  transition: all 0.3s ease;
}

#main .sec2_btn .sec2_icon {
  display: block;
}

#main .sec2_btn .icon_ring {
  /*  */
  fill: #fff;
  stroke: #815240;
  stroke-width: 2;
}

#main .sec2_btn .icon_arrow {
  fill: none;
  stroke: #815240;
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

#main .sec2_btn:hover {
  background: #fff;
  color: #815240;
}

#main .sec2_btn:hover .icon_ring {
  fill: #815240;
  stroke: #815240;
}

#main .sec2_btn:hover .icon_arrow {
  stroke: #fff;
}

/*  */
/* 수정전: 중간 해상도 이미지 scale 미디어쿼리 */
/*
@media screen and (max-width: 1400px) {
  #main .sec2_photo {
    transform: scale(0.96);
  }
}
@media screen and (max-width: 1200px) {
  #main .sec2_photo {
    transform: scale(0.94);
  }
}
*/

@media screen and (max-width: 1024px) {
  #main .sec2 {
    min-height: fit-content;
  }

  #main .sec2_inner {
    flex-direction: column;
    align-items: center;
    padding: 80px 24px 0;
    /* padding: 80px 24px; */
    text-align: center;
    min-height: 100vh;
    gap: 60px;
  }

  /* 태블릿~모바일: 섹션2 배경 로고 위치/크기 조정 */
  #main .sec2_logo--1 {
    top: auto;
    bottom: 25%;
  }

  #main .sec2_logo--1 img {
    width: 40vw;
  }

  #main .sec2_logo--2 {
    width: 60vw;
    left: 0%;
  }

  #main .sec2_logo--3 {
    width: 55vw;
    top: 25%;
  }

  #main .sec2_left {
    width: 100%;
    max-width: fit-content;
    min-height: auto;
    margin: 0;
    margin-top: auto;
    padding: 0;
    align-items: flex-end;
    justify-content: center;
  }

  #main .sec2_photo {
    transform: none;
    height: auto;
    min-height: 0;
    max-height: 70vh;
    /* object-fit: cover; */
    /* object-position: center bottom; */
    /* 수정 */
    width: 40vw;
  }

  #main .sec2_heading,
  #main .sec2_tit,
  #main .sec2_desc {
    text-align: center;
  }

  #main .sec2_tit {
    font-size: 28px;
  }

  #main .sec2_desc {
    font-size: 18px;
  }

  #main .sec2_right {
    order: 1;
    /* 수정 */
    justify-content: center;
  }

  #main .sec2_left {
    order: 2;
    margin: 0 auto;
  }

  #main .sec2_info_wrap {
    padding-left: 0;
  }

  #main .sec2_role,
  #main .sec2_name {
    text-align: center;
  }

  #main .sec2_name {
    justify-content: center;
  }

  #main .sec2_role {
    font-size: 16px;
  }

  #main .sec2_name_main {
    font-size: 38px;
  }

  #main .sec2_name_sub {
    font-size: 24px;
  }

  /* 태블릿~모바일: 학력/연혁, 학회 활동, Media 영역 숨김 */
  #main .sec2_cols {
    display: none;
  }

  #main .sec2_btn {
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  #main .sec2_inner {
    padding: 60px 20px;
    gap: 40px;
  }

  #main .sec2_tit {
    font-size: 21px;
    margin-bottom: 16px;
    letter-spacing: -0.88px;
  }

  #main .sec2_desc {
    font-size: 20px;
    margin-bottom: 24px;
    line-height: 140%;
  }

  #main .sec2_name {
    margin-bottom: 24px;
  }

  #main .sec2_name_main {
    font-size: 30px;
    letter-spacing: -1.2px;
  }

  #main .sec2_name_sub {
    font-size: 24px;
  }

  #main .sec2_btn {
    padding: 12px 30px;
  }

  #main .sec2_info_wrap {
    padding-bottom: 0;
  }
}

/* =============== 섹션3 =============== */

#main .sec3_swiper_mobile {
  display: none;
}

#main .sec3_pin_wrap {
  position: relative;
  will-change: transform;
}

#main .sec3 {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
}

#main .sec3_inner {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
}

#main .sec3_left {
  flex: 0 0 53.5%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(180deg, #e9e9e9 0%, #f6f6f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#main .sec3_img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
}

/* 섹션3 이미지 영역 네비게이션 */
#main .sec3-pagination {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: none;
  /* 태블릿~모바일에서만 노출 */
  align-items: center;
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#main .sec3-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #000;
  opacity: 0.2;
  transition:
    opacity 0.25s ease,
    background 0.25s ease;
}

#main
  .sec3-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active,
#main .sec3-pagination .swiper-pagination-bullet[aria-current="true"] {
  opacity: 1;
  background: #8e5b48;
}

#main .sec3_right {
  flex: 0 0 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 88px 110px 0 0;
}

#main .sec3_steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* sec3 step  */
#main .sec3_step {
  border-bottom: 1px solid #e5e5e5;
  transition: 1s;
  /* padding: 0 2vw; */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#main .sec3_step_inner {
  padding: 59px 0 59px 74px;
  transition: 1s;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* height: 140px; */
}

#main .sec3_step:last-child {
  border-bottom: none;
}

#main .sec3_step.is-active {
  height: calc(100% - 194px);
  /* padding: 80px 2vw 60px; */
  padding: 80px 0 60px;
}

#main .sec3_headline_plain {
  display: block;
  opacity: 1;
}

#main .sec3_step.is-active .sec3_headline_plain {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

#main .sec3_headline {
  position: relative;
  color: #999;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin: 0 0 0 0;
  opacity: 0.78;
}

#main .sec3_step.is-active .sec3_headline {
  color: #5c3d2e;
  font-size: 34px;
  font-weight: 600;
  line-height: 130%;
  opacity: 1;
}

/* 활성화 패널 */
#main .sec3_step_open {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  /* transition: max-height 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1); */
  transition: 1s;
}

#main .sec3_step.is-active .sec3_step_open {
  max-height: 500px;
  opacity: 1;
  /* transition: max-height 3.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 3.25s cubic-bezier(0.22, 1, 0.36, 1); */
}

/* 활성화 뒤 글자 페이드업*/
@keyframes sec3-open-inner-rise {
  from {
    transform: translateY(14px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* #main .sec3_step_open_inner {
    transform: translateY(14px);
    opacity: 0;
}

#main .sec3_step.is-active .sec3_step_open_inner {
    transform: translateY(14px);
    opacity: 0;
} */

#main .sec3_pin_wrap.is-inview .sec3_step.is-active .sec3_step_open_inner {
  /* animation-name: sec3-open-inner-rise;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; */
}

/* 활성 영역 내 헤드라인(div) 스타일 */
#main .sec3_step_open .sec3_headline_rich {
  color: #171717;
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
  /* padding: 0 0 4px 0; */
  transition: 1s;
  opacity: 0;
  overflow: hidden;
}

#main .sec3_step.is-active .sec3_headline_rich {
  font-size: 34px;
  opacity: 1;
}

#main .sec3_headline_em {
  font-weight: 600;
}

#main .sec3_step_open .sec3_headline_rich .sec3_headline_em {
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main .sec3_sublist {
  list-style: none;
  margin: 0;
  padding: 40px 0 0 0;
  /* padding: 16px 0 0 0; */
  transition: 1s;
  opacity: 0;
  max-height: 0;
}

#main .sec3_step.is-active .sec3_sublist {
  opacity: 1;
  max-height: 190px;
}

#main .sec3_subitem {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 12px;
}

#main .sec3_subitem:last-child {
  border-bottom: none;
}

#main .sec3_label {
  flex-shrink: 0;
  width: 110px;
  box-sizing: border-box;
  padding: 6px 14px;
  border-radius: 1000px;
  border: 1px solid #262626;
  background: transparent;
  color: #262626;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.36px;
  text-align: center;
}

#main .sec3_desc {
  color: #262626;
  font-size: 18px;
  font-weight: 300;
  line-height: 160%;
  letter-spacing: -0.36px;
}

@media screen and (max-width: 1024px) {
  #main .sec3_pin_wrap {
    display: none !important;
  }

  #main .sec3_swiper_mobile {
    display: block;
    background: #fff;
  }

  #main .sec3_swiper {
    position: relative;
    overflow: hidden;
    height: auto;
  }

  #main .sec3_swiper .swiper-wrapper {
    height: auto;
  }

  #main .sec3_mobile_slide {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  #main .sec3_mobile_img {
    flex: 0 0 50vh;
    min-height: 50vh;
    max-height: 50vh;
    background: linear-gradient(180deg, #e9e9e9 0%, #f6f6f6 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #main .sec3_mobile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  #main .sec3_mobile_content {
    flex: 1;
    padding: 48px 23px 60px;
    box-sizing: border-box;
  }

  #main .sec3_mobile_headline_rich {
    color: #171717;
    font-size: 22px;
    font-weight: 400;
    line-height: 130%;
    margin: 0 0 0 0;
    text-align: center;
  }

  #main .sec3_mobile_headline_rich .sec3_headline_em {
    font-weight: 600;
    background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  #main .sec3_swiper_mobile .sec3_sublist {
    list-style: none;
    margin: 0;
    padding: 20px 0 0 0;
    opacity: 1;
    max-height: none;
  }

  #main .sec3_swiper_mobile .sec3_subitem {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 8px;
  }

  #main .sec3_swiper_mobile .sec3_subitem:last-child {
    border-bottom: none;
  }

  /* 페이지네이션 */
  #main .sec3_swiper-pagination {
    position: absolute;
    left: 50%;
    top: calc(50vh - 18px);
    bottom: auto;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
  }

  #main .sec3_swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #000;
    opacity: 0.2;
    transition:
      opacity 0.25s ease,
      background 0.25s ease;
  }

  #main .sec3_swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #8e5b48;
  }

  /* 태블릿~모바일: 스크롤 핀/스티키 해제 일반 섹션처럼 동작 (pin wrap 숨김으로 미사용) */
  #main .sec3 {
    position: relative;
    top: auto;
    height: auto;
    align-items: stretch;
  }

  #main .sec3_inner {
    flex-direction: column;
  }

  /* 이미지: 화면 절반 정도 */
  #main .sec3_left {
    flex: none;
    height: 50vh;
    min-height: 50vh;
    max-height: 50vh;
  }

  #main .sec3_img {
    min-height: 50vh;
    height: 100%;
  }

  #main .sec3-pagination {
    display: inline-flex;
  }

  #main .sec3_right {
    flex: none;
    padding: 48px 23px 60px;
  }

  /* 내용: 비활성 스텝 숨김, 활성 스텝만 표시 */
  #main .sec3_steps {
    display: block;
  }

  #main .sec3_step:not(.is-active) {
    display: none !important;
  }

  #main .sec3_step.is-active {
    padding: 0;
    border-bottom: none;
  }

  /*  */
  #main .sec3_step_inner {
    padding: 0;
  }

  #main .sec3_subitem:last-of-type {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  #main .sec3_step_open .sec3_headline_rich {
    font-size: 22px;
    text-align: center;
  }

  #main .sec3_subitem {
    flex-direction: column;
    gap: 8px;
  }

  #main .sec3_label {
    width: 81px;
    font-size: 16px;
    font-weight: 400;
  }

  #main .sec3_desc {
    font-size: 16px;
  }

  #main .sec3_mobile_headline_rich {
    font-size: 18px;
  }

  #main .sec3_swiper_mobile .sec3_label {
    width: 81px;
    font-size: 16px;
  }

  #main .sec3_swiper_mobile .sec3_desc {
    font-size: 16px;
  }
}

/* =============== 섹션4 =============== */
#main .sec4 {
  padding: 120px 20px;
  background: #fff;
}

#main .sec4_inner {
  /* max-width: 100%; */
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  box-sizing: border-box;
}

#main .sec4_subtit {
  color: #171717;
  text-align: center;
  font-family: NanumMyeongjoOTF, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%;
  margin: 0 0 8px 0;
}

#main .sec4_tit {
  color: #171717;
  text-align: center;
  font-size: 50px;
  font-weight: 300;
  line-height: 130%;
  letter-spacing: -1px;
  margin: 0 0 24px 0;
}

#main .sec4_tit .sec4_tit_em {
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#main .sec4_desc {
  color: #262626;
  text-align: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.44px;
  margin: 0 0 50px 0;
}

#main .sec4_swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
  box-sizing: border-box;
}

/* 페이지네이션: 태블릿/모바일에서 표시. 활성 불릿 색상 */
#main .sec4-pagination {
  display: none;
}

#main .sec4-pagination .swiper-pagination-bullet-active {
  background: #8e5b48;
}

#main .sec4_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  height: fit-content;
}

#main .sec4_swiper .sec4_list {
  display: flex;
  grid-template-columns: none;
  gap: 0;
}

#main .sec4_item {
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid #eaeaea;
  overflow: hidden;
  background: #fff;
  height: auto;
  flex-shrink: 0;
}

#main .sec4_item_img {
  height: 330px;
  overflow: hidden;
  background-color: #e9e9e9;
}

#main .sec4_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#main .sec4_item:hover .sec4_item_img img {
  transform: scale(1.06);
}

#main .sec4_item_txt {
  padding: 36px 20px;
  text-align: center;
}

#main .sec4_item_tit {
  margin: 0 0 12px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.4px;
  background: linear-gradient(180deg, #8e5b48 31.41%, #1f0d06 110.9%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main .sec4_item_desc {
  color: #171717;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  #main .sec4 {
    padding: 80px 24px;
  }

  #main .sec4_list {
    grid-template-columns: repeat(2, 1fr);
  }

  #main .sec4-pagination {
    display: block;
    position: relative;
    margin-top: 30px;
  }

  #main .sec3_step.is-active .sec3_headline_rich {
    font-size: 22px;
  }

  #main .sec3_sublist {
    max-height: 100%;
    overflow: visible;
  }

  #main .sec3_step.is-active .sec3_sublist {
    max-height: 100%;
  }
}

@media screen and (max-width: 640px) {
  #main .sec4_list {
    grid-template-columns: 1fr;
  }

  #main .sec4_subtit {
    font-size: 16px;
    margin-bottom: 4px;
  }

  #main .sec4_tit {
    font-size: 30px;
    margin-bottom: 12px;
  }

  #main .sec4_desc {
    font-size: 15px;
    margin-bottom: 32px;
  }

  #main .sec4_item_tit {
    font-size: 18px;
    margin-bottom: 9px;
  }

  #main .sec4_item_desc {
    font-size: 16px;
  }

  #main .sec4_swiper .sec4_item {
    width: 100%;
    box-sizing: border-box;
  }

  #main .sec4-pagination {
    display: block;
    position: relative;
    margin-top: 32px;
  }
}

/* =============== 섹션5 =============== */
#main .sec5 {
  background: #0f0a08;
}

#main .sec5_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

#main .sec5_left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #331f18 0%, #1a0f0c 100%);
  isolation: isolate;
}

#main .sec5_left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/img/common/banpo.svg);
  background-repeat: no-repeat;
  background-position: 110% 30%;
  /* background-size: min(70%, 520px) auto; */
  opacity: 0.3;
  mix-blend-mode: soft-light;
  pointer-events: none;
  box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.25) inset;
}

#main .sec5_left_inner {
  position: relative;
  z-index: 1;
  padding: 108px 110px;
  color: #fff;
}

#main .sec5_quick {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 60px 0;
}

#main .sec5_quick_btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  padding: 8px 20px;
  border-radius: 999px;
  color: #fff;
  text-align: center;
  font-family: Pretendard;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  /* 25.6px */
  letter-spacing: -0.32px;
  text-decoration: none;
  background: transparent;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

#main .sec5_quick_btn:hover {
  background: #fff;
  color: #1f0d06;
}

#main .sec5_brand {
  margin: 0 0 34px 0;
}

#main .sec5_brand_img {
  display: block;
  width: min(360px, 100%);
  height: auto;
}

#main .sec5_info {
  margin: 0;
}

#main .sec5_info_row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 24px;
  row-gap: 0;
  align-items: start;
}

#main .sec5_info_row + .sec5_info_row {
  margin-top: 16px;
}

#main .sec5_info_label {
  margin: 0;
  color: #fff;
  font-family: Pretendard;
  font-size: 22px;
  font-weight: 600;
  line-height: 140%;
  /* 30.8px */
  letter-spacing: -0.55px;
}

#main .sec5_info_value {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
  /* 28px */
  letter-spacing: -0.5px;
}

#main .sec5_tel {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.5px;
  text-decoration: none;
}

#main .sec5_tel:hover {
  text-decoration: underline;
}

#main .sec5_hours {
  margin-top: 16px;
}

#main .sec5_hours_row {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 24px;
  align-items: start;
}

#main .sec5_hours_tit {
  margin: 0;
  color: #fff;
  font-family: Pretendard;
  font-size: 22px;
  font-weight: 600;
  line-height: 140%;
  /* 30.8px */
  letter-spacing: -0.55px;
}

#main .sec5_hours_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 19px;
}

#main .sec5_hours_list li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 8px;
  align-items: baseline;
}

#main .sec5_hours_list b {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.5px;
}

#main .sec5_hours_list span {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.5px;
}

#main .sec5_legal {
  margin-top: 101px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#main .sec5_legal_info {
  display: grid;
  gap: 6px;
}

#main .sec5_legal_info p {
  margin: 0;
  color: #b7b7b7;
  font-size: 16px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.45px;
}

#main .sec5_legal_row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#main .sec5_copy {
  color: #939393;
  font-size: 14px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.375px;
}

#main .sec5_right {
  background: #f3f3f3;
}

#main .sec5_map {
  width: 100%;
  height: 100%;
  min-height: 560px;
}

#main .sec5_map #map {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1024px) {
  #main .sec5_grid {
    grid-template-columns: 1fr;
  }

  /* 태블릿·모바일: 지도 위, 내용 아래 */
  #main .sec5_right {
    order: -1;
  }

  #main .sec5_left {
    order: 0;
  }

  #main .sec5_left_inner {
    padding: 64px 24px 134px;
  }

  #main .sec5_map {
    min-height: 420px;
  }

  #main .sec5_tit {
    font-size: 34px;
  }

  #main .sec5_legal {
    margin-top: 56px;
  }
}

@media screen and (max-width: 768px) {
  #main .sec4_item_txt {
    padding-block: 24px;
  }

  #main .sec5_left::before {
    display: none;
  }

  #main .sec5_left_inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #main .sec5_content_wrap {
    width: 100%;
    box-sizing: border-box;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #main .sec5_quick {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 34px;
  }

  #main .sec5_quick_btn {
    font-size: 13px;
    padding: 8px 8px;
  }

  #main .sec5_brand {
    margin-bottom: 20px;
  }

  #main .sec5_brand_img {
    margin-left: auto;
    margin-right: auto;
  }

  /* 오시는 길 정보 */
  #main .sec5_info {
    width: 100%;
  }

  #main .sec5_info_row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    justify-items: center;
    gap: 4px;
  }

  #main .sec5_info_row + .sec5_info_row {
    margin-top: 16px;
  }

  #main .sec5_info_label {
    grid-column: 1;
  }

  #main .sec5_info_value {
    grid-column: 1;
    font-size: 18px;
  }

  #main .sec5_hours {
    margin-top: 16px;
  }

  #main .sec5_hours_row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  #main .sec5_hours_list {
    justify-items: center;
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 280px;
  }

  #main .sec5_hours_list li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    align-items: baseline;
    text-align: left;
    justify-items: start;
  }

  #main .sec5_hours_list b,
  #main .sec5_hours_list span {
    font-size: 18px;
  }

  #main .sec5_legal {
    align-items: center;
    text-align: center;
  }

  /* 상호명·대표자·사업자등록번호 한 줄씩 */
  #main .sec5_legal_row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  #main .sec5_legal_row span {
    display: block;
  }

  #main .sec5_map {
    height: 291px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  #main .sec1.sec_hero_swiper {
    overflow: visible;
    min-height: 0;
    height: auto;
  }

  #main .sec1_swiper,
  #main .sec1_swiper .swiper-wrapper {
    height: auto !important;
  }

  #main .sec1_slide {
    height: auto !important;
    min-height: 100svh;
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  #main .sec1_inner {
    height: auto !important;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 0px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  #main .sec1_right {
    height: auto !important;
    min-height: 0;
    margin-top: auto;
  }

  #main .sec1_img_wrap {
    width: 100%;
    height: 580px;
    max-width: 520px;
    margin: 0 auto;
    overflow: visible;
  }

  #main .sec1_img_wrap .sec1_img_inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transform: none;
  }

  #main .sec1_gif {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    max-height: 580px;
    object-fit: contain;
    object-position: center bottom;
    transform: none !important;
  }
}
