@charset "UTF-8";

/* 기본 색상 */
:root {
	--main-color: #f9ebde;
	--accent-color: #e9fee5;
	--dark-main-color: #815854;
	--text-bright-color: #fff;
	--icon-color: #fff;

	--gray-color: #ddd;
	--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 {
	margin: 0;
	font-size: 16px;
	font-family: '맑은 고딕','Apple SD Gothic Neo','sans-serif';
	background-color: var(--main-color); 
}



/* 콘텐츠A: main-banner-image 히어로 이미지 mobile*/
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	min-height: 450px;
	background-image:linear-gradient(rgba(0, 0, 0, 0),rgba(0,0,0,0)), url(img/main_img.jpg);
	background-position: center;
	background-size: cover;
	color: #fff;
	color: var(--text-bright-color);
	text-align: center;

}

.conA.compact {   
	height: 700px;
	min-height: 0;
	background-image:
	/*  linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),*/
	  url(img/j1.jpg);
}
.conA.compact h1,
.conA.compact p {
    display: none;
}


	/* 제품 목록부분의 sub배너 이미지작성이므로 나중에 작성합니다.*/

.conA h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.2em;
	margin-left: 0.2em;
	font-size: 15vw;
}

.conA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 18px;
}
.conA img {
	width: 110%;
	margin-bottom: 20px;
}
/* 모바일 전용 이미지 배너 크기 최적화 */
@media (max-width: 767px) {
  .conA {
    height: auto;
    min-height: 0;

    /* 헤더와 배너 사이 간격 */
    margin-top: 40px;       /*  더 띄우고 싶으면 30~40px로 조절 */

    padding: 0;

    /* 배너 전체가 줄어들며 다 보이게 하는 핵심 */
    aspect-ratio: 17 / 9;   /* 비율 마음에 안 들면 16/9, 20/9로 바꿔도 됨 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;   /* ← 위가 아니라 정 가운데로 */
    background-color: #fff;
  }

  /* 배너 안 로고 이미지 */
  .conA img {
    width: 70%;
    height: auto;
    margin-bottom: 16px;
  }

  .conA h1 {
    font-size: 12vw;
  }
}
/* =========================
   모바일 – 아트워크 j1 배너 & 여백 조정
   ========================= */
@media (max-width: 767px) {

  /* 가로 스크롤 방지 */
  html, body {
    overflow-x: hidden;
  }

  /* 아트워크 상단 j1 배너 (conA.compact) */
  .conA.compact {
    width: 100%;
    height: auto;        /* 700px 같은 고정 높이 제거 */
    min-height: 0;
    margin-top: 40px;    /* 필요 없으면 0으로 줄여도 됨 */
    padding: 0;

    background-image: url("img/j1.jpg");
    background-size: contain;      /* 안 잘리고 전체 보이게 */
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #f0ffe2;     /* 이미지 밖 여백 색 */
  }

  /* 바로 아래 섹션 여백 줄이기 (DRAWING 쪽) */
  .drawing-section {
    margin: 0;
    padding: 0;
  }

  .grid-section {
    padding-top: 10px;   /* 위 여백 줄이기. 완전 붙이고 싶으면 0 */
  }

  .grid-section:first-of-type {
    padding-top: 0;
  }
}



/*AUTHOR*/
.author {
  padding: 60px 0;
  background-color: #fff;
}

.author-wrap {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.author-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  margin-bottom: 45px; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.author-img.left {
  background-image: url("img/left.jpg");
}

.author-img.right {
  background-image: url("img/right.jpg");
}

/* 가운데 텍스트 박스 */
.author-center {
  text-align: center;
  margin-bottom: 20px;
}

.author-center h2 {
  font-size: 28px;
  margin: 0 0 15px;
  color: #815854;
  font-family:'Montserrat', sans-serif;
}

.author-center p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 15px;
  color: #929191;
}

.author-center a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 26px;
  color: #815854;  
  background: #e9fee5;            /* 글자 색 */
  text-decoration: none;       /* 기본 밑줄 제거 */
  font-weight: 600;
  font-size: 14px;
  border-radius: 40px;
  transition: 0.2s;
}

.author-center a:hover {
  background: #815854;
  color: #f9ebde;
}

