@charset "UTF-8";

/* 기본 색상 */
:root {
	--main-color:  #FA4EAB;
	--accent-color: #8f63e1;
	--dark-main-color: #323232;
	--text-bright-color: #fff;
	--icon-color: #8f63e1;
	--gray-color: #a5a5a5;
	--large-width: 1000px;
	--middle-width: 800px;
}


/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;
}


/* 기본 설정: 페이지 전체 */
body {
	margin: 0;
	font-family: '맑은 고딕',
		'Apple SD Gothic Neo','sans-serif';
}

/* header 헤더 */
header {
	position: static;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
}

.nohero header {
	position: static;
}

/* head A: 사이트 이름 */
.headA {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 70px;
	padding: 0 20px;
	text-decoration: none;
}

.headA h2 {
  font-family: "Exo 2", sans-serif;
  font-style: normal;
  font-weight: 700;
}

/*  모바일용(header) */
@media (max-width: 767px) {

  header .container-small {
    display: grid;
    grid-template-columns: auto 40px; 
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .headA {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0 10px 16px;   
    line-height: 1.2;            
  }

  .headA h2 {
    font-size: 20px;            
    margin: 0;
    text-align: left;
    white-space: nowrap;         
    color: var(--main-color);
  }

  .headC {
    grid-column: 2;
    justify-self: end;
    margin-right: 16px;
  }
}

/* head B: 네비 메뉴 */
header .container {
	display: grid;
	margin: 0 auto;
	padding: 0 20px;
}

header .container-small {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
}

.headB {
	display: none;
	color: #737373
}

.headB a {
	font-family: "Exo 2", sans-serif;
    font-style: normal;
	font-weight: 500;
}


/*headB ul: PC */
@media (min-width: 768px) {
	.headB ul {
		display: flex;
		gap: 50px;
		align-items: center;
		justify-content: center;
		margin-top: 20px;
		padding: 0;
		list-style: none;
	}

	.headB li {
		flex: 1 1 0;
		text-align: center;
		margin: 0;
	}
}

/*headB ul: 모바일 */
@media (max-width: 767px) {
	.headB ul {
		display: block;
		margin-top: 10px;
		padding: 0;
		list-style: none;
	}
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: #ececec;
}

.headC {
	grid-column: 3;
	justify-self: end;
	margin-right: 0px;
	padding: 0;
	border: none;
	outline: none;
	background: none;
	font-size: 24px;
	cursor: pointer;
	color: #FA4EAB
}

/*headC: 햄버거 : pc */
@media (min-width: 768px) {
	.headC {
		font-size: 28px;
	}
}

.headC:hover {
	opacity: 0.3;
}

/* HERO VIDEO full cover */
.conA {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-bright-color);
  margin-bottom: 100px;
}

/* 비디오: 무조건 화면 전체 덮기 */
.conA .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* 내용 */
.conA .hero-content {
  position: relative;
  z-index: 2;
}

/* 로고 */
.conA .hero-logo {
  max-width: 70vw;  
  height: auto;
  display: block;
  opacity: 0.8;      
}

/* 데스크톱에서 더 키우기 */
@media (min-width: 768px) {
  .conA .hero-logo {
    max-width: 800px;  
  }
}

/* 콘텐츠B: superflat : 공통 (모바일 기본) */
.conB {
  padding: 40px 0;
  margin-top: 50px;
  margin-bottom: 50px;
  background: #fff;
  color: inherit;
}

.conB .container {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;

  /* 중앙 정렬용 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.conB h2 {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.conB p {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.8;
}

/* 버튼: 텍스트 밑으로 내려오고 중앙 정렬 */
.conB a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background-color: var(--icon-color);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  line-height: 1;
}

.conB a:hover {
  background-color: var(--accent-color);
}

/* PC (768px 이상)에서도 그냥 중앙 정렬 유지 */
@media (min-width: 768px) {
  .conB {
    padding: 60px 0;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .conB .container {
    /* 여전히 중앙 정렬, 다만 간격만 조금 더 */
    gap: 20px;
  }

  .superflat-r {
    /* 이미지 같은 요소가 있다면 이것도 중앙 정렬 */
    justify-self: center;
  }

  .conB .text {
    width: 100%;
  }
}

/* conC : art 섹션*/
.conC {
  background-color: #fffcfe;  
  padding: 60px 0 80px;   
}

/* ART 설명 블록 */
.conC .art-desc {
  flex-basis: 100%;
  margin-top: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.conC .art-desc p {
  margin: 0;
  margin-top: 30px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--dark-main-color);
  opacity: 0.9;
}

/* 콘텐츠C: art 3개 나열 */
.conC h2 {
  font-size: 1.4rem;
  text-align: center;
  margin: 0 0 20px;
  flex-basis: 100%;
  color: #FA4EAB;
}

.conC .container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--large-width);
  margin: 30px auto;
  padding: 0 10px;
  gap: 20px;
  box-sizing: border-box;
}

