/* ============================================================
   pages.css : 페이지 전용 스타일
   1) 메인(index)  2) 회사소개(company)  3) 뉴스(news)
   ============================================================ */

/* ------------------------------------------------------------
   1) 메인(index) : 영상 · 소개 문구 · 솔루션 카드
   ------------------------------------------------------------ */
/* 소개 문구와 카드를 한 묶음으로 영상 영역의 세로 가운데에 배치
   (화면이 낮아도 겹치지 않음, 위 여백은 헤더 100px 만큼) */
.main_visual {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	min-height: max(52vw, calc(100vh - 103px)); /* 화면이 길어도 푸터 위가 비지 않게 (103px = 푸터 높이) */
	padding: 140px 0 60px;
	overflow: hidden;
}

.hero_text {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
	z-index: 2;
}
.hero_text > h1 {
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	text-shadow: 1px 2px 0 rgba(0 0 0 / 10%);
	white-space: nowrap;
}
.hero_text > p {
	font-size: 20px;
	margin: 15px 0 30px;
	color: rgba(255, 255, 255, .7);
	text-shadow: 1px 2px 0 rgba(0 0 0 / 30%);
	word-break: keep-all;
}

.hero_solution_wrap {
	position: relative;
	width: 100%;
	padding-top: 30px; /* 소개 문구와 카드 사이 간격 */
	z-index: 2;
}
.hero_solution {
	width: 100%;
	max-width: 1400px; /* 넓은 화면에서는 카드 줄을 넓게 */
	margin: 0 auto;
	display: flex;
	gap: 14px;
	padding: 0 20px 30px;
}
.hero_solution_item {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center; /* 내용을 카드 세로 가운데에 */
	min-height: 150px;
	padding: 20px 14px 28px;
	position: relative;
	color: #fff;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(0, 0, 0, .15);
}
a.hero_solution_item:link,
a.hero_solution_item:visited {
	color: #fff; /* base.css 의 a:link { color: inherit } 보다 우선 */
}
.hero_solution_item:hover {
	background: #2b4e75;
	border: 1px solid rgba(255, 255, 255, 0);
	cursor: pointer;
	opacity: 0.8;
}
.hero_solution_item .item_inner > h5 {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, .75);
}
.hero_solution_item .item_inner .item_desc img {
	display: block;
	height: 28px;
	margin: 10px auto 8px;
}
.hero_solution_item .item_inner .item_desc img.item_by {
	height: 12px; /* 'By INTERX' 로고 */
	margin: 4px auto 0;
}
.hero_solution_item .item_inner .item_desc > h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.hero_solution_item .item_inner .item_desc > br,
.hero_solution_item .item_inner .item_desc > h3 > br:first-child {
	display: none; /* 아이콘·제품명 앞의 빈 줄 제거 */
}
.hero_solution_item .item_inner .item_desc .material-icons {
	position: absolute;
	bottom: 8px;
	right: 10px;
	font-size: 1.3rem;
	line-height: 1;
	opacity: .7;
}
@media (max-width: 1024px) {
	.main_visual {
		height: auto;
		min-height: 0;
		padding: 64px 0 0;
	}
	.hero_text {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		display: block;
		margin-top: 0;
		padding: 60px 20px 30px;
	}
	.hero_text > h1 {
		font-size: 36px;
		line-height: 1.2;
		white-space: normal;
	}
	.hero_text > p {
		font-size: 16px;
		margin: 15px 0 0;
	}
	.hero_solution_wrap {
		margin-top: 0;
		padding-top: 0;
	}
	.hero_solution {
		flex-wrap: wrap;
		gap: 0;
		padding: 0 10px 30px;
	}
	.hero_solution_item {
		flex: 1 1 calc(33.333% - 20px);
		margin: 10px;
		padding: 20px;
		background: rgba(0, 0, 0, .35);
	}
}
@media (max-width: 768px) {
	/* 휴대폰은 밝은 포스터 사진만 보이므로 글씨가 잘 보이게 어두운 층을 깐다 */
	.main_visual:before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, .4);
		z-index: 1;
	}
	.hero_text {
		padding: 40px 16px 20px;
	}
	.hero_text > h1 {
		font-size: 28px;
	}
	.hero_text > p {
		font-size: 14px;
	}
	.hero_text > p br {
		display: none;
	}
	.hero_solution {
		padding: 0 6px 20px;
	}
	.hero_solution_item {
		flex: 1 1 calc(50% - 12px);
		margin: 6px;
		padding: 16px;
	}
	.hero_solution_item .item_inner .item_desc .material-icons {
		bottom: 10px;
		right: 10px;
		font-size: 1.5rem;
	}
}