/*PC*/
@media (min-width: 1000px) {

  .author-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .author-img {
    width: 350px;
    height: 350px;
  }

  .author-center {
    width: 30%;
    margin: 0 80px;

  }

  .author-center h2 {
    font-size: 26px;
	color: #815854;  
  }

  .author-center p {
    font-size: 16px;
    line-height: 1.7;
  }
}



/* M 콘텐츠B:개요(icon+text)*/
.conB .container{
	padding-top: 80px;
	padding-bottom: 30px;
}
.conB .text{
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 60px;
	text-align: center;
	color: #464646;
  font-family:'Montserrat', sans-serif;
}
.conB h2{
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 20px;
	color: #815854;
}
.conB p{
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conB a{
	color: #66CBE5;
	color:var(--dark-main-color);
	text-decoration: none;
}
.conB a:hover{
	text-decoration: underline;
}
.conB i{
	font-size: 50px;
	color:#815854;  
	margin-bottom: 10px;
  margin-top: 20px;
	transform: scale(0.98);
	transition: 0.3s;
}
.conB i:hover{
	transform: scale(1.2);
}

/*pc콘텐츠B개요(아이콘+글자)[width=768px]기준으로*/
@media (min-width: 768px){
	.conB .container{
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin: 0 auto;
	}
	.conB .text{
		flex: 1;
	}
}
/* SLOGAN 공통 (PC 기본) */
#slogan{
    float: left;
    width: 100%;
    padding: 160px 0;
    background-image: url("img/green.jpg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
    overflow: hidden;
}

#slogan h3{
    display: block;
    color: #815854;
    margin-bottom: 15px;
    font-family:'Montserrat', sans-serif;
}

#slogan .text{
    float: left;
    width: 300px;
    margin: 40px 40px 40px 230px; 
    line-height: 2;
    font-size: 17px;
    color: #929191;
}

#slogan .text hr{
    background:#9ca1a1;
    height:1px;
    border:0;
}

#slogan a{
    display:inline-block;
    margin-top:25px;
    padding:8px 20px;
    font-size: 14px;
    text-decoration:none;
}

/* PC 레이아웃 */
@media (min-width: 768px){
	#slogan .container{
		display: flex;
		max-width: var(--large-width);
		margin: 40px 40px 40px 230px;
	}
	#slogan .text{
		flex: 1;
	}
}

/* ======================
   모바일: 이미지 제거
   ====================== */
@media (max-width: 767px) {

  #slogan {
    float: none;
    width: 100%;
    padding: 80px 0;
    text-align: center;

    /* 모바일에서는 배경 이미지 제거 */
    background-image: none;
    background-color: #f9ebde;  /* PC와 같은 배경색 사용 */
  }

  #slogan .text {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  #slogan h3 {
    margin-bottom: 12px;
  }
}


/*모바일 news*/
.news {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 150px 0;
}


.news1{
	margin-top: 450px;
  text-align: center;
  margin-bottom: 60px;
}

.news2 {
  text-align: center;
  margin-bottom: 40px;
}

/* 사진 (모바일: 위에 동그란 이미지) */
.news1 .photo img{
  width: 240px;
  height: 240px;
  border-radius: 230px;  
}
.news2 .photo img {
  width: 240px;
  height: 240px;
  border-radius: 230px;   
}


.news1 .text{
  padding: 20px;
}
.news2 .text {
  padding: 20px;
}

.news1 h2{
  font-size: 20px;
  margin-bottom: 10px;
  color: #815854;  
}

.news2 h2 {
  font-size: 20px;
  margin-bottom: 10px;
   color: #815854;  
}

.news1 p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #464646;
}

.news2 p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #464646;
}


.news1 a{
  display: inline-block;
  padding: 10px 25px;
  background-color: #815854;  
  color: #e9fee5;               
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
}

.news2 a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #815854;  
  color: #e9fee5;              
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
}
.news1 a:hover {
  background-color: #e9fee5;;
  color: #815854; 
}

.news2 a:hover {
  background-color: #e9fee5;
  color: #815854; 
}

