/* 기본 글자 값: 테마가 무엇이든 같은 모양이 나오도록 블록이 스스로 정한다 */
.se-block {
	font-size: clamp(18px, calc(14.5px + 0.57vw), 22px);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.1px;
}

/* Section Editor
 * 기준 폭: PC 1920px, 모바일 650px (피그마 pc_main / 모바일_main).
 * 모든 블록은 자기 폭을 기준으로 크기를 잡는다(컨테이너 쿼리). 그래서 폭이 좁은 편집 화면에서도 같은 비율로 보인다.
 * 폰트는 라이선스 문제로 포함하지 않는다. 사이트에 웹폰트를 등록하면 아래 변수의 첫 번째 이름으로 적용된다.
 */
:root {
	--se-serif: "Cardinal Classic Mid", "Cormorant Garamond", "Times New Roman", serif;
	--se-grotesk: "Unica 77 LL", "Inter", "Helvetica Neue", Arial, sans-serif;
	--se-kr: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.se-block {
	container-type: inline-size;
	box-sizing: border-box;
	color: var(--se-text, #0f0f0f);
	/* 1920px 기준 1px 에 해당하는 길이. 안쪽 요소에서 calc(숫자 * var(--se-u)) 로 쓴다 */
	--se-u: calc(100cqw / 1920);
}

.se-block *,
.se-block *::before,
.se-block *::after {
	box-sizing: border-box;
}

/* 캔버스 템플릿: 테마 여백 없이 화면 폭을 그대로 쓴다 */
body.se-canvas {
	margin: 0;
	background: #fff;
}

body.se-canvas .se-block {
	width: auto;
	max-width: none;
	margin: 0;
}

/* 일반 테마 템플릿에서 본문 폭을 벗어나 화면 끝까지 펼친다 (편집 화면 제외) */
body:not(.se-canvas):not(.editor-styles-wrapper) .se-block.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---------- 헤더 ---------- */
.se-header-wrap {
	position: relative;
	z-index: 100;
}

.se-header {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	height: 94px;
	padding: 35px 35px 0;
	background: #fff;
}

.se-header__logo {
	position: relative;
	z-index: 2;
	display: block;
	font-family: var(--se-grotesk);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.3em;
	color: #333;
	text-decoration: none;
}

.se-header__logo img {
	display: block;
	width: 120px;
	height: 12px;
}

.se-header__toggle {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 31px;
	height: 33px;
	margin: -11px -10px 0 0;
	padding: 10px;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: pointer;
}

.se-header__toggle:hover,
.se-header__toggle:focus {
	background: none;
}

.se-header__toggle span {
	display: block;
	width: 11px;
	height: 1px;
	background: #333;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.se-header.is-open .se-header__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.se-header.is-open .se-header__toggle span:nth-child(2) { opacity: 0; }
.se-header.is-open .se-header__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.se-header__panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1;
	width: min(818px, 100vw);
	height: 100vh;
	padding: 149px 34px 40px;
	background: rgba(255, 255, 255, 0.97);
	visibility: hidden;
	transform: translateX(100%);
	transition: transform 0.5s ease, visibility 0.5s;
}

.se-header.is-open .se-header__panel {
	visibility: visible;
	transform: none;
}

.se-header__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.se-header__panel a {
	font-family: var(--se-grotesk);
	font-size: 14px;
	line-height: 22px;
	color: #333;
	text-decoration: none;
}

.se-header__panel a:hover { text-decoration: underline; }

@container (max-width: 767px) {
	.se-header {
		height: 17.2cqw;
		padding: 5.4cqw 5.4cqw 0;
	}
	.se-header__logo img {
		width: max(18.46cqw, 84px);
		height: auto;
	}
	.se-header__toggle { margin-top: -10px; }
}

/* ---------- 01 첫 화면 ---------- */
.se-hero {
	position: relative;
	height: 50.625cqw;
	overflow: hidden;
	background: #fffefd;
}

.se-hero__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: 0.5;
}

.se-hero__intro {
	position: absolute;
	left: 53.02%;
	top: 3.23cqw;
	width: max(23.7cqw, 270px);
	margin: 0;
	font-family: var(--se-serif);
	font-size: max(1.042cqw, 12px);
	line-height: 1.8;
	color: #333;
}

.se-hero__symbol {
	position: absolute;
	left: 89.95%;
	top: 11.875cqw;
	width: 15.625cqw;
	aspect-ratio: 300 / 299;
	animation: se-spin 24s linear infinite;
}

a.se-hero__symbol {
	display: block;
	z-index: 2;
	border-radius: 50%;
	cursor: pointer;
}

a.se-hero__symbol img { transition: opacity 0.3s ease; }
a.se-hero__symbol:hover img { opacity: 0.6; }
a.se-hero__symbol:focus-visible { outline: 2px solid #333; outline-offset: 4px; }

.se-hero__symbol img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

@keyframes se-spin {
	to { transform: rotate(360deg); }
}

.se-hero-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2.2cqw;
	height: 1.68em;
	margin: 0;
	padding: 0;
	font-family: var(--se-serif);
	font-size: 10.417cqw;
	font-weight: 400;
	line-height: 0.8;
	letter-spacing: 0;
	color: #333;
	white-space: nowrap;
}

.se-hero-title__w {
	position: absolute;
	display: block;
}

/* 줄 높이가 글자보다 낮아 위로 삐져나오므로 0.1em 내려서 배치한다 */
.se-hero-title__w--1 { left: 0.47%;  top: 0.83em; }
.se-hero-title__w--2 { left: 30.73%; top: 0.1em; }
.se-hero-title__w--3 { left: 76.46%; top: 0.83em; }

/* 모바일 (피그마 모바일_main, 기준 폭 650px: 1px = 100cqw / 650) */
@container (max-width: 767px) {
	.se-hero { height: 149.5cqw; }
	.se-hero__intro {
		left: 36.8%;
		top: 9.08cqw;
		width: 54.5cqw;
		font-size: 3.385cqw;
		line-height: 1.636;
	}
	.se-hero__symbol {
		left: -10.15%;
		top: 74cqw;
		width: 27.5cqw;
	}
	.se-hero-title {
		bottom: -1.4cqw;
		height: 2.44em;
		font-size: 16.92cqw;
	}
	.se-hero-title__w--1 { left: 44.6%; top: 0.1em; }
	.se-hero-title__w--2 { left: -0.6%; top: 0.845em; }
	.se-hero-title__w--3 { left: 65.8%; top: 1.59em; }
}

/* ---------- 02·03·05·07 글 섹션 ---------- */
.se-text-wrap--dark {
	background: #000;
	color: #fff;
}

.se-text {
	padding-top: calc(var(--se-pt, 0) * 100cqw / 1920);
	padding-bottom: calc(var(--se-pb, 0) * 100cqw / 1920);
}

.se-text__inner {
	/* 글자 크기에 하한(13px)이 있어서 폭도 그에 맞는 하한을 둔다 */
	width: max(calc(600 * var(--se-u)), 433px);
	margin-left: 16.04cqw;
}

.se-text--right .se-text__inner {
	margin-left: min(53.02cqw, calc(100cqw - 457px));
}

.se-text__images {
	display: flex;
	align-items: center;
	gap: calc(8 * var(--se-u));
	margin-bottom: calc(40 * var(--se-u));
}

.se-text__img {
	display: block;
	flex: none;
	width: calc(188 * var(--se-u));
	height: calc(204 * var(--se-u));
	overflow: hidden;
}

.se-text__img--1 { background: rgba(0, 0, 0, 0.09); }
.se-text__img--2 { background: rgba(173, 151, 110, 0.4); }
.se-text__img--2 img { opacity: 0.6; }

.se-text__img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: left center;
}

