@charset "UTF-8";
.permanent-marker-regular {
	font-family: "Permanent Marker", cursive;
	font-weight: 400;
	font-style: normal;
  }  

/* 기본 색상 */
:root {
	--main-color: #0D9FCF;
	--accent-color: #9d8aae;
	--dark-main-color: #0D9FCF;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--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 {font-size: 16px;
}

/*header */
header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
}

.nohero header{
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

/*header A: 사이트 이름*/
.headA{
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	color: var(--main-color);
	font-family: "Permanent Marker", cursive;
	font-size: 24px;
	text-decoration: none;
}

/* headerB: 네비게이션 메뉴 */
 .headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
 }

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

 .headB a:hover {
	color: var(--main-color);
 }

 .headB {
	position: relative;
	z-index: 10; /* 메뉴는 위에 */
}

/* 가상요소: 이미지가 뒤로 깔림 */
.headB::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background: url("head.png") center/contain no-repeat;

	opacity: 0;
	transition: opacity 0.3s ease;

	z-index: -1; /* ★ 중요: 뒤로 보냄 */
}

/* hover 시 등장 */
.headB:hover::after {
	opacity: 1;
}

 @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;
	}
 }

 /* headerC:  토글 버튼*/
 @media (max-width: 767px) {
	/* 작은 화면 전용 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.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;
	}
}

/* Swiper: 전체 화면 히어로 */
.swiper {
	width: 100%;
	position: relative;
}
@media (max-width: 800px) {
	.swiper { height: 50vh; }
}
  
.swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}
  
.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
  
/* autoplay progress (동그라미) */
.autoplay-progress {
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 20;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
}
.autoplay-progress svg {
	--progress: 0;
	width: 100%;
	height: 100%;
	stroke-width: 4px;
	stroke: #fff;
	fill: none;
	stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
	stroke-dasharray: 125.6;
	transform: rotate(-90deg);
}
  


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


/*콘텐츠B: 개요(icon+text)*/
.conB {
	background-color: #fff;
	padding-top: 50px;
}

.conB .container {
	padding-top: 80px;
	padding-bottom: 130px;
}

.conB .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 60px;
	text-align: center;
}

.conB h1{
	padding-top: 60px;
	text-align: center;
	font-family: "Permanent Marker", cursive;
	color: var(--main-color);
	letter-spacing: 2px;
}

.conB h2 {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 25px;
	font-family: "Permanent Marker", cursive;
	color: var(--main-color);
}

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

.conB a {
	color: #b2b2b2;
	text-decoration: none;
}

.conB a:hover {
	text-decoration: underline;
}


.conB i:hover {
	transform: scale(1.2);
}

/*pc콘텐츠B: 개요(아이콘+글자)[width-768]를 기준으로*/
@media (min-width: 768px){
	.conB .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin: 0 auto;
	}

	.conB .text{
		flex: 1;
	}
}


/*콘텐츠C: 개요(이미지+글자)*/
.conC {
	background-color: var(--main-color);
	color: var(--text-bright-color);
	padding: 40px 20px;
}

.conC .text {
	padding: 20px;
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conC a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border-radius: 30px;
	color: #d9ff5b;
	font-size: 14px;
	text-decoration: none;
	border: 3px solid #d9ff5b;
}

.conC a:hover {
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2));
}

.conC .photo {
	min-height: 300px;
	background-image: url(img/art.jpg);
	background-position: center;
	background-size: cover;
}

/* 모바일 레이아웃 (세로) */
.conC .container {
	display: flex;
	flex-direction: column;
	max-width: var(--large-width);
	margin: 0 auto;
}

/*PC-콘텐츠C: 개요(image+text) [width >= 768px]*/
@media(min-width: 768px) {
	.conC .container {
		display: flex;
		flex-direction: row;
		gap: 40px;
	}

	.conC .photo {
		flex: 3;
		order: 0;
	}

	.conC .text {
		flex: 2;
		order: 1;
		padding: 50px;
		text-align: right;
	}
}

/*콘텐츠DC: 개요(이미지+글자)*/
.conD {
	background-color: var(--main-color);
	color: var(--text-bright-color);
	padding: 40px 20px;
}

.conD .text {
	padding: 20px;
}

.conD h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conD p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conD a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border-radius: 30px;
	color: #d9ff5b;
	font-size: 14px;
	text-decoration: none;
	border: 3px solid #d9ff5b;
}

.conD a:hover {
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2));
}

