

/* ==================================================
  폰트
================================================== */
body { font-family: 'Pretendard', sans-serif; overflow-X:hidden; color:var(--color); }


/* ==================================================
   Base Reset (Modern)
================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding:0; margin:0;

}
*{word-break:keep-all;}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size:clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==================================================
   Root Variables (Design Tokens)
================================================== */
:root {
  /* Colors */
--color:rgba(15, 42, 68, 1);
  --bg-color: #ffffff;
  --bg-soft: #f6f7f9;
  --text-color: #1a1a1a;
  --text-muted: #777;
  --border-color: #e5e7eb;
  --primary: #1a7cd2;
  --primary2: #1869e5;
  --secondary: #09ca30;
  --accent: #d6ff66;
  /* Typography */
  --font-base: 'Pretendard', 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.08);
  --transition-fast: .2s ease;
  --transition-base: .35s ease;
}

/* ==================================================
   Flex / Layout Utilities
================================================== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.grid {
  display: grid;
  gap: 24px;
}

.width_area {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

/* ==================================================
   Text Utilities
================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.font-en { font-family: var(--font-en); }

/* ==================================================
   Section Utility
================================================== */
.section {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

/* ==================================================
   Responsive Table
================================================== */

/* wrapper */
.responsive-table {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

/* scroll hint */
.responsive-table::before {
  content: "← 좌우로 스크롤하여 보세요 →";
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}

/* table */
.responsive-table table {
  min-width: 720px;
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  white-space: nowrap;
}

.responsive-table th {
  font-weight: 600;
  background: var(--bg-soft);
}

/* ==================================================
   Motion (Optional)
================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

.fade-in.is-active {
  opacity: 1;
  transform: none;
}