.se-text__plus {
	display: block;
	flex: none;
	width: calc(12 * var(--se-u));
	height: calc(14 * var(--se-u));
}

.se-text__heading,
.se-closing__heading {
	margin: 0;
	padding: 0;
	font-family: var(--se-serif);
	font-size: max(22px, calc(40 * var(--se-u)));
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	color: inherit;
	text-transform: none;
}

.se-text__line {
	display: block;
	width: 100%;
	max-width: none;
	height: 0;
	margin: calc(35 * var(--se-u)) 0 calc(40 * var(--se-u));
	border: 0;
	border-top: 1px solid currentColor;
	background: none;
	opacity: 1;
}

.se-text__body,
.se-closing__body {
	margin: 0;
	font-family: var(--se-kr);
	font-size: max(13px, calc(18 * var(--se-u)));
	font-weight: 400;
	line-height: 1.778;
	color: inherit;
	word-break: keep-all;
}

.se-text__body strong,
.se-closing__body strong {
	font-weight: 700;
}

@container (max-width: 767px) {
	.se-text {
		padding-top: calc(var(--se-pt, 0) * 0.146cqw);
		padding-bottom: calc(var(--se-pb, 0) * 0.146cqw);
	}
	/* 모바일에서는 글이 모두 가운데 정렬이다 */
	.se-text__inner,
	.se-text--right .se-text__inner {
		width: 76.9cqw;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	.se-text__images {
		justify-content: center;
		gap: 1.23cqw;
		margin-bottom: 6.15cqw;
	}
	.se-text__img {
		width: 28.9cqw;
		height: 31.4cqw;
	}
	.se-text__plus {
		width: 1.85cqw;
		height: 2.15cqw;
	}
	.se-text__heading,
	.se-closing__heading {
		font-size: 7.69cqw;
		line-height: 1.2;
	}
	.se-text__line { margin: 6.15cqw 0; }
	.se-text__body,
	.se-closing__body {
		font-size: 3.385cqw;
		line-height: 1.727;
	}
	.se-text__heading,
	.se-closing__heading {
		text-wrap: balance;
	}
}

/* 본문의 줄바꿈 한 줄 (view.js 가 묶는다): 넘치면 고르게 나눈다 */
.se-line {
	display: block;
	text-wrap: balance;
}

/* ---------- 04 서비스 다이어그램 ---------- */
.se-diagram {
	position: relative;
	aspect-ratio: 1920 / 1217;
	overflow: hidden;
	background: #e6dfd2;
	color: #000;
}

.se-diagram__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

/* 원과 글자가 스크롤을 따라 살짝 흐를 때 (view.js 가 위치를 잡는다) */
.se-float .se-diagram__grid,
.se-float .se-diagram__ghost { will-change: transform; }

.se-diagram__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(230, 223, 210, 0.76);
}

