@font-face {
  font-family: 'Scto Grotesk A';
  src: url('../font/Scto-Grotesk-A-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Scto Grotesk A';
  src: url('../font/Scto-Grotesk-A-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Scto Grotesk A';
  src: url('../font/Scto-Grotesk-A-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Scto Grotesk A';
  src: url('../font/Scto-Grotesk-A-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard Variable';
  src: url('../font/PretendardVariable.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-feature-settings: 'tnum' 1, 'ss01' 1, 'ss02' 1, 'ss07' 1, 'ss12' 1;
  /* 활성화된 기능 사용 */
}



article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
q,
s,
samp,
strike,
strong,
sub,
sup,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
  margin: 0;
  padding: 0;
  line-height: 1.3em;
  border: 0 none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 0;
  font-family: 'Scto Grotesk A', 'Pretendard Variable';
  font-style: normal;
  font-weight: normal;
  word-break: keep-all;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
  background-color: #fff;
  color: #101010;

  /* ✅ 스크롤바 숨김 (브라우저별 대응) */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE, Edge */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/* ✅ scroll-hidden 클래스가 붙었을 때는 완전 숨김 (모달 등용) */
body.scroll-hidden {
  overflow: hidden !important;
}

/* 모든 요소의 모바일 터치 하이라이트 제거-------------------------------------------------------- */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

/* 링크, 버튼, 클릭 가능한 요소들의 터치 효과 제거 */
a,
button,
input,
textarea,
select,
[onclick],
[role="button"],
[tabindex],
.clickable,
[data-click] {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 이미지 요소들 */
img,
svg,
picture {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 모든 상태에서 하이라이트 제거 */
*:hover,
*:focus,
*:active,
*:visited {
  -webkit-tap-highlight-color: transparent !important;
}


/* ----------------------------------------------------------------------------------- */
sub,
sup {
  font-family: inherit;
}

a:link {
  text-decoration: none;
}

ol,
ul,
li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: top;
}

iframe {
  border: 0;
}

.invisible {
  position: absolute;
  left: -99999px;
  font-size: 0;
  line-height: 0;
  text-indent: -99999px;
  visibility: hidden;
}

.hidden {
  display: none;
}

.title-type-1 {
  font-size: 1.5rem;
  line-height: 1.35;
}

.text-type-1 {
  font-size: 1rem;
  line-height: 1.9;
}

.title-type-1+.text-type-1 {
  margin-top: 25px;
}

@media only screen and (max-width: 1199px) {
  .title-type-1 {
    font-size: 1rem;
  }

  .text-type-1 {
    font-size: 0.75rem;
    line-height: 1.75;
  }

  .title-type-1+.text-type-1 {
    margin-top: 15px;
  }
}


/* body ----------------------------------------------------------------------------------- */


#contents {
  position: relative;
}


/* HOME main page ------------------------------------------------------------------------------- */

/* 배경 이미지 관련 */
.animation-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  z-index: 1;
  /* canvas의 z-index를 낮춰서 텍스트보다 뒤로 보이게 설정 */
}

#circleCanvas {
  z-index: 2;
}

#lineCanvas {
  z-index: 1;
}

#textCanvas {
  z-index: 3;
}

/* 풀페이지 영역 설정 */
.hero {
  position: relative;
  /* hero 섹션을 기준으로 로고가 위치하도록 설정 */
  width: 100%;
  height: 100dvh;
  /* 화면을 꽉 채우는 높이 */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
  background: linear-gradient(to bottom, #000, #0e0e0e);
  z-index: 1;
}

.hero.has-bg {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  /* 배경 없애고 영상이 직접 배경 역할 하도록 */
  background: none;
}

.background-video.blur {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 120%;
  min-height: 120%;
  object-fit: cover;
  filter: blur(20px) brightness(0.9);
  transform: translate(-50%, -50%) scale(1);
  z-index: 0;
}


.foreground-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  height: 75vh;
  object-fit: contain;
  z-index: 2;
}


#video-toggle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 10;
}

#video-toggle-btn.hide {
  opacity: 0;
  pointer-events: none;
}

#video-toggle-btn img {
  width: auto;
  height: 70px;
}

