/* 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
}

.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/ulsan_awards/img/section01_bg_new.jpg?new');
	background-size: cover;
	background-position: center;
	height: 1088px;
	padding-top: 72px;
	overflow: hidden;
}

.section.main .title {
	margin-bottom: 18px;
}

/* .section.main .flower_01 {
	position: absolute;
	top: 0;
	left: 10%;
	width: 80%;
}

.section.main .flower_02 {
	position: absolute;
	top: 20%;
	width: 50%;
	left: 25%;
	text-align: center;
} */

.section_02 {
	height: 1330px;
	padding-top: 88px;
	background-image: url('/PROJECT_HTML/ulsan_awards/img/section02_bg_new.jpg?new');
	background-size: cover;
	background-position: center;
	border-bottom: 1px solid #ffa14f;
}

.section_03 {
	height: 2694px;
	padding-top: 88px;
	background-image: url('/PROJECT_HTML/ulsan_awards/img/section02_bg_new.jpg?new');
	background-size: cover;
	background-position: center;
}

.section_03 .title {
	margin-bottom: 40px;
}

.section_03 .selec .flex {
	display: flex;
	justify-content: space-between;
	max-width: 690px;
	margin: auto;
	margin-bottom: 50px;
	gap: 14px;
}

.section_03 .selec > .item {
	margin-bottom: 50px;
}

.section_03 .selec .item img {
	display: block;
	margin: auto;
}

.section_03 .selec .radio_zone {
	margin-top: 30px;
}

.section_03 .selec .radio_zone input {
	display: none;
}

.section_03 .selec .radio_zone input + label {
	position: relative;
	cursor: pointer;
}

.section_03 .selec .radio_zone input + label {
	display: inline-block;
	width: 34px;
	height: 34px;
	background-image: url('/PROJECT_HTML/ulsan_awards/img/check_off.png?new');
}

.section_03 .selec .radio_zone input:checked + label::after {
	content: '';
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0;
	width: 38px;
	height: 26px;
	background-image: url('/PROJECT_HTML/ulsan_awards/img/check_on.png?new');
}

.section_03 .btn_box {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 104px;
}

.section_03 .btn_box .hands {
	position: absolute;
	right: 20px;
	bottom: 0;
	transform: translate(50%, 50%);
	z-index: 3;
}

.section_04 {
	padding: 48px 0;
}

.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;
}

/* 오버레이 (팝업) */
.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 .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;
}

.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;
}

/* ============================
   초기 상태: 전부 안 보이게
   ============================ */
.section.main .title img,
.section.main .cha img {
  display: inline-block;
  opacity: 0;
}

/* ============================
   타이틀: 도장 찍히는 느낌
   ============================ */
.section.main .title img.is-show {
  animation: title-stamp 0.5s cubic-bezier(0.25, 1.1, 0.4, 1) forwards;
}

@keyframes title-stamp {
  0% {
    opacity: 0;
    transform: scale(1.4) translateY(-30px) rotate(-8deg);
    transform-origin: center center;
  }
  60% {
    opacity: 1;
    transform: scale(0.96) translateY(0) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
}

/* ============================
   캐릭터: 스케일 업 인트로
   ============================ */
.section.main .cha img.is-show {
  animation: cha-scale-in 0.6s ease-out forwards;
}

@keyframes cha-scale-in {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(30px);
    transform-origin: center bottom;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ============================
   꽃가루: 팡 터지고 흘러내리는 무한루프
   ============================ */
/* 각각 교차로 터지게 딜레이 다르게 줌 */
/* 부모: width, 위치 유지 */
.flower_01, .flower_02 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none; /* 클릭 방해 X */
  overflow: visible;
  text-align: center;
}

/* 각각 원하는 width */
.flower_01 { top: 0; width: 80%; }
.flower_02 { top: 0%; width: 50%; }

/* 자식: width 100% 유지 + 애니메이션만 실행 */
.flower_01 .flower-wrap,
.flower_02 .flower-wrap {
  width: 100%;
  opacity: 0;
}

/* 교차 애니메이션 */
.flower_01.is-show .flower-wrap {
  animation: fall-soft 4.5s linear infinite;
  animation-delay: 0s;
}

.flower_02.is-show .flower-wrap {
  animation: fall-soft-2 4.5s linear infinite;
  animation-delay: 1.2s;
}

/* 자연스러운 흘러내림 */
@keyframes fall-soft {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 0.85;
    transform: translate(-12px, 120px);
  }
  70% {
    opacity: 0.4;
    transform: translate(8px, 230px);
  }
  100% {
    opacity: 0;
    transform: translate(-6px, 330px);
  }
}

