@font-face {
  font-family: 'JYDSans-Medium';
  src: url('JYDSans-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
html, body {
	height: 100%;
	margin: 0;
	font-family: 'JYDSans-Medium', sans-serif;
}
div, p, h3, li {
	margin: 0;
	padding: 0;
	font-weight: normal;
	word-break: keep-all;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: clamp(17px, 1vw, 25px);
	line-height: clamp(26.52px, 1.56vw, 39px);
	overflow-wrap: break-word;
	word-break: break-all;
	letter-spacing: -.3px;
	color: #333;
}
a {
	color: inherit;
	text-decoration: none;
	font-size: clamp(16px, 1vw, 24px);
	line-height: clamp(24px, 1.5vw, 36px);
	overflow-wrap: break-word;
}
h2 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	word-break: keep-all;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: clamp(24px, 1.5vw, 36px);
	line-height: 130%;
	overflow-wrap: break-word;
}





/* ===== gnb ===== */

.gnb {
	position: fixed;
	display: flex;
	width: calc(100% - 2vw);
	justify-content: space-between;
	padding: 0.75vw 1vw;
	bottom: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
}
.gnb a {
	font-size: clamp(24px, 1.5vw, 36px);
	line-height: 100%;
	color: black;
  text-decoration: none;
}
.gnb a:hover {
  opacity: .6;
}
.gnb.hide {
  transform: translateY(100%);
}
.gnb:hover {
	background-color: white;
}
.mobile-gnb {
	display: none;
}





/* ===== index gnb ===== */

.index-gnb {
	position: fixed;
	display: flex;
	width: calc(100% - 2vw);
	justify-content: space-between;
	padding: 0.75vw 1vw;
	bottom: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
}
.index-gnb a {
	font-size: clamp(24px, 1.5vw, 36px);
	line-height: 100%;
	color: white;
  text-decoration: none;
  display: block;
}
.index-gnb a:hover {
  opacity: .6;
}
.index-gnb.hide {
  transform: translateY(100%);
}





/* ===== home ===== */

.home {
	position: fixed;
	top: 0;
	left: 0;
	padding: clamp(12px, 1vw, 24px);;
}
.home img {
	height: clamp(50px, 4vw, 80px);
	vertical-align: top;
}

/* ===== 프로그레스 ===== */

.progress {
	position: fixed;
	top: 0;
	left: 0;
	width: calc(100% - 2vw);
	height: 0.25vw;
	display: flex;
	gap: 0.5vw;
	padding: 0;
	box-sizing: border-box;
	z-index: 20;
	margin: 0.8vw 1vw;
}
.segment {
	flex: 1;
	background: rgba(255,255,255,0.2);
	position: relative;
	overflow: hidden;
}
.fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0%;
	background: rgba(255,255,255,0.4);
	transition: width 3s linear;
}

/* ===== 슬라이드 ===== */

.slideshow {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slide.active {
	opacity: 1;
}





/* ===== yeondoojung ===== */

.profile-wrap {
	padding-top: clamp(80px, 8vw, 120px);
	padding-right: 0;
	padding-bottom: clamp(80px, 8vw, 120px);
	padding-left: 0;
}

.profile {
	display: flex;
	padding-left: clamp(6px, 0.5vw, 12px);
	padding-right: clamp(6px, 0.5vw, 12px);
	padding-top: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(6px, 0.5vw, 12px);
}
.profile li {
	margin-right: 1vw;
}

.profile-image {
	width: 50%;
	padding: clamp(6px, 0.5vw, 12px);
}
.profile-image img {
	width: 100%;      /* 가로를 div에 맞춤 */
	height: auto;     /* 비율 유지 */
	display: block;
}

.profile-text {
	width: 50%;
	box-sizing: border-box;
	scrollbar-width: none;
}
.profile-title,
.profile-body,
.download,
.copyright {
	padding: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(24px, 2vw, 48px);
}
.profile-body p {
	margin-bottom: 1vw;
}
.download ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}





/* ===== blog type-a ===== */

.blog-wrap {
	padding-left: 0;
	padding-right: 0;
	padding-top: clamp(80px, 8vw, 120px);
	padding-bottom: clamp(80px, 8vw, 120px);
}
.blog {
	padding: clamp(6px, 0.5vw, 12px);
}
.row {
	display: flex;
	padding: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(24px, 2vw, 48px);
	gap: 1vw;
}

