@charset "utf-8";

/* ==========================================================================
   mj_reset.css
   향택 랜딩페이지 - 기본 리셋
   작성자 : mj
   ========================================================================== */

/* 0. 웹폰트 - Pretendard (CDN) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* 1. box-sizing 통일 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. 기본 마진/패딩 제거 */
html, body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure, figcaption,
fieldset, legend {
	margin: 0;
	padding: 0;
}

/* 3. html, body 기본 세팅 */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100%;
	font-family: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', dotum, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-break: keep-all;
	overflow-wrap: normal;
}

/* 4. 리스트 마커 제거 */
ul, ol {
	list-style: none;
}

/* 5. 링크 기본 스타일 제거 */
a {
	color: inherit;
	text-decoration: none;
	background-color: transparent;
}

/* 6. 이미지, 미디어 요소 반응형 기본값 */
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

/* 7. 폼 요소 상속 및 초기화 */
input, button, textarea, select {
	font: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	outline: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

button {
	cursor: pointer;
	background: transparent;
}

textarea {
	resize: vertical;
	overflow: auto;
}

/* 8. 표 초기화 */
table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

/* 9. 제목 태그 폰트 초기화 (사이즈/굵기는 common에서 재정의) */
h1, h2, h3, h4, h5, h6 {
	font-size: 16px;
	font-weight: normal;
}

/* 10. 기타 요소 초기화 */
fieldset {
	border: 0;
	min-width: 0;
}

legend {
	padding: 0;
}

hr {
	border: 0;
	border-top: 1px solid #e5e5e5;
	margin: 0;
}

address {
	font-style: normal;
}

em, i {
	font-style: normal;
}

b, strong {
	font-weight: bold;
}

/* 11. 포커스 접근성 (마우스 클릭 시 아웃라인 제거, 키보드 탭 이동 시 유지) */
:focus:not(:focus-visible) {
	outline: none;
}

:focus-visible {
	outline: 2px solid #4a90e2;
	outline-offset: 2px;
}

/* 12. 숨김 텍스트(스크린리더용) */
.mj_sound_only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 13. 애니메이션 최소화 옵션 존중 */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
