@charset "UTF-8";
/* =========================================================
   국립경국대학교 의과대학 신설 퀴즈 이벤트
   - 시안 기준 : PC 1920px / 콘텐츠 영역 750px(.inner) 중앙 정렬
   - 모바일 : viewport 750 (PHP에서 분기) → 콘텐츠 1:1 그대로
   - 750px보다 좁은 PC 창 : --fit 값으로 콘텐츠 비율 축소(index.php 상단 스크립트)
   - 모든 이미지는 원본 사이즈 1:1 노출
   - .pos 좌표(--x, --y) = .inner(750px) 기준
========================================================= */

/* ---------------------------------------------------------
   reset
--------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body, div, span, p, a, img, ul, li, table, tr, th, td, form, label,
section, header, footer, nav, address, button, input, select, em, b, i {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

button,
input,
select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

table {
    border-collapse: separate;
}

:root {
    --fit: 1;
    --c-peach: #ffe3d3;
    --c-notice: #744f34;
    --c-sky: #cfe9ff;
    --f-pre: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    background: #fff;
    color: #111;
    font-family: var(--f-pre);
    font-size: 16px;
    line-height: 1.5;
    word-break: keep-all;
    transition: opacity .5s ease;
}

body.is-loading {
    visibility: hidden;
    opacity: 0;
}

.wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 콘텐츠 기준 영역 */
.inner {
    position: relative;
    width: 750px;
    margin: 0 auto;
    zoom: var(--fit);
}

.pos {
    position: absolute;
    left: var(--x, 0px);
    top: var(--y, 0px);
    line-height: 0;
}