@keyframes fall-soft-2 {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 0.85;
    transform: translate(15px, 120px);
  }
  70% {
    opacity: 0.4;
    transform: translate(-10px, 230px);
  }
  100% {
    opacity: 0;
    transform: translate(5px, 330px);
  }
}
/* ============================
   section_02 이미지: 플립 + 페이드인
   ============================ */
.section_02 img {
  opacity: 0;
  transform: perspective(800px) rotateX(14deg) translateY(40px) scale(0.96);
  transform-origin: center center;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section_02 img.in-view {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
}

/* ============================
   section_03 타이틀 + item: 페이드업
   ============================ */
.section_03 .title,
.section_03 .item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section_03 .title.in-view,
.section_03 .item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   투표하기 버튼: 스크롤 인 시 도장 찍기
   ============================ */
.submitBtn {
  position: relative;
  display: inline-block;
  transform-origin: center center;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* 스크롤로 화면에 들어온 순간 */
.submitBtn.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
  /* 페이드업과 동시에 도장 찍듯이 한번 튕김 */
  animation: stampClick 0.28s 0.05s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes stampClick {
  0% {
    transform: scale(0.9) translateY(4px);
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  60% {
    transform: scale(1.05) translateY(0);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  }
}

/* ============================
   hands: 버튼 누르라는 무한 애니메이션
   ============================ */
.submitBtn .hands {
  position: absolute;
  right: -8px;
  bottom: -4px;
  pointer-events: none;
  transform-origin: 50% 90%;
  animation: handWave 0.8s ease-in-out infinite;
}

@keyframes handWave {
  0% {
    transform: translateY(50%) rotate(0deg);
  }
  30% {
    transform: translateY(calc(50% -12px)) rotate(-16deg);
  }
  60% {
    transform: translateY(50%) rotate(8deg);
  }
  100% {
    transform: translateY(50%) rotate(0deg);
  }
}

.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;
}

@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) {

	

	.section.main {
		height: 142.67vw;
		padding-top: 9.6vw;
	}
	
	.section.main .title {
		width: 80.53vw;
		margin: auto;
	}
	
	.section.main .cha {
		width: 71.2vw;
		margin: auto;
	}
	
	.flower_01 { width: 96%; }
	.flower_02 { width: 70%; }
	
	/* .section.main img {
		width: 80.53vw;
	} */
	
	.section_02 {
		height: 176.33vw;
		padding-top: 11.73vw;
	}
	
	.section_02 img {
		width: 83.47vw;
	}
	
	.section_03 {
		height: 362.2vw;
		padding-top: 11.73vw;
	}
	
	.section_03 .title {
		margin-bottom: 5.33vw;
	}
	
	.section_03 .title img {
		width: 70.4vw;
	}
	
	.selec {
		max-width: 92vw;
		margin: auto;
	}
	
	.section_03 .selec .flex {
		gap: 2.67vw;
	}
	
	.section_03 .selec .flex,
	.section_03 .selec > .item {
		margin-bottom: 6.67vw;
	}
	
	.section_03 .selec .radio_zone {
		margin-top: 4vw;
	}
	
	.section_03 .btn_box {
		margin-top: 10.87vw;
	}
	
	.section_03 .btn_box a > img,
	.section_03 .btn_box button > img {
		width: 42.93vw;
	}
	
	.section_03 .btn_box button span > img {
		width: 13.87vw;
	}
	
	.section_03 .selec .radio_zone input + label {
		width: 6.53vw;
		height: 6.53vw;
		background-size: 100%;
	}
	
	.section_03 .selec .radio_zone input:checked + label::after {
		width: 7.07vw;
		height: 4.87vw;
		background-size: 100%;
		background-repeat: no-repeat;
	}
	
	.section_04 {
		padding: 6.4vw 1.2vw;
		font-size: 2.2vw;
	}
	
	.section.sns {
		padding: 13.33vw 0 16vw;
	}
	
	.section.sns img {
		width: 82.4vw;
	}
	
	.footer {
		padding-bottom: 13.33vw;
	}
	
	.footer .logo img {
		width: 21.87vw;
	}
	
	.footer .info {
		margin-top: 4vw;
		font-size: 2.2vw;
	}
	
	.b_popup_title {
	margin-bottom: 5.33vw;
	font-size: 4.8vw;
    }
	
	.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: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;
    }
}