.se-diagram__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.se-diagram__lines * {
	fill: none;
	stroke: rgba(173, 151, 110, 0.45);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.se-diagram__grid {
	position: absolute;
	inset: 0;
}

.se-diagram__item,
.se-diagram__ghost {
	position: absolute;
	width: 12.1875cqw;
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.se-diagram__ghost { background: rgba(255, 255, 255, 0.45); }
.se-diagram__ghost--1 { left: 2.1875%;  top: 21.28%; }
.se-diagram__ghost--2 { left: 2.1875%;  top: 50.04%; }
.se-diagram__ghost--3 { left: 2.1875%;  top: 80.03%; }
.se-diagram__ghost--4 { left: 97.8125%; top: 21.28%; }
.se-diagram__ghost--5 { left: 97.8125%; top: 50.04%; }
.se-diagram__ghost--6 { left: 97.8125%; top: 80.03%; }

.se-diagram__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.se-diagram__item--1 { left: 25.625%;  top: 21.28%; }
.se-diagram__item--2 { left: 49.0625%; top: 21.28%; }
.se-diagram__item--3 { left: 72.5%;    top: 21.28%; }
.se-diagram__item--4 { left: 25.625%;  top: 50.04%; }
.se-diagram__item--5 { left: 72.5%;    top: 50.04%; }
.se-diagram__item--6 { left: 25.625%;  top: 80.03%; }
.se-diagram__item--7 { left: 49.0625%; top: 80.03%; }
.se-diagram__item--8 { left: 72.5%;    top: 80.03%; }

.se-diagram__en {
	font-family: var(--se-serif);
	font-size: max(1.25cqw, 10px);
	line-height: 1.333;
	white-space: nowrap;
}

.se-diagram__ko {
	font-family: var(--se-kr);
	font-size: max(0.833cqw, 8px);
	line-height: 2;
	white-space: nowrap;
}

.se-diagram__center {
	position: absolute;
	left: 50%;
	top: 41.7%;
	width: 31.1cqw;
	transform: translateX(-50%);
	text-align: center;
}

.se-diagram__heading {
	margin: 0;
	font-family: var(--se-serif);
	font-size: max(2.083cqw, 14px);
	line-height: 1.25;
	color: #000;
}

.se-diagram__caption {
	margin: 1.4cqw 0 0;
	font-family: var(--se-kr);
	font-size: max(0.9375cqw, 9px);
	line-height: 1.444;
	color: #ad976e;
}

@container (max-width: 767px) {
	.se-diagram {
		aspect-ratio: auto;
		padding: 14.15cqw 8.3cqw 16.15cqw;
	}
	/* 뒤의 선은 세로로 돌려서 깐다 */
	.se-diagram__lines {
		inset: auto;
		left: 50%;
		top: 47%;
		width: 229cqw;
		height: 145.2cqw;
		transform: translate(-50%, -50%) rotate(90deg);
	}
	.se-diagram__ghost { display: none; }
	.se-diagram__grid {
		position: relative;
		inset: auto;
		display: grid;
		grid-template-columns: 36cqw 36cqw;
		justify-content: space-between;
		gap: 3.4cqw 0;
	}
	.se-diagram__item {
		position: static;
		width: 100%;
		padding: 0 1cqw;
		transform: none;
	}
	/* 모바일 순서: 1 2 / 3 5 / 가운데 문구 / 4 6 / 7 8 */
	.se-diagram__item--1 { order: 1; }
	.se-diagram__item--2 { order: 2; }
	.se-diagram__item--3 { order: 3; }
	.se-diagram__item--5 { order: 4; }
	.se-diagram__center  { order: 5; }
	.se-diagram__item--4 { order: 6; }
	.se-diagram__item--6 { order: 7; }
	.se-diagram__item--7 { order: 8; }
	.se-diagram__item--8 { order: 9; }

	.se-diagram__en { font-size: 4.615cqw; line-height: 1.2; white-space: normal; }
	.se-diagram__ko { display: none; }
	.se-diagram__center {
		position: static;
		grid-column: 1 / -1;
		width: auto;
		margin: 0 -8.3cqw;
		padding: 15.7cqw 0 16.3cqw;
		transform: none;
	}
	.se-diagram__heading { font-size: 9.23cqw; line-height: 1.083; white-space: nowrap; }
	.se-diagram__caption { margin-top: 3.2cqw; font-size: 3.69cqw; line-height: 1.5; }
}

/* ---------- 06 성공사례 슬라이더 ---------- */
.se-cases {
	position: relative;
	overflow: hidden;
	background: #151515;
	color: #fff;
}

.se-cases__slides { display: grid; }

.se-cases__slide {
	grid-area: 1 / 1;
	position: relative;
	visibility: hidden;
	transform: translateX(100%);
	/* 밀려 나가는 동안은 보이다가, 다 나간 뒤에 숨긴다 */
	transition: transform 0.7s ease, visibility 0s 0.7s;
}

.se-cases__slide.is-active {
	visibility: visible;
	transform: none;
	transition: transform 0.7s ease, visibility 0s;
}

.se-cases__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

/* 사진을 어둡게 덮는 색 */
.se-cases__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(21, 21, 21, 0.6);
}

/* 위 섹션의 검정과 자연스럽게 이어지는 그라데이션 */
.se-cases__bg::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 12.9cqw;
	background: url(img/cases-fade.png) 0 0 / 100% 100% no-repeat;
}