@media (min-width: 768px) {

  .news1 {
    display: flex;
    align-items: center;
    max-width: 1300px;
  }
  .news2 {
    display: flex;
    align-items: center;
    max-width: 1300px;
  }

  .news1 .photo img{
    width: 360px;
    height: 360px;
    border-radius: 50%;
  }

  .news2 .photo img {
    width: 360px;
    height: 360px;
    border-radius: 50%;
  }

  /* news1 : 이미지 왼쪽, 텍스트 오른쪽 */
  .news1 {
    flex-direction: row; /* 기본 방향 */
  }
  .news1 .photo {
    margin-right: 130px;
  }
  .news1 .text {
    text-align: left;
  }
  .news2 {
    flex-direction: row-reverse;
  }
  .news2 .photo {
    margin-left: 130px;
  }
  .news2 .text {
    text-align: left;
  }
}
/* ======================
   모바일에서 슬로건~뉴스 간격만 줄이기
   ====================== */
@media (max-width: 767px) {
  .news {
    padding: 60px 0;      /* 위아래 전체 여백 줄이기 (150 → 60) */
  }

  .news1 {
    margin-top: 80px;     /* 슬로건 바로 아래로 당기기 (600 → 80) */
  }
}

/* M 대표작 (works)*/
.works {
  width: 100%;
  background: #f9ebde;
  text-align: center;
  padding: 0;
}

.works-wrap {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 60px;
  background:#eff6e9;
  border-top-left-radius:700px;
  border-top-right-radius: 700px;
}

.works h2 {
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
  color:  #815854; 
  font-family: 'Montserrat', sans-serif;
}

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

.list li {
  width: 80%;
  margin: 0 auto 20px;
  background: #815854;
  border-radius: 14px;
  padding: 12px 12px 16px;
  box-sizing: border-box;
}

.left-work{
  margin-top: 0;
}
.center-work{
  margin-top: 0;
}
.right-work {
  margin-top: 0;
}

.list img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.list span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #e9fee5;
}
/* 마우스 올렸을 때 카드 배경 + 글자색 변경 */
.list li:hover {
  background: #fff;
}

.list li:hover span {
  color: #815854;   /* 호버 시 텍스트 컬러 */
}

.works-more {
  display: inline-block;
  margin-top: 15px;
  padding: 9px 20px;
  border-radius: 18px;
  border: 1px solid #f7f7f7;
  background: #815854;  
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

/* ===========================
   모바일: 3개 가로로 나열
   =========================== */
@media (max-width: 767px) {

  .works .list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 8px;
    padding: 0 10px;
  }

  .works .list li {
    width: 32%;
    margin: 0;
    padding: 8px 8px 12px;
  }

  .works .list img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .works .list span {
    font-size: 11px;
    margin-top: 6px;
  }
}

/* PC(데스크탑) */
@media (min-width: 768px) {

  .works-wrap {
    border-top-left-radius: 800px;   /* 크게! */
    border-top-right-radius: 800px;  /* 크게! */
    padding: 150px 50px 90px;          /* 상·하 여백도 넉넉하게 */
  }
}

  .works h2 {
    margin-bottom: 28px;
    font-size: 24px;
  }

  /* 3개 카드를 가로로 나열 */
  .list {
    text-align: center;
  }

  .list li {
    display: inline-block;
    width: 230px;
    margin: 20px 18px; 
    background: #815854; 
    border-radius: 15px;
    padding: 12px 12px 18px;
  }

  /* 가운데 카드만 조금 위로 */
  .center-work {
    margin-top: -25px;
  }

  /* 양옆 카드는 살짝 아래 */
  .left-work,
  .right-work {
    margin-top: 20px;
  }

  .list img {
    border-radius: 15px;
  }

  .list span {
    font-size: 13px;
  }

  .works-more {
    margin-top: 30px;
    padding: 10px 22px;
  }

  .list li:hover {
    background: #fff;
  }