.conC .art {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  box-sizing: border-box;
}

.conC .artwork {
  flex: 1;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.conC .artwork img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 오버레이는 안 쓰고 싶으면 background 빼고 유지 */
.conC .artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* background: rgba(0,0,0,0.35);  필요하면 살짝 어둡게 줄 수도 있음 */
}

/* 중앙 텍스트 */
.conC .artwork span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  color: var(--text-bright-color); 
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;

  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}


.conC .artwork:hover img,
.conC .artwork:focus img {
  transform: scale(1.03);
  opacity: 0.9;
}

.conC .artwork:hover span,
.conC .artwork:focus span {
  opacity: 1;
}

/* conC : art : 모바일 */
@media (max-width: 768px) {
  .conC .art {
    flex: 0 0 100%;
  }

  .conC .artwork img {
    width: 100%;
    height: auto;        
    object-fit: contain; 
  }

  .conC .art-desc p {
	font-size: 0.9rem;
  }
}

/*conE : ex 슬라이드 */
.conE {
  padding: 30px 0;
  margin-top: 60px;
  background-color: #fff;
}

.conE h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  color: #FA4EAB;
}

.ex-swiper {
  width: 90vw;                 
  max-width: 1400px;           
  height: 80vh;                
  max-height: 800px;
  margin: 0 auto;
}

.ex-swiper .swiper-slide {
  background: #fff;   
}

.ex-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;  
  margin-bottom: 50px;
  margin-top: 30px;
}

.ex-swiper .swiper-button-next,
.ex-swiper .swiper-button-prev {
  color: var(--gray-color);
}

/* conE : ex : 모바일 */
@media (max-width: 767px) {
  .ex-swiper {
    height: 400px;
  }
}

/* conF : BRAND */
.conF {
	padding: 0;
	margin-top: 60px;              
}

.brand-wrap {
	width: 100%;
	max-width: none;
	margin: 0;          
	padding: 0;          
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr;
}

.brand-item {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	min-height: 50vh;   
}

.brand-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.35);  
	z-index: 1;
}

.brand-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 2;
	color: var(--text-bright-color);
}

.brand-caption h2 {
	margin: 0 0 4px;
	font-size: 1.6rem;
	letter-spacing: 0.16em;
}

.brand-caption p {
	margin: 0;
	font-size: 0.8rem;
}

.brand-item:hover img {
	transform: scale(1.03);
	transition: transform 0.4s ease;
	opacity: 80%;
}

/* conF : brand : pc */
@media (min-width: 768px) {
	.brand-wrap {
		grid-template-columns: 1fr 1fr;
	}
}

/* about 섹션 */
.ab-hero {
  position: relative;
  padding: 80px 0 60px; 

  background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)),
  url("img/ab_hero.jpg");

  background-position: center;  
  background-size: cover;       
  background-repeat: no-repeat;

  color: var(--text-bright-color);
}

.ab-hero .container {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;
}

.ab-hero h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.18em;
}


.about-profile {
	background-color: #fff;
}

.about-profile .profile-wrap {
	max-width: var(--large-width);
	margin: 0 auto;
	padding: 70px 20px 90px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.profile-photo {
	flex: 1 1 40%;
	min-width: 260px;
	height: 360px;
	background-image: url(img/profile.jpg);
	background-size: cover;
	background-position: center;
}

.profile-text {
	flex: 1 1 50%;
	min-width: 260px;
}

.profile-text h2 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 1.5rem;
	letter-spacing: 0.08em;
	color: var(--dark-main-color);
}

.profile-text p {
	margin: 0 0 10px;
	font-size: 0.9rem;
	line-height: 1.7;
}

/* profile : 모바일 */
@media (max-width: 767px) {
	.profile-text {
		text-align: left;        
	}

	.profile-text h2 {
		font-size: 1.25rem;     
		margin-bottom: 12px;
	}

	.profile-text p {
		font-size: 0.9rem;    
		line-height: 1.7;         
	}
}

/* VISION 섹션 */
.about-vision {
  position: relative;          /* 배경 이미지용 ::before 깔기 위해 */
  padding: 80px 20px 90px;
  overflow: hidden;            /* 움직이는 배경이 밖으로 안 튀어나가게 */
}

.about-vision .vision-inner {
	max-width: var(--large-width);
	margin: 0 auto;
	text-align: center;
}

