@charset "utf-8";
/* ============================================================================
 * css/pages/index.css — 홈 전용 보정. 원본 CSS(default.css 등)는 손대지 않는다.
 *
 * 무엇을 메우나: 원본은 fullPage.js 가 런타임에 각 `.section` 에 인라인으로 박던
 * 뷰포트 높이(실측 height:900px)를 **CSS 계약으로 전제한다.** default.css 의
 *     #msec01{height:30%}  #msec02{height:70%}
 *     #section4{display:flex} #section4 #msec05{height:60%} #section4 #footer{height:40%}
 *     #msec04{height:100%}
 * 는 전부 부모 `.section` 의 **확정 높이**에 걸린 % 다. fullPage.js 는 GPL/상용 듀얼이라
 * 반입하지 않았고(R18) js/main.js 가 섹션 스크롤만 재구현했으므로, 그 높이가 비면 % 가
 * auto 로 풀려 레이아웃이 무너진다.
 *   미러 실측(_styles/index.json): div.fullpage-wrapper 4500 = .section 900 × 5,
 *   #msec01 270(=900×30%). 반면 높이 계약이 없는 산출물은 #msec01 이 165 로 주저앉는다.
 *
 * 경계는 원본 CSS 자신의 분기(min-width:769px)와 같게 둔다 — 원본 모바일 정답샷
 * (_shots/index-m.png)은 뷰포트 높이 섹션이 아니라 연속 스크롤이고, default.css 도
 * 768 이하에서는 위 % 규칙을 걸지 않는다.
 * ========================================================================== */

/* 2번째(바로가기 아이콘)·3번째(iPlant TV) 화면을 한 화면으로 합친 영역 */
#msec03wrap {
	background: url(/uploads/mig_site/img/msec03_bg.png) center center no-repeat;
	background-size: cover;
	padding: 80px 0 40px;
}
@media (min-width: 769px) {
	#msec03wrap {
		min-height: 70%;
		display: table;
		width: 100%;
		box-sizing: border-box;
	}
	#msec03wrap > #msec03 {
		display: table-cell;
		vertical-align: middle;
	}
}

@media (min-width: 769px) {
	/* fullPage.js 가 만들던 .fp-section 의 높이 계약. */
	#fullpage > .section {
		position: relative;
		box-sizing: border-box;
		height: 100vh;
	}

	/* fullPage.js 의 .fp-tableCell(display:table-cell; vertical-align:middle) 대체.
	   실측상 콘텐츠가 섹션보다 짧아 세로 가운데 정렬이 드러나는 곳은 #section2 뿐이다
	   (나머지 섹션은 자식이 섹션 높이를 정확히 채운다 — 30%+70%, 60%+40%, 100vh 플로트). */
	#fullpage > #section2 {
		display: table;
		width: 100%;
	}
	#fullpage > #section2 > #msec03 {
		display: table-cell;
		vertical-align: middle;
	}
}