/* 모바일/PC 공통: 탭했을 때 눌리는 느낌 */
.list li:active {
  background: #fff;
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* =========================
   모바일: 반원 배경 잘림 방지
   (위 코드들은 그대로 두고,
    이 블록만 추가하기!)
   ========================= */
@media (max-width: 767px) {
  .works-wrap {
    border-top-left-radius: 320px;   /* 700px → 모바일용으로 줄이기 */
    border-top-right-radius: 320px;
    padding: 50px 20px 65px;        /* 필요하면 여백도 살짝 조정 */
  }
}




/* footer 영역*/
footer{
    clear: both;
    background-color: #815854;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.foot_copy{
    margin-top: 20px;
    line-height: 1.5;
    font-size: 12px;
}


/* --------------------------
   Mobile Footer (max-width: 767px)
   -------------------------- */
@media (max-width: 767px) {

    footer{
        padding: 28px 14px;      /* 패딩 확대 */
        font-size: 14px;         /* 가독성 증가 */
    }

    .foot_copy{
        margin-top: 16px;
        font-size: 13px;         /* 모바일용 조금 크게 */
        line-height: 1.6;
    }
}



/*pc footer:B [width=768px]기준으로*/
@media(min-width:768px){
	.footB{
		display: flex;
	}
	.footB div{
		flex: 1;
	}
	.footB div:not(:first-child){
		margin-left: 40px;
	}
}
/*푸터C:저작권*/
.footC{
	font-size: 12px;
	text-align: center;
	font-family:  sans-serif;
}
/*푸터D:sns메뉴*/
.footD {
	margin-top: 20px;
}

.footD ul{
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footD a{
	display: block;
	margin-right: 8px;
	padding: 0;
	color: inherit;/*상속된 컬러*/
	font-size: 16px;
	text-decoration: none;
	border: solid 1px currentColor;
	width: 2em;
	line-height: 2em;
	border-radius: 20%;
	text-align: center;
}
.footD a:hover{
	background-color: rgba(0,0,0,0.3);
}
/*header*/
header{
	position: absolute;
	top:0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color:#f0ffe2;
}
.nohero header{
	position: static;

}
/*headA: 사이트 이름*/
/*.headA{
	display: inline-block;
	line-height: 70px;
	padding-left:20px;
	padding-right: 20px;
	background-color: #66CBE5;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	text-decoration: none;
    }*/
.headA {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.headA img {
  display: block;
  height: 40px;  /* 로고 높이 */
  width: auto;
}

/*M-headB네비게이션 메뉴*/
.headB ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
.headB a{
	display: block;
	padding: 15px;
	color: #815854;
	font-size: 12px;
	text-decoration: none;
}
.headB a:hover{
	background-color: rgba(0, 0, 0, 0.3);
	border-top : solid 3px #fff;
	border-bottom: solid 3px #fff;
}

/* PC headB */
@media(min-width:768px){
	header .container{
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: var(--large-width);
		margin-left: auto; 
		margin-right: auto;
	}
	.headB ul{
		display: flex;
	}
}

/* headC: 토글버튼 */
@media (max-width:767px){
	header .container-small{
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #815854;
	}
}

.headC{
	margin-right: 10px;
	padding: 0;
	border: none;
	outline: none;
	background: none;
	font-size: 28px;
	opacity: 0.5;
	cursor: pointer;
}
.headC:hover{
	opacity: 0.3;
}
.headB{
	display: none;
}

@media(min-width:768px){
	.headC{
		display: none;
	}
	.headB{
		display: block !important;
	}
}

/* 모바일 메뉴 (토글 열렸을 때 적용) */
@media (max-width: 767px) {

  .headB ul {
    background-color: #f0ffe2;   /* 은은한 연녹색 */
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .headB a {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background-color: #f7f7f7;
    color: #815854;
    font-size: 14px;
    border-bottom: 1px solid #fff;
    transition: background 0.2s ease;
  }

  .headB a:active {
    background-color: #B6B0A8;   /* 눌렀을 때 색 */
  }

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





/*about페이지, 슬라이드*/

.hockney-slider {
  width: 100%;
  padding: 80px 0 100px;  
  background-color: var(--main-color);
  text-align: center;
}

/* 슬라이더 제목 */
.hockney-slider .slider-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #815854;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
}

/* Swiper 전체 박스 가운데 정렬 */
.hockney-slider .mySwiper {
  max-width: 1100px;   /* 가운데 카드 영역 최대 넓이 */
  margin: 0 auto;      /* 가운데 정렬 */
}

/* Swiper 기본 */
.mySwiper {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 60px;
}

/* 슬라이드 카드 */
.mySwiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 450px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover 시 살짝 확대 */
.mySwiper .swiper-slide:hover {
  transform: scale(1.05);
}

/* 페이지네이션 점 스타일 */
.swiper-pagination-bullet {
  background: #815854 !important;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #5f403c !important;
  opacity: 1;
}

/*about페이지: post작성*/
.post .container{
	max-width: 1100px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
  margin-top: -30px;
}
.post h1{
  font-family: 'Montserrat';
	font-size: 28px;
  letter-spacing: 0.08em;
	color: #815854; 
}
.post p{
	font-size: 1rem;
	line-height: 2;
	color: #815854
}
/* =========================
   HISTORY 타임라인 기본 스타일
   ========================= */

.history {
  background: #B6B0A8;
  padding: 80px 0;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  overflow-x: hidden;      /* 혹시 모를 가로 스크롤 방지 */
}

.history .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.history .text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  padding-left: 40px;
  color: #e9fee5;
}
/* 타임라인 전체 래퍼 */
.history-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* 중앙 세로 라인 */
.history-timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #ffffff;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* 개별 아이템 공통 박스 */
.history-item {
  position: relative;
  padding: 10px 40px;
  width: 50%;
  box-sizing: border-box;
}

/* 왼쪽 칸 */
.history-left {
  left: 0;
}

/* 오른쪽 칸 */
.history-right {
  left: 50%;
}

/* 카드 박스 */
.history-card {
  padding: 20px 30px;
  background-color: #ffffff;
  position: relative;
  border-radius: 6px;
  box-sizing: border-box;
  color: #815854;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.history-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

/* 중앙 동그라미 기본 (왼쪽 카드 기준: 라인 오른쪽에) */
.history-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  top: 15px;
  background-color: #f0ffe2;
  border: 4px solid #815854;
  border-radius: 50%;
  z-index: 1;
}

/* 오른쪽 카드일 때 동그라미 위치 반전 */
.history-right::after {
  left: -16px;
  right: auto;
}

/* 왼쪽 카드 화살표 (→) */
.history-left::before {
  content: " ";
  position: absolute;
  top: 22px;
  right: 30px;
  width: 0;
  height: 0;
  z-index: 1;
  border: medium solid #ffffff;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ffffff;
}

/* 오른쪽 카드 화살표 (←) */
.history-right::before {
  content: " ";
  position: absolute;
  top: 22px;
  left: 30px;
  width: 0;
  height: 0;
  z-index: 1;
  border: medium solid #ffffff;
  border-width: 10px 10px 10px 0;
  border-color: transparent #ffffff transparent transparent;
}

/* float 정리용 (혹시 모를 깨짐 방지) – 지금 구조에서는 left 속성으로만 쓰지만 안전장치로 둠 */
.history-timeline::after {
  content: "";
  display: block;
  clear: both;
}
@media screen and (max-width: 600px) {

  /* HISTORY 제목 정렬 */
  .history .text h2 {
    padding-left: 0;
    text-align: center;
  }

  .history-timeline {
    max-width: 100%;
  }

  /* 세로 라인을 왼쪽으로 이동 */
  .history-timeline::after {
    left: 31px;
    margin-left: 0;
  }

  /* 아이템 전체 폭 사용 + 왼쪽 정렬 */
  .history-item,
  .history-left,
  .history-right {
    width: 100%;
    left: 0;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* 화살표는 모두 왼쪽 방향으로 통일 */
  .history-item::before {
    left: 60px;
    right: auto;
    border: medium solid #ffffff;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ffffff transparent transparent;
  }

  /* 동그라미 위치도 한 줄에 맞춰 통일 */
  .history-left::after,
  .history-right::after {
    left: 15px;
    right: auto;
  }
}



/*EXHIBITION소개*/
.sr-only { 
  position: absolute; 
  width: 1px;
  height: 1px;
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  border: 0; 
}

.exh-hero {
  padding: 60px 0 40px;
  background: #fff;
}

.exh-hero-heading {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #5f403c;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
}

.exh-hero-card {
  background: #fff;
  padding: 40px 40px 50px;
  text-align: center;
  color: #5f403c;
}

/* 회색 박스 안 이미지 */
.exh-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  margin: 0 auto 24px;
  border-radius: 24px;
  display: block;
}

.exh-hero-card-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.exh-hero-desc {
  margin-top: 20px;
  font-size: 14px;
}

/* 작가 인터뷰 */
.exh-interview {
  padding: 60px 0;
  background: #fff5e8;
}

.exh-interview .container {
  max-width: 1100px;
  margin: 0 auto;
}

.exh-interview-card {
  display: flex;
  gap: 40px;
  padding: 32px;
  border-radius: 32px;
  background: #815854;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.exh-interview-text {
  flex: 1;
}

.exh-interview-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #e9fee5
}

.exh-interview-text p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #f0ffe2;
}

.exh-interview-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e9fee5;
  background: #c45a45;
  color: #e9fee5;
  font-size: 13px;
  text-decoration: none;
}