.conD .photo {
	min-height: 300px;
	background-image: url(img/art.jpg);
	background-position: center;
	background-size: cover;
}

/* 모바일 레이아웃 (세로) */
.conD .container {
	display: flex;
	flex-direction: column; /* 모바일: 세로 */
	max-width: var(--large-width);
	margin: 0 auto;
}

/*PC-콘텐츠D: 개요(image+text) [width >= 768px]*/
@media(min-width: 768px) {
	.conD .container {
		display: flex;
		flex-direction: row; /* 이미지 왼쪽, 글 오른쪽 */
		gap: 40px; /* 이미지와 텍스트 사이 간격 */
	}

	.conD .photo {
		flex: 3; /* 이미지 영역 비율 */
		order: 0; /* 왼쪽 */
	}

	.conD .text {
		flex: 2; /* 텍스트 영역 비율 */
		order: 1; /* 오른쪽 */
		padding: 50px;
		text-align: left; /* 텍스트 오른쪽 정렬 */
	}
}

/*콘텐츠G: 개요(이미지+글자)*/
.conG {
	background-color: var(--main-color);
	color: var(--text-bright-color);
	padding: 40px 20px;
}

.conG .text {
	padding: 20px;
}

.conG h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conG p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conG a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border-radius: 30px;
	color: #d9ff5b;
	font-size: 14px;
	text-decoration: none;
	border: 3px solid #d9ff5b;
}

.conG a:hover {
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2));
}

.conG .photo {
	min-height: 300px;
	background-image: url(img/art.jpg);
	background-position: center;
	background-size: cover;
}

/* 모바일 레이아웃 (세로) */
.conG .container {
	display: flex;
	flex-direction: column; /* 모바일: 세로 */
	max-width: var(--large-width);
	margin: 0 auto;
}

/*PC-콘텐츠G: 개요(image+text) [width >= 768px]*/
@media(min-width: 768px) {
	.conG .container {
		display: flex;
		flex-direction: row; /* 이미지 왼쪽, 글 오른쪽 */
		gap: 40px; /* 이미지와 텍스트 사이 간격 */
	}

	.conG .photo {
		flex: 3; /* 이미지 영역 비율 */
		order: 0; /* 왼쪽 */
	}

	.conG .text {
		flex: 2; /* 텍스트 영역 비율 */
		order: 1; /* 오른쪽 */
		padding: 50px;
		text-align: right; /* 텍스트 오른쪽 정렬 */
	}
}




/*footer*/
footer {
	color: #fff;
	color: var(--text-bright-color);
	background-color: 3e6974;
	background-color: var(--dark-main-color);
 }
 
 footer .container{
	padding: 40px 20px;
 }

/* 콘텐츠E: Reflection of Art */
.conE {
	width: 100%;
	height: 100vh;
	position: relative;
	overflow: hidden;
	background-color: #000;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
  }
  
  /* 슬라이드 묶음 */
  .conE .slide-container {
	position: relative;
	width: 100%;
	height: 100%;
  }
  
  /* 개별 슬라이드 */
  .conE .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	opacity: 0;
	transform: translateX(100%);
	transition: all 1.2s ease-in-out;
  }
  
  /* 현재 보이는 슬라이드 */
  .conE .slide.active {
	opacity: 1;
	transform: translateX(0);
	z-index: 2;
  }
  
  /* 텍스트 영역 */
  .conE .slide-text {
	width: 45%;
	padding: 80px;
	z-index: 3;
  }
  
  .conE .slide-text h2 {
	font-size: 5vw;
	line-height: 1.1;
	margin-bottom: 20px;
  }
  
  .conE .slide-text p {
	font-size: 1.2rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
  }
  
  /* 이미지 영역 */
  .conE .slide-img {
	width: 55%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: brightness(0.8);
	transition: transform 2s ease;
  }
  
  .conE .slide.active .slide-img {
	transform: scale(1.05);
  }
  
  /* 반응형 */
  @media (max-width: 900px) {
	.conE .slide {
	  flex-direction: column;
	}
	.conE .slide-text,
	.conE .slide-img {
	  width: 100%;
	  height: 50%;
	  padding: 40px;
	}
	.conE .slide-text h2 {
	  font-size: 10vw;
	}
  }
  