/* ------------------------------------------------------------
   2) 회사소개(company) : 인트로 애니메이션
   ------------------------------------------------------------ */
/* 인트로 배경이 푸터까지 채우도록 (아래 흰 빈 공간 방지) */
.softice_body:has(> .page_title.about_intro) {
	display: flex;
	flex-direction: column;
}
/* 문구를 메뉴 아래부터 차례로 배치 (예전에는 아래에 붙여서 위가 크게 비었음) */
.page_title.about_intro {
	flex: 1;
	height: auto;
	overflow: hidden;
	position: relative;
	padding: 170px 0 80px;
}
.about_intro_bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-moz-transition: all 6s;
	-webkit-transition: all 6s;
	-o-transition: all 6s;
	-ms-transition: all 6s;
	transition: all 6s;
	transform: scale(1.2);
	background: #000 url(../img/about_intro_bg1.webp) no-repeat center bottom;
	background-size: cover;
}
.about_intro_bg:after {
	content: '';
	display: inline-block;
	width: 100%;
	height: 200px;
	position: absolute;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}
.about_intro_bg video {
	position: absolute;
	left: 50%;
	top: 50%;
	right: auto;
	bottom: auto;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	z-index: -1;
}
.about_intro.on .about_intro_bg {
	transform: scale(1);
}

.about_intro_logo {
	position: absolute;
	display: inline-block;
	text-align: center;
	left: 50%;
	top: 340px;
	opacity: 0;
	font-size: 48px;
	font-weight: 700;
	transform: translate(-50%, 0);
	animation: 1s about-logo linear;
	animation-delay: 1s;
	animation-fill-mode: forwards;
}
@keyframes about-logo {
	0% {}
	100% { opacity: 1; }
}

.about_intro_txt {
	position: relative;
	width: 1200px;
	margin: 0 auto;
	padding-right: 600px;
	z-index: 3;
	text-align: left;
}
.about_intro_txt > strong {
	font-family: 'Kalam';
	color: #fff;
	font-size: 40px;
	line-height: 1.1;
	display: block;
	margin-bottom: 36px;
	position: relative;
	left: 50px;
	transition: left 1s ease-in-out, opacity 1s ease-in-out;
	opacity: 0;
	transition-delay: 4s;
}
.about_intro_txt > span {
	color: var(--color-navy);
	font-size: 24px;
	font-weight: 700;
	display: block;
	margin-bottom: 50px;
	position: relative;
	left: 50px;
	transition: left 1s ease-in-out, opacity 1s ease-in-out;
	opacity: 0;
	transition-delay: 3.5s;
}
.about_intro_txt > p {
	color: #fff;
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: -0.5px;
	word-break: keep-all;
	margin-bottom: 15px;
	display: block;
	position: relative;
	left: 50px;
	transition: left 1s ease-in-out, opacity 1s ease-in-out;
	opacity: 0;
	transition-delay: 4.5s;
}
.about_intro.on .about_intro_txt > strong {
	left: 0;
	opacity: 1;
}
.about_intro.on .about_intro_txt > p {
	left: 0;
	opacity: 1;
}
/* 대표이사 서명 : 본문 다음에 나타남 (애니메이션이 없어 혼자 먼저 보이던 문제) */
.about_intro_txt > h3 {
	position: relative;
	margin-top: 24px; /* '감사합니다.' 와 간격 24px */
	left: 50px;
	opacity: 0;
	transition: left 1s ease-in-out, opacity 1s ease-in-out;
	transition-delay: 5s;
}
.about_intro.on .about_intro_txt > h3 {
	left: 0;
	opacity: 1;
}