.se-cases__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(60 * var(--se-u));
	min-height: 47.9cqw;
	padding: calc(88 * var(--se-u)) calc(140 * var(--se-u)) calc(152 * var(--se-u));
	text-align: center;
}

.se-cases__cards {
	display: flex;
	justify-content: center;
	gap: calc(12 * var(--se-u));
	/* 카드가 3장을 넘으면 다음 줄로 넘긴다 */
	flex-wrap: wrap;
	max-width: calc(894 * var(--se-u));
}

.se-cases__card {
	display: flex;
	flex-direction: column;
	flex: none;
	width: calc(290 * var(--se-u));
	height: calc(370 * var(--se-u));
	padding: calc(9.33 * var(--se-u)) calc(10 * var(--se-u)) 0;
	border-radius: calc(10 * var(--se-u));
	background: #fff;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	color: #000;
	text-decoration: none;
}

.se-cases__card-img {
	display: block;
	width: 100%;
	height: calc(246.67 * var(--se-u));
	max-width: none;
	object-fit: cover;
}

.se-cases__card-title {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--se-serif);
	font-size: max(10px, calc(22 * var(--se-u)));
	font-weight: 500;
	line-height: 1.364;
}

.se-cases__card--empty {
	padding: 0;
	background: rgba(255, 255, 255, 0.8);
}

