/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Outfit:wght@100..900&family=Protest+Riot&display=swap');

/* font-family: "Noto Sans KR", sans-serif; */
/* font-family: "Outfit", sans-serif; */

@font-face {
    font-family: 'Ria';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-1@1.0/RiaSans-ExtraBold.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyNotification';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-R.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
	font-family: "Noto Sans KR", sans-serif; 
	font-weight: 400;
}

ol, ul {
    list-style: none
}

blockquote,
q {
    quotes: '"' '"'
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

address {
    font-style: normal
}

textarea {
    width: 100%;
    resize: none;
}

button, img, input, select {
    vertical-align: middle
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1;
}

.ellipsis {
	display:inline-block;
	max-width:100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	word-wrap: normal;
	vertical-align:middle
}

table td a {
    overflow: hidden;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body, html {
	overflow-x:hidden;
}

body {
	color:#353535;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	-webkit-user-drag: none;
}

::selection {
   background: #d99b71;
   color: #fff
}

::-moz-selection {
   background: #d99b71;
   color: #fff
}

::-webkit-selection {
    background: #d99b71;
   color: #fff
}

area {
    cursor: pointer;
}

button {
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}

.rel {
    position: relative;
}

.font_outfit {
	font-family: "Outfit", sans-serif; 
}

.container {
    max-width: 1920px;
    margin: auto;
}

.section .inner {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.section.main {
	background-image: url('/PROJECT_HTML/폴더이름/img/section01_bg_new.jpg?new');
	background-size: cover;
	background-position: center;
	height: 1088px;
	padding-top: 72px;
	overflow: hidden;
}


.section dl {
	display: flex;
	justify-content: center;
	margin: auto;
	color: #09003e;
	margin-bottom: 4px;
}

.section dl:last-of-type {
	margin-bottom: 0;
}

.section dt {
	padding-right: 3px;
}

.section.sns {
	padding: 100px 0 75px;
	background-color: #1d170d;
}

.footer {
	background-color: #1d170d;
	padding-bottom: 100px;
}

.footer .info {
	color: #fff;
	margin-top: 30px;
}

.video_wrap {
  position: relative;
  width: 600px;
  margin: auto;
  margin-top: 68px;
  padding-bottom: 58.15%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 20px;
  border: 2px solid #000;
}

.video_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

/* 오버레이 (팝업) */
.b_popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.7);
  overflow: auto;
  display: none; /* 기본 숨김 */
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
}

.b_popup.is-open { display: flex; } /* 열릴 때 flex */

.b_popup_inner {
  position: relative;
  width: min(680px, 100%);
  border-radius: 12px;
  max-height: calc(100svh - 48px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.b_popup_title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    font-size: 36px;
	
}

.b_popup_title span {
    font-family: 'Ria';
    font-weight: 900;
}

.b_popup_title .btn_close_popup {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    color: #999;
    background: transparent;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.b_popup_content  .form_group {
    display: flex;
    align-items: center;
	overflow: hidden;
	border-bottom: 1px solid #000;
}

.b_popup_content .form_group:first-of-type {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	
}

.b_popup_content .form_group:nth-of-type(3) {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	border: none;
}

.b_popup_content  .form_group label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 166px;
    height: 60px;
    font-size: 24px;
    background-color: #7e4400;
    color: #fff;
	font-family: 'SchoolSafetyNotification';
}

.b_popup_content .form_group input {
    width: 514px;
    height: 60px;
    padding: 0 12px;
    font-size: 24px;
    border-radius: 0px;
    border: none;
    outline: none; 
	font-family: 'SchoolSafetyNotification';
	background-color: #fff;
}

.b_popup_content .form_group input::placeholder {
	font-size: 20px;
}

.b_popup_content .form_group:has(textarea) {
	align-items: stretch;
}

.b_popup_content .form_group textarea {
	flex: 1;
	min-width: 0;
	width: auto;
	height: 120px;
	padding: 14px 12px;
	font-size: 20px;
	border: none;
	outline: none;
	background-color: #fff;
	font-family: 'SchoolSafetyNotification';
	resize: none;
	display: block;
	line-height: 1.4;
}
.b_popup_content .form_group textarea::placeholder {
	font-size: 18px;
	color: #b3b3b3;
}

.b_popup_content .pharases {
    padding: 0 12px 12px;
}

.b_popup_content dl {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.b_popup_content dl dt {
    padding-right: 3px;
}

.b_popup .term_zone .term {
    height: 280px;
    background-color: #fff;
    padding: 24px;
    font-size: 18px;
    margin-bottom: 12px;
	border-radius: 20px;
	margin-top: 40px;
}

.b_popup .term_zone .term .inner {
	height: 100%;
    overflow-y: scroll;
}

.b_popup .term_zone .term .h5 {
	font-weight: 900;
	margin-bottom: 8px;
}

.b_popup .term_zone .term .h6 {
	margin-bottom: 4px;
}

.b_popup .term_zone .agree {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    gap: 8px;
	color: #fff;
}

.b_popup .term_zone .agree input + label {
    cursor: pointer;
}

.b_popup .term_zone .agree input {
    appearance: none;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
}

.b_popup .term_zone .agree input::after {
    content:'';
    display: none;
    width: 12px;
    height: 12px;
    background-color: #d99b71;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* .b_popup .term_zone .agree input:checked::after {
    display: inline-block;
} */

/* ==============================================
   FILE LABEL - 흰 영역(파일명) + 검정 파일선택 버튼
   ============================================== */
.b_popup_content .form_group label.file_label {
	max-width: none;
	width: auto;
	flex: 1;
	min-width: 0;
	height: 60px;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	cursor: pointer;
	background-color: #fff;
	padding: 0;
	font-size: 16px;
	color: #888;
	overflow: hidden;
}
.b_popup_content .form_group label.file_label .file-name {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	padding: 0 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 16px;
	color: #888;
	background-color: #fff;
}
.b_popup_content .form_group label.file_label.has-file .file-name {
	color: #1f1f1f;
	font-weight: 700;
}
.b_popup_content .form_group label.file_label::after {
	content: '파일선택';
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #1f1f1f;
	color: #fff;
	height: 100%;
	padding: 0 22px;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
	font-family: 'SchoolSafetyNotification';
	flex-shrink: 0;
	cursor: pointer;
}

.b_popup .btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.b_popup .btn_box button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 70px;
    background-color: #fff;
    color: #000;
    font-size: 25px;
	cursor: pointer;
	border-radius: 15px;
	font-family: 'Ria';
	font-weight: 900;
}

.b_popup .btn_box button.confirm_btn {
    background-color: #9f010a;
	color: #fff;
}

.quick_bar.pc {
	position: fixed;
	margin-left: 836px;
	z-index: 50;
}

.quick_bar.mo {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	z-index: 50;
}

.notice_table {
	width: 100%;
	margin-top: 40px;
	font-size: 14px;
}

.notice_table.mo {
	display: none;
}

.notice_table * {
	font-family: 'NanumSquareNeo';
	font-weight: 600;
}

.notice_table th,
.notice_table td {
	padding: 12px;
}

.notice_table th {
	background-color: #002046;
	color: #fff;
}

.notice_table td {
	border-bottom: 1px solid #002046;
	background-color: #fff;
}

.notice_table td span {
	border-radius: 4px;
	background-color: #002046;
	padding: 4px 8px;
	color: #fff;
	font-size: 12px;
}

.notice_table td span.notice_ticket {
	background-color: #FF8A5D !important;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
}

.notice_table td span.complete {
	background-color: #FF6E44;
}

.notice_w_table {
	width: 100%;
	border-top: 2px solid #002046;
}

.notice_w_table th {
	border-bottom: 1px solid #f5f5f5;
	width: 200px;
}

.notice_w_table input,
.notice_w_table textarea {
	width: 100%;
	padding: 12px;
	font-size: 16px;
}

.notice_w_table textarea {
	height: 250px;
	resize: none;
}

.notice_w_table input {
	height: 40px;
	border: 1px solid #002046;
}

.notice_view td {
	text-align: left;
	background-color: #fff;
}

.notice_view td.fl {
	font-weight: 400;
}

.password_wrap {
	position: relative;
}

.password_wrap input {
  width: 100%;
  padding-right: 40px; /* 아이콘 자리 */
  box-sizing: border-box;
}

.pw input {
	height: 40px;
	border: 1px solid #002046;
	font-size: 16px;
	padding: 0 12px;
}

.password_wrap .toggle_pw {
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagenation {
	margin-top: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagenation span,
.pagenation button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid #002046;
	background-color: #002046;
	color: #fff;
	font-family: 'NanumSquareNeo';
	font-weight: 600;
	cursor: pointer;
}

.pagenation span.active {
	background-color: #FF6E44;
	border-color: #FF6E44;
}

@media(max-width: 1600px) {
	.quick_bar.pc {
		margin-left: 0;
		right: 16px;
	}
}

@media(max-width: 991px) {
	.quick_bar.pc {
		display: none;
	}
	
	.quick_bar.mo {
		display: block;
	}
	
	.section.sns {
		padding-bottom: 120px;
	}
	
	.footer {
		padding: 100px 0;
	}
}

@media(max-width: 750px) {

	.video_wrap {
		
	}
	
	.video_wrap iframe {
		
	}
	
	.section_phara {
		padding: 7.89vw 2.8vw;
	}
	
	.section_phara dl {
		font-size: 3.2vw;
		word-break: keep-all;
	}
	
	.section.sns {
		padding: 13.6vw 2.8vw 24vw;
	}
	
	.footer {
		padding: 8vw 0;
	}
	
	.footer .logo img {
		width: 36vw;
	}
	
	.footer .info {
		margin-top: 4vw;
		font-size: 3.2vw;
	}
	
	.b_popup_title {
		font-size: 4.8vw;
		line-height: 1.3;
    }
	
	.b_popup_content {
		padding: 6vw;
	}
    
    .b_popup_content .form_group label {
        width: 32.13vw;
        height: 40px;
        font-size: 3.2vw;
    }
    
    .b_popup_content .form_group input {
        width: 58.53vw;
        padding: 1.6vw;
        height: 40px;
        font-size: 16px;
    }
    
    .b_popup_content .form_group input::placeholder {
        font-size: 2.53vw;
    }
	
	.b_popup_content .form_group textarea {
		width: 58.53vw;
		min-height: 22vw;
		height: 22vw;
		padding: 2.13vw;
		font-size: 16px;
		line-height: 1.4;
	}

	.b_popup_content .form_group textarea::placeholder {
		font-size: 3vw;
	}
	
	.b_popup_content .form_group:first-of-type {
		border-top-left-radius: 3.2vw;
		border-top-right-radius: 3.2vw;
	}

	.b_popup_content .form_group:nth-of-type(3) {
		border-bottom-left-radius: 3.2vw;
		border-bottom-right-radius: 3.2vw;
	}
   
    .b_popup_content .pharases {
        padding: 0 1.6vw 1.6vw;
        font-size: 2.4vw;
    }
    
    .b_popup .term_zone .term {
        height: 24vw;
        padding: 3.2vw;
        margin-bottom: 1.6vw;
        font-size: 2.4vw;
		border-radius: 3.2vw;
    }
	
	.b_popup .term_zone .term .h5 {
		margin-bottom: 8px;
	}

	.b_popup .term_zone .term .h6 {
		margin-bottom: 4px;
	}
    
    .b_popup .term_zone .agree {
        display: block;
        font-size: 3.2vw;
        gap: 1.07vw;
        text-align: center;
    }
    
    .b_popup .term_zone .agree > span:first-child {
        display: block;
        margin-bottom: 2vw;
        text-align: center;
    }
    
    .b_popup .term_zone .agree > span:nth-child(2) {
        margin-right: 1.6vw;
    }
    
    .b_popup .term_zone .agree input {
        width: 3.6vw;
        height: 3.6vw;
    }
    
    .b_popup .term_zone .agree input::after {
        width: 2vw;
        height: 2vw;
    }
    
    .b_popup .btn_box {
        gap: 3.33vw;
		margin-top: 5.22vw;
    }
    
    .b_popup .btn_box button {
        width: 42.67vw;
        height: 12vw;
        margin-top: 1.6vw;
        font-size: 4.33vw;
		border-radius: 3.2vw;
    }
	
	.notice_table.pc {
		display: none;
	}

	.notice_table.mo {
		display: block;
	}

	.pagenation {
		margin-top: 8vw;
		gap: 2vw;
	}

	.pagenation span,
	.pagenation button {
		font-size: 2.87vw;
		width: 6.27vw;
		height: 6.27vw;
	}

	.notice_table.mo {
		width: 100%;
		border-top: 2px solid #0d3462;
	}

	.notice_table.mo li {
		width: 100%;
		display: flex;
		align-items: center;
		padding: 2vw;
		gap: 2vw;
		border-bottom: 1px solid #0d3462;
		font-size: 3.2vw;
	}

	.notice_table.mo li .no {
		width: 8vw;
	}

	.notice_table.mo li .title {
		font-size: 4vw;
		margin-bottom: 1.2vw;
		font-weight: 900;
		color: #000;
	}

	.notice_table.mo li .con {
		width: 76vw;
		text-align: left;
	}

	.notice_table.mo li .con .flex {
		display: flex;
		align-items: center;
		gap: 2vw;
	}

	.notice_table.mo li .con .flex .date {
		border-left: 1px solid #999;
		padding-left: 2vw;
	}

	.notice_table.mo li .answer {
		width: 20vw;
	}

	.notice_table.mo li .answer span {
		border-radius: 0.8vw;
		background-color: #002046;
		padding: 1.2vw 1.6vw;
		color: #fff;
		font-size: 3.2vw;
	}

	.notice_table.mo li .answer span.complete {
		background-color: #FF6E44;
	}

	.notice_w_table {
		font-size: 3.2vw;
	}

	.notice_w_table th {
		width: 24vw;
	}

	.section.notice .btn_box {
		margin-top: 15px;
	}

	.section.notice .btn_box .btn {
		font-size: 14px;
	}
	
	.b_popup#popup03 .btn_box .btn,
	.section.notice .btn_box .btn.big {
		width: 200px;
		height: 50px;
		font-size: 16px;
	}
}

/* 2026 울산공업축제 — PSD 1920×5280 기준, 기존 공통 스타일 보존 */
:root {
    --festival-navy: #09003e;
    --festival-blue: #254590;
    --festival-mint: #b6fefd;
    --festival-form: #f3f1ff;
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
.festival-page { background: #1f1f1f; }
.festival-page img { display: block; height: auto; }
.festival-page a { color: inherit; text-decoration: none; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 12px 20px;
    background: white;
    color: #09003e;
    transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.festival-page .section > .inner { width: min(680px, calc(100% - 32px)); }

/* Main PSD positions: logo 880,66; title 694,166; date 778,316;
   description 710,393; fireworks 245,85; whale 1286,281; people 617,517.
   Grid items share the 1920×1030 canvas; percentage margins follow its width. */
.festival-page .section.main {
    height: auto;
    padding: 0;
    background: #111c69 url('../img/main_bg.jpg') center top / 100% auto no-repeat;
    overflow: hidden;
}
.hero-stage { display: grid; aspect-ratio: 1920 / 1030; isolation: isolate; }
.hero-piece { grid-area: 1 / 1; align-self: start; justify-self: start; min-width: 0; }
.hero-piece img { width: 100%; }
.hero-logo { width: 8.333333%; margin: 3.4375% 0 0 45.833333%; }
.hero-title { width: 27.8125%; margin: 8.645833% 0 0 36.09375%; z-index: 1; }
.hero-date { width: 18.958333%; margin: 16.458333% 0 0 40.520833%; z-index: 1; }
.hero-description { width: 25.729167%; margin: 20.46875% 0 0 36.979167%; z-index: 1; }
.hero-fireworks { width: 17.1875%; margin: 4.427083% 0 0 12.760417%; z-index: -1; }
.hero-whale { width: 15.729167%; margin: 14.635417% 0 0 66.979167%; z-index: -1; }
.hero-people { width: 33.125%; margin: 26.927083% 0 0 32.135417%; }

:root {
    --ratio: calc(100vw / 1920);
}

.hero-logo {
    width: min(160px, calc(160 * var(--ratio)));
}

.hero-title {
    width: min(534px, calc(534 * var(--ratio)));
}

.hero-description {
    width: min(494px, calc(494 * var(--ratio)));
}

.hero-date {
    width: min(364px, calc(364 * var(--ratio)));
}

.hero-people {
    width: min(636px, calc(636 * var(--ratio)));
}


/* PSD section 02: y1030; title y1084; information y1417;
   frame y1695 (683×386); link y2132; next section y2340. */
.festival-page .section_02 { padding: 54px 0; background: var(--festival-mint); }
.festival-title { width: 90%; margin: 0 auto 5px; }
.festival-title img, .festival-info { width: 100%; }
.festival-page .video_zone { margin-top: 42px; }
.festival-page .video_wrap {
    display: grid;
    width: 100%;
    height: auto;
    aspect-ratio: 793 / 462;
    margin: 0;
    padding: 0;
    border: 15px solid #2577aa;
    border-radius: 0;
    background: #222;
    box-shadow: 0 5px 0 rgb(0 0 0 / 16%);
}
.festival-page .video_wrap iframe {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
}
.festival-go { display: block; width: 80.882353%; margin: 51px auto 0; }
.festival-go img { width: 100%; transition: filter .2s, transform .2s; }
.festival-go:hover img { transform: translateY(-4px); filter: brightness(1.08); }

/* Existing 680×1152 artwork maps to x620,y2461. */
.festival-page .section_03 { padding: 121px 0 0; background: var(--festival-blue); overflow: hidden; }
.participation-art { position: relative; }
.participation-art > img { width: 100%; }
/* Necessary overlays: clickable cards use the exported image's pixel bounds. */
.participation-link { position: absolute; border-radius: 4px; }
.step-subscribe { left: 0; top: 40.885417%; width: 49.705882%; height: 21.875%; }
.step-apply { left: 51.323529%; top: 38.107639%; width: 48.676471%; height: 24.826389%; }
.participation-link:hover { box-shadow: inset 0 0 0 3px #ffdb44; }

/* PSD form: y3613, heading y3729, first row y3832, body width558.
   Form height follows administrator-defined fields; never clip extra fields. */
.festival-page .event-form {
    position: static;
    display: block;
    inset: auto;
    padding: 116px 16px 88px;
    background: var(--festival-form);
    overflow: visible;
    color: var(--festival-navy);
    scroll-margin-top: 24px;
}
.event-form .b_popup_inner {
    width: min(680px, 100%);
    max-height: none;
    margin: auto;
    overflow: visible;
    border-radius: 0;
}
.event-form .b_popup_title { margin: 0 auto 59px; }
.event-form .b_popup_title img { width: 206px; margin: auto; }
.event-form .b_popup_content { width: min(578px, 100%); margin: auto; padding: 0; }
.event-form .form_group,
.event-form .form_group:first-of-type,
.event-form .form_group:nth-of-type(3) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin-bottom: 4px;
    overflow: visible;
    border: 1px solid #505050;
    border-radius: 0;
    background: #fff;
}
.event-form .form_group > label.label {
    flex: 0 0 34.408602%;
    width: 34.408602%;
    height: auto;
    min-height: 58px;
    padding: 12px 8px;
    font: 600 20px / 1.45 'Noto Sans KR', sans-serif;
    color: #fff;
    background: var(--festival-navy);
    text-align: center;
    word-break: keep-all;
}
.event-form .form_group > .label_2 { background: #008cec !important; }
.event-form .form_group .label .text { font: inherit; }
.event-form .form_group :is(input:not([type='hidden']):not([type='checkbox']):not([type='radio']), select, textarea) {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 58px;
    padding: 12px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #222;
    font: 400 20px / 1.5 'Noto Sans KR', sans-serif;
}
.event-form .form_group input[type='hidden'] { display: none; }
.event-form .form_group :is(input, textarea)::placeholder { font-size: 16px; color: #727272; }
.event-form .form_group textarea { min-height: 120px; resize: vertical; }
.event-form .form_group > label:not(.label):not(.file_label) {
    flex: 1 1 auto;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 58px;
    padding: 10px;
    font: 400 16px / 1.5 'Noto Sans KR', sans-serif;
    color: #222;
    background: #fff;
}
.event-form .form_group :is(input[type='radio'], input[type='checkbox']) {
    font-size: 16px;
    flex: 0 0 auto;
    width: 22px;
    height: auto;
    aspect-ratio: 1;
    accent-color: #0086da;
}
.event-form .form_group input[type='file'] { font-size: 16px; padding: 12px; }
.event-form .form_group input[type='file']::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    background: var(--festival-navy);
    color: white;
    font: inherit;
    cursor: pointer;
}
.event-form .form_group label.file_label { display: none; }
.event-form .term_zone .term {
    height: auto;
    max-height: 189px;
    overflow-y: auto;
    margin: 8px 0 10px;
    padding: 18px 22px;
    border: 1px solid #505050;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.event-form .term_zone .term .inner { height: auto; overflow: visible; text-align: left; }
.event-form .term_zone .term :is(.h5, .h6) { font-weight: 600; }
.event-form .term_zone .agree {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: #222;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}
.event-form .term_zone .agree > span { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.event-form .term_zone .agree > span:first-child { font-size: 16px; }
.event-form .term_zone .agree input {
    font-size: 16px;
    appearance: auto;
    position: static;
    flex-shrink: 0;
    width: 22px;
    height: auto;
    aspect-ratio: 1;
    accent-color: #0086da;
}
.event-form .term_zone .agree input::after { display: none; }
.event-form .term_zone .agree label { padding-block: 4px; }
.event-form .btn_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 108.781362%;
    margin: 37px 0 0 -4.390681%;
}
.event-form .btn_box :is(.btn, button.confirm_btn) {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    transition: transform .2s, filter .2s;
}
.event-form .btn_box img { max-width: 100%; }
.event-form .btn_box .btn:hover { transform: translateY(-3px); filter: brightness(1.12); }
.event-form .password-field { display: flex; flex: 1; min-width: 0; width: 100%; }
.password-visibility {
    align-self: center;
    flex-shrink: 0;
    min-height: 44px;
    margin-right: 8px;
    padding: 8px 10px;
    color: #005eaa;
    font-size: 16px;
}
/* Shared modal readability, including any administrator-provided fields. */
.b_popup:not(.event-form) :is(input, select, textarea) { font-size: max(16px, 1rem); }
.b_popup:not(.event-form) .term_zone :is(.term, .agree) { font-size: 16px; }

.festival-page .section_phara { padding: 84px 20px; background: #003669; }
.festival-page .section_phara > .inner { width: min(900px, 100%); max-width: 900px; }
.section_phara p { color: #e7edf5; font-size: 18px; line-height: 1.65; word-break: keep-all; }
.festival-page .footer { padding: 100px 16px; background: #1f1f1f; }
.festival-page .footer > .inner { width: min(680px, 100%); }
.footer .sns { display: grid; width: min(618px, 100%); margin: 0 auto 82px; }
.footer .sns > img, .sns-links { grid-area: 1 / 1; width: 100%; }
.sns-links { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4.07767%; }
.sns-links a { display: block; min-width: 0; min-height: 44px; border-radius: 50%; aspect-ratio: 1; transition: box-shadow .2s; }
.sns-links a:hover { box-shadow: 0 0 0 4px rgb(255 255 255 / 65%); }
.festival-page .footer .logo { display: block; width: 164px; margin: auto; }
.festival-page .footer .logo img { width: 100%; }
.festival-page .footer .info { margin-top: 36px; color: #fff; font-size: 15px; line-height: 1.8; }

/* PSD floating bounds: x1573,y144,w172,h394. Sprite anchors use grid,
   not image maps. Only the floating navigation requires fixed positioning. */
.festival-quick-desktop {
    position: fixed;
    top: min(7.5vw, 144px);
    left: calc(50% + min(31.927083vw, 613px));
    z-index: 50;
    display: grid;
    width: min(8.854167vw, 170px);
}
.festival-quick-desktop > img, .festival-quick-desktop > .quick-links { grid-area: 1 / 1; width: 100%; }
.festival-quick-desktop .quick-links { display: grid; grid-template-rows: 176fr 109fr 109fr; }
.quick-links a { display: block; border-radius: 12px; }
.festival-quick-mobile { display: none; }

/* One-time entrance animations settle at the exact PSD coordinates. */
.hero-logo { animation: festival-rise .7s both; }
.hero-title { animation: festival-pop 1s .12s both; }
.hero-date { animation: festival-slide .8s .35s both; }
.hero-description { animation: festival-rise .9s .5s both; }
.hero-people { animation: festival-people 1.15s .6s both; }
.hero-fireworks { animation: festival-firework 1.8s .35s both; }
.hero-whale { animation: festival-whale 1.8s .4s both; }
[data-reveal].reveal-ready { opacity: 0; transform: translateY(36px); }
[data-reveal='bloom'].reveal-ready { transform: scale(.9) rotate(-3deg); }
[data-reveal='slide'].reveal-ready { transform: translateX(-36px); }
[data-reveal='frame'].reveal-ready { transform: perspective(1000px) rotateX(8deg) translateY(28px); }
[data-reveal='pop'].reveal-ready { transform: scale(.86); }
[data-reveal].reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal='pop'].reveal-ready.is-visible { transition-timing-function: cubic-bezier(.34, 1.35, .64, 1); }
@keyframes festival-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes festival-slide { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes festival-pop { 0% { opacity: 0; transform: scale(.8); } 65% { opacity: 1; transform: scale(1.04); } 100% { transform: none; } }
@keyframes festival-people { 0% { opacity: 0; transform: translateY(60px) rotate(-2deg); } 75% { opacity: 1; transform: translateY(-6px); } 100% { transform: none; } }
@keyframes festival-firework { 0% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; transform: scale(1.08); filter: brightness(1.5); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes festival-whale { 0% { opacity: 0; transform: translate(55px, 24px) rotate(7deg); } 65% { opacity: 1; transform: translate(-5px, -6px); } 100% { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .festival-quick-desktop { display: none; }
    .festival-page { padding-bottom: calc(clamp(56px, 13.6vw, 86px) + env(safe-area-inset-bottom)); }
    .festival-quick-mobile {
        position: fixed;
        inset: auto 0 0;
        z-index: 100;
        display: grid;
        width: min(750px, 100%);
        margin-inline: auto;
        padding-bottom: env(safe-area-inset-bottom);
        background: #1f1f1f;
        box-shadow: 0 -3px 16px rgb(0 0 0 / 15%);
    }
    .festival-quick-mobile > img { display: none; }
    .festival-quick-mobile .quick-links { display: grid; grid-template-columns: repeat(4, 1fr); }
    .festival-quick-mobile .quick-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: clamp(56px, 13.6vw, 86px);
        padding: 10px 4px;
        border-radius: 0;
        color: #071332;
        background: #27bce9;
        font-size: clamp(13px, 2.8vw, 21px);
        font-weight: 800;
        line-height: 1.25;
        text-align: center;
        white-space: pre-line;
    }
    .festival-quick-mobile a:nth-child(1)::after { content: '울산시청TV\A구독'; }
    .festival-quick-mobile a:nth-child(2) { background: #ab3eb7; color: white; }
    .festival-quick-mobile a:nth-child(2)::after { content: '2026\A울산공업축제'; }
    .festival-quick-mobile a:nth-child(3) { background: #085388; color: white; }
    .festival-quick-mobile a:nth-child(3)::after { content: '이벤트\A참여'; }
    .festival-quick-mobile a:nth-child(4) { background: #ffe000; }
    .festival-quick-mobile a:nth-child(4)::after { content: '카카오톡\A공유하기'; }
    .festival-page .section.main { background-size: auto 100%; }
    .hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; aspect-ratio: auto; padding: 32px 16px 0; }
    .hero-piece { align-self: auto; margin: 0; }
    .hero-logo { width: 110px; margin-bottom: 36px; }
    .hero-title { width: min(534px, 86%); }
    .hero-date { width: min(364px, 66%); margin-top: 16px; }
    .hero-description { width: min(494px, 88%); margin-top: 20px; }
    .hero-people { width: min(636px, 96%); margin: 26px 4% 0 0; }
    .hero-fireworks { position: absolute; top: 6%; left: 1%; width: 23%; }
    .hero-whale { position: absolute; top: 38%; right: 1%; width: 20%; }
    .festival-page .section_02 { padding: 32px 0 40px; }
    .festival-page .section_03 { padding-top: 64px; }
}
@media (max-width: 750px) {
    .festival-page .section > .inner { width: calc(100% - 32px); }
    .festival-title { margin-bottom: 6px; }
    .festival-page .video_zone { margin-top: 24px; }
    .festival-page .video_wrap { border-width: clamp(6px, 2vw, 12px); }
    .festival-go { margin-top: 28px; width: 86%; }
    .festival-page .section_03 { padding-top: 44px; }
    .festival-page .event-form { padding: 48px 20px; }
    .event-form .b_popup_title { margin-bottom: 30px; }
    .event-form .b_popup_title img { width: min(206px, 60%); }
    .event-form .form_group,
    .event-form .form_group:first-of-type,
    .event-form .form_group:nth-of-type(3) { margin-bottom: 16px; border: 1px solid #b1aac5; border-radius: 4px; overflow: hidden; }
    .event-form .form_group > label.label { flex-basis: 100%; width: 100%; min-height: 0; padding: 10px 12px; justify-content: flex-start; font-size: 16px; }
    .event-form .form_group :is(input:not([type='hidden']):not([type='radio']):not([type='checkbox']), select, textarea) { flex-basis: 100%; width: 100%; min-height: 52px; padding: 13px 12px; font-size: 16px; }
    .event-form .form_group textarea { min-height: 120px; }
    .event-form .form_group :is(input, textarea)::placeholder { font-size: 16px; }
    .event-form .form_group .password-field { flex-basis: 100%; }
    .event-form .term_zone .term { max-height: 240px; margin-top: 20px; padding: 16px; font-size: 16px; }
    .event-form .term_zone .agree { justify-content: flex-start; gap: 4px 16px; font-size: 16px; }
    .event-form .term_zone .agree > span:first-child { flex-basis: 100%; margin: 8px 0 4px; font-size: 16px; }
    .event-form .term_zone .agree > span { margin: 0; min-height: 44px; }
    .event-form .term_zone .agree label { padding-block: 10px; }
    .event-form .btn_box { width: 100%; gap: 12px; margin: 24px 0 0; }
    .event-form .btn_box .btn { min-height: 48px; background: #222; }
    .event-form .btn_box .subscribe-btn { display: flex; align-items: center; background: #ed0010; }
    .festival-page .section_phara { padding: 40px 20px; }
    .festival-page .section_phara > .inner { width: 100%; text-align: left; }
    .section_phara p { margin-bottom: 8px; font-size: 14px; line-height: 1.7; }
    .section_phara p:last-child { margin-bottom: 0; }
    .festival-page .footer { padding: 48px 20px; }
    .festival-page .footer > .inner { width: 100%; }
    .footer .sns { margin-bottom: 36px; }
    .festival-page .footer .logo { width: 144px; }
    .festival-page .footer .info { margin-top: 24px; font-size: 12px; }
}
@media (max-width: 360px) {
    .event-form .btn_box { grid-template-columns: 1fr; }
    .event-form .btn_box img { width: auto; max-width: 100%; max-height: 56px; margin-inline: auto; }
    .footer .sns { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-piece { animation: none; }
    [data-reveal].reveal-ready, [data-reveal].reveal-ready.is-visible { opacity: 1; transform: none; transition: none; }
    .festival-page :is(a, button, img) { transition: none; }
}