/* =========================================================
   헤더
========================================================= */
.header {
    position: relative;
    z-index: 10;
    height: 93px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   섹션1 : 메인 비주얼
   배경 1920x1180 / 하단 일러스트·캐릭터는 섹션2 위로 겹침
========================================================= */
.sec01 {
    position: relative;
    z-index: 5;
    background: #cfe6fa url(../img/sec01_bg.jpg) no-repeat center top;
}

.sec01 .inner {
    height: 1180px;
}

.s1_title01 { --x: -25px; --y: 71px;   z-index: 5; }
.s1_title02 { --x: 114px; --y: 380px;  z-index: 5; }
.s1_char02  { --x: -3px;  --y: 671px;  z-index: 1; }
.s1_illust  { --x: 9px;   --y: 825px;  z-index: 2; }
.s1_char01  { --x: 340px; --y: 964px;  z-index: 3; }
.s1_period  { --x: 57px;  --y: 1246px; z-index: 4; }

/* 섹션1 등장 순서 (페이지 로딩 후) */
.s1_title01,
.s1_title02,
.s1_illust,
.s1_char01 {
    opacity: 0;
}

.is-loaded .s1_title01 { animation: s1Pop .9s cubic-bezier(.34, 1.56, .64, 1) .15s both; }
.is-loaded .s1_title02 { animation: s1Up .8s cubic-bezier(.22, 1, .36, 1) .55s both; }
.is-loaded .s1_illust  { animation: s1Rise 1s cubic-bezier(.22, 1, .36, 1) .85s both; }
.is-loaded .s1_char01  { animation: s1Rise .9s cubic-bezier(.34, 1.4, .64, 1) 1.2s both; }

/* 캐릭터2 : 일러스트 뒤에서 쑤욱 올라왔다 내려가기 무한반복 */
.s1_char02 {
    width: 730px;
    height: 271px;
    overflow: hidden;
}

.s1_char02_pop {
    transform: translateY(100%);
}

.is-loaded .s1_char02_pop {
    animation: s1Peek 5s cubic-bezier(.45, 0, .25, 1) 1.8s infinite;
}

/* 캐릭터1 : 양옆으로 기우뚱 뛰기 */
.motion_cheer {
    transform-origin: 50% 100%;
    animation: cheer 1.3s ease-in-out infinite;
}

@keyframes s1Pop {
    0% { opacity: 0; transform: scale(.6) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes s1Up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes s1Rise {
    0% { opacity: 0; transform: translateY(120px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes s1Peek {
    0%   { transform: translateY(100%); }
    22%  { transform: translateY(-4%); }
    28%  { transform: translateY(0); }
    70%  { transform: translateY(0); }
    88%  { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

@keyframes cheer {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    20% { transform: rotate(-3deg) translateY(-10px); }
    40% { transform: rotate(0deg) translateY(0); }
    60% { transform: rotate(3deg) translateY(-10px); }
    80% { transform: rotate(0deg) translateY(0); }
}

/* =========================================================
   섹션2 : 홍보영상 + 이벤트 개요
========================================================= */
.sec02 {
    position: relative;
    z-index: 2;
    background-color: #f3f16a;
    background-image: url(../img/sec02_bg.jpg), linear-gradient(90deg, #f3f16a 0, #f3f16a 88px, #f5f378 88px, #f5f378 157px);
    background-size: 1920px 1419px, 157px 100%;
    background-position: center top, calc(50% + 39.5px) 0;
    background-repeat: no-repeat, repeat-x;
}

/* 1920px보다 넓은 화면 : 하단 라인 보완 */
.sec02::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #27180a;
}

.sec02 .inner {
    z-index: 1;
    height: 1419px;
}

.s2_video        { --x: 31px;  --y: 168px; }
.s2_info01       { --x: 11px;  --y: 718px; }
.s2_info02       { --x: 11px;  --y: 781px; }
.s2_info03       { --x: 11px;  --y: 843px; }
.s2_info04       { --x: 11px;  --y: 930px; }
.s2_prize_list   { --x: 23px;  --y: 1002px; }
.s2_prize        { --x: 334px; --y: 1240px; z-index: 2; }
.s2_char         { --x: 168px; --y: 1278px; z-index: 3; }

/* 영상 : 프레임(아래) → 영상 → 말풍선(위) 순서로 겹침 */
.s2_video_frame {
    position: relative;
    z-index: 1;
}

.s2_video_area {
    position: absolute;
    z-index: 2;
    left: 28px;
    top: 122px;
    width: 633px;
    height: 354px;
    background: #111;
    overflow: hidden;
}

.s2_video_cloud {
    position: absolute;
    z-index: 3;
    left: 33px;
    top: 471px;
    pointer-events: none;
}

/* 유튜브 제목줄·로고가 보이지 않도록 위아래를 잘라서 표시 */
.s2_video_area iframe {
    position: absolute;
    left: 0;
    top: -60px;
    display: block;
    width: 100%;
    height: calc(100% + 120px);
    border: 0;
    pointer-events: none;
}

/* 영상 위 클릭 영역 (유튜브 툴바 대신) */
.s2_video_mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

.s2_video_sound {
    position: absolute;
    right: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px 0 10px;
    border: 2px solid #000;
    border-radius: 18px;
    background: #fff;
    color: #000;
    font-family: var(--f-pre);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    animation: btnPulse 2.4s ease-in-out infinite;
}

.s2_video_sound i {
    position: relative;
    width: 18px;
    height: 18px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.s2_video_sound.is-on {
    background: #ffe45c;
    animation: none;
}

.s2_video_sound.is-on i {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* =========================================================
   섹션3 : 이벤트 참여방법 + 퀴즈
========================================================= */
.sec03 {
    position: relative;
    z-index: 1;
    background: #d0e9ff url(../img/sec03_bg.jpg) no-repeat center top;
}

.sec03 .inner {
    height: 1944px;
}

.s3_title       { --x: 385px; --y: 142px; z-index: 3; }
.s3_step01      { --x: 26px;  --y: 174px; z-index: 1; }
.s3_step02      { --x: 26px;  --y: 378px; z-index: 1; }
.s3_step03      { --x: 26px;  --y: 583px; z-index: 1; }
.s3_quiz_title  { --x: 58px;  --y: 876px; z-index: 2; }
.quiz_box       { --x: 27px;  --y: 1210px; z-index: 1; }
.quiz_submit_wrap { --x: 453px; --y: 1828px; z-index: 3; }
.s3_char        { --x: -53px; --y: 1723px; z-index: 2; }

/* 퀴즈 박스 (CSS) */
.quiz_box {
    width: 706px;
    height: 590px;
    background: var(--c-sky);
    border: 2px solid #000;
    border-radius: 18px;
    box-shadow: 10px 10px 0 #000;
    line-height: normal;
}

.quiz_q {
    position: relative;
    height: 320px;
    background: #fff;
    border-bottom: 3px solid #181f44;
    border-radius: 16px 16px 0 0;
}

.quiz_q img {
    position: absolute;
    left: 114px;
    top: 64px;
}

.quiz_qa {
    position: absolute;
    left: -12px;
    top: 265px;
    z-index: 3;
    transform-origin: 50% 100%;
    animation: qaSwing 3s ease-in-out infinite;
}

.quiz_a {
    position: relative;
}

.quiz_answer {
    position: absolute;
    left: 37px;
    top: 23px;
    width: 627px;
    height: 82px;
    cursor: text;
}

.quiz_cells {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.quiz_cell {
    width: 85px;
    height: 82px;
    border: 3px solid #6ba7da;
    border-radius: 12px;
    background: var(--c-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.quiz_cell em {
    font-style: normal;
    font-weight: 900;
    font-size: 36px;
    line-height: 1;
    color: #000;
}

.quiz_cell.is-filled {
    background: #fff;
    border-color: #2f6fc4;
}

.quiz_cell.is-filled em {
    color: #10225e;
    font-size: 40px;
    animation: cellPop .28s cubic-bezier(.34, 1.56, .64, 1);
}

.quiz_cell.is-current {
    border-color: #0b5bd3;
    animation: cellBlink 1s ease-in-out infinite;
}

.quiz_answer.is-correct .quiz_cell {
    background: #ffe45c;
    border-color: #000;
}

.quiz_answer.is-correct .quiz_cell.is-flip {
    animation: cellFlip .55s ease both;
}

.quiz_answer.is-correct .quiz_cell em {
    color: #000;
}

.quiz_answer.is-wrong .quiz_cells {
    animation: quizShake .45s ease;
}

.quiz_answer.is-wrong .quiz_cell {
    border-color: #ff4d6d;
}

/* 실제 입력 필드 (투명, 칸 위에 덮음) */
.quiz_input {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    caret-color: transparent;
    font-size: 16px;
    opacity: 0;
    cursor: text;
}

.quiz_hint {
    position: absolute;
    left: 107px;
    top: 135px;
    line-height: 0;
}

.quiz_submit {
    display: block;
    width: 280px;
    height: 64px;
    background: #a8d9ff;
    border: 2px solid #000;
    border-radius: 16px;
    box-shadow: 6px 6px 0 #000;
    font-family: var(--f-pre);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
    animation: btnPulse 2.4s ease-in-out infinite;
}

.quiz_submit:hover {
    background: #8fceff;
}

.quiz_submit:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

.quiz_submit.is-done {
    background: #ffe45c;
    font-size: 19px;
}

/* =========================================================
   섹션4 : 고지사항 + SNS
========================================================= */
.sec04 {
    position: relative;
    z-index: 2;
    background: #2b6ea7;
    margin-top: -1px;
    border-top: 2px solid #0b1d2d;
    border-bottom: 1px solid #0b1d2d;
    padding: 38px 20px 51px;
}

.sec04_inner {
    max-width: 1180px;
    margin: 0 auto;
    zoom: var(--fit);
}

.notice_text {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    color: #e8e8e8;
    font-size: 18px;
    line-height: 29.2px;
    letter-spacing: -0.02em;
    text-align: left;
}

.notice_text p {
    padding-left: 1.15em;
    text-indent: -1.15em;
}

.sns {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.sns li {
    position: relative;
    width: 91px;
    margin: 0 34.5px;
    line-height: 0;
}

.sns li + li::before {
    content: '';
    position: absolute;
    left: -35.5px;
    top: 13px;
    width: 2px;
    height: 100px;
    background: #4b84b4;
}

.sns a {
    display: block;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.sns a:hover {
    transform: translateY(-8px);
}

/* =========================================================
   푸터
========================================================= */
.footer {
    background: #fff;
    padding: 46px 20px 50px;
    text-align: center;
}

.footer_logo {
    margin: 0 auto 34px;
}

.footer address {
    font-style: normal;
    color: #626262;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.footer address i {
    display: inline-block;
    width: 1px;
    height: 13px;
    margin: 0 10px;
    background: #bbb;
    vertical-align: -1px;
}

.footer address i.first {
    margin-left: 0;
}

/* =========================================================
   반복 모션
========================================================= */
.motion_float { animation: floatY 3.2s ease-in-out infinite; }
.motion_bob   { animation: bob 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
.motion_wave  { animation: wave 2.8s ease-in-out infinite; transform-origin: 50% 100%; }
.motion_hop   { animation: hop 2.2s ease-in-out infinite; transform-origin: 50% 100%; }

@keyframes floatY {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

@keyframes bob {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    40%, 60% { transform: translate3d(0, -8px, 0) scale(1.015); }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
    25% { transform: rotate(-1.5deg) translate3d(0, -6px, 0); }
    50% { transform: rotate(0deg) translate3d(0, 0, 0); }
    75% { transform: rotate(1.5deg) translate3d(0, -6px, 0); }
}

@keyframes hop {
    0%, 55%, 100% { transform: translate3d(0, 0, 0) scale(1, 1); }
    65% { transform: translate3d(0, 0, 0) scale(1.04, .96); }
    75% { transform: translate3d(0, -18px, 0) scale(.98, 1.03); }
    85% { transform: translate3d(0, 0, 0) scale(1.03, .97); }
}

@keyframes qaSwing {
    0%, 30%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-6deg); }
    20% { transform: rotate(4deg); }
}

@keyframes cellPop {
    0% { transform: scale(.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes cellBlink {
    0%, 100% { box-shadow: 0 0 0 4px rgba(11, 91, 211, .18); }
    50% { box-shadow: 0 0 0 7px rgba(11, 91, 211, .08); }
}

@keyframes cellFlip {
    0% { transform: perspective(400px) rotateY(0deg); }
    50% { transform: perspective(400px) rotateY(90deg); }
    100% { transform: perspective(400px) rotateY(0deg); }
}

@keyframes quizShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-12px); }
    30% { transform: translateX(10px); }
    45% { transform: translateX(-8px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
}

@keyframes btnPulse {
    0%, 70%, 100% { transform: translate(0, 0); }
    80% { transform: translate(0, -5px); }
    90% { transform: translate(0, 0); }
}

.confetti_piece {
    position: fixed;
    z-index: 2000000;
    width: 12px;
    height: 16px;
    border: 1.5px solid #000;
    border-radius: 2px;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* =========================================================
   PC 플로팅 : 모바일 플로팅 디자인을 세로로 (오른쪽 고정)
========================================================= */
.floating {
    position: fixed;
    z-index: 99997;
    right: 0;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateY(-50%);
    font-family: var(--f-pre);
    animation: floatingIn .8s cubic-bezier(.22, 1, .36, 1) .5s both;
}

.floating_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 116px;
    margin-top: -2px;
    border: 2px solid #050708;
    border-right: 0;
    border-radius: 22px 0 0 22px;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: width .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}

.floating_btn:first-child {
    margin-top: 0;
}

.floating_btn span {
    display: block;
}

.floating_btn:hover {
    width: 164px;
    box-shadow: -4px 0 0 rgba(0, 0, 0, .12);
}

.floating_event {
    background: #fff;
    color: #262f8f;
}

.floating_gknu {
    position: relative;
    z-index: 1;
    background: #0068ff;
    color: #fff;
}

.floating_gknu b {
    color: #ffe45a;
    font-weight: 700;
}

.floating_kakao {
    background: #ffec55;
    color: #1b1b2b;
}

@keyframes floatingIn {
    0% { opacity: 0; transform: translate(60px, -50%); }
    100% { opacity: 1; transform: translate(0, -50%); }
}

/* 모바일 플로팅 (이미지) */
.mfloating {
    display: none;
}

/* =========================================================
   강점 TOP 5 팝업
   (배경 690x1092 / 제목이 위로 76px 튀어나와 있어 상단 여백 76px)
========================================================= */
.str_popup {
    display: none;
    position: relative;
    width: 690px;
    height: 1168px;
    background: url(../img/pop_str_bg.png) no-repeat 0 76px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    zoom: var(--fit);
}

.str_popup > div,
.str_popup > a {
    position: absolute;
    line-height: 0;
}

.str_title   { left: 94px;  top: 0;     z-index: 3; }
.str_content { left: 32px;  top: 189px; z-index: 1; }
.str_char01  { left: 487px; top: 292px; z-index: 2; }
.str_char02  { left: 587px; top: 507px; z-index: 2; }
.str_char03  { left: 510px; top: 748px; z-index: 2; }

.str_btn {
    left: 164px;
    top: 1059px;
    z-index: 3;
    cursor: pointer;
    transition: transform .15s ease, filter .2s ease;
}

.str_btn:hover {
    filter: brightness(.96);
}

.str_btn:active {
    transform: translateY(2px);
}

/* 캐릭터 살랑살랑 */
.str_char01 img { animation: strSway 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
.str_char02 img { animation: strSway 2.6s ease-in-out .4s infinite; transform-origin: 50% 100%; }
.str_char03 img { animation: strSway 2.6s ease-in-out .8s infinite; transform-origin: 50% 100%; }

@keyframes strSway {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(-2deg) translateY(-5px); }
    75% { transform: rotate(2deg) translateY(-5px); }
}

/* 팝업 내부 순차 등장 */
.str_popup .str_title,
.str_popup .str_content,
.str_popup .str_char01,
.str_popup .str_char02,
.str_popup .str_char03,
.str_popup .str_btn {
    opacity: 0;
    translate: 0 16px;
    transition: opacity .45s ease, translate .55s cubic-bezier(.34, 1.4, .64, 1);
}

.str_popup.is-show .str_title,
.str_popup.is-show .str_content,
.str_popup.is-show .str_char01,
.str_popup.is-show .str_char02,
.str_popup.is-show .str_char03,
.str_popup.is-show .str_btn {
    opacity: 1;
    translate: 0 0;
}

.str_popup.is-show .str_title   { transition-delay: .05s; }
.str_popup.is-show .str_content { transition-delay: .2s; }
.str_popup.is-show .str_char01  { transition-delay: .35s; }
.str_popup.is-show .str_char02  { transition-delay: .5s; }
.str_popup.is-show .str_char03  { transition-delay: .65s; }
.str_popup.is-show .str_btn     { transition-delay: .8s; }

.str_popup.is-show .str_btn {
    animation: btnPulse 2.4s ease-in-out 1.6s infinite;
}

/* =========================================================
   개인정보입력 팝업 (form 마크업은 레퍼런스와 동일 / 스타일만)
   배경 690x1092
========================================================= */
.apply_popup {
    display: none;
    width: 690px;
    height: 1092px;
    background: url(../img/pop_apply_bg.png) no-repeat 0 0;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center;
    zoom: var(--fit);
}

.apply_popup .title {
    padding-top: 84px;
    line-height: 0;
}

.apply_popup .title img {
    margin: 0 auto;
}

.board_write_form {
    padding: 21px 0 0 62px;
    text-align: left;
}

.apply-form form {
    width: 556px;
}

.board_write_form_table {
    width: 556px;
    border-spacing: 0 6px;
}

.board_write_form .form_field th {
    width: 162px;
    height: 58px;
    padding: 0;
    border: 2px solid #000;
    border-right: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 0;
}

.board_write_form .form_field th img {
    display: inline-block;
    vertical-align: middle;
}

.board_write_form .form_field_name th {
    background: #61d5ff;
}

.board_write_form .form_field_tel th {
    background: #b2ea61;
}

.board_write_form td.field {
    height: 58px;
    padding: 0 16px;
    background: #fff;
    border: 2px solid #000;
    border-left: 0;
    vertical-align: middle;
}

.board_write_form .form_field_tel td.field {
    white-space: nowrap;
}

.phone_select_wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.phone_select_wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    pointer-events: none;
}

.w120 { width: 112px; }
.w200 { width: 100%; }

.board_write_form input[type='text'],
.board_write_form input[type='tel'],
.board_write_form select {
    height: 40px;
    font-family: var(--f-pre);
    font-size: 20px;
    font-weight: 600;
    color: #111;
    background: #fff;
    border: 0;
    outline: 0;
    vertical-align: middle;
}

.board_write_form input[type='tel'] {
    width: 120px;
    text-align: center;
}

.board_write_form select {
    padding: 0 34px 0 24px;
    cursor: pointer;
}

.hypen {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    vertical-align: middle;
}

.pop_content_wrap {
    margin-top: 27px;
    line-height: 0;
}

.pop_content_char {
    margin-left: 32px;
}

.pop_content_btn {
    display: block;
    width: 488px;
    margin: 7px 0 0 31px;
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}

.pop_content_char + .pop_content_btn {
    margin-top: 35px;
}

.pop_content_btn:hover {
    transform: scale(1.02);
}

.agree_wrap {
    margin-top: 23px;
}

.agree_box {
    width: 556px;
    height: 185px;
    overflow-y: scroll;
    border: 2px solid #000;
    padding: 16px 20px;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    scrollbar-width: auto;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.agree_box::-webkit-scrollbar {
    width: 17px;
}

.agree_box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.agree_box::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

.agree_box .h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

.agree_box .h6 {
    margin-top: 10px;
    font-weight: 700;
}

.agree_radio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: 27px;
    margin-top: 10px;
    color: #111;
    font-size: 17px;
    white-space: nowrap;
}

.agree_radio .m_block {
    margin-right: 6px;
}

.agree_radio > span:not(.m_block) {
    margin-left: 14px;
}

.agree_radio label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.agree_radio input[type='radio'] {
    width: 24px;
    height: 24px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 0 #005bff;
    cursor: pointer;
    transition: box-shadow .4s cubic-bezier(.22, 1, .36, 1);
}

.agree_radio input[type='radio']:checked {
    box-shadow: inset 0 0 0 5px #005bff;
}

/* 응모하기(오른쪽) / 취소하기(왼쪽) */
.board_write_form .buttons {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 18px;
    width: 566px;
    margin: 34px 0 0 -15px;
}

.board_write_form .buttons a {
    display: block;
    line-height: 0;
    cursor: pointer;
    transition: transform .15s ease, filter .2s ease;
}

.board_write_form .buttons a:hover {
    filter: brightness(.96);
}

.board_write_form .buttons a:active {
    transform: translateY(2px);
}

/* =========================================================
   1200px 이하 : 하단 플로팅 / 섹션1 임시 통이미지 화면 맞춤
========================================================= */
@media screen and (max-width: 1199px) {
    .floating {
        display: none;
    }

    .mfloating {
        display: block;
        position: fixed;
        z-index: 99996;
        left: 50%;
        bottom: 0;
        width: 750px;
        max-width: 100%;
        transform: translateX(-50%);
        line-height: 0;
    }

    .mfloating img {
        width: 750px;
        max-width: 100%;
        height: auto;
    }

    .footer {
        padding-bottom: 135px;
    }

}

/* =========================================================
   모바일 (viewport 750) / 좁은 화면
========================================================= */
@media screen and (max-width: 799px) {
    /* 750 영역 밖으로 나가는 요소만 안쪽으로 이동 */
    .s2_prize { --x: 248px; }
    .s2_char  { --x: 82px; }
    .s3_char  { --x: 0px; }
    .s1_title01 { --x: -10px; }
    .s1_char01  { --x: 327px; }

    .str_char01 { left: 456px; }
    .str_char02 { left: 527px; }
    .str_char03 { left: 496px; top: 784px; transform: scale(0.9); }

    .notice_text {
        font-size: 21px;
        line-height: 34px;
    }

    .sns li {
        margin: 0 20px;
    }

    .sns li + li::before {
        left: -21px;
    }

    .footer address {
        font-size: 19px;
        line-height: 31px;
    }
}

/* 움직임 최소화 설정 사용자 */
@media (prefers-reduced-motion: reduce) {
    .motion_float,
    .motion_bob,
    .motion_wave,
    .motion_hop,
    .motion_cheer,
    .s1_char02_pop,
    .quiz_qa,
    .quiz_submit,
    .str_btn,
    .floating {
        animation: none !important;
    }
}