/* 준비중 카드: 이미지를 카드 전체에 깔고, 그 위를 흐리게 덮어 문구만 보이게 한다 */
.se-cases__card.is-wip {
	position: relative;
	padding: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.8);
}

.se-cases__card.is-wip .se-cases__card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.se-cases__card-wip {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 calc(16 * var(--se-u));
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(calc(3 * var(--se-u)));
	backdrop-filter: blur(calc(3 * var(--se-u)));
	font-family: var(--se-grotesk);
	font-size: max(10px, calc(18 * var(--se-u)));
	font-weight: 500;
	line-height: 1.444;
	color: #383838;
	text-align: center;
}

.se-cases__card--empty .se-cases__card-title {
	font-family: var(--se-grotesk);
	font-size: max(10px, calc(18 * var(--se-u)));
	line-height: 1.444;
	color: #383838;
}

.se-cases__brand {
	margin: 0;
	padding: 0;
	font-family: var(--se-grotesk);
	font-size: max(28px, calc(60 * var(--se-u)));
	font-weight: 500;
	line-height: 0.75;
	letter-spacing: 0;
	color: #fff;
}

.se-cases__desc {
	margin: 0;
	font-family: var(--se-kr);
	font-size: max(13px, calc(24 * var(--se-u)));
	font-weight: 700;
	line-height: 1.667;
	color: #fff;
}

.se-cases__arrow {
	position: absolute;
	top: 48%;
	width: calc(50 * var(--se-u));
	height: calc(100 * var(--se-u));
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: pointer;
	transform: translateY(-50%);
}

.se-cases__arrow:hover,
.se-cases__arrow:focus {
	background: none;
}

.se-cases__arrow--prev { left: calc(70 * var(--se-u)); }
.se-cases__arrow--next { right: calc(70 * var(--se-u)); }

.se-cases__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.se-cases__arrow polyline {
	fill: none;
	stroke: #fff;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.se-cases__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(70 * var(--se-u));
	display: flex;
	justify-content: center;
	gap: 16px;
}

