@charset "utf-8";
/* ==========================================================================
   2026 제약바이오투자대전
   키컬러는 포스터(키비주얼)에서 추출 — 아래 변수만 바꾸면 전체 톤이 바뀝니다.
   ========================================================================== */
:root {
    --ink: #012d36;          /* 포스터 배경 (짙은 청록) */
    --ink-2: #0a3f49;
    --lime: #cdff5d;         /* 화살표 라임 */
    --lime-d: #b4ec4a;
    --green: #0b7a4b;        /* 리본 그린 */
    --green-d: #066b41;
    --teal: #3c9a94;         /* 리본 틸 */
    --mint: #eef6f1;         /* 옅은 배경 */
    --mint-2: #dff1e7;
    --line: #b9d6c8;
    --text: #15282d;
    --muted: #5d7074;
    --danger: #d43c3c;
    --tab-line: #012d36;     /* 탭 아래 라인 (프로그램 / 참가신청 공통, 선택과 무관하게 고정) */
    --pg-head: #274b53;      /* 프로그램 표 머리줄 (시간 / 내용) */
    --program-bg: #eef3f4;   /* 프로그램 구간 배경 (사업개요 · 연사정보와 구분) */
    --quick-1: #17808c;      /* 퀵메뉴 첫 번째(세미나 신청) 배경 — 메인 비주얼 바탕색과 구분되는 청록 */
    --reveal-y: 100px;       /* 스크롤 등장 효과 : 올라오는 거리 */
    --reveal-time: 1s;       /* 스크롤 등장 효과 : 걸리는 시간 */
    --header-h: 64px;
    --wrap: 1080px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
            "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "맑은 고딕", "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff;
       word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1f9d6b; outline-offset: 2px; }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.blind { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--lime); color: var(--ink); font-weight: 700; border-radius: 0 0 8px 8px; }