@media (max-width: 1239px) {
	.about_intro_txt {
		width: 100%;
		padding: 0 45% 0 20px;
	}
}
@media (max-width: 1024px) {
	.page_title.about_intro {
		padding: 120px 0 40px;
	}
	.about_intro_logo {
		top: 100px;
		width: 90%;
		font-size: 28px;
	}
	.about_intro_txt {
		padding: 0 20px;
	}
	.about_intro_txt > strong {
		font-size: 30px;
		margin-bottom: 22px;
	}
}
@media (max-width: 768px) {
	.about_intro_logo {
		font-size: 22px;
	}
	.about_intro_txt > strong {
		font-size: 24px;
	}
	.about_intro_txt > p {
		font-size: 14px;
	}
}


/* ------------------------------------------------------------
   3) 뉴스(news)
   ------------------------------------------------------------ */
section.news {
	padding: 0;
}
section.news > .inner {
	padding: 50px 0;
	border-top: 5px solid #000;
}


/* ------------------------------------------------------------
   4) INTERX AI 솔루션(softice3)
   ------------------------------------------------------------ */
.ai_service {
	padding-top: 50px;
	padding-bottom: 40px;
	color: #333;
	letter-spacing: -0.02em;
}
.ai_service + .ai_service {
	border-top: 1px solid #e5e5e5;
}
.ai_logo {
	width: 400px;
	height: auto;
}
.ai_service_title {
	line-height: 0;
}
.ai_service_title img {
	height: auto; /* 이미지는 2배 해상도, HTML 의 width 크기로 표시 */
}.ai_service_desc {
	margin-top: 22px;
	font-size: 17px;
	line-height: 1.75;
	color: #444;
	word-break: keep-all;
}

.ai_service_icons {
	display: flex;
	margin: 40px 0 36px;
}
.ai_service_icons li {
	flex: 1;
	padding: 0 16px;
	text-align: center;
}
.ai_service_icons li + li {
	border-left: 1px solid #c8c8c8;
}
.ai_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
}
.ai_icon img {
	width: auto; /* 이미지는 2배 해상도, HTML 의 width/height 크기로 표시 */
	max-height: 100%;
}
.ai_service_icons p {
	margin-top: 18px;
	font-size: 17px;
	line-height: 1.6;
	color: #444;
	word-break: keep-all;
}

.ai_features_title {
	padding: 6px 22px;
	border-radius: 999px;
	background: #585454;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}
.ai_features {
	margin-top: 16px;
	padding-left: 10px;
}
.ai_features li {
	position: relative;
	padding-left: 16px;
	font-size: 17px;
	line-height: 2;
	color: #444;
	word-break: keep-all;
}
.ai_features li:before {
	content: '';
	position: absolute;
	top: .95em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #1a7fd0;
}

@media (max-width: 768px) {
	.ai_service {
		padding-top: 32px;
		padding-bottom: 24px;
	}
	.ai_logo {
		width: 280px;
	}
	.ai_service_desc,
	.ai_service_icons p,
	.ai_features li {
		font-size: 15px;
	}
	.ai_service_icons {
		flex-wrap: wrap;
		margin: 28px 0 24px;
	}
	.ai_service_icons li {
		flex: 0 0 50%;
		padding: 0 10px 24px;
	}
	.ai_service_icons li:nth-child(odd) {
		border-left: 0;
	}
	.ai_icon {
		height: 120px;
	}
	.ai_features_title {
		font-size: 18px;
	}
	.ai_features li {
		line-height: 1.7;
		margin-bottom: 6px;
	}
	.ai_features li:before {
		top: .75em;
	}
}
