.wrap { width: 90%; margin: 0 auto; }

/* head */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; position: absolute; top: 0; left: 0; width: 100%; padding: 20px 5%; z-index: 9; background: #fff; }
.head .logo a { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; font-size: 25px; font-weight: 700; }
.head .logo a img { height: 50px; }
.menu ul { display: flex; flex-wrap: wrap; align-items: center; gap: 70px; }
.menu ul li a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 20px; font-weight: 600; transition: 0.3s; }
.menu ul li a.point_menu { gap: 10px; height: 50px; padding: 0 35px; background: #222; color: #fff; font-size: 18px; }
.menu ul li a.point_menu:hover { gap: 20px; padding: 0 30px; }

/* footer */
.footer { position: relative; text-align: center; padding: 50px 0; background: #f4f4f4; color: #666; }
.ft_logo { margin-bottom: 30px; }
.ft_logo img { width: 300px; }
.ft_info { line-height: 1.5; }
.ft_info span { position: relative; display: inline-block; padding: 0 15px; }
.ft_info span:after { content: ''; position: absolute; right: 0px; top: 10%; width: 2px; height: 80%; background: #ddd; }
.ft_info span.noline:after { display: none; }
.ft_info p { margin-top: 15px; }

/* main */
.main_vis { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; width: 100%; height: 100vh; padding-top: 90px; overflow: hidden; }
.main_textbox { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; text-align: center; }
.main_textbox h2 { font-family: 'yspotlight'; font-size: 2.6em; font-weight: 400; }
.main_vis_imglist { display: flex; flex-direction: column; flex-wrap: wrap; gap: 30px; }
.main_vis_imglist .img img { width: 200px; }
.main_vis_imglist .txt img { width: 500px; }
.main_textbox p { display: flex; flex-wrap: wrap; color: #666; font-size: 1.5em; font-weight: 600; }
.main_textbox p span { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 15px; padding: 0 20px; }
.main_textbox p span:after { content: ''; position: absolute; right: 0px; top: 10%; width: 2px; height: 80%; background: #ccc; }
.main_textbox p span:last-child:after { display: none; }

/* ── main_left / main_right 공통 ── */
.main_left, .main_right {
    position: absolute;
    top: 0;
	z-index:1;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    pointer-events: none;
}
.main_left { left: 1%; }
.main_right { right: 1%; }

/* ── 텍스트 래퍼 (흐름 애니메이션 대상) ── */
.main_left .flow-wrap,
.main_right .flow-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── left: 위→아래 ── */
.main_left .flow-wrap {
    animation: flowDown 12s linear infinite;
}

/* ── right: 아래→위 ── */
.main_right .flow-wrap {
    animation: flowUp 12s linear infinite;
}

@keyframes flowDown {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

@keyframes flowUp {
    0%   { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

/* ── h3 ── */
.main_left h3,
.main_right h3 {
    font-family: 'yspotlight';
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    transform-origin: center center;
    margin-left: -260px;
    margin-right: -280px;
    margin-top: 280px;
    margin-bottom: 280px;
}
.main_left h3  { transform: rotate(-90deg); }
.main_right h3 { transform: rotate(90deg); margin-left: -280px; margin-right: -260px; }

/* ── span ── */
.main_left span,
.main_right span {
    font-family: 'yspotlight';
    font-weight: 400;
    
    letter-spacing: 0.04em;
    line-height: 1.8;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    transform-origin: center center;
    display: block;
    margin-left: -100px;
    margin-right: -100px;
    margin-top: 140px;
    margin-bottom: 120px;
}
.main_left span  { transform: rotate(-90deg); text-align: right; margin-left: -80px;}
.main_right span { transform: rotate(90deg);  text-align: right; margin-right: -80px; }

/* ── 진입 애니메이션 ── */
.mv-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}
.mv-symbol {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}
.mv-text {
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
}
.mv-info {
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* sub */
.sub_vis { position: relative; margin-top: 90px; padding: 100px 0; background: #000; color:#fff; }
.sub_title { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.sub_title h2 { display: flex; flex-direction: column; gap: 20px; font-size: 3.5em; font-weight: 900; }
.sub_title h2 span { display: block; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); font-size: 20px; font-weight: 700; }
.sub_title p { color: rgba(255, 255, 255, 0.5); font-size: 1.1em; font-weight: 500; }

.sub_contents { padding: 100px 0; }
.page_contents {  }

/* ── registration ── */
/* ── STEP BAR ── */
.step-bar { display: flex; align-items: center; width: 1024px; margin: 50px auto 0; padding: 0 30px; }
.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.step-item:last-child { flex: none; }
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid #ccc;
    color: #ccc;
    background: #fff;
}
.step-item.active .step-num {
    background: #1a1a1a;
    border: 2px solid #1a1a1a;
    color: #fff;
}
.step-label {
    font-weight: 500;
    color: #aaa;
    white-space: nowrap;
}
.step-item.active .step-label {  font-weight: 700; }
.step-line {
    flex: 1;
    height: 1px;
    background: #ddd;
    margin: 0 16px;
}

/* ── FORM WRAP ── */
.form-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 80px;
	max-width: 1024px;
    margin: 50px auto 80px;
	padding: 50px;
	border: 1px solid #e0e0e0;
}

/* ── SECTION BLOCK ── */
.form-section {  }
.section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

/* ── FIELD ── */
.field {
    margin-bottom: 28px;
}
.field:last-child { margin-bottom: 0; }
.field-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
	font-size: 1.1em;
    font-weight: 700;
}
.field-label .req {
    color: #e53935;    
    line-height: 1;
}

.field input[type="text"],
.field input[type="tel"],
.field select {
    width: 100%;
    height: 52px;
    border: 1px solid #ddd;
    padding: 0 16px;
    background: #f4f4f4;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.field input[type="tel"] { width: 320px; }
.field input::placeholder { color: #bbb; }
.field input:focus,
.field select:focus { border- }

/* select wrapper */
.select-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.select-wrap select { width: 100%; cursor: pointer; }
.select-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #888;
    pointer-events: none;
}

/* ── 관람 희망일 — 날짜별 오전/오후 선택 ── */
.visit-grid {
    border: 1px solid #ddd;
    overflow: hidden;
}
.visit-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.visit-row:last-child { border-bottom: none; }
.visit-date {
    width: 160px;
    flex-shrink: 0;
    padding: 0 20px;
    font-weight: 700;
    color: #333;
    border-right: 1px solid #eee;
    height: 52px;
    display: flex;
    align-items: center;
}
.visit-times {
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 24px;
}
.visit-times label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    cursor: pointer;
    height: 52px;
}
.visit-times input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-
    cursor: pointer;
    flex-shrink: 0;
}

/* ── 동의 체크박스 ── */
.agree-section { }
.agree-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;

    color: #333;
    cursor: pointer;
}
.agree-item:last-child { margin-bottom: 0; }
.agree-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #bbb;
    border-radius: 3px;
    accent-
    cursor: pointer;
    flex-shrink: 0;
}

/* ── 결제 버튼 ── */
.pay-btn-wrap {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}
.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 80px;
    background: #000;
    border: none;
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;    
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: -0.01em;
}
.pay-btn:hover { background: #1a1a1a; gap: 24px; }
.pay-btn .arrow { font-size: 30px; }