/* 1번 컬럼 (날짜) */
.date {
	display: flex;
	width: 25%;
}
.year {
	width: 50%;
}
.month-day {
	display: flex;
	width: 50%;
}
.month {
	width: 50%;
}
.day {
	width: 50%;
}

/* 2번 컬럼 (텍스트) */
.text {
	width: 25%;
}

/* 3번 컬럼 (이미지) */
.image {
	width: 50%;
}
.image img {
	width: 100%;
	height: auto;
	display: block;
}

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

/* ===== blog lnb ===== */

.blog-lnb {
	position: fixed;
	top: 0;
	right: 0;
	padding: clamp(12px, 1vw, 24px);
}
.blog-lnb p {
	line-height: 100%;
}






/* ===== blog type-b ===== */

.type-b {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.type-b .row {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* 기존 width 제거 효과 */
.type-b .date,
.type-b .text,
.type-b .image {
	width: auto;
}

/* 배치 지정 (예시) */
.type-b .image {
	grid-column: 1;
	grid-row: 1;
	order: 1;
	margin-bottom: 0.25vw;
}
.type-b .date {
	grid-column: 2;
	grid-row: 1;
	order: 2;
}
.type-b .text {
	grid-column: 3;
	grid-row: 1;
	order: 3;
}





/* ===== blog detail ===== */

.blog-detail-wrap {
	padding-top: clamp(80px, 8vw, 120px);
	padding-right: 0;
	padding-bottom: clamp(80px, 8vw, 120px);
	padding-left: 0;
}
.blog-detail {
	padding-top: clamp(6px, 0.5vw, 12px);
	padding-right: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(6px, 0.5vw, 12px);
	padding-left: clamp(6px, 0.5vw, 12px);
}
.blog-detail .text {
	width: 50%;
}
.blog-detail .date {
	width: 50%;
}
.blog-detail .image {
	width: 100%;
}
.blog-detail .image {
	column-count: 2;   /* 컬럼 개수 */
	column-gap: 1vw;
}
.blog-detail .image img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1vw;
	break-inside: avoid;
}

/* ===== blog lnb ===== */

.blog-detail-lnb {
	position: fixed;
	top: 0;
	left: 0;
	padding: clamp(12px, 1vw, 24px);
}
.blog-detail-lnb a {
	line-height: 100%;
}





/* ===== artwork type-a ===== */

.artwork-wrap {
	padding-top: clamp(80px, 8vw, 120px);
	padding-right: 0;
	padding-bottom: clamp(80px, 8vw, 120px);
	padding-left: 0;
}
.artwork {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: clamp(6px, 0.5vw, 12px);
	padding-right: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(6px, 0.5vw, 12px);
	padding-left: clamp(6px, 0.5vw, 12px);
}
.artwork ul {
	list-style: none;
	margin: 0 1vw;
	margin-bottom: 3vw;
	padding: clamp(6px, 0.5vw, 12px);
	flex-shrink: 0; /* 이미지 가로폭에 맞게 고정 */
	display: inline-block;
}
.artwork ul img {
	height: 16vw;
	width: auto;
	display: block;
	margin: auto;
	margin-bottom: 0.5vw;
}
.artwork ul li {
	width: auto;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

/* ===== artwork lnb ===== */

.artwork-lnb {
	position: fixed;
	top: 0;
	right: 0;
	padding: clamp(12px, 1vw, 24px);
	font-size: 1vw;
}
.artwork-lnb p {
	line-height: 100%
}





/* ===== artwork type-b ===== */

.type-b ul {
	list-style: none;
	margin: 0 1vw;
	margin-bottom: 1.5vw;
	padding: clamp(6px, 0.5vw, 12px);
	display: inline-block;
}
.type-b ul img {
	height: 8vw;
	width: auto;
	display: block;
	margin-bottom: 0.5vw;
}
.artwork.type-b ul li:nth-child(2),
.artwork.type-b ul li:nth-child(3) {
	display: none;
}





/* ===== artwork detail ===== */

.artwork-detail {
	width: 100%;
	padding: 0 0 100px 0;
	word-break: keep-all;
}
.artwork-detail img {
	height: 10vw;
	vertical-align: top;
}
.artwork-detail ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.artwork-detail h3,
.artwork-detail li,
.artwork-detail p {
	font-weight: normal;
	margin: 0;
}

/* ===== artwork-detail-01 image ===== */

.artwork-detail-01 {
	width: 100%;
	height: auto;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2vw;
}
.artwork-detail-01 img {
	width: 100%;
	height: auto;
}

/* ===== artwork-detail-02 body ===== */

.artwork-detail-02 {
	width: 50%;
	margin: auto;
	padding: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(48px, 4vw, 96px);
	box-sizing: border-box;
}
.artwork-detail-02 h2:nth-child(2) {
	margin-bottom: clamp(24px, 2vw, 48px);
}
.artwork-detail-02 p {
	margin-bottom: 1vw;
}
.artwork-detail-02 ul {
	display: flex;
}
.artwork-detail-02 li {
	width: 50%;
}
.artwork-detail-02 img {
	width: 100%;
	height: auto;
}
.artwork-detail-02 .header, 
.artwork-detail-02 .video, 
.artwork-detail-02 .body,
.artwork-detail-02 .download {
	padding: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(24px, 2vw, 48px);
}
.artwork-detail-02 .video img {
	margin-bottom: 1vw;
}
.artwork-detail-02 .video p {
	margin-bottom: 0;
	font-size: clamp(12px, 0.8vw, 16px);
	line-height: clamp(16px, 1.2vw, 24px);
	color: #999;
}
li.info-label {
	width: 20%;
}
li.info-value {
	width: 80%;
}

/* ===== artwork-detail-03 gallery ===== */

.artwork-detail-03 {
	display: flex;
	padding: clamp(6px, 0.5vw, 12px);
	padding-bottom: clamp(48px, 4vw, 96px);
	overflow-x: auto;
	/* 스크롤바 숨기기 */
	-ms-overflow-style: none;  /* IE/Edge */
	scrollbar-width: none;     /* Firefox */
}
.artwork-detail-03 ul {
	padding: clamp(6px, 0.5vw, 12px);
}
.artwork-detail-03 img {
	width: 28vw;
	height: auto;
	margin-bottom: 0.3vw;
}
li.img-num {
	font-size: clamp(12px, 0.8vw, 16px);
	line-height: clamp(16px, 1.2vw, 24px);
}

/* ===== artwork-detail-04 related artworks ===== */

.artwork-detail-04 {
	padding: clamp(12px, 1vw, 24px);
	padding-bottom: clamp(48px, 4vw, 96px);
}
.artwork-detail-04 h3 {
	padding: 0.25vw 0;
}
.artwork-detail-04 ul {
	display: flex;
	border-top: 1px dashed black;
}
.artwork-detail-04 li {
	padding: 0.25vw 0;
}
.artwork-detail-04 li:nth-child(1) {
	width: 42.5%;
	padding-right: 4px;
}
.artwork-detail-04 li:nth-child(2) {
	width: 42.5%;
	padding-right: 4px;
}
.artwork-detail-04 li:nth-child(3) {
	width: 15%;
}

/* ===== artwork-detail-05 related articles ===== */

.artwork-detail-05 {
	padding: clamp(12px, 1vw, 24px);
}
.artwork-detail-05 h3 {
	padding: 0.25vw 0;
}
.artwork-detail-05 ul {
	display: flex;
	border-top: 1px dashed black;
}
.artwork-detail-05 li {
	padding: 0.25vw 0;
}
.artwork-detail-05 li:nth-child(1) {
	width:  42.5%;
	padding-right: 4px;
}
.artwork-detail-05 li:nth-child(2) {
	width:  42.5%;
	padding-right: 4px;
}
.artwork-detail-05 li:nth-child(3) {
	width: 15%;
}





/* ===== artwork-detail-gnb ===== */

.artwork-detail-gnb {
	position: fixed;
	display: flex;
	width: calc(100% - 2vw);
	justify-content: space-between;
	padding: 0.75vw 1vw;
	bottom: 0;
  z-index: 1001;
  color: white;
  transition: transform 0.3s ease;
}
.artwork-detail-gnb a {
	color: white;
  text-decoration: none;
	font-size: clamp(24px, 1.5vw, 36px);
	line-height: 100%;
}
.artwork-detail-gnb a:hover {
  opacity: .6;
}

.artwork-detail-gnb.hide {
	transform: translateY(100%);
}

.artwork-detail-gnb-black {
	position: fixed;
	display: flex;
	width: calc(100% - 2vw);
	justify-content: space-between;
	padding: 0.75vw 1vw;
	bottom: 0;
  z-index: 1000;
  color: black;
  background-color: white;
  transition: transform 0.3s ease;
  transform: translateY(100%); /* 기본 숨김 */
}
.artwork-detail-gnb-black a {
	color: black;
  text-decoration: none;
	font-size: clamp(24px, 1.5vw, 36px);
	line-height: 100%;
}
.artwork-detail-gnb-black a:hover {
  opacity: .6;
}

.artwork-detail-gnb-black.show {
	transform: translateY(0); /* 등장 */
}





/* ===== artwork-detail lnb ===== */

.artwork-detail-lnb {
	position: fixed;
	top: 0;
	left: 0;
	padding: clamp(6px, 0.5vw, 12px);
	font-size: 1vw;
	line-height: 1.5vw;
	display: flex;
	width: 100%;
	color: white;
	transform: translateY(0%);
	transition: transform 0.2s ease;
	gap: 8px;
	box-sizing: border-box;
}
.artwork-detail-lnb p:nth-child(1) {
	width: 20%;
	padding: clamp(6px, 0.5vw, 12px);
	box-sizing: border-box;
}
.artwork-detail-lnb p:nth-child(2) {
	width: 80%;
	text-align: center;
  white-space: nowrap;      /* 줄바꿈 금지 */
  overflow: hidden;         /* 넘치는 부분 숨김 */
  text-overflow: ellipsis;  /* ... 표시 */
  padding: clamp(6px, 0.5vw, 12px);
	box-sizing: border-box;
}

.artwork-detail-lnb.hide {
	transform: translateY(-100%);
}

.artwork-detail-lnb-black {
	position: fixed;
	top: 0;
	left: 0;
	padding: clamp(6px, 0.5vw, 12px);
	font-size: 1vw;
	line-height: 1.5vw;
	display: flex;
	width: 100%;
	color: black;
	transform: translateY(-100%);
	transition: transform 0.2s ease;
	gap: 8px;
	box-sizing: border-box;
	background-color: white;
}
.artwork-detail-lnb-black p:nth-child(1) {
	width: 20%;
	padding: clamp(6px, 0.5vw, 12px);
	box-sizing: border-box;
}
.artwork-detail-lnb-black p:nth-child(2) {
	width: 80%;
	text-align: center;
  white-space: nowrap;      /* 줄바꿈 금지 */
  overflow: hidden;         /* 넘치는 부분 숨김 */
  text-overflow: ellipsis;  /* ... 표시 */
  padding: clamp(6px, 0.5vw, 12px);
	box-sizing: border-box;
}

.artwork-detail-lnb-black.show {
	transform: translateY(0%);
}





/* ===== lightbox ===== */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;           /* 브라우저 전체 너비 */
  height: 100vh;          /* 브라우저 전체 높이 */
  background-color: rgba(0,0,0,0.9); /* 어둡게 처리 */
  display: flex;
  justify-content: center; /* 가로 중앙 */
  align-items: center;     /* 세로 중앙 */
  z-index: 1000;
}
.lb-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .18s ease-out;
}
.lb-slide.active {
  opacity: 1;
}