.hero-text {
  position: absolute;
  bottom: 80px;
  left: 65px;
  color: #fff;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.08em;
  z-index: 5;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.video-indicators {
  position: absolute;
  left: 50%;
  /* 가운데 정렬 */
  transform: translateX(-50%);
  /* 정확히 중앙 위치 */
  display: flex;
  gap: 6px;
  z-index: 5;
  bottom: 40px;
}

.video-indicators span {
  display: block;
  width: 70px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transform-origin: bottom;
  /* 바닥을 기준으로 */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-indicators span.active {
  background: #fff;
  transform: scaleY(2);
  /* 위로만 커짐 */
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  cursor: pointer;
  z-index: 5;
  user-select: none;
  padding: 0 40px;
  opacity: 40%;

  font-size: inherit;
  /* 크기 제거 */
  border: none;
  /* 외곽선 제거 */
  outline: none;
  /* 포커스 외곽선 제거 */
  box-shadow: none;
  /* 그림자 제거 */
}

.nav-arrow:hover {
  opacity: 100%;
  transition: opacity 0.3s ease;
}

.nav-arrow img {
  width: auto;
  height: 70px;
  display: block;
}

.nav-arrow.prev {
  left: 0px;
}

.nav-arrow.next {
  right: 0px;

}



@media only screen and (min-width: 768px) and (max-width: 1024px) {}

@media only screen and (max-width: 767px) {

  .background-video.blur {
    display: none !important;
  }

  .foreground-video {
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
  }

  #video-toggle-btn {
    transform: translate(-50%, -50%) scale(0.8);
  }


  .hero-text {
    position: absolute;
    bottom: 60px;
    left: 40px;
    color: #fff;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: 0.08em;
    z-index: 5;
    transform: rotate(-90deg);
    transform-origin: left bottom;
  }

  .video-indicators {
    bottom: 40px;
  }

  .video-indicators span {
    display: block;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
  }

  .nav-arrow {
    padding: 0 25px;
  }

  .nav-arrow img {
    height: 50px;
  }

  .nav-arrow.prev {
    left: 0px;
  }

  .nav-arrow.next {
    right: 0px;

  }
}


/* PDP DESIGN ----------------------------------------------------------------------------------- */

.pdp-list-container {
  width: 100%;
  margin-bottom: 100px;
  margin-top: 0;
  box-sizing: border-box;
}

.product-list {
  display: grid;
  gap: 0;
  /* 간격 없음 */
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 1단: 한 줄에 1개 */
.product-list.layout-1col {
  grid-template-columns: 1fr;
}

/* 2단: 한 줄에 2개 */
.product-list.layout-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* 3단: 한 줄에 3개 */
.product-list.layout-3col {
  grid-template-columns: repeat(3, 1fr);
}

/* 4단: 한 줄에 4개 */
.product-list.layout-4col {
  grid-template-columns: repeat(4, 1fr);
}

/* 특별한 2단 레이아웃 */
.product-list.layout-2col-special {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 0;
}

/* 왼쪽 큰 이미지 - 세로 2칸 차지 */
.product-list.layout-2col-special .product-item:nth-child(1) {
  grid-row: span 2;
  height: 100%;
}

/* 오른쪽 이미지들 - 세로 절반씩 */
.product-list.layout-2col-special .product-item:nth-child(2),
.product-list.layout-2col-special .product-item:nth-child(3) {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 이미지 비율 조정 */
.product-list.layout-2col-special .image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-list.layout-2col-special .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.product-item {
  width: 100%;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.2s;
  /* 약간의 지연을 추가하여 부드럽게 나타나게 */
}

.product-item.show {
  opacity: 1;
  transform: translateY(0);
}

.product-item .image {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f8f8f8;
}

.product-item .image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 기본 텍스트 오버레이 스타일 */
.product-item .text-overlay {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 100%;
  padding: 0 70px;
  box-sizing: border-box;
  display: block;
  text-align: left;
  pointer-events: none;
  /* text-overlay에 pointer-events를 none으로 설정 */
  transition: color 0.1s ease;
}

/* light 상태에서 기본 텍스트 색상 */
.text-overlay.light {
  color: #FFF;
}

/* dark 상태에서 기본 텍스트 색상 */
.text-overlay.dark {
  color: #101010;
}

/* 로고와 텍스트를 묶어주는 영역 */
.product-item .text-overlay .text-content {
  position: relative;
  display: inline-block;
  /* inline-block으로 위치 지정 */
  pointer-events: auto;
  /* text-content에 hover 효과 활성화 */
  transition: color 0.1s ease;
}

/* hover 시 텍스트 색상 변경 */
.product-item .text-overlay.light .text-content:hover {
  color: #101010;
  /* light 상태에서 hover 시 텍스트 색상 변경 */
}

.product-item .text-overlay.dark .text-content:hover {
  color: #FFF;
  /* dark 상태에서 hover 시 텍스트 색상 변경 */
}

/* 기본적으로 light 상태에서는 light-logo 보이기 */
.product-item .product-logo img.light-logo {
  display: block;
  /* light 상태에서 light 로고 보이기 */
}

.product-item .product-logo img.dark-logo {
  display: none;
  /* dark 상태에서는 dark 로고 숨기기 */
}

/* light 상태에서 hover 시 로고 변경 */
.product-item .text-overlay.light .text-content:hover .light-logo {
  display: none;
  /* light 상태에서 hover 시 light 로고 숨기기 */
}

.product-item .text-overlay.light .text-content:hover .dark-logo {
  display: block;
  /* light 상태에서 hover 시 dark 로고 보이기 */
}

/* dark 상태에서 기본 로고는 dark-logo 보이기 */
.product-item .text-overlay.dark .product-logo img.light-logo {
  display: none;
  /* dark 상태에서는 light 로고 숨기기 */
}

.product-item .text-overlay.dark .product-logo img.dark-logo {
  display: block;
  /* dark 상태에서는 dark 로고 보이기 */
}

/* dark 상태에서 hover 시 로고 변경 */
.product-item .text-overlay.dark .text-content:hover .light-logo {
  display: block;
  /* dark 상태에서 hover 시 light 로고 보이기 */
}

.product-item .text-overlay.dark .text-content:hover .dark-logo {
  display: none;
  /* dark 상태에서 hover 시 dark 로고 숨기기 */
}

/* 기타 스타일 */
.product-item .product-logo {
  width: 90px;
  height: auto;
  margin-bottom: 25px;
}

.product-item .product-title {
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}




/* 무한 반복 롤링 광고띠 -------------------------- */

.pdp-ad {
  width: 100%;
  height: 50px;
  overflow: hidden;
  background: #2E2E2E;
  position: relative;
  /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.172); */
  /* z-index: 999; */
}

.ad-track {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

@keyframes scrollAd {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}


.ad-loop {
  /* 기존 속성 그대로 유지 */
  display: inline-block;
  white-space: nowrap;
  position: relative;
  font-size: 0.8em;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 50px;
  color: #000;
  text-transform: uppercase;
  animation: scrollAd 1000s linear infinite;

  /* 추가: Safari에 애니메이션 힌트 */
  will-change: transform;
}


.sparkle {
  font-size: 1.5em;
  /* 원하는 크기 */
  display: inline-block;
  /* transform을 적용하려면 inline-block 필요 */
  transform: translateY(2px);
  /* 아래로 4px 이동 */
}

/* 옵션 1 */
.pdp-ad.option1 {
  background-color: #ccd0d4;
  color: #101010;
}

.pdp-ad.option1 .ad-loop {
  color: #101010;
}

/* 옵션 2 */
.pdp-ad.option2 {
  background-color: #fff;
}

.pdp-ad.option2 .ad-loop {
  color: #101010;
}

/* 옵션 3 */
.pdp-ad.option3 {
  background-color: #aa9f95;
}

.pdp-ad.option3 .ad-loop {
  color: #101010;
}

/* 옵션 4 */
.pdp-ad.option4 {
  background-color: #dea427;
}

.pdp-ad.option4 .ad-loop {
  color: #222;
}

/* 옵션 5 */
.pdp-ad.option5 {
  background-color: #B0B0B0;
}

.pdp-ad.option5 .ad-loop {
  color: #eee;
}

/* 옵션 6 */
.pdp-ad.option6 {
  background-color: #920e3e;
}

.pdp-ad.option6 .ad-loop {
  color: #ededed;
}

/* 옵션 7 */
.pdp-ad.option7 {
  background-color: #9bb0be;
}

.pdp-ad.option7 .ad-loop {
  color: #fff;
}


/* 예: product-item에 붙는 애니메이션 클래스 */
.fade-in {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .product-item .text-overlay {
    position: absolute;
    right: 0;
    bottom: 40px;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
  }

  .product-item .product-logo {
    width: 60px;
    margin-bottom: 17px;
    opacity: 1;
  }

  .product-item .product-title {
    font-size: 0.7em;
    line-height: 1.4;
  }

  /* 4단 --> 2단 (1줄에 2개씩) */
  .product-list.layout-4col {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media only screen and (max-width: 767px) {

  .pdp-list-container {
    margin-bottom: 0px;
  }

  .product-item .text-overlay {
    bottom: 20px;
    padding: 0 25px;
  }

  .product-item .product-logo {
    width: 60px;
    margin-bottom: 14px;
    opacity: 10;
  }

  .product-item .product-title {
    font-size: 0.75em;
    font-weight: 500;
    line-height: 1.3;
  }

  /* 4단 --> 2단 (1줄에 2개씩) */
  .product-list.layout-4col {
    grid-template-columns: repeat(2, 1fr);
  }



  .pdp-ad {
    width: 100%;
    height: 34px;
    overflow: hidden;
    background: #2E2E2E;
    position: relative;
    /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.172); */
    /* z-index: 999; */
  }

  .ad-track {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .ad-loop {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    /* absolute -> relative 변경 */
    font-size: 0.7em;
    letter-spacing: 0.04em;
    font-weight: 600;
    line-height: 34px;
    color: #000;
    text-transform: uppercase;
    animation: scrollAd 1000s linear infinite;
  }

}



/* PDP Detail -------------------------------------------------------------------------------- */

.pdp-detail-container {
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 300px;
}

.pdp-detail-fixed-column {
  grid-column: 1;
}

/* 공통 2단 레이아웃 */
.pdp-detail-container-2 {
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 180px;
}

.title-line-1 {
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 600;
  border-top: 1px solid #101010;
  padding: 10px 0 50px 0;
}

.title-line-2 {
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 600;
  border-top: 1px solid #101010;
  padding: 10px 0 50px 0;
}

.title-line-3 {
  margin-bottom: 50px;
  margin-right: 50px;
}

.title-line-3 p {
  margin-bottom: 20px;
  /* 단락 간 간격 */
  line-height: 1.8em;
  font-size: 17px;
  font-variation-settings: "wght" 300;
  font-weight: 300;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  /* 줄 바꿈 허용 */
  gap: 5px;
  /* 태그 간 간격 */
  margin-top: 50px;
  /* 본문과의 간격 */
}

.tag-list span {
  display: inline-block;
  padding: 4px 10px;
  /* 박스 내부 여백 */
  border-radius: 5px;
  /* 둥근 모서리 */
  font-size: 14px;
  /* 작은 글씨 */
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #fff;
  background-color: #101010;
  /* 배경색, 필요 없으면 제거 가능 */
}

.pdp-detail-container-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4열로 설정 */
  gap: 20px;
  padding: 0 40px;
  margin-top: 200px;
  margin-bottom: 200px;
}

.pdp-detail-group {
  display: contents;
}

.pdp-detail-fixed-column-2,
.pdp-detail-fluid-column-2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-detail-fixed-column-2>img,
.pdp-detail-fluid-column-2>img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

.pdp-detail-fixed-column-2,
.pdp-detail-fluid-column-2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-detail-fixed-image,
.pdp-detail-fluid-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  opacity: 100%;
}

/* 초기 상태: 투명 + 아래로 100px 이동 */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 화면에 들어왔을 때 */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .pdp-detail-container {
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 200px;
  }

  .pdp-detail-container-2 {
    margin-top: 150px;
  }

  .title-line-3 {
    margin-bottom: 30px;
    margin-right: 20px;
  }

  .title-line-3 p {
    margin-bottom: 20px;
    /* 단락 간 간격 */
    line-height: 1.8em;
    font-size: 17px;
  }

  .pdp-detail-container-3 {
    grid-template-columns: 1fr 1fr;
    /* 2열 */
    margin-top: 150px;
    gap: 10px;
  }

  /* 각 그룹을 세로로 붙이기 */
  .pdp-detail-group {
    display: flex;
    flex-direction: column;
    /* 수직으로 배치 */
  }

  /* level 1 그룹은 세로로 이어지게 */
  .pdp-detail-group[data-level="1"],
  .pdp-detail-group[data-level="2"] {
    gap: 0;
    /* 간격 없애기 */
  }
}

@media only screen and (max-width: 767px) {

  .pdp-detail-container {
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr;
    /* 한 열로 변경 */
    gap: 10px;
    margin-top: 150px;
  }

  .pdp-detail-container-2 {
    grid-template-columns: 1fr;
    padding: 0 25px;
    margin-top: 150px;
    gap: 0px;
  }

  .pdp-detail-fixed-column {
    grid-column: 1;
    width: 100%;
  }

  .pdp-detail-fluid-column {
    display: flex;
    flex-wrap: wrap;
  }

  /* DESIGN 100%, PHOTO 100% 만 반반 */
  .pdp-detail-fluid-column .title-line-1:nth-of-type(1),
  .pdp-detail-fluid-column .title-line-1:nth-of-type(2) {
    flex: 1 1 50%;
    text-align: left;
  }

  /* 나머지 title-line 은 100% */
  .pdp-detail-fluid-column .title-line-1:nth-of-type(n+3),
  .pdp-detail-fluid-column .title-line-2,
  .pdp-detail-fluid-column .title-line-3 {
    flex: 1 1 100%;
  }

  .title-line-3 {
  margin-right: 10px;
  }

  .title-line-3 p {
    margin-bottom: 20px;
    /* 단락 간 간격 */
    line-height: 1.8em;
    font-size: 17px;
    font-variation-settings: "wght" 400;
    font-weight: 400;
  }

    /* 모바일에서 1단 레이아웃 */
    .pdp-detail-container-3 {
      display: grid;
      grid-template-columns: 1fr;
      width: 100%;
      padding: 0;
      margin-top: 100px;
      margin-bottom: 0px;
      gap: 0;
    }

    /* 각 그룹을 세로로 붙이지 않고 가로로 나열 */
    .pdp-detail-group {
      display: block;
      width: 100%;
      margin-bottom: 0;
      /* 그룹 사이의 여백을 없앰 */
    }

    .pdp-detail-fixed-column-2,
    .pdp-detail-fluid-column-2 {
      box-shadow: none;
      /* 모바일에서는 그림자 없애기 */
    }

    /* level 1과 level 2 그룹을 동일하게 처리 */
    .pdp-detail-group[data-level="1"],
    .pdp-detail-group[data-level="2"] {
      gap: 0;
      width: 100%;
      margin-bottom: 0;
      /* 여백 제거 */
    }

    /* 이미지들 간의 간격 없애기 */
    .pdp-detail-fixed-column-2 img,
    .pdp-detail-fluid-column-2 img {
      margin: 0;
      /* 이미지 간 여백 제거 */
      padding: 0;
      /* 이미지 안쪽 여백 제거 */
      display: block;
    }
  }




  /* PROD. PHOTO LIST ----------------------------------------------------------------------------------- */

  .photo-list-wrapper {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .photo-list-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .photo-list-container {
    flex: 1;
    overflow-x: scroll;
    margin-top: 250px;
    /* 기존 여백 유지 */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .photo-list-container::-webkit-scrollbar {
    display: none;
  }

  .photo-list-col {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-left: 40px;
    /* 왼쪽 여백 */
    /* 오른쪽 여백은 아래 가짜 요소로 처리 */
  }

  .photo-item {
    flex: 0 0 auto;
    width: 500px;
    height: auto;
  }

  .photo-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .photo-thumb {
    overflow: hidden;
    position: relative;
  }

  .photo-thumb img {
    width: 100%;
    height: auto;
    display: block;
  }

  .photo-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    padding-top: 100px;
    padding-bottom: 17px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.199), rgba(0, 0, 0, 0));
    color: #fff;
    gap: 10px;
  }


  .photo-title {
    font-size: 0.75em;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: left;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    flex: 1;
    margin-left: 0px;
    color: #fff;
  }

  .photo-arrow {
    margin-right: 20px;
    transition: transform 0.3s ease;
    /* 부드러운 애니메이션 추가 */
  }

  .photo-arrow img {
    width: 13px;
    height: auto;
  }

  .photo-meta:hover .photo-arrow {
    transform: translateX(20px);
    /* 오른쪽으로 20px 이동 */
  }

  /* 가짜 오른쪽 여백용 아이템 */
  .photo-item.spacer {
    width: 25px;
    padding: 0;
    margin: 0;
    background: transparent;
    pointer-events: none;
  }

  /* 고정된 하단 스크롤바 */
  /* 기본 상태 */
  .custom-scrollbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    /* 항상 동일 */
    background: #cacaca;
    border-radius: 6px;
    width: 700px;
    position: relative;
    /* customThumb의 기준 */
    margin-top: 50px;
    margin-bottom: 80px;
    transition: height 0.2s ease;
  }

  #customThumb {
    position: absolute;
    width: 150px;
    height: 3px;
    background: #101010;
    cursor: pointer;
    left: 0;
    border-radius: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: height 0.2s ease;
  }

  /* 마우스 hover/active/drag 시 Thumb만 커짐 (배경라인 변화 없음) */
  .custom-scrollbar:hover #customThumb,
  .custom-scrollbar:active #customThumb,
  .custom-scrollbar.dragging:not(.scrolling) #customThumb {
    height: 10px;
  }

  /* 애니메이션 중일 때 Thumb 스타일 */
  #customThumb.animating {
    background: #696969;
  }



  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    .photo-list-container {
      margin-top: 200px;
    }

    .custom-scrollbar {
      width: 500px;
    }

  }


  @media only screen and (max-width: 767px) {

    .photo-list-container {
      margin-top: 150px;
    }

    .custom-scrollbar {
      width: 300px;
      margin-bottom: 50px;
    }

    #customThumb {
      width: 100px;
    }

    .photo-list-col {
      padding-left: 25px;
      /* 왼쪽 여백 */
      /* 오른쪽 여백은 아래 가짜 요소로 처리 */
    }

    .photo-item {
      flex: 0 0 auto;
      width: 320px;
      height: auto;
    }

    /* 가짜 오른쪽 여백용 아이템 */
    .photo-item.spacer {
      width: 25px;
    }

    .photo-meta {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      padding-top: 50px;
      padding-bottom: 15px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.174), rgba(0, 0, 0, 0));
      color: #fff;
      gap: 10px;
    }

    .photo-meta:hover .photo-arrow {
      transform: translateX(10px);
      /* 오른쪽으로 20px 이동 */
    }

    .photo-title {
      font-size: 0.7em;
      line-height: 1.5;
      letter-spacing: 0.04em;
      text-align: left;
      overflow: hidden;
      white-space: normal;
      text-overflow: ellipsis;
      flex: 1;
      margin-left: 0px;
    }

    .photo-arrow {
      margin-right: 10px;
      transition: transform 0.3s ease;
      /* 부드러운 애니메이션 추가 */
    }

    .photo-arrow img {
      width: 13px;
      height: auto;
    }

  }

  @media screen and (orientation: landscape) and (min-width: 768px) and (max-height: 1024px) {

    .photo-list-wrapper {
      max-height: calc(100dvh + 500px);
      /* 브라우저 툴바 감안 */
      overflow-y: auto;
    }

    .photo-list-container {
      margin-top: 200px;
    }

    .photo-item {
      flex: 0 0 auto;
      width: 350px;
      height: auto;
    }

    .custom-scrollbar {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      height: 3px;
      background: #cacaca;
      border-radius: 6px;
      width: 500px;
      position: relative;
      /* customThumb의 기준 */
      margin-top: 100px;
      margin-bottom: 80px;
      transition: height 0.2s ease;
    }

    #customThumb {
      position: absolute;
      width: 150px;
      height: 3px;
      background: #101010;
      cursor: pointer;
      left: 0;
      border-radius: 5px;
      top: 50%;
      transform: translateY(-50%);
      transition: height 0.2s ease;
    }

    /* 마우스 hover/active/drag 시 Thumb만 커짐 (배경라인 변화 없음) */
    .custom-scrollbar:hover #customThumb,
    .custom-scrollbar:active #customThumb,
    .custom-scrollbar.dragging:not(.scrolling) #customThumb {
      height: 10px;
    }

    /* 애니메이션 중일 때 Thumb 스타일 */
    #customThumb.animating {
      background: #696969;
      height: 10px;
    }

  }


  @media screen and (orientation: landscape) and (max-height: 500px) {

    .photo-list-wrapper {
      max-height: calc(100dvh + 500px);
      /* 브라우저 툴바 감안 */
      overflow-y: auto;
    }

    .photo-list-container {
      margin-top: 150px;
    }

    .photo-item {
      flex: 0 0 auto;
      width: 300px;
      height: auto;
    }

    .custom-scrollbar {
      width: 500px;
      margin-top: 100px;
      margin-bottom: 80px;
    }

  }


  /* PROD. PHOTO Detail ---------------------------------------------------------------------------- */

  .photo-container {
    grid-template-columns: 1fr;
    /* 1열로 변경 */
    padding: 0 40px;
    /* 양끝에 패딩 설정 */
  }

  .photo-fixed-column {
    /* 기존 스타일 유지 */
    grid-column: 1;
    width: 100%;
    margin-top: 300px;
    margin-bottom: 150px;
    position: relative;

    /* 문제 해결 핵심 */
    display: flex;
    flex-direction: column;
    /* 내부 요소들을 세로로 정렬 */
    align-items: flex-start;
    /* 좌측 정렬 */
  }

  .photo-fluid-column {
    grid-column: 1;
    flex: 0 0 100%;
    width: 70%;
    max-width: 1600px;
    /* 최대 너비 설정 */
    order: 2;
    margin: 0 auto 200px auto;
    /* 상:0, 좌우:auto → 가운데 정렬 */
  }

  .photo-fluid-image {
    width: 100%;
    /* 이미지의 최대 너비를 설정 */
    height: auto;
    /* 비율 유지 */
    opacity: 100%;
    transition: opacity 1s ease;
    /* 부드러운 투명도 전환 */
    padding-bottom: 20px;
  }

  .group-image {
    display: flex;
    /* 이미지를 나란히 배치 */
    gap: 20px;
    /* 이미지 간 간격 설정 */
  }

  .group-image img {
    width: calc(50% - 10px);
    /* 각 이미지의 너비를 계산 (여백을 반으로 나눔) */
    height: auto;
    /* 비율 유지 */
  }

  .title-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 0px;
  }

  .title-item {
    border-top: 1px solid #101010;
    padding-top: 10px;
    /* 기본 아래 간격 */
    padding-bottom: 10px;
    /* 기본 아래 간격 */
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: left;
  }

  /* 사진 항목의 기본 상태 (초기에는 보이지 않음) */
  .photo-detail {
    opacity: 0;
    /* 기본 상태는 보이지 않음 */
    transform: translateY(100px);
    /* 화면 아래에서 시작 */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    /* 부드러운 애니메이션 */
  }

  /* .show 클래스가 추가되면 애니메이션 실행 */
  .photo-detail.show {
    opacity: 1;
    transform: translateY(0);
    /* 화면 안으로 들어옴 */
  }

  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    .photo-container {
      grid-template-columns: 1fr;
      /* 1열로 변경 */
      padding: 0 40px;
      /* 양끝에 패딩 설정 */
    }

    .photo-fixed-column {
      /* 기존 스타일 유지 */
      grid-column: 1;
      width: 100%;
      margin-top: 200px;
      margin-bottom: 100px;
      position: relative;

      /* 문제 해결 핵심 */
      display: flex;
      flex-direction: column;
      /* 내부 요소들을 세로로 정렬 */
      align-items: flex-start;
      /* 좌측 정렬 */
    }

    .photo-fluid-column {
      grid-column: 1;
      /* 첫 번째 열에 위치 */
      flex: 0 0 100%;
      /* 유동 컬럼을 50%로 설정 */
      width: 100%;
      /* 최대 너비도 50%로 설정 */
      order: 2;
      /* .photo-fluid-column을 위로 이동 */
      margin-top: 0px;
      margin-bottom: 200px;
    }

    .photo-fluid-image {
      width: 100%;
      /* 이미지의 최대 너비를 설정 */
      height: auto;
      /* 비율 유지 */
      opacity: 100%;
      transition: opacity 1s ease;
      /* 부드러운 투명도 전환 */
      padding-bottom: 10px;
    }

    .group-image {
      display: flex;
      /* 이미지를 나란히 배치 */
      gap: 10px;
      /* 이미지 간 간격 설정 */
    }

    .group-image img {
      width: calc(50% - 5px);
      /* 각 이미지의 너비를 계산 (여백을 반으로 나눔) */
      height: auto;
      /* 비율 유지 */
    }

    .title-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      /* 이미지 간 간격 설정 */
    }

    .title-item {
      border-top: 1px solid #101010;
      padding: 7px 0 0 0;
      /* 기본 아래 간격 */
      font-size: 0.9em;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-align: left;
      line-height: 1.3;
      /* 줄 간격 좁히기 */
    }

    /* 사진 항목의 기본 상태 (초기에는 보이지 않음) */
    .photo-detail {
      opacity: 0;
      /* 기본 상태는 보이지 않음 */
      transform: translateY(50px);
      /* 화면 아래에서 시작 */
      transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
      /* 부드러운 애니메이션 */
    }

    /* .show 클래스가 추가되면 애니메이션 실행 */
    .photo-detail.show {
      opacity: 1;
      transform: translateY(0);
      /* 화면 안으로 들어옴 */
    }

  }

  @media only screen and (max-width: 767px) {

    .photo-container {
      grid-template-columns: 1fr;
      /* 1열로 변경 */
      padding: 0 25px;
      /* 양끝에 패딩 설정 */
    }

    .photo-fixed-column {
      /* 기존 스타일 유지 */
      grid-column: 1;
      width: 100%;
      margin-top: 150px;
      margin-bottom: 100px;
      position: relative;

      /* 문제 해결 핵심 */
      display: flex;
      flex-direction: column;
      /* 내부 요소들을 세로로 정렬 */
      align-items: flex-start;
      /* 좌측 정렬 */
    }

    .photo-fluid-column {
      grid-column: 1;
      /* 첫 번째 열에 위치 */
      flex: 0 0 100%;
      /* 유동 컬럼을 50%로 설정 */
      width: 100%;
      /* 최대 너비도 50%로 설정 */
      order: 2;
      /* .photo-fluid-column을 위로 이동 */
      margin-top: 0px;
      margin-bottom: 150px;
    }

    .photo-fluid-image {
      width: 100%;
      /* 이미지의 최대 너비를 설정 */
      height: auto;
      /* 비율 유지 */
      opacity: 100%;
      transition: opacity 1s ease;
      /* 부드러운 투명도 전환 */
      padding-bottom: 10px;
    }

    .group-image {
      display: flex;
      /* 이미지를 나란히 배치 */
      gap: 10px;
      /* 이미지 간 간격 설정 */
    }

    .group-image img {
      width: calc(50% - 5px);
      /* 각 이미지의 너비를 계산 (여백을 반으로 나눔) */
      height: auto;
      /* 비율 유지 */
    }

    .title-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .title-item {
      border-top: 1px solid #101010;
      padding: 7px 0 5px 0;
      font-size: 0.9em;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-align: left;
      line-height: 1.3;
      /* 줄 간격 좁히기 */
    }

    /* 사진 항목의 기본 상태 (초기에는 보이지 않음) */
    .photo-detail {
      opacity: 0;
      /* 기본 상태는 보이지 않음 */
      transform: translateY(50px);
      /* 화면 아래에서 시작 */
      transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
      /* 부드러운 애니메이션 */
    }

    /* .show 클래스가 추가되면 애니메이션 실행 */
    .photo-detail.show {
      opacity: 1;
      transform: translateY(0);
      /* 화면 안으로 들어옴 */
    }

  }



  /* PRINT -------------------------------------------------------------------------------------- */

  .print-container {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 300px;
    margin-bottom: 200px;
    padding: 0 40px;
  }

  .print-list.text-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .print-row {
    padding: 1.2em 0;
    cursor: pointer;
  }

  /* 옵션: 첫 번째 이미지를 전체 너비로 확장 - data-first-full이 true인 경우만 */
  .print-row[data-columns="2"][data-first-full="true"] .print-images img:first-child {
    grid-column: 1 / -1;
  }

  .print-row[data-columns="3"][data-first-full="true"] .print-images img:first-child {
    grid-column: 1 / -1;
  }

  /* slot-ani 공통 스타일 */
  .slot-ani {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
    overflow: hidden;
    height: 1.2em;
    position: relative;
  }

  .slot-ani span {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
    transform: translateY(0);
  }

  /* col 그룹(1~3)을 hover 시 애니메이션 적용 */
  .print-toggle:hover .col-1 span,
  .print-toggle:hover .col-2 span,
  .print-toggle:hover .col-3 span {
    animation: slotAnim 0.4s ease-in-out forwards;
  }

  @keyframes slotAnim {
    0% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-100%);
    }

    51% {
      transform: translateY(100%);
    }

    100% {
      transform: translateY(0);
    }
  }


  /* 컬럼 공통 */
  .col {
    font-size: 1.1em;
    font-weight: 600;
  }

  .col-1 {
    width: 25%;
  }

  .col-2 {
    width: 25%;
  }

  .col-3 {
    width: 25%;
  }

  .col-4 {
    width: 25%;
    text-align: right;
  }

  .print-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #101010;
    transition: color 0.3s ease;
    gap: 20px;
  }

  hr.separator {
    margin: 0;
    border: none;
    border-top: 1px solid #101010;
    height: 0;
    width: 100%;
    padding-top: 1px;
  }

  /* 아이콘 왼쪽 기본 위치 */
  .plus-icon {
    display: inline-block;
    width: 20px;
    /* 기존 이미지 너비 */
    height: 20px;
    /* 정사각형 유지 */
    vertical-align: middle;
    /* 글자와 정렬 */
    position: relative;
    top: -1px;
    /* 기존처럼 살짝 위로 */
    cursor: pointer;
  }

  .plus-icon span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 19px;
    /* 선 길이 */
    height: 2px;
    /* 선 두께 */
    background: #000;
    /* 선 색상 */
    border-radius: 1px;
    transition: transform 0.3s ease;
    transform-origin: center;
  }

  /* 가로선 */
  .plus-icon span:first-child {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  /* 세로선 */
  .plus-icon span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  /* 열렸을 때 → 세로선이 회전하며 - 로 변신 */
  .print-row.open .plus-icon span:last-child {
    transform: translate(-50%, -50%) rotate(180deg);
  }


  /* 이미지 영역 */
  .print-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.5s ease,
      opacity 0.5s ease,
      padding 0.5s ease;
    padding-top: 0;
    padding-bottom: 0;
  }

  .print-row.open .print-images {
    max-height: 100%;
    opacity: 1;
    padding-top: 100px;
    padding-bottom: 150px;
  }

  /* 이미지 고정 스타일 */
  .print-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* 컬럼 레이아웃 */
  .print-row[data-columns="1"] .print-images {
    grid-template-columns: 1fr;
  }

  .print-row[data-columns="2"] .print-images {
    grid-template-columns: 1fr 1fr;
  }

  .print-row[data-columns="3"] .print-images {
    grid-template-columns: 1fr 1fr 1fr;
  }


  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    .print-container {
      margin-top: 200px;
      margin-bottom: 200px;
    }

    .col {
      font-size: 1em;
      font-weight: 600;
    }

    .col-3 {
      display: none;
    }

    .col-1,
    .col-2,
    .col-4 {
      width: 33.33%;
    }

    .plus-icon {
      width: 17px;
      height: auto;
      vertical-align: middle;
    }

    .plus-icon span {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 17px;
      /* 선 길이 */
      height: 2px;
      /* 선 두께 */
      background: #000;
      /* 선 색상 */
      border-radius: 1px;
      transition: transform 0.3s ease;
      transform-origin: center;
    }

    .print-images {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        padding 0.5s ease;
      padding-top: 0;
      padding-bottom: 0;
    }

    .print-row.open .print-images {
      max-height: 100%;
      opacity: 1;
      padding-top: 70px;
      padding-bottom: 100px;
    }
  }

  @media only screen and (max-width: 767px) {

    .print-container {
      margin-top: 150px;
      margin-bottom: 150px;
      padding: 0 25px;
    }

    .print-row {
      padding: 0.8em 0;
      cursor: pointer;
    }

    .col {
      font-size: 1em;
      font-weight: 600;
    }

    .col-3 {
      display: none;
    }

    .col-1 {
      font-size: 0.6em;
      font-weight: 600;
      width: 25%;
    }

    .col-2 {
      width: 70%;
    }

    .col-4 {
      width: 5%;
    }

    .plus-icon {
      width: 15px;
      height: auto;
      vertical-align: middle;
    }

    .plus-icon span {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 15px;
      /* 선 길이 */
      height: 2px;
      /* 선 두께 */
      background: #000;
      /* 선 색상 */
      border-radius: 1px;
      transition: transform 0.3s ease;
      transform-origin: center;
    }

    .print-images {
      grid-template-columns: 1fr !important;
    }

    .print-row.open .print-images {
      max-height: 100%;
      opacity: 1;
      padding-top: 50px;
      padding-bottom: 70px;
    }
  }


  /* BANNER -------------------------------------------------------------------------------------- */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .banner-container {
    display: flex;
    justify-content: center;
    margin-top: 300px;
    margin-bottom: 160px;
    padding: 0 20px 0 40px;
  }

  .banner-list {
    width: 100%;
    display: flex;
    /* Flexbox로 설정 */
    flex-wrap: wrap;
    /* 줄 바꿈 설정 */
    list-style: none;
    /* 리스트 스타일 제거 */
  }

  .banner-item {
    width: calc(25% - 20px);
    /* 3열 구성 */
    margin-bottom: 20px;
    /* 아래쪽 간격 추가 */
    overflow: hidden;
    /* 이미지가 아이템 밖으로 나가지 않도록 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.249);
    cursor: pointer;

    /* 트랜지션 추가 */
    transition: transform 0.3s ease;
  }

  .banner-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
  }

  .banner-item img {
    width: 100%;
    height: auto;
    display: block;
    /* 블록으로 설정하여 여백 제거 */
    object-fit: cover;
    /* 비율 유지하며 크기 맞춤 */
    opacity: 100%;
  }

  /* 이미지와 제목는 부모 컨테이너와 함께 움직임 */
  .banner-item img,
  .banner-title {
    transition: inherit;
  }

  /* 확대된 이미지와 배경 dim 효과 */
  /* 오버레이와 이미지 스타일 추가 */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(16, 16, 16, 0.577);
    /* 투명 배경 */
    backdrop-filter: blur(10px);
    /* Chrome, Edge 등 */
    -webkit-backdrop-filter: blur(10px);
    /* Safari용 */

    display: none;
    /* 초기에는 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .overlay img {
    max-width: 100%;
    max-height: 80%;
    transition: transform 0.3s ease;
    /* 트랜지션 효과 추가 */
    transform: scale(0);
    /* 초기 상태에서 크기 0으로 설정 */
  }

  .overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .overlay-content img {
    max-width: calc(100vw - 80px);
    max-height: 80vh;
    height: auto;
    width: auto;
    transition: transform 0.3s ease;
    transform: scale(0);
    object-fit: contain;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.172);
    /* 그림자 추가 */
  }


  .overlay.active img {
    transform: scale(1);
    /* 오버레이 활성화 시 원래 크기로 설정 */
  }

  /* 오버레이 닫기 버튼 스타일 */
  .close-overlay-btn {
    position: absolute;
    top: 26px;
    /* 위쪽 여백 */
    right: 40px;
    /* 오른쪽 여백 */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
    /* 다른 요소들 위에 보이게 하도록 z-index를 설정 */
  }

  .close-overlay-btn img {
    width: 35px;
    /* 버튼 이미지 크기 설정 */
    height: 35px;
    object-fit: contain;
    /* 이미지 비율 맞추기 */
  }


  /* 배너 항목 내 제목 기본 스타일 */
  .banner-title {
    display: none;
    width: 100%;
    margin-top: 20px;

    text-align: left;
    color: #fff;
    box-sizing: border-box;
  }

  /* 오버레이가 활성화되었을 때 제목 표시 및 스타일 변경 */
  .overlay.active .banner-title {
    display: block;
    margin-top: 15px;
    font-size: 0.85em;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  /* 배너 항목의 기본 상태 (초기에는 보이지 않음) */
  .banner-effect {
    opacity: 0;
    /* 기본 상태는 보이지 않음 */
    transform: translateY(50px);
    /* 화면 아래에서 시작 */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    /* 부드러운 애니메이션 */
  }

  /* .show 클래스가 추가되면 애니메이션 실행 */
  .banner-effect.show {
    opacity: 1;
    transform: translateY(0);
    /* 화면 안으로 들어옴 */
  }


  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    .banner-container {
      margin-top: 200px;
    }

    .banner-item {
      width: calc(33.3333% - 20px);
      /* 3열 구성 */
      margin-bottom: 20px;
      /* 아래쪽 간격 추가 */
      overflow: hidden;
      /* 이미지가 아이템 밖으로 나가지 않도록 */
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: none;
      /* 처음에는 보이지 않도록 설정 */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .overlay img {
      max-width: 100%;
      max-height: 80%;
      transition: transform 0.3s ease;
      /* 트랜지션 효과 추가 */
      transform: scale(0);
      /* 초기 상태에서 크기 0으로 설정 */
    }

    .overlay-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .overlay-content img {
      max-width: calc(100vw - 80px);
      max-height: 80vh;
      height: auto;
      width: auto;
      transition: transform 0.3s ease;
      transform: scale(0);
      object-fit: contain;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.24);
      /* 그림자 추가 */
    }


  }


  @media only screen and (max-width: 767px) {

    .banner-container {
      margin-top: 150px;
      margin-bottom: 100px;
      padding: 0 25px;
    }

    .banner-list {
      width: 100%;
      display: flex;
      /* Flexbox로 설정 */
      flex-wrap: wrap;
      /* 줄 바꿈 설정 */
      list-style: none;
      /* 리스트 스타일 제거 */
    }

    .banner-item {
      width: 100%;
      margin-bottom: 20px;
      /* 아래쪽 간격 추가 */
      overflow: hidden;
      /* 이미지가 아이템 밖으로 나가지 않도록 */
    }

    .banner-item:hover {
      transform: scale(1.025);
      transition: transform 0.3s ease;
    }

    .banner-item img {
      width: 100%;
      height: auto;
      display: block;
      /* 블록으로 설정하여 여백 제거 */
      object-fit: cover;
      /* 비율 유지하며 크기 맞춤 */
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: none;
      /* 처음에는 보이지 않도록 설정 */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .overlay img {
      max-width: 100%;
      max-height: 90%;
      transition: transform 0.3s ease;
      /* 트랜지션 효과 추가 */
      transform: scale(0);
      /* 초기 상태에서 크기 0으로 설정 */
    }

    .overlay-content img {
      max-width: calc(100vw - 50px);
      max-height: 80vh;
      height: auto;
      width: auto;
      transition: transform 0.3s ease;
      transform: scale(0);
      object-fit: contain;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.24);
      /* 그림자 추가 */
    }

    /* 오버레이 닫기 버튼 스타일 */
    .close-overlay-btn {
      position: absolute;
      top: 26px;
      /* 위쪽 여백 */
      right: 25px;
      /* 오른쪽 여백 */
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      z-index: 1001;
      /* 다른 요소들 위에 보이게 하도록 z-index를 설정 */
    }


  }



  /* about ------------------------------------------------------------------------------ */

  #about-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
    background: linear-gradient(to bottom, #0e0e0e, #0e0e0e, #151515);
    color: #dedede;
    padding: 0 40px;
    padding-top: 100px;
  }


  .about-content p {
    margin-bottom: 1em;
    /* 문단 간 간격 조절 */
  }

  #about-container .about-content:nth-child(1) {
    letter-spacing: 0.06em;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
    margin-right: 100px;
  }

  #about-container .about-content:nth-child(2) {
    font-size: 1.1em;
    font-weight: 200;
    line-height: 2;
    letter-spacing: 0.02em;
    padding-right: 100px;
    padding-bottom: 100px;
  }


  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    #about-container {
      display: block;
      grid-template-columns: 1fr 2fr;
      gap: 10px;
      color: #dedede;
      padding: 0 40px;
      padding-top: 80px;
    }


    #about-container .about-content:nth-child(1) {
      display: none;
    }

    #about-container .about-content:nth-child(2) {
      font-size: 1.1em;
      font-weight: 200;
      line-height: 2;
      letter-spacing: 0.02em;
      padding-right: 40px;
      padding-bottom: 80px;
    }

  }

  @media only screen and (max-width: 767px) {

    #about-container {
      display: block;
      grid-template-columns: 1fr 2fr;
      gap: 10px;
      color: #dedede;
      padding: 0 25px;
      padding-top: 60px;
    }

    #about-container .about-content:nth-child(1) {
      display: none;
    }

    #about-container .about-content:nth-child(2) {
      font-size: 1em;
      font-weight: 200;
      line-height: 1.8;
      letter-spacing: 0.02em;
      padding-top: 0px;
      padding-right: 25px;
      padding-bottom: 60px;
    }

  }


  /* 푸터 ------------------------------------------------------------------------------ */

  footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4등분 */
    gap: 20px;
    justify-items: start;
    align-items: start;
    background-color: transparent;
    color: #101010;
    padding: 0 40px 200px;
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 999;
  }


  .footer-border {
    grid-column: 1 / -1;
    grid-row: 1;
    border-top: 1px solid #101010;
    height: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 60px 0;
    display: block;
    line-height: 0;
  }

  .footer-border,
  .footer-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .footer-border.visible,
  .footer-content.visible {
    opacity: 1;
    transform: translateY(0);
  }


  .footer-border.visible {
    transition-delay: 0s;
  }

  .footer-content:nth-of-type(2).visible {
    transition-delay: 0.1s;
  }

  .footer-content:nth-of-type(3).visible {
    transition-delay: 0.2s;
  }

  .footer-content:nth-of-type(4).visible,
  .footer-content:nth-of-type(5).visible {
    transition-delay: 0.3s;
  }

  .footer-content:nth-of-type(6).visible {
    transition-delay: 0.5s;
  }



  footer .footer-content:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
    /* 보더 아래 2번째 행부터 */
    align-self: start;
  }

  footer .footer-content:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  footer .footer-content:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    padding-bottom: 0;
  }

  footer .footer-content:nth-of-type(5) {
    grid-column: 3;
    grid-row: 2;
    /* 같은 행 */
    align-self: start;
    margin-top: 50px;
    /* Instagram과의 간격 조정 */
  }

  footer .footer-content:nth-of-type(6) {
    grid-column: 4;
    grid-row: 2 / span 2;
    align-self: start;
  }

  /* 기본 단락 스타일 */
  footer .footer-content p {
    letter-spacing: 0.04em;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.4;
    padding-top: 0;
  }

  /* 링크 스타일 */
  .footer-content a {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #101010;
    text-decoration: none;
  }

  .footer-content a:hover {
    color: #fff;
  }

  /* 서브 콘텐츠 스타일 (.content 클래스) */
  footer .footer-content .content {
    padding-top: 30px;
    font-size: 0.9em;
    font-variation-settings: "wght" 400;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.01em;
  }



  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    footer {
      grid-template-columns: 1fr 1fr;
      /* 2단 */
      padding: 0 40px 30px;
      row-gap: 0px;
    }

    .footer-border {
      grid-column: 1 / -1;
      grid-row: 1;
      padding-bottom: 70px;
    }

    /* 1번째 (Scope of Work) */
    footer .footer-content:nth-of-type(2) {
      grid-column: 1;
      grid-row: 2;
    }

    /* 2번째 (Skills & Tools) */
    footer .footer-content:nth-of-type(3) {
      grid-column: 2;
      grid-row: 2;
      padding-bottom: 70px;
    }

    /* 3번째 (Instagram) */
    footer .footer-content:nth-of-type(4) {
      grid-column: 1;
      grid-row: 3;
      padding-bottom: 0;
    }

    /* 4번째 (E-mail) */
    footer .footer-content:nth-of-type(5) {
      grid-column: 2;
      grid-row: 3;
      margin-top: 0;
      /* 데스크탑에서 준 50px 제거 */
      padding-bottom: 150px;
    }

    /* 5번째 (Copyright) */
    footer .footer-content:nth-of-type(6) {
      grid-column: 1 / -1;
      /* 전체 너비 */
      grid-row: 4;
    }
  }


  @media only screen and (max-width: 767px) {

    footer {
      grid-template-columns: 1fr 1fr;
      /* 2단 */
      padding: 0 25px 30px;
      row-gap: 0px;
    }

    .footer-border {
      grid-column: 1 / -1;
      grid-row: 1;
      padding-bottom: 70px;
    }


    /* 1번째 (Scope of Work) */
    footer .footer-content:nth-of-type(2) {
      grid-column: 1;
      grid-row: 2;
    }

    /* 2번째 (Skills & Tools) */
    footer .footer-content:nth-of-type(3) {
      grid-column: 2;
      grid-row: 2;
      padding-bottom: 50px;
    }

    /* 3번째 (Instagram) */
    footer .footer-content:nth-of-type(4) {
      grid-column: 1;
      grid-row: 3;
      padding-bottom: 0;
    }

    /* 4번째 (E-mail) */
    footer .footer-content:nth-of-type(5) {
      grid-column: 2;
      grid-row: 3;
      margin-top: 0;
      /* 데스크탑에서 준 50px 제거 */
      padding-bottom: 100px;
    }

    /* 5번째 (Copyright) */
    footer .footer-content:nth-of-type(6) {
      grid-column: 1 / -1;
      /* 전체 너비 */
      grid-row: 4;
    }

    /* 기본 단락 스타일 */
    footer .footer-content p {
      letter-spacing: 0.04em;
      font-size: 0.9em;
      font-weight: 600;
      line-height: 1.4;
      padding-top: 0;
    }

    /* 서브 콘텐츠 스타일 (.content 클래스) */
    footer .footer-content .content {
      padding-top: 30px;
      font-size: 0.8em;
      font-variation-settings: "wght" 400;
      font-weight: 400;
      line-height: 2;
      letter-spacing: 0.01em;
    }

  }


  /* 위아래 이동 버튼 설정 ------------------------------------------------------------------------------ */
  .scroll-btn-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 46px;
    /* 위아래 버튼 간격 */
    pointer-events: none;
    /* 버튼 외 영역 클릭 방지 */
    z-index: 1000;
  }

  .scroll-btn {
    display: block;
    position: fixed;
    right: -50px;
    font-weight: 800;
    font-size: 0.5em;
    background-color: #00000000;
    color: #fff;
    width: 50px;
    height: auto;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;

    /* 외곽선 제거 */
    border: none;
    outline: none;
    padding: 0;
  }


  /* 버튼이 보일 때의 스타일 */
  .scroll-btn.show {
    opacity: 1;
    right: 25px;
  }

  /* 스크롤 중의 버튼 스타일 */
  .scroll-btn.scrolling {
    opacity: 0.1;
    right: -50px;
  }

  /* 위로 가기 버튼 */
  #scrollToTopBtn {
    bottom: 100px;
    border-bottom: none;
  }

  /* 아래로 가기 버튼 */
  #scrollToBottomBtn {
    bottom: 50px;
    border-top: none;
  }

  /* 버튼 안의 이미지 스타일 */
  .scroll-btn img {
    display: block;
    width: 50px;
    height: auto;
    border: none;
    outline: none;
    background: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    pointer-events: auto;
  }


  /* 롤오버, 포커스, 클릭 시 효과 제거 */
  .scroll-btn:hover,
  .scroll-btn:focus,
  .scroll-btn:active {
    background: none;
    outline: none;
    box-shadow: none;
    filter: none;
  }

  @media only screen and (max-width: 767px) {

    .scroll-btn {
      right: -50px;
    }

    .scroll-btn.show {
      opacity: 1;
      right: 15px;
    }

    .scroll-btn.scrolling {
      opacity: 0.1;
      right: -50px;
    }

  }


  /* 유튜브, 비디오 풀 사이즈 삽입 ------------------------------------------------------------------------- */

  .contents-detail .con-image-1 .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
  }

  .video-container iframe,
  .video-container object,
  .video-container embed,
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

  }

  /* 텍스트 선택 스타일링 ------------------------------------------------------------------------- */

  ::selection {
    background-color: #e4ea2d;
    color: #fff;
    /* 선택된 텍스트의 글자색 */
  }

  ::-moz-selection {
    background-color: #8ec9e1;
    color: #fff;
    /* 선택된 텍스트의 글자색 (Firefox) */
  }


  /* 컨텐츠 스크롤링 페이드 업 효과 ------------------------------------------------------------------------- */

  [data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(30vh);
    transition: opacity 0.6s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
  }

  [data-animation="fade-up"].animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* 다양한 애니메이션 옵션 추가 */
  [data-animation="fade-in"] {
    opacity: 0;
    transition: opacity 0.6s ease-out;
  }

  [data-animation="fade-in"].animate {
    opacity: 1;
  }

  [data-animation="slide-left"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 1s ease-out;
  }

  [data-animation="slide-left"].animate {
    opacity: 1;
    transform: translateX(0);
  }





  /* 태블릿 화면 크기에 대한 미디어 쿼리 추가 ------------------------------------------------------------------ */

  @media only screen and (min-width: 768px) and (max-width: 1024px) {

    .container {
      flex-direction: column;
      /* 모바일에서는 세로 방향으로 배치 */
    }

    .fixed-column {
      min-width: 100%;
      width: 100%;
      /* 화면 전체 너비를 차지 */
      max-width: 1000px;
      /* 최대 가로 폭 제한 해제 */
      height: auto;
      /* 이미지의 세로 비율 유지 */
      margin-left: auto;
    }

    .fluid-column {
      order: 2;
      /* fluid-column을 두 번째로 배치 */
      width: 100%;
      border-top: 1px solid #d2d2d2;
      /* 세로 1px의 가로 라인 스타일 및 색상 설정 */
    }
  }


  /* 모바일 화면 크기에 대한 미디어 쿼리 추가 ----------------------------------------------------------------- */

  @media only screen and (max-width: 767px) {

    .header {
      flex-direction: column;
      text-align: center;
    }

    .container {
      flex-direction: column;
      /* 모바일에서는 세로 방향으로 배치 */
    }

    .container>* {
      margin-bottom: 0;
      /* 각 요소들 간의 아래쪽 여백을 0으로 설정 */
    }

    .fixed-column {
      min-width: 100%;
      width: 100%;
      /* 화면 전체 너비를 차지 */
      max-width: 1000px;
      /* 최대 가로 폭 제한 해제 */
      height: auto;
      /* 이미지의 세로 비율 유지 */
      margin-left: auto;
      margin-bottom: 0;
      /* 이미지 아래 여백을 0으로 설정 */
    }

    .fluid-column {
      order: 2;
      /* fluid-column을 두 번째로 배치 */
      width: 100%;
      border-top: 1px solid #d2d2d2;
      /* 세로 1px의 가로 라인 스타일 및 색상 설정 */
    }

  }