/* ================================
   공통 푸터 스타일
================================ */
footer .container {
    width: 100%;
    max-width: var(--large-width);
    margin: 0 auto;
    padding: 40px 20px;

    display: flex;
    flex-direction: column;  /* 모바일 기본: 세로 배열 */
    align-items: center;
    text-align: center;
}

/* 푸터A: 사이트 정보 */
.footA {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

/* 푸터B (메뉴/기타 영역) */
.footB {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

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

/* 푸터D: SNS 메뉴 */
.footD {
    margin-top: 20px;
}
.footD ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.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: 50%;
    text-align: center;
}
.footD a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* ================================
   PC 버전 (768px 이상)
================================ */
@media (min-width: 768px) {
    footer .container {
        flex-direction: row;      /* PC: 가로 배열 */
        flex-wrap: wrap;
        justify-content: center;  /* 가운데 정렬 */
        text-align: center;
    }

    .footA {
        flex: 0 0 40%;
        align-items: center;
    }

    .footB {
        flex: 0 0 60%;
        align-items: center;
        text-align: center;
    }

    .footC {
        flex: 0 0 100%;
        margin-top: 30px;
        text-align: center;
    }
}


 /*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 #B2A83D;
	border-left: solid 0.75rem var(--accent-color);
	font-size: 2rem;
 }

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

/* artwork 소개 */
.listA h1{
	padding-top: 60px;
	font-size: 2rem;
	text-align: center;
	color: var(--main-color);
	font-family: "Permanent Marker", cursive;
}

.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{
	transform: scale(0.98);
	transition-duration: 1s;
	flex: 1;
	margin: 10px;
	display: block;
	border: solid 1px #ddd;
	border: solid 1px var(--gray-color);
	color: inherit;
	text-decoration: none;
}

.listA a:hover {
	/* opacity: 0.8;*/
	background-color: #66CBE5;
	color: #fff;
	transform: scale(1);
}

.listA .photo {
	min-height: 200px;
	background-position: center;
	background-size: cover;
}

.listA .text {
	margin: 10px;
}

.listA h2 {
	font-size: 18px;
}

.listA p {
	font-size: 14px;
	opacity: 0.8;
}

/* artwork_b 소개 */
.listB h1{
	padding-top: 60px;
	font-size: 2rem;
	text-align: center;
	color: var(--main-color);
	font-family: "Permanent Marker", cursive;
}

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

.listB article {
	flex: 1 1 384px;
	display: flex;
}

.listB a{
	flex: 1;
	margin: 10px;
	display: flex;
	border: solid 1px #ddd;
	border: solid 1px var(--gray-color);
	color: inherit;
	text-decoration: none;
}

.listB a:hover {
	/* opacity: 0.8;*/
	background-color: #66CBE5;
	color: #fff;
}

.listB .photo {
	flex: 2;
	min-height: 0;
	background-position: center;
	background-size: cover;
}

.listB .text {
	flex: 3;
	margin: 10px;
}

.listB h2 {
	font-size: 18px;
}

.listB p {
	font-size: 14px;
	opacity: 0.8;
}

/* 너비가 600px 이하의 미디어에서 */
@media (max-width: 384px) {
	.listB .photo {
		flex: 1;
	}

	.listB p {
		display: none;
	}
}

/* 문의 페이지: 지도 */
.location iframe {
	width: 100%;
	height: 400px;
	vertical-align: bottom;
}

.location h2 {
	margin: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #66CBE5;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
	font-size: 1.5rem;
	text-align: center;
}

/* conF 전체 */
.conF {
	width: 100%;
	padding: 160px 0 40px 0;
	overflow: hidden;
	background: #fff;
}
  
/* 마퀴 래퍼 */
.marquee {
	width: 100%;
	overflow: hidden;
	position: relative;
}
  
/* 움직이는 트랙 */
.marquee-track {
	display: flex;
	gap: 40px;
	width: max-content;
	animation: slide 120s linear infinite;
}

/* hover 시 멈춤 */
.conF:hover .marquee-track {
	animation-play-state: paused;
}
  
/* 카드 */
.item {
	width: 240px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}
  
.img-box {
	width: 100%;
	height: 320px;
	overflow: hidden;
	border-radius: 10px;
	background: #eee;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
  
.img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
  
/* 텍스트 */
.name {
	margin: 10px 0 4px;
	font-size: 16px;
	font-weight: 600;
}
  
.size {
	font-size: 14px;
	color: #666;
}
  
/* 애니메이션 */
@keyframes slide {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/*Horizontal Timeline (Full Screen Panels)*/

.conHistory {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #090909;
    display: flex;
    align-items: center;
}

/* 래퍼 */
.history_wrapper {
    position: relative;
    display: flex;
    gap: 0; /* ✔ 간격 불필요 */
    width: max-content;
    will-change: transform;
}

/* 가로 라인 */
.history_wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 60%; /* 패널 아래쪽 */
    height: 2px;
    background: #fff;
    z-index: 1;
}

/* 패널 전체 화면 */
.history_panel {
    position: relative;
    flex: 0 0 100vw;  /* ✔ 화면 전체 너비 */
    min-width: 100vw;
    height: 500px;    /* ✔ 화면 전체 높이 */
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* ✔ 내용 중앙 */
    z-index: 3;
    color: #000;
}

/* 연도 */
.history_left .year {
    font-size: 70px;
    margin-bottom: 20px;
    color: #0D9FCF;
    font-weight: 700;
    font-family: "Permanent Marker", cursive;
	padding-left: 115px;
}

/* 제목 */
.history_right .title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
	padding-top: 80px;
}
.history_right {
    margin: 60px 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: #000;
	padding-left: 115px;
	font-family: sans-serif;
}

/* 리스트 */
.history_right ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
    font-size: 18px;
    color: #dddddd;
}