.lightbox button {
  position: absolute;
  background: rgba(0, 0, 0, 0);   /* 배경 제거 */
  border: none;
  padding: 0;         /* 기본 여백 제거 */
  cursor: pointer;
  z-index: 1001;
  opacity: 0.3;
  transition: opacity .1s;
}
.lightbox button:hover {
  opacity: 1;
}
.lightbox button img {
  display: block;     /* inline 기본 여백 제거 */
  max-width: 60px;       /* 이미지 자체가 100px이면 생략 가능 */
  max-height: 60px;
}
.lightbox a {
  position: absolute;
  background: rgba(0, 0, 0, 0);   /* 배경 제거 */
  border: none;
  padding: 0;         /* 기본 여백 제거 */
  cursor: pointer;
  z-index: 1001;
  opacity: 0.3;
  transition: opacity .1s;
}
.lightbox a:hover {
  opacity: 1;
}
.lightbox a img {
  display: block;     /* inline 기본 여백 제거 */
  max-width: 60px;       /* 이미지 자체가 100px이면 생략 가능 */
  max-height: 60px;
}

.close-btn {
  top: 0;
  right: 0;
}
.prev-btn {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.next-btn {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.description {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 1000;
	color: white;
	padding: clamp(12px, 1vw, 24px);
	background-color: rgba(0, 0, 0, 0.2);
	width: 100%;
	color: rgba(255, 255, 255, 0.6);
	box-sizing: border-box;
}
.description p {
	font-size: clamp(12px, 0.8vw, 16px);
	line-height: clamp(16px, 1.2vw, 24px);
}





/* ===== contact ===== */

.contact {
	padding: clamp(12px, 1vw, 24px);
}





/* ===== common ===== */

p.view-more {
	margin-bottom: 0;
}
.download li {
	border: 1px solid black;
	padding: 0.1vw 0.4vw;
	width: auto;
}





/* ===== pagination ===== */

.blog-pagination {
	padding: clamp(6px, 0.5vw, 12px);
	display: flex;
	align-items: center;
}
.blog-pagination ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0.5vw 0;
}
.blog-pagination li {
	padding: clamp(6px, 0.5vw, 12px);
	padding-top: 0.6vw;
}
.arrow {
  width: clamp(16px, 1.5vw, 24px);
  height: auto;
  color: black;
  cursor: pointer;
  padding: 0.5vw;
}
.arrow.left {
  color: #cccccc;
}
.arrow.right {
	transform: rotate(180deg);
}
.arrow path {
  stroke-width: 8;
}





/* ===== mobile ===== */
@media (max-width: 425px) {

	/* common */
	.gnb {
		display: none;
	}
	.mobile-gnb {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		display: block;
		padding: clamp(6px, 0.5vw, 12px);
		box-sizing: border-box;
	}
	.mobile-gnb a {
		font-size: 18px;
		padding: clamp(6px, 0.5vw, 12px);
	}
	.mobile-gnb-wrap-02 {
		text-align: right;
	}

	/* index */
	.index-gnb {
		display: none;
	}

	/* profile */
	.profile {
		display: block;
	}
	.profile-image,
	.profile-text {
		width: 100%;
		box-sizing: border-box;
	}
	.profile-title h2 {
		font-size: clamp(16px, 1vw, 24px);
	}

	/* blog */
	.row {
		display: flex;
		flex-direction: column;
		gap: 0.5vw;
	}
	.date,
	.text,
	.image {
		width: 100%;
	}
	.date { 
		order: 2; 
	}
	.text { 
		order: 3; 
		box-sizing: border-box; 
	}
	.image { 
		order: 1; 
	}
	.blog img {
		width: 100%;
		height: auto;
	}
	.type-b {
		grid-template-columns: repeat(2, 1fr);
		padding-bottom: clamp(24px, 2vw, 48px);
	}
	.type-b .date {
		display: none;
		background-color: yellow;
	}
	.type-b .text {
		display: none;
	}
	.type-b .row {
		padding-bottom: clamp(6px, 0.5vw, 12px);
	}
	.blog-detail .date,
	.blog-detail .text {
		width: 100%;
	}
	.blog-detail .image {
		column-count: 1;
	}
	.blog-pagination {
		width: fit-content;
		margin: auto;
	}

	/* artwork */
	.artwork ul img {
		height: 50vw;
		margin-bottom: 1vw;
	}
	.artwork.type-a {
		flex-direction: column;
		align-items: center;
	}
	.artwork.type-b img {
		height: 20vw;
	}

	/* artwork detail */
	.artwork-detail-01 img {
		height: 100vh;
		width: auto;
	}
	.artwork-detail-02 {
		width: 100%;
	}
	.artwork-detail-03 img {
		width: 60vw;
	}
	.artwork-detail-04 li:nth-child(1),
	.artwork-detail-04 li:nth-child(2) {
		width: 42.5%;
		padding-right: 10px;
		box-sizing: border-box;
	}
	.artwork-detail-04 li:nth-child(3) {
		width: 15%;
	}
	.artwork-detail-05 li:nth-child(1),
	.artwork-detail-05 li:nth-child(2) {
		width: 42.5%;
		padding-right: 10px;
		box-sizing: border-box;
	}
	.artwork-detail-05 li:nth-child(3) {
		width: 15%;
	}
	.artwork-detail-gnb {
		display: none;
	}
	.artwork-detail-gnb-black {
		display: none;
	}
}