.exh-interview-btn:hover {
  background: #e9fee5;
  border-color: #815854;
}

/* 오른쪽 이미지 */
.exh-interview-photo {
  flex:  150px;
  border-radius: 24px;
  background: #ffe9df;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.exh-interview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-left .exh-interview-card {
  flex-direction: row-reverse;
}

/* ===== 작가 인터뷰 – 모바일 최적화 (이미지 위 / 텍스트 아래 + 크기 축소) ===== */
@media (max-width: 767px) {

  /* 카드 전체 */
  .exh-interview-card {
    flex-direction: column;   /* 항상 세로 배치 */
    padding: 20px;
    gap: 20px;
    border-radius: 24px;
  }

  /* 이미지가 항상 위 */
  .exh-interview-photo {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    height: 220px;        /* 너무 크지 않게 고정 */
    border-radius: 20px;
    overflow: hidden;     /* 이미지 넘침 방지 */
  }

  .exh-interview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* 비율 유지하며 꽉 채우기 */
  }

  /* 텍스트는 이미지 아래 */
  .exh-interview-text {
    order: 2;
  }

  .exh-interview-text p {
    font-size: 13px;
    line-height: 1.6;
  }
}
.listA h1{
	font-size: 28px;
	text-align: center;
  color: #5f403c;
  letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
}
.listA .container{
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	max-width: var(--large-width);
	margin: 30px auto;
}
.listA article{
	flex: 1 1 300px;
	display: flex;
}
.listA a{
	flex: 1;
	margin: 10px;
	display: block;
	color: inherit;
	text-decoration: none;
}
.listA a:hover{
	opacity: 0.8;
}
.listA .photo{
	min-height: 200px;
	background-position: center;
	background-size: cover;
  border-radius: 5px;
}
.listA .text{
	margin: 10px;
  color: #815854;
  line-height: 1.3;
}
.listA h2{
	font-size: 18px;
  color: #5f403c;
}
.listA p{
	font-size: 14px;
	opacity:0.8;
  line-height: 1.3;
}