/* 점 */
.history_panel::after {
    content: "";
    position: absolute;
    top: 60%;
    left: 8vw;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #0D9FCF;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* 모바일 */
@media (max-width: 900px) {
    .conHistory {
        height: auto;
        padding: 60px 0;
    }
    .history_wrapper {
        display: block;
    }
    .history_panel {
        height: auto;
        padding: 60px 20px;
        min-width: 100%;
    }
    .history_panel::after,
    .history_wrapper::before {
        display: none;
    }
}

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

/*제품 목록부분의 sub배너 이미지작성*/
.conH {
	height: 450px;
	min-height: 0;
	background-image: linear-gradient(rgbd(0,0,0,0.1), rgba(0,0,0,0.1)), url(img/coffee.jpg);
}


.conH h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: "Permanent Marker", cursive;
	letter-spacing: 0.2em;
	margin-left: 0.2em;
	text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
}

/* Mobile size -콘텐츠H: main-banner-image pc*/
@media (min-width: 768px) {
	.conH h1 {
		font-size: 115px;
	}

	.conH p {
		font-size: 24px;
	}
}


/* contact-section */
.contact-section {
    width: 100%;
    background: #fff;
    padding: 50px 0 50px 40px;
}

/* 제목 영역 */
.contact-title-area {
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.contact-title-area h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--main-color);
    font-family: "Permanent Marker", cursive;
}

/* 전체 정렬 */
.contact-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    gap: 80px;
    align-items: stretch;
    padding: 0 20px;
    flex-wrap: wrap;
}