.skip:focus { top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 28px;
       font-weight: 700; font-size: 17px; line-height: 1.3; border-radius: 999px; border: 2px solid transparent;
       transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn--lg { min-height: 58px; padding: 12px 38px; font-size: 20px; }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.btn--lime:hover { background: #fff; transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--green-d); }
.btn--primary[disabled] { opacity: .55; cursor: default; }
.btn--white { background: #fff; color: var(--ink); border-radius: 0; font-size: 16px; }
.btn--white:hover { background: var(--lime); }
.btn--line { border-color: var(--ink); color: var(--ink); background: #fff; border-radius: 0; padding-right: 14px; }
.btn--line:hover { background: var(--ink); color: #fff; }
.ico-arrow { display: inline-block; width: 34px; height: 34px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdff5d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat; }
.btn--line:hover .ico-arrow { background-color: var(--green); }
.btn-row { margin-top: 36px; text-align: center; }

/* ==========================================================================
   헤더
   ========================================================================== */
.header { position: fixed; left: 0; top: 0; z-index: 100; width: 100%; height: var(--header-h); background: #fff;
          border-bottom: 1px solid #e6ecea; transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(1, 45, 54, .1); }
.header__inner { display: flex; align-items: center; height: 100%; max-width: 1500px; margin: 0 auto; padding: 0 20px; }
.header__logo { flex: none; font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.lang-en .header__logo { font-size: 15px; }
.gnb { flex: 1; min-width: 0; }
.gnb ul { display: flex; justify-content: center; gap: clamp(8px, 4vw, 72px); }
.gnb a { position: relative; display: block; padding: 20px 6px; font-weight: 600; font-size: 17px; line-height: 24px; white-space: nowrap; }
.gnb a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 12px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.gnb a:hover::after, .gnb a.is-on::after { transform: scaleX(1); }
.gnb a.is-on { color: var(--green-d); }
.lang { flex: none; display: flex; border: 1px solid #cfdad6; border-radius: 6px; overflow: hidden; }
.lang a { padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang a + a { border-left: 1px solid #cfdad6; }
.lang a.is-on { background: var(--ink); color: var(--lime); }
.lang a:not(.is-on):hover { background: var(--mint); color: var(--ink); }
.header__toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: 6px; margin-right: -10px; }
.header__toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   메인 비주얼
   ========================================================================== */
.hero { position: relative; overflow: hidden; margin-top: var(--header-h); background: var(--ink); color: #fff;
        min-height: clamp(540px, calc(100vh - var(--header-h) - 190px), 720px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; left: 50%; width: 100%; max-width: 1600px; transform: translateX(-50%); pointer-events: none; }
.hero__dots { position: absolute; left: 22%; top: -10%; width: 56%; height: 120%;
              background-image: radial-gradient(circle, rgba(92, 176, 196, .55) 1.3px, transparent 1.8px); background-size: 15px 15px;
              -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 0, rgba(0, 0, 0, .35) 45%, transparent 72%);
                      mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 0, rgba(0, 0, 0, .35) 45%, transparent 72%);
              transform: rotate(-18deg); opacity: .5; }
.hero__art { position: absolute; right: 0; top: 0; width: clamp(300px, 36vw, 540px); max-width: none; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero__inner { position: relative; width: 100%; max-width: calc(1200px + 40px); margin: 0 auto; padding: 64px 20px 72px; }
.hero__kicker { display: inline-block; margin-bottom: 18px; padding: 6px 16px; background: linear-gradient(90deg, rgba(205, 255, 93, .12), var(--lime));
                color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.hero__title { font-weight: 900; line-height: 1.08; letter-spacing: -.03em; text-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.hero__year { display: block; font-size: clamp(64px, 8.4vw, 118px); line-height: 1; color: var(--lime); text-shadow: none;
              background: linear-gradient(180deg, var(--lime) 35%, #7fc24a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__name { display: block; font-size: clamp(50px, 7vw, 100px); }
.hero__name em { font-style: normal; color: var(--lime); }
.lang-en .hero__name { font-size: clamp(32px, 4.4vw, 66px); line-height: 1.12; white-space: nowrap; }
.hero__date { margin-top: 28px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; }
.hero__date strong { font-size: 1.3em; font-weight: 900; color: var(--lime); }
.lang-en .hero__date strong { font-size: 1.15em; }
.hero__place { margin-top: 4px; font-size: clamp(19px, 2vw, 26px); font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero .btn { margin-top: 30px; }

@media (min-width: 1601px) {
    .hero__art { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
}

/* ==========================================================================
   디데이
   ========================================================================== */
.countdown { position: relative; overflow: hidden; padding: 44px 20px 48px; text-align: center; color: var(--ink); background-color: var(--lime);
             background-image: linear-gradient(115deg, rgba(255, 255, 255, .3) 0, rgba(255, 255, 255, .3) 20%, transparent 20%),
                               linear-gradient(295deg, rgba(11, 122, 75, .16) 0, rgba(11, 122, 75, .16) 16%, transparent 16%); }
.countdown__inner { --cd: clamp(32px, 9.4vw, 84px); display: flex; justify-content: center; align-items: flex-start; gap: clamp(5px, 1.5vw, 20px); }
.countdown__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.countdown__item strong { display: flex; gap: clamp(3px, .6vw, 8px); font-size: var(--cd); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
/* 숫자 한 자리 = 타일 한 장 (플립시계 형태) */
.countdown__item b { position: relative; display: flex; align-items: center; justify-content: center; width: .86em; height: 1.34em; border-radius: .14em;
                     background: linear-gradient(180deg, var(--ink-2) 0, var(--ink-2) 50%, var(--ink) 50%); color: var(--lime); font-weight: 900;
                     box-shadow: 0 .1em .22em rgba(1, 45, 54, .35); }
.countdown__item b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .38); }
.countdown__item b.is-tick { animation: cdTick .42s ease-out; }
.countdown__item span { font-size: clamp(11px, 1.4vw, 16px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.countdown__sep { display: flex; align-items: center; height: calc(var(--cd) * 1.34); font-size: calc(var(--cd) * .62); font-weight: 900; line-height: 1; opacity: .55; }
@keyframes cdTick {
    0%   { transform: translateY(-.12em) scaleY(.9); filter: brightness(1.7); }
    100% { transform: none; filter: none; }
}

/* ==========================================================================
   공통 섹션
   ========================================================================== */
.section { padding: 100px 0; }
.section__title { position: relative; margin-bottom: 40px; padding-top: 30px; text-align: center; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; color: #0c1f23; }
.section__title::before { content: ""; position: absolute; left: 50%; top: 0; width: 34px; height: 18px; transform: translateX(-50%);
                          background: linear-gradient(180deg, var(--lime-d), var(--green)); -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.section__title--line { padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.section__lead { margin: -20px 0 28px; text-align: center; font-size: 17px; color: var(--muted); }

.empty-box { padding: 72px 20px; text-align: center; background: var(--mint); border: 1px dashed #8fbfa9; border-radius: 4px; }
.empty-box p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--green-d); letter-spacing: -.02em; }

/* ---------- 표 ---------- */
.tbl th, .tbl td { padding: 14px 16px; border: 1px solid var(--line); font-size: 16px; line-height: 1.5; vertical-align: middle; }
.tbl--info { border-top: 2px solid var(--ink); }
.tbl--info th { width: 26%; background: var(--mint); font-weight: 700; text-align: center; }
.tbl--info td { text-align: left; }
.tbl--info tr > :first-child { border-left: 0; }
.tbl--info tr > :last-child { border-right: 0; }
.tbl-note { margin-top: 14px; text-align: left; font-size: 15px; line-height: 1.6; color: var(--green-d); }   /* 프로그램 표 아래 안내문구 */
.tbl-note li { position: relative; padding-left: 14px; }
.tbl-note li + li { margin-top: 2px; }
.tbl-note li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 로고 ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; }
.logos img { width: var(--w); height: auto; }   /* --w : index.php 가 로고별 표시 폭을 넣어 줌 */
.logos--cell { gap: 14px 34px; }
.logos--footer { justify-content: center; gap: 22px 38px; }

/* ==========================================================================
   사업개요
   ========================================================================== */
.overview { background: radial-gradient(60% 40% at 0% 30%, rgba(205, 255, 93, .14), transparent 70%), radial-gradient(50% 40% at 100% 80%, rgba(60, 154, 148, .12), transparent 70%); }
.overview__intro { margin-bottom: 110px; text-align: center; }
.overview__sub { font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.overview__title { margin-top: 6px; font-size: clamp(30px, 5.6vw, 66px); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; text-transform: uppercase; color: #0c1f23;
                   max-width: 15em; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   프로그램 (탭)
   ========================================================================== */
.program { background: var(--program-bg); }
.program .tabs__nav button:not(.is-on) { background: #fff; }   /* 배경색 위에서 선택 안 된 탭이 묻히지 않도록 */
.tabs__nav { display: flex; border-bottom: 3px solid var(--tab-line); }   /* 라인은 탭 전체에 한 줄 — 선택 탭이 바뀌어도 그대로 */
.tabs__nav button { flex: 1; min-height: 56px; padding: 10px; font-size: 19px; font-weight: 700; color: #6c7b7e; background: #eceff0; transition: background-color .2s, color .2s; }
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button.is-on { background: var(--ink); color: var(--lime); }
.tabs__panel { padding-top: 26px; }

.pg-info { margin-bottom: 20px; }
.pg-info__title { margin-bottom: 8px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.02em; color: #0c1f23; }
.pg-info__desc { margin-bottom: 8px; font-size: clamp(16px, 1.9vw, 20px); font-weight: 600; }
.pg-info dl > div { position: relative; display: flex; gap: 6px; padding-left: 16px; font-size: clamp(16px, 1.9vw, 20px); font-weight: 600; line-height: 1.5; }
.pg-info dl > div::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pg-info dt { flex: none; }
.pg-info dt::after { content: " :"; }

.tbl--program { border-top: 0; table-layout: fixed; background: #fff; }
.tbl--program .col-time { width: 150px; }
.tbl--program .col-speaker { width: 32%; }
.tbl--program thead th { padding: 15px 10px; background: var(--pg-head); color: #fff; font-weight: 700; border-color: var(--pg-head); border-left-color: rgba(255, 255, 255, .25); }
.tbl--program thead th:first-child { border-left-color: var(--pg-head); }
.tbl--program td, .tbl--program tbody th { text-align: center; }
.tbl--program .time { background: var(--mint); font-weight: 600; font-variant-numeric: tabular-nums; }
.tbl--program .grp-head { background: var(--mint-2); font-weight: 800; color: var(--green-d); }
.tbl--program .is-break td { background: #f6faf8; font-weight: 700; color: var(--ink-2); }
.tbl--program .speaker { font-weight: 500; color: #24383d; }

/* ==========================================================================
   연사정보
   ========================================================================== */
/* 카드 : 한 줄에 4개, 남는 카드는 가운데 정렬 */
.sp-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.sp-list > li { flex: 0 0 calc((100% - 72px) / 4); }
.sp-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 22px 16px 24px; text-align: center;
           background: #fff; border: 1px solid #dfe8e4; border-radius: 14px; box-shadow: 0 6px 18px rgba(1, 45, 54, .06); }
.sp-card__photo { display: block; width: 66%; max-width: 168px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; border: 1px solid #d6e2de; background: #e8eef0; }
.sp-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-card__logo { display: flex; align-items: center; justify-content: center; height: 34px; margin-top: 14px; }
.sp-card__logo img { width: auto; height: var(--lh, 24px); max-width: 170px; object-fit: contain; }   /* --lh : 로고별 표시 높이 (inc/data.php 의 show_h) */
.sp-card__name { display: block; margin-top: 6px; font-size: 20px; font-weight: 800; line-height: 1.35; color: #0c1f23; }
.sp-card.is-tba .sp-card__name { font-size: 18px; color: #5a6b6f; }
.sp-card__org { display: block; font-size: 14.5px; line-height: 1.45; color: #5d7074; }
.sp-card__name + .sp-card__org { margin-top: 2px; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__dim { position: absolute; inset: 0; background: rgba(1, 25, 30, .6); }
.modal__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto; padding: 28px 28px 30px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.modal__close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; font-size: 28px; line-height: 1; color: #44575b; }
.modal__content { display: flex; gap: 20px; padding-right: 20px; }
.modal-open { overflow: hidden; }

/* ==========================================================================
   중간 배너
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 340px; padding-top: 56px; padding-bottom: 56px; }
.cta__title { font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; line-height: 1.16; letter-spacing: -.03em; }
.cta .btn { margin-top: 26px; }
.cta__art { position: relative; flex: none; width: 260px; height: 250px; margin-right: 40px; }
.cta__art i { position: absolute; left: 0; width: 100%; height: 118px; -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cta__art i:nth-child(1) { top: 0;     background: linear-gradient(180deg, var(--lime) 10%, #1d6f7d 62%, rgba(10, 63, 73, 0) 100%); opacity: .55; }
.cta__art i:nth-child(2) { top: 66px;  background: linear-gradient(180deg, var(--lime) 10%, #1d6f7d 62%, rgba(10, 63, 73, 0) 100%); opacity: .8; }
.cta__art i:nth-child(3) { top: 132px; background: linear-gradient(180deg, var(--lime) 20%, var(--lime-d) 100%); }

/* ==========================================================================
   행사장 안내
   ========================================================================== */
.venue { background: #f6faf8; }   /* 행사장 안내 구간 배경 (표 칸의 민트보다 한 톤 연하게) */
.venue__addr { margin-bottom: 28px; text-align: center; font-size: clamp(18px, 2.5vw, 26px); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; color: #0c1f23; }
.venue__map { position: relative; height: 0; padding-bottom: 42%; min-height: 300px; background: #d9e6e0; }
.venue__map iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
.venue__contact { margin-top: 30px; padding: 0 14px; }
.venue__contact h3 { margin-bottom: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.venue__contact li { position: relative; padding-left: 18px; font-size: clamp(16px, 2vw, 20px); font-weight: 500; }
.venue__contact li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.venue__contact a:hover { text-decoration: underline; }

/* 교통편 상세 안내 (inc/traffic_ko.php, inc/traffic_en.php) */
.traffic { margin-top: 36px; }
.traffic__block + .traffic__block { margin-top: 30px; }
.traffic__title { position: relative; margin-bottom: 10px; padding-left: 20px; font-size: 19px; font-weight: 800; line-height: 1.45; letter-spacing: -.02em; color: #0c1f23; }
.traffic__title::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 11px; background: var(--ink); }
.traffic__title span { font-size: 16px; font-weight: 600; color: #34484d; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl--traffic { background: #fff; border-top: 2px solid var(--ink); }
.tbl--traffic th, .tbl--traffic td { padding: 11px 14px; font-size: 15px; line-height: 1.55; text-align: center; }
.tbl--traffic thead th { background: #f1f4f4; font-weight: 700; }
.tbl--traffic tbody th { background: var(--mint); font-weight: 700; }
.tbl--traffic small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: #5d7074; }
.tbl--traffic .tl { text-align: left; }
.tbl--traffic a, .traffic__note a { text-decoration: underline; text-underline-offset: 2px; }
.traffic__link { color: var(--green-d); font-weight: 700; }
.traffic__note { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #34484d; }

/* ==========================================================================
   세미나 참가 신청
   ========================================================================== */
.tabs--reg .tabs__panel { padding: 34px 34px 40px; border: 1px solid #d5e2dc; border-top: 0; }
.form__req-note { margin-bottom: 14px; text-align: right; font-size: 14px; color: var(--muted); }
.req { color: var(--danger); font-weight: 700; }
.form__group + .form__group { margin-top: 38px; }
.form__group > legend { float: left; width: 100%; margin-bottom: 14px; padding-left: 12px; border-left: 5px solid var(--green); font-size: 19px; font-weight: 800; line-height: 1.3; color: #0c1f23; }
.form__group > legend + * { clear: both; }
.field { display: flex; align-items: flex-start; gap: 12px; }
.field + .field { margin-top: 10px; }
.field__label { flex: none; width: 170px; padding-top: 10px; font-weight: 600; font-size: 16px; }
.lang-en .field__label { width: 210px; }   /* 영문 항목명(Representative Name 등)이 한 줄에 들어가도록 */
.field__input { flex: 1; min-width: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
    display: block; width: 100%; min-height: 46px; padding: 10px 14px; font-size: 16px; line-height: 1.5; background: #fff; border: 1px solid #b5c4bf; border-radius: 4px;
    transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.form textarea { resize: vertical; min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: #a3b0ad; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 122, 75, .18); }
.form .is-invalid, .form .is-dup { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(212, 60, 60, .14) !important; }
.field__msg { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--danger); }   /* 중복 안내 (main.js 가 입력칸 아래에 넣음) */
.form__desc { font-size: 15px; line-height: 1.65; color: #354a4f; }
.form__desc--note { margin: 6px 0 12px; color: var(--green-d); font-weight: 600; }
.form__lead { margin-bottom: 24px; text-align: center; font-size: clamp(16px, 2vw, 19px); font-weight: 700; }
.form--check { padding: 16px 0 8px; }

.agree__item + .agree__item { margin-top: 22px; }
.agree__item h4 { margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.badge { display: inline-block; margin-left: 4px; padding: 1px 8px; font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 2px; border-radius: 999px; background: #e6ecea; color: #44575b; }
.badge--req { background: var(--danger); color: #fff; }
.agree__box { max-height: 168px; overflow: auto; padding: 14px 16px; font-size: 14px; line-height: 1.65; color: #354a4f; background: #f7faf8; border: 1px solid #d5e2dc; border-radius: 4px; }
.agree__box p + p, .agree__box p + ol, .agree__box ol + p { margin-top: 8px; }
.agree__box ol { list-style: decimal; padding-left: 20px; }
.agree__box li + li { margin-top: 4px; }
.agree__choice { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.agree__choice label { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; cursor: pointer; }
.agree input[type="radio"], .agree input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.agree__choice.is-invalid { outline: 2px solid var(--danger); outline-offset: 6px; border-radius: 4px; }

.result { outline: 0; }
.result__msg { margin-bottom: 30px; text-align: center; font-size: clamp(19px, 2.6vw, 25px); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; color: #0c1f23; }
.result__title { margin: 26px 0 10px; padding-left: 12px; border-left: 5px solid var(--green); font-size: 18px; font-weight: 800; line-height: 1.3; }
.tbl--result { border-top: 2px solid var(--ink); }
.tbl--result th { width: 30%; background: var(--mint); font-weight: 700; text-align: center; }
.tbl--result td { text-align: left; word-break: break-all; }
.tbl--result tr > :first-child { border-left: 0; }
.tbl--result tr > :last-child { border-right: 0; }
.result__consult { padding: 14px 16px; background: #f7faf8; border: 1px solid #d5e2dc; white-space: pre-wrap; word-break: break-all; font-size: 15px; }
.result__note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   스크롤 등장 효과 (fade-up)
   main.js 가 대상 요소에 .reveal 을 붙이고, 화면에 들어오면 .is-in 을 더합니다.
   거리·시간은 맨 위 :root 의 --reveal-y / --reveal-time 으로 조절합니다.
   (스크립트가 꺼져 있으면 클래스가 붙지 않으므로 내용은 그대로 보입니다)
   ========================================================================== */
.reveal { opacity: 0; transform: translate3d(0, var(--reveal-y), 0);
          transition: opacity var(--reveal-time) ease, transform var(--reveal-time) cubic-bezier(.22, .61, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   메인 팝업
   ========================================================================== */
/* 오른쪽 상단 (헤더 아래, 퀵메뉴 왼쪽) — 헤더(100)보다 아래, 퀵메뉴(90)보다 위
   폭은 480px 기준, 화면 높이가 낮으면 팝업 전체가 화면 안에 들어오도록 축소 (이미지 비율 약 1 : 1.1, 하단 버튼줄 46px) */
.pop { position: fixed; top: calc(var(--header-h) + 16px); right: 130px; z-index: 95; }
.pop__box { width: 480px; width: min(480px, calc(100vw - 32px), calc((100vh - var(--header-h) - 32px - 46px) / 1.1));
            border-radius: 6px; overflow: hidden;
            /* 어두운 메인 비주얼 위에서도 눈에 띄도록 흰색 테두리 + 흰색 발광 + 아래 그림자 */
            box-shadow: 0 0 0 3px #fff, 0 0 26px 8px rgba(255, 255, 255, .42), 0 0 70px 18px rgba(205, 255, 93, .18), 0 22px 50px rgba(1, 25, 30, .45); }
.pop__link { display: block; background: #04262e; }
.pop__link img { display: block; width: 100%; height: auto; }
.pop__bar { display: flex; justify-content: space-between; align-items: center; background: #fff; }
.pop__bar button { min-height: 46px; padding: 0 16px; font-size: 15px; font-weight: 600; color: #34484d; }
.pop__bar button:hover { color: var(--ink); text-decoration: underline; }
.pop__close { font-weight: 700 !important; }
.pop__close span { font-size: 20px; line-height: 1; vertical-align: -1px; }

/* ==========================================================================
   푸터
   ========================================================================== */
.footer { padding: 50px 0 40px; background: #fff; border-top: 1px solid #e6ecea; }
.footer__copy { margin-top: 26px; text-align: center; font-size: 13px; color: #6c7b7e; }

/* ==========================================================================
   퀵메뉴
   ========================================================================== */
.quick { position: fixed; right: 16px; top: 50%; z-index: 90; width: 98px; transform: translateY(-50%); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(1, 45, 54, .25); text-align: center; }
.quick__head { padding: 7px 0; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 16px; line-height: 1.3; }
.quick__item { display: block; padding: 14px 6px 12px; background: var(--quick-1); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; transition: background-color .2s; }
.quick__item--alt { background: var(--green-d); }
.quick__item:hover { background: var(--ink-2); }
.quick__item svg { display: block; width: 40px; height: 40px; margin: 0 auto 6px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.quick__top { position: relative; display: block; padding: 20px 0 26px; background: var(--ink-2); color: var(--ink); }
.quick__top::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; transition: background-color .2s; }
.quick__top svg, .quick__top span { position: relative; z-index: 1; display: block; margin: 0 auto; }
.quick__top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.quick__top span { font-size: 14px; font-weight: 700; line-height: 1; }
.quick__top:hover::after { background: var(--lime); }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1300px) {
    .gnb ul { gap: clamp(4px, 2.2vw, 40px); }
    .hero__inner { padding-right: 130px; }
}

/* 화면 폭이 본문(1080px) + 퀵메뉴보다 좁은 PC 구간 :
   퀵메뉴를 작게 줄이고, 본문 좌우에 그만큼 여백을 둬서 서로 겹치지 않게 합니다. */
@media (min-width: 1024px) and (max-width: 1359px) {
    .container { max-width: calc(var(--wrap) + 220px); padding: 0 110px; }

    .quick { right: 10px; width: 84px; }
    .pop { right: 108px; }
    .quick__head { padding: 5px 0; font-size: 14px; }
    .quick__item { padding: 12px 4px 10px; font-size: 13px; }
    .quick__item svg { width: 32px; height: 32px; margin-bottom: 5px; }
    .lang-en .quick__item { font-size: 11.5px; line-height: 1.2; }
    .quick__top { padding: 16px 0 22px; }
    .quick__top::after { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
    .quick__top svg { width: 16px; height: 16px; }
    .quick__top span { font-size: 13px; }
}

@media (max-width: 1023px) {
    :root { --header-h: 58px; }
    .sp-list > li { flex-basis: calc((100% - 48px) / 3); }
    .header__toggle { display: block; }
    .header__logo { margin-right: auto; }
    .gnb { position: absolute; left: 0; top: 100%; width: 100%; background: #fff; border-bottom: 1px solid #e6ecea; box-shadow: 0 14px 24px rgba(1, 45, 54, .12);
           max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s, visibility .25s; }
    .gnb.is-open { max-height: 420px; visibility: visible; }
    .gnb ul { display: block; padding: 6px 0 10px; }
    .gnb a { padding: 13px 22px; font-size: 17px; }
    .gnb a::after { display: none; }
    .gnb a.is-on { background: var(--mint); }

    /* 팝업 : 화면 위쪽 가운데 (하단 고정 바 56px 를 피해 높이 계산) */
    .pop { top: calc(var(--header-h) + 12px); left: 0; right: 0; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
    .pop__box { pointer-events: auto; width: min(480px, 100%, calc((100vh - var(--header-h) - 24px - 56px - 46px) / 1.1)); }

    /* 퀵메뉴 → 하단 고정 바 */
    body { padding-bottom: 56px; }
    .quick { right: 0; left: 0; top: auto; bottom: 0; width: auto; transform: none; display: flex; border-radius: 0; box-shadow: 0 -6px 18px rgba(1, 45, 54, .18); }
    .quick__head { display: none; }
    .quick__item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 6px 8px; font-size: 15px; }
    .quick__item svg { width: 24px; height: 24px; margin: 0; flex: none; }
    .quick__top { flex: none; width: 62px; padding: 0; display: flex; flex-direction: column; justify-content: center; }
    .quick__top::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
    .quick__top svg { width: 16px; height: 16px; }
    .quick__top span { font-size: 12px; }
    .lang-en .quick__item { font-size: 13px; line-height: 1.2; }

    .hero__inner { padding-right: 20px; }
    .section { padding: 72px 0; }
    .overview__intro { margin-bottom: 72px; }
    .cta__art { width: 190px; height: 190px; margin-right: 0; }
    .cta__art i { height: 88px; }
    .cta__art i:nth-child(2) { top: 50px; }
    .cta__art i:nth-child(3) { top: 100px; }
    .cta__inner { min-height: 260px; }
}

@media (max-width: 767px) {
    .header__logo { font-size: 17px; }
    .lang-en .header__logo { font-size: 13px; }
    .lang a { padding: 5px 9px; font-size: 13px; }

    .hero { min-height: 0; }
    .hero__inner { padding: 52px 20px 60px; }
    .hero__art { right: -44px; width: 58vw; max-width: 300px; opacity: .5; }
    .hero__dots { display: none; }
    .hero__kicker { font-size: 13px; padding: 5px 12px; margin-bottom: 14px; }
    .lang-en .hero__name { white-space: normal; }
    .hero__date { margin-top: 22px; }
    .btn--lg { min-height: 52px; padding: 10px 30px; font-size: 18px; }

    :root { --reveal-y: 60px; --reveal-time: .8s; }

    .countdown { padding: 30px 12px 34px; }
    .countdown__item { gap: 7px; }

    .section { padding: 56px 0; }
    .section__title { margin-bottom: 28px; }
    .overview__intro { margin-bottom: 56px; }

    .tbl th, .tbl td { padding: 11px 10px; font-size: 14px; }
    .tbl--info th { width: 30%; }
    .logos--cell { gap: 10px 20px; }
    .logos img { width: calc(var(--w) * .76); }
    .logos--footer { gap: 16px 28px; }

    .tabs__nav button { min-height: 50px; font-size: 16px; }
    .tbl--program .col-time { width: 62px; }
    .tbl--program .col-speaker { width: 36%; }
    .tbl--program th, .tbl--program td { padding: 10px 6px; font-size: 13px; line-height: 1.45; }
    .tbl-note { font-size: 13px; }
    .pg-info dl > div { display: block; }
    .pg-info dt { display: inline; margin-right: .3em; }
    .pg-info dd { display: inline; }

    .sp-list { gap: 12px; }
    .sp-list > li { flex-basis: calc((100% - 12px) / 2); }
    .sp-card { padding: 16px 10px 18px; border-radius: 12px; }
    .sp-card__logo { height: 28px; margin-top: 10px; }
    .sp-card__logo img { height: calc(var(--lh, 24px) * .84); max-width: 100%; }
    .sp-card__name { font-size: 17px; }
    .sp-card.is-tba .sp-card__name { font-size: 15.5px; }
    .sp-card__org { font-size: 13px; }
    .modal__box { padding: 22px 18px 24px; }
    .modal__content { gap: 14px; padding-right: 14px; }

    .cta__art { display: none; }
    .cta__inner { min-height: 0; padding-top: 44px; padding-bottom: 44px; }

    .venue__map { padding-bottom: 70%; }
    .traffic { margin-top: 28px; }
    .traffic__title { font-size: 17px; }
    .traffic__title span { display: block; font-size: 14px; }
    .tbl--traffic th, .tbl--traffic td { padding: 9px 8px; font-size: 13px; }
    .tbl--parking { min-width: 600px; }   /* 칸이 많은 주차 요금표는 좌우로 밀어서 보기 */

    .tabs--reg .tabs__panel { padding: 24px 16px 30px; }
    .field { display: block; }
    .field + .field { margin-top: 14px; }
    .field__label, .lang-en .field__label { display: block; width: auto; margin-bottom: 5px; padding-top: 0; font-size: 15px; }
    .agree__choice { justify-content: flex-start; }
    .tbl--result th { width: 34%; }
}

@media (max-width: 479px) {
    .lang-en .quick__item svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
    .header, .quick, .hero__bg, .venue__map, .pop { display: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero { margin-top: 0; background: #fff; color: #000; min-height: 0; }
}