.se-cases__dot {
	width: 10px;
	height: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.se-cases__dot:hover,
.se-cases__dot:focus {
	background: rgba(255, 255, 255, 0.5);
}

.se-cases__dot.is-active { background: #fff; }

@container (max-width: 767px) {
	.se-cases__bg::after { height: 44.25cqw; }
	.se-cases__inner {
		gap: 12.3cqw;
		min-height: 164cqw;
		padding: 4.8cqw 10cqw 35.4cqw;
	}
	.se-cases__cards {
		flex-direction: column;
		flex-wrap: nowrap;
		width: 100%;
		max-width: none;
		gap: 1.54cqw;
	}
	/* 모바일: 썸네일 왼쪽 + 제목 오른쪽의 가로형 카드 */
	.se-cases__card {
		flex-direction: row;
		align-items: center;
		gap: 2.3cqw;
		width: 100%;
		height: auto;
		min-height: 20cqw;
		padding: 3.08cqw;
		border-radius: 1.54cqw;
	}
	.se-cases__card-img {
		flex: none;
		width: 22.46cqw;
		height: 13.85cqw;
	}
	.se-cases__card-title {
		align-items: flex-start;
		font-size: 3.385cqw;
		line-height: 1.364;
		text-align: left;
	}
	.se-cases__card--empty { padding: 3.08cqw; }
	.se-cases__card--empty .se-cases__card-title,
	.se-cases__card-wip { font-size: 3.1cqw; }
	.se-cases__card.is-wip { min-height: 20cqw; }
	.se-cases__brand { font-size: 9.23cqw; line-height: 0.75; }
	.se-cases__desc {
		margin: 0 -6cqw;
		font-size: 3.69cqw;
		line-height: 1.667;
	}
	.se-cases__arrow { display: none; }
	.se-cases__dots { bottom: 11.4cqw; }
}

/* ---------- 08 프로젝트 썸네일 ---------- */
.se-grid {
	--se-grid-w: calc(300 * var(--se-u));
	--se-grid-h: calc(220 * var(--se-u));
	--se-grid-gap: calc(8 * var(--se-u));
	display: flex;
	flex-direction: column;
	gap: calc(9 * var(--se-u));
	overflow: hidden;
	padding-top: calc(var(--se-pt, 0) * 100cqw / 1920);
}

.se-grid__row {
	display: flex;
	justify-content: center;
}

.se-grid__track {
	display: flex;
	flex: none;
	gap: var(--se-grid-gap);
}

/* 가운데 줄을 어긋나게 해 벽돌 모양을 만든다 */
.se-grid__row:nth-child(even) .se-grid__track {
	transform: translateX(calc(var(--se-grid-w) / 3));
}

.se-grid__item {
	position: relative;
	display: block;
	flex: none;
	width: var(--se-grid-w);
	height: var(--se-grid-h);
	overflow: hidden;
	border-radius: 10px;
	background: #d9d9d9;
}

.se-grid__item .se-grid__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.se-grid__item:hover .se-grid__img { transform: scale(1.05); }

.se-grid__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 14px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
	font-family: var(--se-kr);
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.se-grid__item:hover .se-grid__title,
.se-grid__item:focus .se-grid__title {
	opacity: 1;
}

.se-grid.is-marquee .se-grid__row { justify-content: flex-start; }

/* 첫째·셋째 줄은 오른쪽으로, 가운데 줄은 왼쪽으로 흐른다 */
.se-grid.is-marquee .se-grid__track,
.se-grid.is-marquee .se-grid__row:nth-child(even) .se-grid__track {
	transform: none;
	animation: se-grid-flow var(--se-grid-speed, 80s) linear infinite reverse;
}

.se-grid.is-marquee .se-grid__row:nth-child(even) .se-grid__track {
	animation-direction: normal;
	/* 시작 위치를 조금 밀어 줄끼리 칸이 나란히 서지 않게 한다 */
	animation-delay: calc(var(--se-grid-speed, 80s) * -0.137);
}

.se-grid.is-marquee:hover .se-grid__track { animation-play-state: paused; }

@keyframes se-grid-flow {
	to { transform: translateX(calc(-50% - var(--se-grid-gap) / 2)); }
}

@container (max-width: 767px) {
	.se-grid {
		--se-grid-w: 26.67cqw;
		--se-grid-h: 23.08cqw;
		--se-grid-gap: 0.7cqw;
		gap: 0.62cqw;
		padding-top: calc(var(--se-pt, 0) * 0.146cqw);
	}
	.se-grid__item { border-radius: 1.54cqw; }
}

/* ---------- 09 마무리 섹션 ---------- */
.se-closing {
	position: relative;
	overflow: hidden;
	background: #fff;
	text-align: center;
}

.se-closing__marker {
	/* 사진 위쪽의 흰 그라데이션에 원이 가려지지 않도록 그 위에 올린다 */
	position: relative;
	z-index: 2;
	display: block;
	width: max(4.74cqw, 48px);
	height: auto;
	margin: 0 auto;
}

.se-closing__text {
	position: relative;
	z-index: 2;
	width: max(calc(597 * var(--se-u)), 433px);
	margin: 3.2cqw auto 0;
	color: #000;
}

.se-closing__body { margin-top: calc(40 * var(--se-u)); }

.se-closing__photo {
	position: relative;
	margin-top: -19.5cqw;
}

.se-closing__photo img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	opacity: 0.8;
}

/* 사진 위쪽이 흰 배경으로 녹아드는 그라데이션 */
.se-closing__photo::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: -4.4cqw;
	left: 0;
	right: 0;
	height: 43.6cqw;
	background: url(img/closing-fade.png) 0 0 / 100% 100% no-repeat;
}

@container (max-width: 767px) {
	.se-closing__marker { width: 14cqw; }
	.se-closing__text {
		width: 76.9cqw;
		margin-top: 11.2cqw;
	}
	.se-closing__heading { margin: 0 -6cqw; font-size: 6.92cqw; line-height: 1.222; }
	.se-closing__body {
		margin-top: 6.15cqw;
		font-size: 3.08cqw;
		line-height: 1.7;
	}
	.se-closing__photo { margin-top: -10.6cqw; }
	.se-closing__photo img { width: 106.3%; }
	.se-closing__photo::before {
		top: -9.5cqw;
		height: 44.7cqw;
	}
}

/* ---------- 스크롤 등장: 스크립트가 켜진 방문자 화면에서만 숨겼다가 보여준다 ---------- */
.se-js .se-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.se-js .se-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.se-hero__symbol,
	.se-grid.is-marquee .se-grid__track {
		animation: none;
	}
	.se-js .se-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.se-cases__slide,
	.se-header__panel {
		transition: none;
	}
}