/* 왼쪽 레이아웃 */
.consult-left {
    width: 40%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* 왼쪽 GIF */
.left-photo {
    width: 60%;
}

.left-photo img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

/* 오른쪽 2개 박스 */
.left-side-boxes {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 공통 박스 — 이미지가 꽉 차도록 수정됨 */
.left-box {
    width: 100%;
    height: calc(50% - 10px);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 배경 이미지 — 여백 없이 꽉 차게 */
.left-box {
    background-size: cover;      /* 여백 없이 꽉 채움 */
    background-position: center;
    background-repeat: no-repeat;
}

/* ENQUIRES 박스 이미지 */
.enwuires-box {
    background-image: url("img/box3.jpg");
}

/* ORDER 박스 이미지 */
.order-box {
    background-image: url("img/box2.jpg");
}

/* 박스 글자/링크 */
.left-box a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    z-index: 2;
}

.left-box a:hover {
    opacity: 0.85;
}

/* 오른쪽 폼 */
.contact-right {
    flex: 0 0 55%;
    min-width: 380px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-box label {
    font-size: 15px;
    font-weight: 600;
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    font-size: 15px;
}

.form-box textarea {
    height: 160px;
    resize: none;
}

/* 하단 버튼 */
.agree-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.agree-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.agree-check input {
    width: 20px;
    height: 20px;
}

.submit-btn {
    background: var(--main-color);
    padding: 14px 38px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* 1200px 이하 */
@media (max-width: 1200px) {
    .contact-inner {
        gap: 50px;
        padding: 0 40px;
    }
    .left-box {
        height: 220px;
    }
}

/* 1100px 이하 → 1열 */
@media (max-width: 1100px) {
    .contact-inner {
        flex-direction: column;
        gap: 50px;
        flex-wrap: nowrap;
    }

    .consult-left,
    .contact-right {
        width: 100%;
    }
}

/* 768px 이하 */
@media (max-width: 768px) {
    .contact-section {
        padding: 70px 0;
    }

    .contact-title-area h2 {
        font-size: 28px;
    }

    .contact-title-area p {
        font-size: 15px;
    }

    .left-box {
        height: 180px;
    }

    .submit-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}


/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    color: #222;
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
}

/* 전체 래퍼 */
.wrap {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

/* 2컬럼 레이아웃 */
.two-col {
    display: flex;
    gap: 60px;
}

.hero {
    flex: 1;
}

.gallery {
    flex: 1;
}

/* 텍스트 스타일 */
h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.muted {
    color: #888;
    margin-bottom: 20px;
}

.sep {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

h4 {
    font-size: 20px;
    margin: 30px 0 15px;
}

/* 이미지 */
.main-img img {
    width: 100%;
    border-radius: 10px;
}

.thumbs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.thumbs .t img {
    width: 100%;
    border-radius: 8px;
}

/* 반응형 */
@media (max-width: 1000px) {
    .two-col {
        flex-direction: column;
    }
}

/* ===============================
   섹션 전체 배경 이미지 적용
   기존 스타일 유지, 추가만
================================= */

/* 공통 오버레이 및 배경 */
.conC, .conD, .conG {
    position: relative;
    overflow: hidden;
}

.conC::before,
.conD::before,
.conG::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1); /* 텍스트 가독성 위한 어둡기 */
    z-index: 1;
}

/* 섹션별 배경 이미지 */
.conC {
    background-image: url('img/exhibition1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.conD {
    background-image: url('img/exhibition2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.conG {
    background-image: url('img/exhibition3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 컨테이너 텍스트는 오버레이 위로 */
.conC .container,
.conD .container,
.conG .container {
    position: relative;
    z-index: 2;
}

/* collection */
.collection {
	width: 100%;
	margin: 0 auto;
	padding: 80px 0;
	background-color: #fbfbfb;
}

.collection-title {
	padding: 60px 60px;
	font-size: 4rem;
	text-align: center;
	color: var(--main-color);
	font-family: "Permanent Marker", cursive;
}

.collection h3 {
	font-family: "Permanent Marker", cursive;
	font-size: 30px;
}

.item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 120px;
}

.item-row.reverse {
	flex-direction: row-reverse;
}

.item-text {
	flex: 1;
	padding: 0 100px 40px 100px;
}

/* 이미지 영역 */
.item-link {
	flex: 1;
	display: block;
	overflow: hidden;
	height: 400px;
	transition: transform 0.4s ease;  /* ← 박스는 확대 X, 이동만 */
}

.item-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* 🔥 왼쪽 이미지: 왼쪽만 아치 */
.item-row .item-link img {
	border-radius: 200px 0 0 200px;
}

/* 🔥 오른쪽 이미지(reverse): 오른쪽만 아치 */
.item-row.reverse .item-link img {
	border-radius: 0 200px 200px 0;
}

/* 🔥 Hover 효과: 좌우 이동 (반대 방향) */

/* 왼쪽 이미지 → 왼쪽으로 이동 */
.item-row:hover .item-link {
	transform: translateX(-15px);
}

/* 오른쪽(reverse) 이미지 → 오른쪽으로 이동 */
.item-row.reverse:hover .item-link {
	transform: translateX(15px);
}



/* 모바일 */
@media (max-width: 900px) {
	.item-row,
	.item-row.reverse {
		flex-direction: column;
	}

	.item-link {
		transform: none !important;
		width: 90%;               /* 화면에 맞춰 줄어들지만 최소한의 여백 확보 */
		max-width: 500px;         /* 최대 너비 제한 */
		min-width: 300px;         /* 너무 작아지지 않게 최소 너비 설정 */
		margin: 0 auto 30px auto; /* 중앙 정렬, 아래 여백 */
		height: auto;             /* 높이는 이미지 비율 유지 */
		aspect-ratio: 4/3;        /* 가로:세로 비율 */
	}

	.item-link img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 20px !important;
	}

	.item-text {
		padding: 20px 20px 40px 20px;
		text-align: center; /* 모바일 텍스트 중앙 정렬 */
	}
}