/* ⬇⬇⬇ 여기만 수정 (모바일 전용) ⬇⬇⬇ */
@media (max-width: 767px) {

  /* 2열 배치 */
  .listA .container{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 10px;
  }

  .listA a{
    margin: 0 !important;
  }

  /* 이미지 전체 보이게 + 잘림 방지 */
  .listA .photo{
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: auto;                   /* 위에 걸린 min-height 무력화 */
    background-size: contain !important;/* cover 덮어쓰기 */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    background-color: #f3e8d9;          /* 남는 여백 색(원하면 수정 가능) */
  }

  /* 텍스트 중앙 정렬 (옵션) */
  .listA .text{
    text-align: center;
    margin: 8px 4px;
  }
}

/* ===============================
   MOBILE FIX: 이미지 크기 완전 통일
   =============================== */
@media (max-width: 767px) {

  /* 2열 정렬 유지 */
  .listA .container{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 12px;
  }

  .listA a{
    margin: 0 !important;
  }

  /*  이미지 박스 크기 강제 통일 */
  .listA .photo{
    width: 100%;
    aspect-ratio: 4 / 3;              /* ← 비율 통일 */
    min-height: auto !important;
    height: auto !important;

    background-size: cover !important;   /* 크기 딱 맞게 채우기 */
    background-repeat: no-repeat;
    background-position: center;
    
    border-radius: 20px !important;
  }

  /* 텍스트 중앙 정렬 */
  .listA .text{
    text-align: center;
    margin: 10px 5px !important;
  }
}


