/* body { font-family: Arial, sans-serif; margin:0; background:#f9fafb; color:#333; }
.container { max-width:720px; margin:0 auto; padding:40px 20px; } */
/* =========================
    Base Reset & Tokens
    ========================= */
:root {
    --brand-blue: #1a73e8;
    --brand-pink: #ea6d9f;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-300: #cbd5e1;
    --ink-100: #e2e8f0;
    --bg-50: #f8fafc;
    --bg-00: #ffffff;
    --radius-xl: 16px;
    --radius-lg: 12px;
    --shadow-1: 0 6px 22px rgba(2, 8, 23, 0.08);
    --shadow-2: 0 10px 34px rgba(2, 8, 23, 0.12);
    --container-w: 1160px;
    /* 애니메이션 속도 */
    --reveal-duration: .6s;
    --reveal-ease: cubic-bezier(.21,.61,.35,1);
    /* 마키(흘러가기) 속도: 값이 클수록 느림 (초) */
    --marquee-duration: 28s;
    /* 가장자리 페이드 마스크 폭 */
    --marquee-fade: 32px;
    /* Hero slider */
    --hero-slide-duration: 500ms;
    --hero-autoplay: 5000ms;
    --hero-gap: 24px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Apple SD Gothic Neo, Noto Sans KR, "Malgun Gothic", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink-900);
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    /* padding: 0 20px; */
}

h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    /* box-shadow:0 4px 8px rgba(0,0,0,0.05); */
    max-width: 900px;
    margin: auto;
}

.form_group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #5d5d5d;
}

.req_mark {
    color: #e02424;
    margin-left: 4px;
}

/* 필수 * 빨간색 */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.privacy_box {
    border: 1px solid #e5e7eb;
    background: #fafafa;
    border-radius: 8px;
    padding: 14px;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    max-height: 180px;
    overflow: auto;
}

.privacy_title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #5d5d5d;
}

.privacy_list {
    margin: 6px 0 0 16px;
}

.privacy_list li {
    margin: 4px 0;
}

.agree_row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #222;
}

.agree_row input[type="checkbox"] {
    /* margin-top:2px; */
    width: 13px;
    margin-bottom: 8px;
}

.submit_wrap {
    margin-top: 16px;
}

button {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    background: #9dbfd6;
    /* 기본 비활성 느낌 */
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    transition: background .2s, opacity .2s;
}

button.is_active {
    background: #0182cd;
    cursor: pointer;
}

button.is_active:hover {
    background: #016bab;
}

.note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

/* 접근성 포커스 */
input:focus, select:focus, textarea:focus, .privacy_box:focus {
    outline: 2px solid #7aa7c7;
    outline-offset: 2px;
}

/* =========================
    Header / Nav
    ========================= */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid var(--ink-100); */
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.brand_mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-pink));
    box-shadow: var(--shadow-1);
    display: none;
}

.brand_text {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--brand-pink);
    display: none;
}

.brand_logo {
    width: 60px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav_link {
    color: var(--ink-700);
    font-weight: 500;
}

.nav_link:hover {
    color: var(--ink-900);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: transform .04s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn_primary {
    /* background: var(--brand-blue); */
    /* color: #fff; */
    box-shadow: var(--shadow-1);
    color: var(--ink-700);
}

.btn_primary:hover {
    background: #155cc2;
    color: #fff;
}

.btn_outline {
    background: #fff;
    border-color: var(--ink-100);
    color: var(--ink-900);
}

.btn_outline:hover {
    border-color: var(--ink-300);
}

.nav_toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--ink-100);
    background: #fff;
    gap: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    margin-right: 10px;
}

.nav_toggle_bar {
    width: 20px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
}

@media (max-width: 960px) {
    .nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid var(--ink-100);
        padding: 16px;
    }

    .nav.is_open {
        display: flex;
    }

    .nav_toggle {
        display: inline-flex;
    }
}

.loading_overlay{
  position: fixed; inset: 0;
  background: rgba(17,24,39,.35); /* 살짝 흐림 */
  display: none; align-items: center; justify-content: center;
  z-index: 9999; backdrop-filter: blur(2px);
  flex-direction: column;
}
.loading_overlay.is_show{ display: flex; }
.loading_text{ margin-top: 12px; color:#fff; font-size:14px; text-align:center; }