.about-vision::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0) 85%,
    #ffffff 100%
  );
}

.about-vision .vision-inner {
  position: relative;
  z-index: 2;
}

.about-vision::before {
  content: "";
  position: absolute;
  inset: 0;  
  z-index: 0;

  background-image: url("img/vision_bg.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.5;             
  transform: scale(1.1);  
}

.about-vision .vision-inner {
  position: relative;
  z-index: 1;  
}

.vision-t {
  opacity: 0%;
}

.vision-cards {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.v-card {
  flex: 0 1 260px;
  height: 320px;

  box-shadow: none;

  border-radius: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px;
  box-sizing: border-box;
  text-align: center;
  color: var(--dark-main-color);
}

.v-card i {
	font-size: 50px;
	color: var(--icon-color);
	margin-top: 20px;
	margin-bottom: 30px;
	transform: scale(0.98);
	transition: transform 0.3s ease;
}

.v-card:hover i {
	transform: scale(1.15);
}

.v-card h3 {
	margin: 0 0 10px;
	font-size: 1rem;
  color: #4f4f4f;
}

.v-card p {
	margin-top: 10px;
	font-size: 0.9rem;
	line-height: 1.7;
	opacity: 0.9;
  color: #4f4f4f;
}

.vision-btn {
	display: inline-block;
	padding: 12px 36px;
	border-radius: 999px;
	background-color: var(--accent-color);
	color: var(--text-bright-color);
	font-size: 0.9rem;
	text-decoration: none;
}

/* vision : 모바일 */
@media (max-width: 767px) {
	.vision-cards {
		gap: 18px;
	}

	.v-card {
		flex: 1 1 100%;
		max-width: 320px;
		margin: 0 auto;
		padding: 20px 16px;
	}

	.v-card h3 {
		font-size: 0.95rem;
	}

	.v-card p {
		font-size: 0.87rem;
		line-height: 1.6;
	}
}


/* timeline 섹션 */
.about-timeline {
	padding: 80px 20px 90px;
	background-color: #fff;
}

.about-timeline .timeline-wrap {
	max-width: var(--large-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	column-gap: 40px;
	row-gap: 20px;
	align-items: flex-start;
}

.about-timeline .timeline-wrap h3 {
	margin: 0;
	font-size: 1rem;
	letter-spacing: 0.12em;
	color: var(--dark-main-color);
}

.timeline-list {
	font-size: 0.95rem;
	color: var(--dark-main-color);
}

.timeline-list p {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--gray-color);
	line-height: 1.8;
}

/* timeline : 모바일 */
@media (max-width: 767px) {
	.about-timeline .timeline-wrap {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.about-timeline .timeline-wrap h3 {
		margin-bottom: 6px;
	}
}

/* ============ VISION PAGE ============ */

main.vision-page {
  width: 100%;
}

.vision-section {
  position: relative;
  min-height: 70vh;             
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;  
  color: #ffffff;
  overflow: hidden;
}

.vision-section.superflat-hero {
  background-image: url("img/vision_superflat.jpg");
}

.vision-section.superflat-theory {
  background-image: url("img/vision_theory.jpg");
  background-attachment: local;  
}

.vision-section.superflat-global {
  background-image: url("img/vision_global.jpg");
}


.vision-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.vision-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
}

.vision-body-line {
  margin: 0.25rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #fff;
}

.vision-title,
.vision-body-line {
  text-shadow:
    0 2px 4px rgba(128, 128, 128, 0.3),
    0 0 3px rgba(65, 65, 65, 0.7);
}

@media (max-width: 768px) {
  .vision-section {
    padding: 3rem 1.25rem;
  }

  .vision-content {
    max-width: 90%;
    padding: 0 1rem;
  }

  .vision-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .vision-body-line {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* VISION 하단 버튼 – 섹션 안쪽, 가운데 정렬 */
.vision-btn-wrap {
  margin-top: 1.6rem;
  text-align: center;          /* 가운데 정렬 핵심 */
}

.vision-btn {
  display: inline-block;
  padding: 0.7rem 2.4rem;
  border-radius: 999px;
  background: #8f63e1;
  color: #fff;
  font-family: "Exo 2", "Montserrat", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.vision-btn:hover {
  background: #5c4685;
  transform: translateY(-1px);
  opacity: 0.95;
}

/* 모바일에서 버튼 살짝 줄이기 */
@media (max-width: 768px) {
  .vision-btn {
    padding: 0.65rem 2rem;
    font-size: 0.8rem;
  }
}

/* ============ ART PAGE 공통 섹션 타이틀 (기본값) ============ */
.art-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* ---------- ART HERO ---------- */
.art-hero {
  position: relative;
  padding: 80px 0 70px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .art-hero {
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .art-hero-inner {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
}

/* 배경 영상 */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: brightness(70%);
}

/* 히어로 텍스트 */
.art-hero-inner {
  position: relative;
  max-width: var(--middle-width);
  margin: 0 auto;
  padding: 0 16px;
  z-index: 2;
}

.art-hero-title {
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.art-hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 26px;
  opacity: 0.9;
}

/* 검은 타원 버튼 공통 */
.art-more-btn,
.art-hero-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.art-more-btn:hover,
.art-hero-btn:hover {
  opacity: 0.9;
}

/* ---------- ART GALLERY (PAINTINGS / SCULPTURE) ---------- */

.art-gallery {
  padding: 48px 0 40px;
  margin-top: 50px;
}

/* 바깥 컨테이너 */
.art-gallery > .container {
  max-width: var(--large-width);   /* 예: 1200px */
  margin: 0 auto;
  padding: 0 20px;
}

/* 섹션 타이틀 (1200px 폭 안에서 왼쪽 정렬) */
.art-gallery .art-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  max-width: 1200px;
  margin: 0 auto 28px;
  text-align: left;
}

/* 탭 헤더 (PAINTINGS | SCULPTURE) */
.art-gallery-header {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.art-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.art-tab.is-active { color: #000; }
.art-tab:not(.is-active) { color: #c7c7c7; }

.art-tab-divider {
  color: #999;
  font-size: 0.8rem;
}

/* 공통 : 그리드 래퍼 (탭 패널) */
.art-grid {
  display: none;
  margin-top: 20px;
}

/* 활성 패널 – 3열 컬럼 레이아웃, 전체 폭 1200px */
.art-grid.is-active {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* 3열 컬럼 */
.art-col {
  flex: 1 1 calc(33.33% - 18px);
  max-width: calc(33.33% - 18px);
  box-sizing: border-box;
}

/* 한 작품(이미지 + 캡션) */
.art-piece {
  position: relative;
  margin: 12px 12px 24px;
  overflow: hidden;
}

/* 이미지 */
.art-piece img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* 어두운 오버레이 */
.art-piece::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* 캡션 – 좌측 하단 */
.art-piece figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;

  font-size: 0.85rem;
  color: #fff;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* 호버 효과 */
.art-piece:hover img {
  transform: scale(1.03);
  filter: brightness(0.8);
}

.art-piece:hover::before,
.art-piece:hover figcaption {
  opacity: 1;
}

/* 태블릿 : 2열 */
@media (max-width: 900px) {
  .art-col {
    flex: 50%;
    max-width: 50%;
  }
}

/* 모바일 : 1열 */
@media (max-width: 600px) {
  .art-col {
    flex: 100%;
    max-width: 100%;
  }
}

/* 아래 버튼 영역 */
.art-gallery-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- DIGITAL SECTION ---------- */

.art-digital {
  padding: 60px 0 80px;
  background-color: #fff;
}

/* 가운데 정렬된 컨테이너 */
.art-digital > .container {
  max-width: 1200px;  
  margin: 0 auto;
  padding: 0 20px;
}

/* DIGITAL 섹션 타이틀 – 영상 폭(1200 안의 900) 기준 정렬 */
.art-digital .art-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  max-width: 1200px;       /* 영상이랑 같은 폭 */
  margin: 0 auto 28px;    /* 가운데 놓고 */
  text-align: left;       /* 글자는 왼쪽 정렬 */
}

/* 영상 박스 감싸는 래퍼 – 가운데 정렬 + 최대 너비 제한 */
.art-digital-media {
  max-width: 1200px;
  margin: 0 auto 30px;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  width: 1200px;
}

/* DIGITAL 섹션 아래 버튼 */
.art-digital .art-gallery-more {
  text-align: center;
  margin-top: 24px;
}

/* ART DIGITAL 본문 스타일 */
.art-digital p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;       
  color: var(--dark-main-color);
}

/* 모바일에서 여백 살짝 + 가독성 유지 */
@media (max-width: 767px) {
  .art-digital p {
    font-size: 0.9rem;         
    line-height: 1.7;
    padding: 0 10px;       
  }
}

/* exhibition */

.ex-hero {
  position: relative;
  padding: 80px 0 60px; 

  background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)),
  url("img/ex_hero.jpg");

  background-position: center;  
  background-size: cover;       
  background-repeat: no-repeat;

  color: var(--text-bright-color);
}

.ex-hero .container {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;
}

.ex-hero h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.18em;
}

/* GALLERY + 리스트 영역 */
.ex-gallery {
  padding: 50px 0 90px;
  background-color: #fff;
}

.ex-gallery .container {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* GALLERY 타이틀 */
.ex-gallery h2 {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 20px;
}

.ex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 카드 한 개 */
.ex-card {
  background-color: transparent;
  margin-top: 20px;
}

.ex-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ex-thumb {
  position: relative;
  height: 220px;       
  background-color: #555; 
  overflow: hidden;      
}

.ex-thumb img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.6s ease;  
}

/* 정보 영역 (연한 박스) */
.ex-info {
  background-color: #f8f8f8;
  padding: 14px 16px 18px;
  height: 120px;
}

.ex-info h3 {
  margin: 0 0 6px;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.ex-info .ex-meta {
  margin: 0 0 4px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.ex-info .ex-desc {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

.ex-card:hover .ex-thumb img,
.ex-card:focus-within .ex-thumb img {
  transform: scale(1.06);  
}

/* 반응형 (태블릿) */
@media (max-width: 1024px) {
  .ex-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ex-hero {
    padding: 70px 0 50px;
  }

  .ex-hero h1 {
    font-size: 2rem;
  }
}

/* 반응형 (모바일) */
@media (max-width: 768px) {
  .ex-grid {
    grid-template-columns: 1fr;
  }

  .ex-hero {
    padding: 60px 0 40px;
  }

  .ex-hero h1 {
    font-size: 1.8rem;
  }

  .ex-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .ex-info .ex-meta {
    font-size: 1rem;
    opacity: 0.4;
  }

  .ex-info .ex-desc {
    margin-top: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.7;
  }
}


/* ================= footer 공통 ================= */

footer {
  color: #7f7f7f;
  background-color: #240f2d;
}

footer .container {
  padding: 40px 20px;
}

/* footer A : 사이트 정보 */
.footA {
  margin-bottom: 30px;
  text-align: center; /* 기본은 가운데 정렬 */
}

.footA h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  letter-spacing: 0.2em;
}

.footA p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.footA a {
  color: inherit;
  text-decoration: none;
}

/* footer C : 저작권 */
.footC {
  font-size: 12px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

/* footer D : SNS 메뉴 */
.footD {
  margin-top: 20px;

}

.footD ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.footD a {
  display: block;
  margin-right: 8px;
  padding: 0;
  color: inherit;
  font-size: 16px;
  text-decoration: none;
  border: solid 1px currentColor;
  width: 2.2em;
  line-height: 2.2em;
  border-radius: 6px;
  text-align: center;
}

.footD a:last-child {
  margin-right: 10px;
}

.footD a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}


/* ============== PC 레이아웃 (min-width: 768px) ============== */
@media (min-width: 768px) {

  footer .container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }

  .footA {
    flex: 0 0 100%;
    text-align: center;
  }

  .footC {
    flex: 0 0 100%;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {

  footer .container {
    padding: 30px 16px;
  }

  .footA h2 {
    font-size: 22px;
    letter-spacing: 0.15em;
  }

  .footA p {
    font-size: 13px;
    line-height: 1.6;
  }

  .footC {
    font-size: 11px;
    margin-top: 16px;
  }

  .footD a {
    font-size: 14px;
    width: 2em;
    line-height: 2em;
  }
}

/*about 페이지: post 작성 : 모바일*/
.post .container {
	max-width: 800px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}

.post h1 {
	padding-left: 0.5rem;
	border-left: solid 0.75rem var(--accent-color);
	font-size: 2rem;
}

.post p {
	font-size: 1rem;
	line-height: 2;
}

.pptx video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pptx .container {
    display: block;
    max-width: 1500px;
    margin: 0 auto;
  }
}


.conC h2,
.conE h2,
.art-gallery .art-section-title,
.art-digital .art-section-title,
.ex-gallery h2 {
  font-family: "Exo 2", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  font-weight: 600;                   
  font-size: 2rem;  
  letter-spacing: 0.1em;              
  text-transform: uppercase;            
  text-align: center;                   
  color: var(--main-color);            
  margin-top: 10px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .conC h2,
  .conE h2,
  .art-gallery .art-section-title,
  .art-digital .art-section-title,
  .ex-gallery h2 {
    font-size: 1.8rem;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
  }
}

/* 고정 TOP 버튼 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--main-color);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  z-index: 999;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* PC에서는 br 보이게 */
.pc-br {
  display: inline;
}

/* 모바일(폭 767px 이하)에서는 br 없애고 문장 자연스럽게 흐르게 */
@media (max-width: 767px) {
  .pc-br {
    display: none;
  }
}