/* ===== ARCHIVE Swiper ===== */
.archive-section {
  padding: 60px 0 80px;
  background: #e9fee5;
}

.archive-section .archive-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 제목 */
.archive-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: center;
  color: #815854;
  font-family: 'Montserrat', sans-serif;
}

/* Swiper 전체 박스 */
.archive-section .archive-swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 60px;          /* 양옆 여백 (PC 기준) */
  box-sizing: border-box;   /* ← 이 줄 추가! 가로 스크롤 방지 */
}

/* 슬라이드 한 칸 */
.archive-section .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 실제 카드 박스 사이즈 */
.archive-section .archive-item {
  width: 100%;
  max-width: 360px;
  height: 220px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* 카드 안 이미지 */
.archive-section .archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 페이지네이션 (1 / 6) */
.archive-section .swiper-pagination {
  position: static;
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #5f403c;
}

/* 네비게이션 화살표 공통 스타일 */
.archive-section .swiper-button-next,
.archive-section .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* 화살표 아이콘 색상/크기 */
.archive-section .swiper-button-next::after,
.archive-section .swiper-button-prev::after {
  font-size: 18px;
  color: #815854;
}

/* 오른쪽 / 왼쪽 위치 (PC 기준) */
.archive-section .swiper-button-next {
  right: 10px;
}
.archive-section .swiper-button-prev {
  left: 10px;
}

/* ===== 반응형 조정 ===== */
@media (max-width: 900px) {
  .archive-section .archive-swiper {
    padding: 0 30px;
  }
  .archive-section .archive-item {
    max-width: 100%;
    height: 220px;
  }
  .archive-section .swiper-button-next {
    right: 0;
  }
  .archive-section .swiper-button-prev {
    left: 0;
  }
}

@media (max-width: 480px) {
  .archive-section .archive-item {
    height: 200px;
  }
}


/* ---------------------------------------------------
   ARTWORK PAGE – DRAWING SECTION (장식 + 필터 버튼)
--------------------------------------------------- */

/* 배너 아래 섹션 전체 */
.artwork-page .drawing-section {
  position: relative;
  background: #f0ffe2;
  padding: 28px 0 10px;
  text-align: center;
  overflow: visible;
}

/* 장식 PNG */
.artwork-page .shape-deco {
  position: absolute;
  top: -80px;
  left: 70px;
  width: 200px;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------
   FILTER BUTTONS
--------------------------------------------------- */
.artwork-page .art-filter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.artwork-page .art-filter .btn {
  border: 2px solid #815854;
  padding: 10px 28px;
  border-radius: 999px;
  background-color: #fdf5ef;
  cursor: pointer;
  font-size: 14px;
  color: #815854;
  font-family: 'Montserrat', sans-serif;
  transition: 0.2s ease;
  letter-spacing: 0.04em;
}

.artwork-page .art-filter .btn:hover,
.artwork-page .art-filter .btn.active {
  background-color: #815854;
  color: #fff;
}

/* ---------------------------------------------------
   GRID SECTION (DRAWING / PHOTO / DIGITAL)
--------------------------------------------------- */
.grid-section {
  padding: 40px 20px;
  background: #f0ffe2;
  text-align: center;
}

.grid-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #815854;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* PC – 3개씩 */
.art-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.art-grid img {
  width: 32%;
  border-radius: 6px;
  display: block;
}

/* MORE BUTTON */
.more-wrap {
  margin-top: 20px;
}

.more-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid #815854;
  text-decoration: none;
  font-size: 14px;
  color: #815854;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  transition: 0.2s;
}

.more-btn:hover {
  background: #815854;
  color: #fff;
}

/* ---------------------------------------------------
   MOBILE (≤767px)
--------------------------------------------------- */
@media (max-width: 767px) {

  /* 장식 PNG */
  .artwork-page .shape-deco {
    top: -35px;
    left: 15px;
    width: 140px;
  }

  .artwork-page .drawing-section {
    padding: 22px 0 4px;
  }

  /* 필터 버튼 전체 */
  .artwork-page .art-filter {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 12px;       /* ← 좌우 패딩 추가 (더 안정적) */
  }

  /* 버튼 크기 ↓ (320px 화면 기준 맞춤) */
  .artwork-page .art-filter .btn {
    padding: 6px 18px;
    font-size: 11px;
    min-width: 72px;       /* 너무 작아지지 않도록 */
  }

  /* 이미지 2개씩 */
  .grid-section .art-grid img {
    width: 48%;
    border-radius: 6px;
  }
}




/*문의 페이지:문의 대상*/

.contact-page {
  background: #f9ebde;
}

/* 상단 타이틀 영역 */
.contact-header {
  padding: 60px 0 30px;
  text-align: center;
  color: #815854;
}

.contact-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.contact-lead {
  max-width: 600px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.contact-main-inner {
  display:flex;
  gap:32px;
  align-items: stretch;
}

.contact-info {
  flex: 1;
  max-width: 700px;   
}

.contact-main {
  padding: 20px 0 60px;
}

.contact-main-inner {
  max-width: 1200px;  
  margin: 0 auto;    
  gap: 40px;          
}
/* 왼쪽 : 작가 이미지 영역 */
.contact-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;     
  align-items: flex-start;
  gap: 40px;
}

.contact-form {
  flex: 0 0 40%;
  max-width: 380px;              
}

.contact-image {
  border-radius: 24px;
  overflow: hidden;
}

.contact-image img {
  max-width: 450px;   
  width: 100%;
  border-radius: 20px;
}

/* 오른쪽- 연락 정보 카드 묶음 */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  padding: 20px 23px;
  border-radius: 18px;
  background:#815854;
}

.info-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #e9fee5;
}

.info-item p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
  color: #e9fee5;
}

.info-item a,
.info-item span {
  font-size: 14px;
  text-decoration: none;
  color: #ddd;
}

.info-item a:hover {
  text-decoration: underline;
}

/* 지도 영역 */
.contact-map {
  padding: 0 0 60px;
}

.contact-map .container {
  max-width: 1200px;   
  margin: 0 auto;      
  padding: 0 20px;     
}

.map-wrapper {
  border-radius:0;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}


/*  PC 버전에서 info 박스 오른쪽으로 조금 이동 */
@media (min-width: 901px) {
  .contact-info {
    margin-left: 80px;   
  }
}


/*  반응형 (모바일) */
@media (max-width: 900px) {
  .contact-header {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .contact-main {
    padding: 20px 20px 60px;   /* 좌우 20px */
  }

  .contact-main-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;  
  }

  .contact-form {
    flex: 0 0 auto;
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-image img {
    width: 100%;
    height: auto;
  }

  .contact-info {
    width: 100%;
    margin-left: 0; /* 모바일은 중앙 정렬 */
  }

  .info-item {
    padding: 16px 18px;
  }
}


/*conE:비디오 M*/
.conE{
	background-color:#66CBE5;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
}
.conE .text{
	padding:20px;
}
.conE h2{
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}
.conE p{
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conE video{
    width: 100%;
    display: block;
    margin: 0 auto;
}

/*pc 콘텐츠E 개요*/
@media(min-width: 768px){
	.conE .container{
		display: block;
		width: 1500px;
		margin-left: auto;
		margin-right:auto;
	}
}
/*more*/
.hockney-slider1 {
  width: 100%;
  padding: 80px 0 60px;
  background-color: #f9ebde;
  text-align: center;
}

.hockney-slider1 .slider-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #815854;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
}

/* 카드 컨테이너 크기 */
.hockney-slider1 .swiper {
  width: 340px;   /* 기존 260px → 340px */
  height: 430px;  /* 비율 유지 위해 약간 증가 */
  margin: 0 auto;
}
/* 카드 전체 영역 */
.mySwiper1 .swiper-slide {
  width: 340px;      
  height: 440px;      
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9ebde;
}

/* 이미지 전체가 잘리지 않도록 */
.mySwiper1 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 전체 이미지 보기 */
}

/* 모바일 최적화 */
@media (max-width: 767px) {
  .mySwiper1 .swiper-slide {
    width: 300px;
    height: 400px;
  }
}

